RHEL9.3 comes with WaAgent installed. No docs on configuring that into Agent pool

Prasad Tadi 0 Reputation points
2024-04-11T17:54:55.5966667+00:00

I have a new RHEL9.3 VM and it comes with WaAgent installed.

The steps to configure that to talk to my Azure subscription is not clear.

Seems I need to install my own agent and run config.sh

What are the other options ?

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

3 answers

Sort by: Most helpful
  1. Prrudram-MSFT 22,381 Reputation points
    2024-04-12T11:49:34.9466667+00:00

    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


  2. Prasad Tadi 0 Reputation points
    2024-04-26T18:38:12.2066667+00:00

    I thought I provided my feedback.

    The issue I have is not with Network and/or other access related.

    Basically, how do I configure an Agent to talk to My Azure subscription and show itself as an Agent in any any given Agent pool, including the "Default" pool.

    Prasad

    0 comments No comments

  3. Prasad Tadi 0 Reputation points
    2024-04-26T18:41:13.81+00:00

    To give more details...

    When I install my own Agent and then run the "config.sh", it asks me to provide the ADO URL and PAT Key and default agent group etc.

    Which is the equivalent step in the waLinuxAgent package?

    Prasad

    0 comments No comments