Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem: pulp_installer preflight check fails on
Browse files Browse the repository at this point in the history
EL7 when not installing pulp-rpm.

Solution: Add logic for the preflight to use the SCLs in its
PATH.

fixes: #9093
  • Loading branch information
mikedep333 committed Jul 15, 2021
1 parent e42b9ec commit 4b1e086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/9093.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the pre-flight check accidentally producing an error (and accidentally enforcing) on EL7 when not installing pulp-rpm. This bug was introduced in 3.11.0.
2 changes: 2 additions & 0 deletions roles/pulp_common/tasks/preflight_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
SETUPTOOLS_USE_DISTUTILS: stdlib
PATH: "{{ pulp_path }}"
failed_when: '{{ failed_condition | default("compatibility.rc != 0") }}'
changed_when: false
become: true
Expand Down

0 comments on commit 4b1e086

Please sign in to comment.