Skip to content

fix(azure): harden azure-cli install against degraded RHUI#536

Merged
elsegev merged 1 commit into
devfrom
fix-azure-new
May 28, 2026
Merged

fix(azure): harden azure-cli install against degraded RHUI#536
elsegev merged 1 commit into
devfrom
fix-azure-new

Conversation

@elsegev
Copy link
Copy Markdown
Collaborator

@elsegev elsegev commented May 28, 2026

Use rpm -Uvh to install the Microsoft repo RPM in DRA admin/analytics setup scripts, avoiding dnf's mandatory metadata refresh which fails when Azure RHUI returns 400 on rhel-*-baseos-rhui-rpms. Add a fallback that disables RHUI repos and uses --nobest to pick an azure-cli build matching the base image's python3.9 when the appstream repo is unreachable.

Also add --nobest to the sonar-base-instance RHUI fallback for consistency.

Use `rpm -Uvh` to install the Microsoft repo RPM in DRA admin/analytics
setup scripts, avoiding dnf's mandatory metadata refresh which fails
when Azure RHUI returns 400 on rhel-*-baseos-rhui-rpms. Add a fallback
that disables RHUI repos and uses `--nobest` to pick an azure-cli build
matching the base image's python3.9 when the appstream repo is
unreachable.

Also add `--nobest` to the sonar-base-instance RHUI fallback for
consistency.
@elsegev elsegev merged commit 095b769 into dev May 28, 2026
11 checks passed
@elsegev elsegev deleted the fix-azure-new branch May 28, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant