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

assistance on running [https://github.com/microsoft/OMS-Agent-for-Linux/tree/master/tools/OMIcheck] #1496

Open
VibhorKa opened this issue Aug 30, 2022 · 0 comments

Comments

@VibhorKa
Copy link

We need your assistance on running https://github.com/microsoft/OMS-Agent-for-Linux/tree/master/tools/OMIcheck
We are getting error and .
As per Microsoft :
This script is from Github, so you would need to reach out to them on the retry logic for this particular script.
the error message is stating that there is a conflict because the Invoke-AzVMRunCommand was not able to complete a process before another process was asked from it.
Invoke-AzVMRunCommand:
Line |
13 | … $check = Invoke-AzVMRunCommand -ResourceGroupName $VM.ResourceGrou …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Run command extension execution is in progress. Please wait for completion before invoking a run command.
ErrorCode: Conflict
ErrorMessage: Run command extension execution is in progress. Please wait for completion before invoking a run command.
ErrorTarget:
StatusCode: 409
ReasonPhrase: Conflict
OperationID : a5f4c2e8-1d16-4495-9d0f-d568b337ea5e
For the VM to be able to receive the command, the "Windows Azure Guest Agent" service must be up and running. If Invoke-AzVMRunCommand is issue when the service is not running on the VM it will take the command 90 minutes to timeout and fail.
It takes around a minute after the service is started for Azure to recognize the service is available. It takes a little over 10 minutes after disabling "Windows Azure Guest Agent" service before it changes the status to Unavailable.
"Windows Azure Guest Agent " only handles one task at a time so you might get a 409 error ("Run command extension execution is in progress. Please wait for completion before invoking a run command")
Would you be please able to assist us here ?

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

No branches or pull requests

1 participant