Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnotherOperationInProgress Error #82

Open
dbergel opened this issue Jun 8, 2022 · 0 comments
Open

AnotherOperationInProgress Error #82

dbergel opened this issue Jun 8, 2022 · 0 comments

Comments

@dbergel
Copy link
Collaborator

dbergel commented Jun 8, 2022

Problem

Executing terraform apply may intermittently fail with the following error

Error: creating Subnet: (Name "dc-subnet" / Virtual Network Name "vnet-centralus" / Resource Group "cas-mgr-single-connector-r6ikn"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code="AnotherOperationInProgress" Message="Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/6130794d-3700-4597-8e5d-2b09a0a303c0/providers/Microsoft.Network/locations/centralus/operations/00bf947d-99f9-4df9-963c-b8b28c0d61d2?api-version=2021-05-01." Details=[]

Deployments Affected

  • cas-mgr-single-connector
  • casm-aadds-single-connector

Cause

Appears to be a dependency/concurrency issue whereby multiple VNet modification operations are attempted simultaneously. Effort is ongoing to identify a minimal reproduction case & potentially introduce explicit dependencies as appropriate.

Workaround

As the issue is intermittent, simply running terraform destroy and re-running terraform apply should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant