Bug 1871729

Summary: ansible-runner implementation depends on third party repository for ansible-runner package.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: ehelms, kgaikwad, swadeley
Target Milestone: 6.8.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-installer-2.1.2.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:05:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jameer Pathan 2020-08-24 07:08:17 UTC
Description of problem:
ansible-runner implementation depends on third party repository ansible-runner package.

Version-Release number of selected component (if applicable):
- Satellite 6.8.0 snap 12

How reproducible:
- Always

Steps to Reproduce:
I have noticed that each time satellite-installer run it creates ansible-runner.repo 
To enable ansible-runner implementation being an default option, we depend on the 'ansible-runner' package 
and it's installed from a third party repository.
Original issue(change which introduced this dependency): https://projects.theforeman.org/issues/27264
 
eg. If I install package using 'foreman-maintain package install' command, this will run satellite-installer and will create ansible-runner repo.
As this repo contains 'epel' keyword in it's baseurl, check-non-redhat-repository check of foreman-maintain will keep on failing. [0]

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1803968

# cat /etc/yum.repos.d/ansible-runner.repo 
[ansible-runner]
name=Ansible runner
baseurl=https://releases.ansible.com/ansible-runner/rpm/epel-7-$basearch/
enabled=1
gpgcheck=True
gpgkey=https://releases.ansible.com/keys/RPM-GPG-KEY-ansible-release.pub


Actual results:
- epel repo is installed

Expected results:
- no epel repo is intalled

Comment 3 Jameer Pathan 2020-09-02 06:53:32 UTC
Verified

Verified with:
- Satellite 6.8.0 snap 13

Test steps:
- Install Satellite 6.8.0 snap 13
- Install any package using foreman-maintain
- Run check-non-redhat-repository check o foreman-maintain
-
Observation:
- no epel repo is installed/enabled

Comment 6 errata-xmlrpc 2020-10-27 13:05:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366

Comment 7 errata-xmlrpc 2020-10-27 13:08:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366