Agent status not ready azure for linux VM

Ashwini kumar 6 Reputation points

We are getting every time Agent status not ready azure for linux RHEL 7.9 VM. Agent Status and version is unknown.
Unable to uninstall the extensions. Not been able to reset configuration.
Tried doing below steps as per some links :

  1. Changed VM disk size.
  2. Redeploy and Reapply.

Please suggest some solution for the same without using powershell commands.

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

1 answer

Sort by: Most helpful
  1. yuvaraj j 6 Reputation points Microsoft Employee

    Hello @Ashwini kumar ,

    Thanks for posting your query on Microsoft QnA

    1. Check the service status of the Azure Linux Agent to make sure it's running. The service name might be walinuxagent or waagent.

    service waagent status

    1. If the service is running, restart it to resolve the issue. 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 issue is still ongoing after restarting the service, I would advise in following this documentation

    1. Check your current package version
      sudo yum list WALinuxAgent
    2. Check available updates
      sudo yum check-update WALinuxAgent
    3. Install the latest package version
      sudo yum install WALinuxAgent
    4. Restart the waagent service
      sudo service waagent restart