Description of problem: The OpenStack provisioning playbook fails, at prerequisites stage, when the underlying OSP is configured with Octavia. Version-Release number of the following components: [cloud-user@ansible-host ~]$ rpm -q openshift-ansible openshift-ansible-3.10.0-0.16.0.git.0.8925606.el7.noarch (overcloud) [cloud-user@ansible-host ~]$ rpm -q ansible ansible-2.4.3.0-1.el7ae.noarch [cloud-user@ansible-host ~]$ ansible --version ansible 2.4.3.0 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 9 2018, 09:51:13) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] OSP version: 13 puddle 2018-04-03.3 Link to upstream issue: https://github.com/openshift/openshift-ansible/issues/7806 How reproducible: always Steps to Reproduce: 1. Install OSP 13 with Octavia 2. Deploy an ansible-host 3. Run the Openshift-on-OpenStack playbook with Kuryr support $ 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/provision_install.yml Running only the prerequisites playbook is also reproduced: $ 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 : fail] ********************************************************************************************************************************************************************************* fatal: [localhost]: FAILED! => {"changed": false, "msg": "Kuryr enabled but lacking required lbaasv2 support in Neutron"} Expected results: No error Additional info: [cloud-user@ansible-host ~]$ openstack network service provider list +---------------+-------------+---------+ | Service Type | Name | Default | +---------------+-------------+---------+ | L3_ROUTER_NAT | single_node | False | | L3_ROUTER_NAT | ha | False | | L3_ROUTER_NAT | dvrha | False | | L3_ROUTER_NAT | dvr | False | +---------------+-------------+---------+
This is blocking all OpenStack Kuryr deployments and the now-merged LBaaS support as well. Looks like we can't rely on Octavia/TripleO to fix this for us: https://bugzilla.redhat.com/show_bug.cgi?id=1564188 So we'll have to update the OpenStack playbooks to be able to talk to Octavia directly. Toni said he'll take a look so I've assigned this to him.
https://github.com/openshift/openshift-ansible/pull/7981
Verified in openshift-ansible-3.10.0-0.53.0.git.0.53fe016.el7.noarch over OSP 13 2018-05-23.1 puddle. Verification steps: 1. Install OSP 13 with Octavia 2. Deploy an ansible-host 3. Run the Openshift-on-OpenStack prerequisites playbook with Kuryr support $ 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 The playbook finishes successfully.
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-2018:1816