Description of problem:
Installed a 3.10.0-0.27.0 cluster with the following network variables:
openshift-ansible runs successfully, but after the install master-config.yaml on the master contains the default for serviceNetworkCIDR:
- cidr: 172.20.0.0/14
Note that the osm_cluster_network value was picked up OK
Version-Release number of the following components:
root@ip-172-31-16-156: ~ # rpm -q openshift-ansible
root@ip-172-31-16-156: ~ # rpm -q ansible
root@ip-172-31-16-156: ~ # ansible --version
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.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: Not sure. Using non-default openshift_portal_net seems to trigger it.
Steps to Reproduce:
1. Install cluster with an inventory similar to the one attached (redacted to remove keys/passwords).
Please include the entire output from the last TASK line through the end of output if an error is generated
Attached -vvv log, inventory and master-config.yaml
Created attachment 1426879 [details]
inventory, ansible log, master-config
*** Bug 1566629 has been marked as a duplicate of this bug. ***
This appears to be a problem with the openshift_facts module.
PR Created: https://github.com/openshift/openshift-ansible/pull/8291
*** Bug 1575919 has been marked as a duplicate of this bug. ***
Problem still occurs using openshift-ansible 3.10.0-0.47.0 from May 15th
Using the attached inventory file, master-config.yaml still gets serviceNetworkCIDR of serviceNetworkCIDR: 172.30.0.0/16
Created attachment 1437487 [details]
inventory to reproduce on 3.10.0-0.47.0
Created attachment 1437488 [details]
resulting master-config from 3.10.0-0.47.0
I installed using latest master branch out of git and hit the same issue.
Merge: d27fb63 91f78b9
Possible Fix: https://github.com/openshift/openshift-ansible/pull/8394
Mike, please let me know if the latest resolves the issue.
Verified on 3.10.0-0.50.0 - serviceNetworkCIDR has the specified value.
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.