Troubleshoot the Azure Linux Agent - Virtual Machines (2024)

  • Article

Applies to: ✔️ Linux VMs

Note

Was this article helpful? Your input is important to us. Please use the Feedback button on this page to let us know how well this article worked for you or how we can improve it.

The Azure Linux Agent enables a virtual machine (VM) to communicate with the Fabric Controller (the underlying physical server on which the VM is hosted) on IP address 168.63.129.16.

Note

This IP address is a virtual public IP address that facilitates communication and should not be blocked. For more information, see What is IP address 168.63.129.16?.

Before you begin

Check the agent status and version to make sure it is still supported. See Minimum version support for virtual machine agents in Azure to check version support, or see WALinuxAgent FAQ for steps to find the status and version.

Troubleshoot a Not Ready status

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

    root@nam-u18:/home/nam# service walinuxagent status● walinuxagent.service - Azure Linux Agent Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-08 17:10:29 UTC; 3min 9s ago Main PID: 1036 (python3) Tasks: 4 (limit: 4915) CGroup: /system.slice/walinuxagent.service ├─1036 /usr/bin/python3 -u /usr/sbin/waagent -daemon └─1156 python3 -u bin/WALinuxAgent-2.2.51-py2.7.egg -run-exthandlersOct 08 17:10:33 nam-u18 python3[1036]: 2020-10-08T17:10:33.129375Z INFO ExtHandler ExtHandler Started tracking cgroup: Microsoft.OSTCExtensions.VMAccessForLinux-1.5.10, path: /sys/fs/cgroup/memory/sysOct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.189020Z INFO ExtHandler [Microsoft.CPlat.Core.RunCommandLinux-1.0.1] Target handler state: enabled [incarnation 2]Oct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.197932Z INFO ExtHandler [Microsoft.CPlat.Core.RunCommandLinux-1.0.1] [Enable] current handler state is: enabledOct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.212316Z INFO ExtHandler [Microsoft.CPlat.Core.RunCommandLinux-1.0.1] Update settings file: 0.settingsOct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.224062Z INFO ExtHandler [Microsoft.CPlat.Core.RunCommandLinux-1.0.1] Enable extension [bin/run-command-shim enable]Oct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.236993Z INFO ExtHandler ExtHandler Started extension in unit 'Microsoft.CPlat.Core.RunCommandLinux_1.0.1_db014406-294a-49ed-b112-c7912a86ae9eOct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.263572Z INFO ExtHandler ExtHandler Started tracking cgroup: Microsoft.CPlat.Core.RunCommandLinux-1.0.1, path: /sys/fs/cgroup/cpu,cpuacct/systOct 08 17:10:35 nam-u18 python3[1036]: 2020-10-08T17:10:35.280691Z INFO ExtHandler ExtHandler Started tracking cgroup: Microsoft.CPlat.Core.RunCommandLinux-1.0.1, path: /sys/fs/cgroup/memory/system.slOct 08 17:10:37 nam-u18 python3[1036]: 2020-10-08T17:10:37.349090Z INFO ExtHandler ExtHandler ProcessGoalState completed [incarnation 2; 4496 ms]Oct 08 17:10:37 nam-u18 python3[1036]: 2020-10-08T17:10:37.365590Z INFO ExtHandler ExtHandler [HEARTBEAT] Agent WALinuxAgent-2.2.51 is running as the goal state agent [DEBUG HeartbeatCounter: 1;Heartbroot@nam-u18:/home/nam#

    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.

  2. Make sure auto-update is enabled. Check the auto-update setting in /etc/waagent.conf.

    AutoUpdate.Enabled=y

    For more information on how to update the Azure Linux Agent, see How to update the Azure Linux Agent on a VM.

  3. Make sure the VM can connect to the Fabric Controller. Use a tool such as curl to test whether the VM can connect to 168.63.129.16 on ports 80, 443, and 32526. If the VM doesn't connect as expected, check whether outbound communication over ports 80, 443, and 32526 is open in your local firewall on the VM. If this IP address is blocked, the VM agent might display unexpected behavior.

Advanced troubleshooting

Events for troubleshooting the Azure Linux Agent are recorded in the /var/log/waagent.log file.

Unable to connect to WireServer IP (Host IP)

The following error appears in the /var/log/waagent.log file when the VM can't reach the WireServer IP on the host server.

2020-10-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.

    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.

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.

Troubleshoot the Azure Linux Agent - Virtual Machines (2024)
Top Articles
Online bidding war sees rare Royal Mint 50p coin sell for £2,500
How to view Formatted JSON in Microsoft Edge Browser ? - GeeksforGeeks
Kostner Wingback Bed
Sprinter Tyrone's Unblocked Games
Libiyi Sawsharpener
Walgreens Pharmqcy
Part time Jobs in El Paso; Texas that pay $15, $25, $30, $40, $50, $60 an hour online
Truist Park Section 135
Comcast Xfinity Outage in Kipton, Ohio
Walgreens Alma School And Dynamite
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
Cars For Sale Tampa Fl Craigslist
Epaper Pudari
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
Bjork & Zhulkie Funeral Home Obituaries
Guidewheel lands $9M Series A-1 for SaaS that boosts manufacturing and trims carbon emissions | TechCrunch
Diesel Mechanic Jobs Near Me Hiring
Wausau Obits Legacy
Ibukunore
V-Pay: Sicherheit, Kosten und Alternativen - BankingGeek
Curry Ford Accident Today
Robeson County Mugshots 2022
Riherds Ky Scoreboard
LCS Saturday: Both Phillies and Astros one game from World Series
Shreveport City Warrants Lookup
Conscious Cloud Dispensary Photos
Wonder Film Wiki
The Collective - Upscale Downtown Milwaukee Hair Salon
Joann Fabrics Lexington Sc
Sacramento Craigslist Cars And Trucks - By Owner
Cvs Sport Physicals
Ringcentral Background
Autotrader Bmw X5
Boondock Eddie's Menu
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
John F Slater Funeral Home Brentwood
Missouri State Highway Patrol Will Utilize Acadis to Improve Curriculum and Testing Management
Instafeet Login
Bismarck Mandan Mugshots
Google Chrome-webbrowser
Cygenoth
Sukihana Backshots
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Low Tide In Twilight Manga Chapter 53
Setx Sports
Craigslist/Nashville
Ups Authorized Shipping Provider Price Photos
Mega Millions Lottery - Winning Numbers & Results
Sam's Club Gas Price Sioux City
House For Sale On Trulia
Suppress Spell Damage Poe
Craigslist Psl
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 6468

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.