MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Waagent status "not ready" and version "unknow" issue. #116356

Closed zshu11 closed 1 year ago

zshu11 commented 1 year ago

Hi, Guys: I have meet one issue about agent status "not ready" and agent version "unknow" issue. since my device is security device, and not allow autoupdate, and not allow any downloaded extension, I have set AutoUpdate.Enabled=n Extensions.Enabled=y.

/usr/bin/python3 /usr/sbin/waagent -run-exthandle /usr/bin/python3 /usr/sbin/waagent -daemon

Now at Azure portal, my VM overview properties tag show agent status "Not ready" and agent version "Unknown". I expect to show display "2.9.0.4" and "Ready"

1): What is expected behavior for the following case. The current version waagent at device is 2.9.0.4. while The latest version on Azure portal is 2.9.1.1? 2): any exthandle query error/warning will trigger such issue?

From my VM to the wire server connection is fine.

Thanks.

zshu11 commented 1 year ago

trick behavior is here: If I set AutoUpdate.Enabled=y, and the same version waagent 2.9.0.4 is used, /usr/bin/python3 /usr/sbin/waagent -run-exthandle <= 2.9.0.4 /usr/bin/python3 /usr/sbin/waagent -daemon <= 2.9.0.4. Then at beginning, the VM overview properties tag shows agent status "Ready", and agent version "2.9.0.4", but after about one hour or later, it change and becomes "Not ready" and "Unknown".

Thanks.

ManoharLakkoju-MSFT commented 1 year ago

@zshu11 It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

zshu11 commented 1 year ago

Hi, Manohar: If the question "Waagent status "not ready" and version "unknow" issue" does NOT make sense for you, there have a lot of online doc from Azure about how to use WALinuxAgent (short name waagent).

ManoharLakkoju-MSFT commented 1 year ago

Hi @zshu11 Please Note, GitHub forum is dedicated for docs related issues. Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows. Microsoft Teams Community forum Thank you for your time and patience throughout this issue.