Bug 1685606

Summary: Openshift-on-OpenStack playbooks require ansible 2.5
Product: OpenShift Container Platform Reporter: Jon Uriarte <juriarte>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Jon Uriarte <juriarte>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, bleanhar, jokerman, mmccomas, sdodson, slinaber, tzumainn
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-11 05:38:34 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 Jon Uriarte 2019-03-05 16:01:13 UTC
Description of problem:

Openshift on Openstack playbooks require ansible 2.5, for OCP 3.11 and OSP13, as specified in [1].

In the OCP 3.11.91 (2019-03-03.1) the ansible requirement has been increased from ansible >= 2.5.7 to ansible >= 2.6, causing the rpm openshift-ansible installation to fail or the playbooks to fail.

The playbooks fail with ansible 2.6 due to a dependency with python2-openstacksdk that is satisfied in OSP14 but not in the Long Term Support OSP13.

The PRs [1] and [2] were merged in order to satisfy this requirement.


Version-Release number of selected component (if applicable):
openshift-ansible-3.11.91-1.git.0.827eac2.el7.noarch


How reproducible: always

Steps to Reproduce:
1. Check openshift-ansible rpm requirements:

 rpm -q --requires -p http://download.lab.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.11/2019-03-03.1/x86_64/os/Packages/openshift-ansible-3.11.91-1.git.0.827eac2.el7.noarch.rpm
/bin/sh
/usr/bin/env
ansible >= 2.6
httpd-tools
java-1.8.0-openjdk-headless
libselinux-python
openshift-ansible-docs = 3.11.91-1.git.0.827eac2.el7
openshift-ansible-playbooks = 3.11.91-1.git.0.827eac2.el7
openshift-ansible-roles = 3.11.91-1.git.0.827eac2.el7
openssh-clients
patch
pyOpenSSL
python-passlib
python-six
python2
python2-crypto
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
tar
rpmlib(PayloadIsXz) <= 5.2-1


Actual results:
ansible >= 2.6

Expected results:
ansible >= 2.5.7


[1] https://docs.openshift.com/container-platform/3.11/install_config/configuring_openstack.html
[2] https://github.com/openshift/openshift-ansible/pull/10320
[3] https://github.com/openshift/openshift-ansible/pull/10472

Comment 1 Scott Dodson 2019-03-05 20:22:14 UTC
https://github.com/openshift/openshift-ansible/pull/11303

I'm looking for clarification on a few items where we suspect there may actually be problems with Ansible 2.5.x that affect openshift-ansible.

Comment 2 Jon Uriarte 2019-03-06 13:28:29 UTC
Thank you Scott, I added the blocker flag as OCP 3.11 on OSP 13 installer is blocked starting in OCP 3.11.91.

Let me know if some verification is needed before the patch is delivered.

Comment 3 Scott Dodson 2019-03-06 13:38:46 UTC
It's merged now.

3.11.88 is the next 3.11 errata so if this was only introduced in 3.11.91 we shouldn't have any customer facing exposure on this one.

Comment 5 Jon Uriarte 2019-03-18 11:07:24 UTC
Verified in openshift-ansible-3.11.94 (2019-03-10.1)

openshift-ansible-roles-3.11.94-1.git.0.b3cb20f.el7.noarch
openshift-ansible-docs-3.11.94-1.git.0.b3cb20f.el7.noarch
openshift-ansible-playbooks-3.11.94-1.git.0.b3cb20f.el7.noarch
openshift-ansible-3.11.94-1.git.0.b3cb20f.el7.noarch

Installed openshift-ansible from [1].


$ rpm -q --requires openshift-ansible
/bin/sh
/usr/bin/env
ansible >= 2.5.7                                   <<<<<<------
httpd-tools
java-1.8.0-openjdk-headless
libselinux-python
openshift-ansible-docs = 3.11.94-1.git.0.b3cb20f.el7
openshift-ansible-playbooks = 3.11.94-1.git.0.b3cb20f.el7
openshift-ansible-roles = 3.11.94-1.git.0.b3cb20f.el7
openssh-clients
patch
pyOpenSSL
python-passlib
python-six
python2
python2-crypto
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
tar
rpmlib(PayloadIsXz) <= 5.2-1


All openshift on openstack playbooks do run successfully with ansible 2.5

$ ansible --version
ansible 2.5.15
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/cloud-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Sep 12 2018, 05:31:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]


Thank you


[1] http://download.lab.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.11/2019-03-10.1/$basearch/os

Comment 7 errata-xmlrpc 2019-04-11 05:38:34 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-2019:0636