Bug 1635293 - Installing openshift-ansible 3.11 on OSP14 undercloud breaks with ansible 2.6 rpm package dependency
Summary: Installing openshift-ansible 3.11 on OSP14 undercloud breaks with ansible 2.6...
Keywords:
Status: CLOSED DUPLICATE of bug 1609309
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.11.z
Assignee: John Trowbridge
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-02 14:22 UTC by Marius Cornea
Modified: 2018-11-07 09:58 UTC (History)
11 users (show)

Fixed In Version: openshift-ansible-3.11.30-1.git.0.f2b420b.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-07 09:58:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-ansible pull 10472 0 None None None 2018-11-07 08:12:44 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.