Hello @Prasad Tadi
Thank you for reaching out to the Microsoft Q&A platform.
If there is any issue with the WaAgent on your RHEL linux machine, to communicate with the azure fabric controller, the following error appears in the waagent.log file in var-log messages when the VM can't reach the WireServer IP on the host server.
2024-04-02T18:11:13.148998Z WARNING ExtHandler ExtHandler An error occurred while retrieving the goal state:
To resolve this issue:
Connect to the VM by using SSH, then run following command to test the connectivity between the VM and the WireServer. The root privilege is required to run the command.
BashAI ConvertCopy
curl http://168.63.129.16/?comp=versions
Check for any issues that might be caused by a firewall, a proxy, or another source that might be blocking access to the IP address 168.63.129.16.
Check whether Linux IPTables or a third-party firewall is blocking access to ports 80, and 32526.
The Microsoft Azure Linux VM Agent (waagent) manages Linux, along with virtual machine (VM) interaction with the Azure fabric controller. In addition to the Linux agent providing provisioning functionality, Azure provides the option of using cloud-init for some Linux operating systems. For details please refer to https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-linux?source=recommendations
If I have answered your query, please click "Accept as answer" as a token of appreciation
Please note, the following requirements are necessary for Linux guest agent on azure VM
The following systems have been tested and are known to work with the Azure Linux Agent. Please note that this list may differ from the official list of supported systems on the Microsoft Azure Platform as described here.
Waagent depends on some system packages in order to function properly:
- Python 2.6+
- OpenSSL 1.0+
- OpenSSH 5.3+
- Filesystem utilities: sfdisk, fdisk, mkfs, parted
- Password tools: chpasswd, sudo
- Text processing tools: sed, grep
- Network tools: ip-route
Ref: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/update-linux-agent?tabs=ubuntu