Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.12k forks source link

VirtualNetworkGatewayConnections.SetSharedKey API and VirtualNetworkGatewayConnections.ResetSharedKey API are still processing after API returned successfully #14473

Open neil-yechenwei opened 3 years ago

neil-yechenwei commented 3 years ago

After tested, we found VirtualNetworkGatewayConnections.SetSharedKey API and VirtualNetworkGatewayConnections.ResetSharedKey API are still processing after API returned successfully. I think API shouldn't still be in process when API returned successfully. So could you help to take a look this issue? Thanks in advance.

Repro step:

  1. Invoke VirtualNetworkGatewayConnections.SetSharedKey API or VirtualNetworkGatewayConnections.ResetSharedKey API
  2. Immediately invoke other API like VirtualNetworkGatewayConnections.UpdateTags API to perform write operation. Then it would throw below error message.

Error message:

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/xx-xx-xx-xx/providers/Microsoft.Network/locations/eastus/operations/xx-xx-xx-xx?api-version=2020-07-01.
Details: []
ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vpngwsuppgithub.

Issue Details
After tested, we found [VirtualNetworkGatewayConnections.SetSharedKey](https://github.com/Azure/azure-rest-api-specs/blob/21bb9c34a94340e51b14759a5ab5791289fa5e58/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetworkGateway.json#L1469) API and [VirtualNetworkGatewayConnections.ResetSharedKey](https://github.com/Azure/azure-rest-api-specs/blob/21bb9c34a94340e51b14759a5ab5791289fa5e58/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetworkGateway.json#L1632) API are still processing after API returned successfully. I think API shouldn't still be in process when API returned successfully. So could you help to take a look this issue? Thanks in advance. Repro step: 1. Invoke VirtualNetworkGatewayConnections.SetSharedKey API or VirtualNetworkGatewayConnections.ResetSharedKey API 2. Immediately invoke other API like [VirtualNetworkGatewayConnections.UpdateTags](https://docs.microsoft.com/en-us/rest/api/network-gateway/virtualnetworkgatewayconnections/updatetags#code-try-0) API to perform write operation. Then it would throw below error message. Error message: ``` 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/xx-xx-xx-xx/providers/Microsoft.Network/locations/eastus/operations/xx-xx-xx-xx?api-version=2020-07-01. Details: [] ```
Author: neil-yechenwei
Assignees: zhenglaizhang
Labels: `Network - VPN Gateway`, `Service Attention`, `needs-triage`
Milestone: -