Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1290320

Summary: Fail to install openshift client package when ansible_pkg_mgr is 'dnf' on rhel72
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xiama, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 19:43:09 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 Ma xiaoqiang 2015-12-10 08:47:32 UTC
Description of problem:
Fail to install openshift client package when ansible_pkg_mgr is 'dnf' on rhel72

Version-Release number of selected component (if applicable):
https://github.com/sdodson/openshift-ansible  containers

How reproducible:
Always


Steps to Reproduce:

1.yum install the epel package
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm -y

2. yum install the dnf package 
yum install dnf
dnf remove yum

3. Install openshift via RPM on RHEL72



Actual results:
TASK: [openshift_cli | Install clients] *************************************** 
failed: [10.66.79.156] => {"failed": true, "parsed": false}
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1449734783.17-174270917687806/yum", line 27, in <module>
    import yum
ImportError: No module named yum
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/jenkins2/.ssh/config
debug1: /home/jenkins2/.ssh/config line 5: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_request_session: master session id: 2



Expected results:
Install openshift client package successfully

Additional info:

Comment 1 Scott Dodson 2015-12-14 21:28:17 UTC
I don't think this is related to containerized installation however I did rebase my branch to contain the latest work that abstracts away whether you're using yum or dnf.

Can you please give this another shot with the latest from the containers branch?

Comment 7 errata-xmlrpc 2016-01-27 19:43:09 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, 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/RHBA-2016:0075