Azure VM agent status not ready.

Gikandi, Eric E (ER T0) 10 Reputation points
2023-03-24T08:32:43.08+00:00

We're not able to ping or ssh to a linux vm. None of the recommended troubleshooting methods are working. I have tried redeploying VM too

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,846 Reputation points Microsoft Employee Moderator
    2023-03-31T02:48:44.4866667+00:00

    Hello, @Gikandi, Eric E (ER T0) !

    It sounds like in your scenario, we'll need to do some additional troubleshooting. Once we receive your email, we can take a closer look at your VM.

    What should I do if my Azure virtual machine agent status is not ready?

    Go to your virtual machine and check the status in VM > Settings > Properties > Agent status. If the status of the agent is not ready, then you can try the following troubleshooting steps:

    • Confirm that the Azure VM Agent service is installed. If Azure VM Agent is installed on the VM, the package will be saved in the following location: C:\windows\OEM\GuestAgent\VMAgentPackage.zip or you can run the following PowerShell command to check whether VM Agent has been deployed to the VM: Get-AzVM -ResourceGroupName "RGNAME" -Name "VMNAME" -DisplayHint expand
    • Check whether auto-update is working. The Azure VM Agent has an auto-update feature. It will automatically check for new updates and install them. If the auto-update feature doesn't work correctly, try uninstalling and installing the Azure VM Agent.
    • Check whether the VM can connect to the Fabric Controller. Use a tool such as PsPing to test whether the VM can connect to 168.63.129.16 on ports 80 and 32526. If the VM doesn’t connect as expected, check whether outbound communication over ports 80 and 32526 is open in your local firewall on the VM. If this IP address is blocked, VM Agent may display unexpected behavior in a variety of scenarios.
    • You can also try some advanced troubleshooting steps, including checking for specific version numbers, agent states, and error codes.
    • As a last resort, you can redeploy your VM to reset all of the setup and configuration values and rule out any hardware anomalies you encountered.

    If none of that works, let us know so we can take a closer look at your VM and do some additional troubleshooting.


Your answer

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