Skip to content

Commit

Permalink
Fix rhpkg breakage
Browse files Browse the repository at this point in the history
rhpkg provides very specific build of 'rpm' which
causes other OpenStack installation parts to fail (like
undercloud installation).

This change makes sure rpm-build (which pulls rpm)
is NOT installed from rhpkg

Change-Id: Ic25ff4461bb131c284b833a59d0782af6d350bb7
  • Loading branch information
abregman committed Sep 6, 2021
1 parent 927ac40 commit 5abb2be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/patch_rpm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,19 @@
- 'libffi-devel'
- 'mock'
- 'openssl-devel'
state: present
register: task_result
until: task_result is success
retries: 3
delay: 3

- name: Install rpm-build from non-rhpkg repository
become: yes
yum:
name:
- 'rpm-build'
state: present
disablerepo: 'rhpkg'
register: task_result
until: task_result is success
retries: 3
Expand Down

0 comments on commit 5abb2be

Please sign in to comment.