Bug 1635293

Summary: Installing openshift-ansible 3.11 on OSP14 undercloud breaks with ansible 2.6 rpm package dependency
Product: OpenShift Container Platform Reporter: Marius Cornea <mcornea>
Component: InstallerAssignee: John Trowbridge <jtrowbri>
Status: CLOSED DUPLICATE QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, dbecker, jokerman, jtrowbri, ltomasbo, m.andre, mburns, mmccomas, morazi, racedoro, tsedovic
Target Milestone: ---Keywords: Triaged
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-ansible-3.11.30-1.git.0.f2b420b.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-07 09:58:00 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 Marius Cornea 2018-10-02 14:22:43 UTC
Description of problem:

Installing openshift-ansible 3.11 on OSP14 undercloud breaks with ansible 2.6 rpm package dependency(OSP14 repos provide ansible 2.5):


[stack@undercloud-0 ~]$ sudo yum install -y openshift-ansible
Loaded plugins: search-disabled-repos
rhlosp-openshift-3.11                                                                                                                                                                                                  | 1.3 kB  00:00:00     
rhlosp-openshift-3.11/x86_64/primary                                                                                                                                                                                   | 130 kB  00:00:01     
rhlosp-openshift-3.11                                                                                                                                                                                                                 579/579
Resolving Dependencies
--> Running transaction check
---> Package openshift-ansible.noarch 0:3.11.18-1.git.0.033596c.el7 will be installed
--> Processing Dependency: openshift-ansible-roles = 3.11.18-1.git.0.033596c.el7 for package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch
--> Processing Dependency: openshift-ansible-playbooks = 3.11.18-1.git.0.033596c.el7 for package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch
--> Processing Dependency: openshift-ansible-docs = 3.11.18-1.git.0.033596c.el7 for package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch
--> Processing Dependency: ansible >= 2.6.2 for package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch
--> Running transaction check
---> Package openshift-ansible.noarch 0:3.11.18-1.git.0.033596c.el7 will be installed
--> Processing Dependency: ansible >= 2.6.2 for package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch
---> Package openshift-ansible-docs.noarch 0:3.11.18-1.git.0.033596c.el7 will be installed
---> Package openshift-ansible-playbooks.noarch 0:3.11.18-1.git.0.033596c.el7 will be installed
---> Package openshift-ansible-roles.noarch 0:3.11.18-1.git.0.033596c.el7 will be installed
--> Finished Dependency Resolution
Error: Package: openshift-ansible-3.11.18-1.git.0.033596c.el7.noarch (rhlosp-openshift-3.11)
           Requires: ansible >= 2.6.2
           Installed: ansible-2.5.7-1.el7ae.noarch (@rhelosp-14.0-puddle)
               ansible = 2.5.7-1.el7ae
           Available: ansible-2.3.1.0-3.el7.noarch (rhelosp-rhel-7.5-extras)
               ansible = 2.3.1.0-3.el7
           Available: ansible-2.3.2.0-2.el7.noarch (rhelosp-rhel-7.5-extras)
               ansible = 2.3.2.0-2.el7
           Available: ansible-2.4.0.0-5.el7.noarch (rhelosp-rhel-7.5-extras)
               ansible = 2.4.0.0-5.el7
           Available: ansible-2.4.1.0-1.el7.noarch (rhelosp-rhel-7.5-extras)
               ansible = 2.4.1.0-1.el7
           Available: ansible-2.4.2.0-2.el7.noarch (rhelosp-rhel-7.5-extras)
               ansible = 2.4.2.0-2.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Tomas Sedovic 2018-10-04 14:22:31 UTC
I've opened a pull request against openshift-ansible that allows using Ansible 2.5.7:

https://github.com/openshift/openshift-ansible/pull/10320

If it gets accepted, we'll backport it to 3.11 and it should solve this issue.

Comment 2 Martin André 2018-10-12 16:18:39 UTC
Note that using a containerized openshift-ansible is an alternative to https://github.com/openshift/openshift-ansible/pull/10320.

Comment 3 John Trowbridge 2018-10-15 15:10:22 UTC
https://review.openstack.org/#/c/583868/ is the upstream patch to move to openshift-ansible container.

Comment 4 Tomas Sedovic 2018-11-07 09:58:00 UTC

*** This bug has been marked as a duplicate of bug 1609309 ***