Bug 1627008

Summary: Openshift-on-OpenStack depends on python2-openstacksdk version bump in OSP 13
Product: OpenShift Container Platform Reporter: Jon Uriarte <juriarte>
Component: InstallerAssignee: Tomas Sedovic <tsedovic>
Status: CLOSED DUPLICATE QA Contact: Jon Uriarte <juriarte>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, eminguez, jokerman, mmccomas, rbohne
Target Milestone: ---Keywords: AutomationBlocker
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-13 11:58:31 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:
Bug Depends On: 1626538    
Bug Blocks:    

Description Jon Uriarte 2018-09-10 09:23:46 UTC
Description of problem:

This bug is for OpenShiftonOpenStack DFG internal tracking of a bug in OSP 13 (https://bugzilla.redhat.com/show_bug.cgi?id=1626538) affecting Openshift-on-OpenStack playbook.

Version-Release number of the following components:
rpm -q openshift-ansible
openshift-ansible-3.11.0-0.28.0.git.0.730d4be.el7.noarch

rpm -q ansible
ansible-2.6.3-1.el7ae.noarch

ansible --version
ansible 2.6.3
  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, Feb 20 2018, 09:19:12) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

How reproducible: always

Steps to Reproduce:
1. Install ansible 2.6
2. Get OCP 3.11
3. Run Openshift-on-Openstack playbooks:
    ansible-playbook --user openshift -i /usr/share/ansible/openshift-ansible/playbooks/openstack/inventory.py -i inventory /usr/share/ansible/openshift-ansible/playbooks/openstack/openshift-cluster/prerequisites.yml

Actual results:

TASK [openshift_openstack : Try to get network facts] *************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "To utilize this module, the installed version ofthe openstacksdk library MUST be >=0.12.0"}


Expected results:
No errors

Comment 1 Eduardo Minguez 2018-11-20 09:14:34 UTC
As https://bugzilla.redhat.com/show_bug.cgi?id=1626538 has been released, it means ansible version should be 2.5.X for this to work, but the docs say 2.6[1]

I've created a bugzilla for the docs here https://bugzilla.redhat.com/show_bug.cgi?id=1651513

[1] https://docs.openshift.com/container-platform/3.11/install/host_preparation.html#host-registration

Comment 2 Jon Uriarte 2018-12-13 11:58:31 UTC
(In reply to Eduardo Minguez from comment #1)
> As https://bugzilla.redhat.com/show_bug.cgi?id=1626538 has been released, it
> means ansible version should be 2.5.X for this to work, but the docs say
> 2.6[1]
> 
> I've created a bugzilla for the docs here
> https://bugzilla.redhat.com/show_bug.cgi?id=1651513
> 
> [1]
> https://docs.openshift.com/container-platform/3.11/install/host_preparation.
> html#host-registration

Thank you!
I'm closing this one as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1626538

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