azure-linux-extensions: [OmsAgentForLinux] Unsupported operating system: RHEL/CentOS 8

RHEL/Centos 8 is still not supported by OmsAgentForLinux (hard coded)

RHEL 8

Version

# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)

Error

[ExtensionOperationError] Non-zero exit code: 51, /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.17/omsagent.py -install
[stdout]
2020/01/23 05:53:24 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.17] Install,failed,51,Unsupported operating system: Red Hat Enterprise Linux 8.0

CentOS 8

Version

# cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)

Error

[ExtensionOperationError] Non-zero exit code: 51, /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.17/omsagent.py -install
[stdout]
2020/01/23 05:42:35 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.17] Install,failed,51,Unsupported operating system: CentOS Linux 8.0.1905

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 20 (6 by maintainers)

Most upvoted comments

Is there any update on this? Per the comments here and on the pull request it was due to be Feb for RHEL and then CentOS soon after, but it’s been a couple of months now.

Any update on this ? It was supposed to be supported by Feb, then May, it is now July and still no update. Will try to get this moving…

These steps work for me on a freshly deployed RHEL8.2 Azure VM:

sudo  yum install -y python2
sudo alternatives --set python `which python2` 
sudo wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <workspaceid> -s <workspacekey>

However I would like to see that the oms agent is not dependent on python 2 anymore. Any timeline on this? @hestolz

@ScottSorrentino since that is an issue in omsconfig (== DSC), this issue can be raised in the appropriate repository. Thanks!

Hello! OMS 1.13.27 is now released (extension and shell bundle both) which offers support for RHEL 8.X, CentOS 8.X, SLES15.X, Ubuntu 20.04. The requirement for python2 and python aliasing has been eliminated, so you can now use this on a python3-only system if you choose. Note that if both python 2 and 3 are present, the agent will always default to python2.

Also the ctypes module is still a requirement; python3 should have this by default, but if you have python2 you may need to install the python-ctypes package.

Thanks for your patience, there were a number of complications with the development of this release.

is it is a mess at the moment this was addressed in 2019 about rhel8.x and centos8.x I think sles as well, there is also a ruby vulnerability which needs to be patched if I recall anything older than 2.6.5 I think, our PCI scanners are finding these too. All we can do is wait for the release of the agents for newer versions including lad and the rest. I suspect maybe November as the last update came out November