Azure Monitor upgrade fails to install GuestHealthLinuxAgent on ubuntu 20.04

Lauris 1 Reputation point
2021-07-13T10:31:16.1+00:00

Hello.
Today I wanted to upgrade Azure Monitor for my VM.
Ubuntu 20.04 LTS.

Process downloaded extension "GuestHealthLinuxAgent-1.0.39", tried to install, but failed.
Supported Distros are only 16 and 18 version of Ubuntu, specified in installation files.

I have another VM that is also Ubuntu 20.04 LTS, I had Azure Monitor installed at 23rd March with extension "GuestHealthLinuxAgent-1.0.33".
There was no restrictions for Ubuntu versions that time and it works great.

"GuestHealthLinuxAgent-1.0.34" introduced restrictions.

Would it be horrible, if I modified file that holds requirements and added version 20?
/var/lib/waagent/Microsoft.Azure.Monitor.VirtualMachines.GuestHealth.GuestHealthLinuxAgent-1.0.39/scripts/constants.py

As "GuestHealthLinuxAgent-1.0.33" works fine on Ubuntu 20.04, I imagine "1.0.39" should work fine too...

What could go wrong?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,778 questions
{count} votes