Azure / Azure/azure-linux-extensions

Diagnostic extension does not install on Red Hat Enterprise Linux (RHEL) 8.0

Open
#821 5 comments 0 reactions 0 assignees View on GitHub
bug Distro support extensions/LinuxDiagnostic
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Red Hat Enterprise Linux (RHEL) 8.0 no longer installs python by default. As a result, the Diagnostic extension (LAD) fails to install. The following can be done as a workaround prior to a fix being published:

1. (if necessary) Uninstall the Extension from the Azure Portal (in the Extensions panel)
2. On the VM:
* `sudo yum install python2`
* `sudo alternatives --set python /usr/bin/python2`
3. Re-attempt installing LAD via Diagnostics settings panel in portal

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified in the issue. Start by reproducing Diagnostic extension (LAD) installation on a RHEL 8.0 VM without Python installed, then trace the extension installation path; done means LAD installs successfully without the documented Python 2 workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, linux, python
Domain
cloud, devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.