Virtual Machine agent status is not ready OS Linux

Eduardo Jiménez Padilla 26 Reputation points
2022-07-11T15:29:34.537+00:00

Hi Community,

Currently I see the next message into the Linux VM

219596-azlinux.png

The agent status
219576-image.png

Any help I really appreciated, thanks in advance.

Kind regards

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

Accepted answer
  1. vipullag-MSFT 26,021 Reputation points
    2022-07-11T17:41:22.557+00:00

    @Eduardo Jiménez Padilla

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    I would request you to follow this document and see if that helps.

    One other suggestion is to Stop and Start the VM and see if that helps.

    Also, are you able to SSH into the VM?
    If you are able to SSH to the VM, then check for the service status of the Azure Linux Agent and check if it is running. The service name can be walinuxagent or waagent.

    service waagent status  
    

    If the service is running, restart it and see if that helps. If the service is stopped, start it, wait a few minutes, and then check the status again.

    service waagent restart  
      
    service waagent start  
    

    If the agent is not in a ready state, it is usually due to some corruption of the agent which can be resolved by manually reinstalling the agent.
    Please refer below documents:

    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disable-provisioning
    https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-linux

    If the above suggestions does not help in solving your issue, request you to tag my name in the comment to further assist you on this.

    Hope that helps.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.


1 additional answer

Sort by: Most helpful
  1. Raghottam M Kulkarni 0 Reputation points
    2023-02-10T18:27:47.87+00:00

    Why does the Azure linux VM have a problem with the machine agent .. it's always unresponsive .

    Created  linux VM 10 times but still the same issue.

    its really frustrated to see this issue only in AZURE LINUX VM..

    horrible azure service ..wont recommended to anyone

    0 comments No comments