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

azure-cli client issues a duplicate command after 2 minutes #5047

Closed
dmitsh opened this issue Dec 6, 2017 · 1 comment
Closed

azure-cli client issues a duplicate command after 2 minutes #5047

dmitsh opened this issue Dec 6, 2017 · 1 comment
Labels
Infrastructure question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@dmitsh
Copy link

dmitsh commented Dec 6, 2017

I'm seeing in some cases that azure-cli client duplicates already issued command after 2 minutes.

I'm attaching deployment-related HTTP requests (5 fields per request) for the resource group.
The first and the last requests are identical:

PreciseTimeStamp
operationName
httpStatusCode
targetUri
userAgent

1

2017-12-05 06:48:42.7163123
PUT/SUBSCRIPTIONS/RESOURCEGROUPS/PROVIDERS/MICROSOFT.RESOURCES/DEPLOYMENTS/
201
https://management.azure.com/subscriptions//resourcegroups//providers/Microsoft.Resources/deployments/azurecli1512456518.6712350?api-version=2017-05-10
python/2.7.12 (Linux-4.11.0-1015-azure-x86_64-with-Ubuntu-16.04-xenial) requests/2.18.4 msrest/0.4.19 msrest_azure/0.4.17 resourcemanagementclient/1.2.1 Azure-SDK-For-Python AZURECLI/2.0.21

2

2017-12-05 06:48:52.8234114
POST/SUBSCRIPTIONS/RESOURCEGROUPS/PROVIDERS/MICROSOFT.RESOURCES/DEPLOYMENTS/VALIDATE
200
https://management.azure.com/subscriptions//resourcegroups//providers/Microsoft.Resources/deployments/195d0e90-fed2-4d83-8684-f309bec5e0b0/validate?api-version=2016-09-01
Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.0.0.0

3

2017-12-05 06:48:56.1942056
POST/SUBSCRIPTIONS/RESOURCEGROUPS/PROVIDERS/MICROSOFT.RESOURCES/DEPLOYMENTS/VALIDATE
200
https://management.azure.com/subscriptions//resourcegroups//providers/Microsoft.Resources/deployments/b87da223-eeca-488b-9267-b6cbc5cb42b9/validate?api-version=2016-09-01
Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.0.0.0

4

2017-12-05 06:48:59.4633091
PUT/SUBSCRIPTIONS/RESOURCEGROUPS/DEPLOYMENTS/
201
https://management.azure.com/subscriptions//resourcegroups//deployments/b87da223-eeca-488b-9267-b6cbc5cb42b9?api-version=2014-04-01-preview
Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0

5

2017-12-05 06:50:21.5758500
PUT/SUBSCRIPTIONS/RESOURCEGROUPS/PROVIDERS/MICROSOFT.RESOURCES/DEPLOYMENTS/
409
https://management.azure.com/subscriptions//resourcegroups//providers/Microsoft.Resources/deployments/azurecli1512456518.6712350?api-version=2017-05-10
python/2.7.12 (Linux-4.11.0-1015-azure-x86_64-with-Ubuntu-16.04-xenial) requests/2.18.4 msrest/0.4.19 msrest_azure/0.4.17 resourcemanagementclient/1.2.1 Azure-SDK-For-Python AZURECLI/2.0.21

@tjprescott tjprescott added Infrastructure question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 13, 2017
@derekbekoe
Copy link
Member

For some commands, multiple API calls are required so I suspect this is what this is and it's to be expected.

@haroldrandom haroldrandom added Infrastructure question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants