Azure / Azure/azure-cli-extensions

[connectedmachine] az connectedmachine run-command stuck in provisioningState creating

Open
#9,984 2 comments 1 reaction 2 assignees Claimed by @a0x1ab View on GitHub
Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

Source: https://github.com/Azure/azure-cli/issues/32262 (by @cjedro)
Affected extension: `connectedmachine` (`src/connectedmachine/`)

---

<<>>
# Issue #32262 (by @cjedro)
## Title
az connectedmachine run-command stuck in provisioningState creating

## Body
### 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_

## Comments
### Comment by @azure-client-tools-bot-prd[bot]
Hi @cjedro,

2.77.0 is not the latest Azure CLI(2.78.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

### Comment by @yonzhan

Thank you for opening this issue, we will look into it.

### Comment by @github-actions[bot]
Here are some similar issues that might help you. Please check if they can solve your problem.
- #28172

_Powered by [issue-sentinel](https://github.com/Azure/issue-Sentinel)_
<<>>

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.