Description of problem: ETCD does not (by default), bind to the IP address and associated physical Network Interface, that DNS returns for the nodename, as specified in the [etcd] section in the inventory file, IF that physical interface is NOT eth0 (first interface). IE we may wish to bind etcd to eth1. Assuming correct DNS resolution of the node name specified in the [etcd] section of the inventory file IP associated with eth1, etcd will still bind to eth0. Specifying the etcd_ip (of eth1) for each etcd node in [etcd] nodes section, does alleviate this problem. Could the default be changed, so that etcd binds to the same IP (as returned by DNS, for the nodename specified in the [etcd] section in inventory, irrespective of whether that interface is not eth0? as is the case with the 'api' IE - The api WILL bind to eth1 if the IP address returned by DNS (nodename as stated in [masters] is an interface other than eth0. Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-3.11.157-1.git.0.10b76ed.el7.noarch Thu Feb 6 12:09:54 2020 openshift-ansible-docs-3.11.157-1.git.0.10b76ed.el7.noarch Thu Feb 6 12:09:54 2020 openshift-ansible-playbooks-3.11.157-1.git.0.10b76ed.el7.noarch Thu Feb 6 12:09:54 2020 openshift-ansible-roles-3.11.157-1.git.0.10b76ed.el7.noarch Thu Feb 6 12:09:54 2020 rpm -q ansible ansible-2.6.20-1.el7ae.noarch ansible --version ansible 2.6.20 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, Jun 11 2019, 14:33:56) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] How reproducible: Set inventory as follows [masters] mrolo1.redhat.com openshift_public_hostname="mrolo1.redhat.com" openshift_node_group_name="node-config-master" [etcd] mrolo1.redhat.com openshift_public_hostname="mrolo1.redhat.com" [nodes] mrolo1.redhat.com openshift_public_hostname="mrolo1.redhat.com" WHERE mrolo1.redhat.com IP address corresponds with eth1 (not eth0) and reverse lookup resolves to mrolo1.redhat.com Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated master api binds to eth1 and correct IP etcd binds to eth0 and IP associated with that interface. Expected results: etcd & master-api bind to eth1 IP Additional info: Please attach logs from ansible-playbook with the -vvv flag
Good day Folks, Please advise if you require any additional information. Would be useful to understand any initial thoughts that you have pertaining to this RFE. I can allay these back to my CU Rgds