Azure / Azure/azure-cli

RPM installation on RHEL 7.6 for SAP - python version

Open
#12,023 7 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad customer-reported feature-request OKR3.2 Candidate Packaging Packaging/RPM
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
A clear and concise description of what the bug is.

The Azure CLI RPM package requires python3, which is not provided by RHEL 7.6 for SAP (Azure Marketplace image). The RHEL repositories provide a "python36" package, which works fine with the newer Azure CLI versions, but since the Azure CLI only has the "python3" requirement, a normal installation using yum is not possible. Instead, the package needs to be installed manually, forcing the installation to ignore the dependencies defined in the RPM. This is not a sensible solution in our automatic deployments

**To Reproduce**
Steps to reproduce the behavior.

* Deploy VM running RHEL7.6 for SAP in Azure
* Try to install Azure CLI following https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum?view=azure-cli-latest

**Expected behavior**
A clear and concise description of what you expected to happen.

RPM package should allow "python36" as a valid replacement for "python3", resulting in a smooth installation using yum.

**Environment summary**
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (`az --version`) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

* OS: RHEL 7.6 for SAP
* Azure CLI version 2.0.80

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.