What is the reason for Azure virtual machine agent status not ready error?

Shreya Sanghavi 1 Reputation point
2022-12-08T05:41:35.967+00:00

Hi,
I have a VM of type Standard D4s v3 (4 vcpus, 16 GiB memory) running in azure with Linux (centos 8.2.2004) operating system. It is my development instance that is running 24 * 7. But the problem is randomly my site is unreachable and when I check the portal I am seeing the following error
"azure vm agent status not ready"

The instance is not accessible with SSH as well. The only solution is to restart the machine and start all our services again. That is not an ideal solution. Why this behaviour? can somebody help me with this?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,025 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 28,201 Reputation points Moderator
    2022-12-08T07:57:52.513+00:00

    Hello @Shreya Sanghavi ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    The most common reasons for guest agent status to go "Not ready" are:

    1. The Linux VM guest agent(WALA) is out of the date/corrupted
    2. Guest agent is not communicate with WireServer IP (Host IP).

    We have a detailed troubleshooting guide for this issue which covers both the above cases https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux-azure-guest-agent

    Hope this helps.
    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.