Azure / Azure/azure-cli

az connectedmachine run-command stuck in provisioningState creating

Open
#32,262 4 comments 0 reactions 0 assignees View on GitHub
Auto-Resolve bug customer-reported Service Attention Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

When creating a run-command on a arc enabled server i have several instances where the provisioningState is stuck in creating

### Related command

az connectedmachine run-command show --resource-group "" --machine-name "" --name ""

### Errors

"instanceView": {
"executionState": "Unknown",
"exitCode": 0
},
"location": "westeurope",
"name": "",
"provisioningState": "Creating",

### Issue script & Debug output

no additional information in debug output

### Expected behavior

run-command should be running / finishing

### Environment Summary

az --version
azure-cli 2.77.0 *

core 2.77.0 *
telemetry 1.1.0

Extensions:
azure-devops 1.0.2
connectedmachine 0.7.0

Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.