Description of problem: After https://bugzilla.redhat.com/show_bug.cgi?id=1546106 has been fixed, support in Openshift-on-OpenStack playbook is required for setting external_svc_net param with the external network ID instead of external_svc_subnet param, in kuryr-config configmap. The playbook is not failing, but it is setting external_svc_subnet instead of external_svc_net. Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-3.10.0-0.32.0.git.0.bb50d68.el7.noarch rpm -q ansible ansible-2.4.3.0-1.el7ae.noarch 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)] How reproducible: Always Steps to Reproduce: 1. Deploy openshift on openstack 2. Check kuryr-config cm oc -n openshift-infra edit cm kuryr-config Actual results: external_svc_subnet = <external subnet ID> Expected results: external_svc_net = <external network ID>
Verified in openshift-ansible-3.10.0-0.46.0.git.0.85c3afd.el7.noarch and openshift-ansible-playbooks-3.10.0-0.46.0.git.0.85c3afd.el7.noarch. Verification steps: 1. Run Openshift-on-Openstack playbook setting the kuryr_openstack_public_net_id: kuryr_openstack_public_net_id: dbba197f-d28e-49be-9905-fde1fa67cd52 2. Check the parameter in kuryr-config: [openshift@master-0 ~]$ oc -n openshift-infra get cm kuryr-config -o yaml | grep external external_svc_net = dbba197f-d28e-49be-9905-fde1fa67cd52 3. Check project/dc/service creation 4. Run Openshift-on-Openstack playbook setting the kuryr_openstack_public_subnet_id and kuryr_openstack_public_net_id: kuryr_openstack_public_subnet_id: cdbd1855-0b23-4ddc-8186-e10a963156b8 kuryr_openstack_public_net_id: dbba197f-d28e-49be-9905-fde1fa67cd52 5. Check the parameters in kuryr-config: [openshift@master-0 ~]$ oc -n openshift-infra get cm kuryr-config -o yaml | grep external external_svc_net = dbba197f-d28e-49be-9905-fde1fa67cd52 external_svc_subnet = cdbd1855-0b23-4ddc-8186-e10a963156b8 6. Check project/dc/service creation
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