I searched the document and I didn’t find such inventory variable. Output as below, [root@buzz1 openshift-ansible]# hostname -f buzz1.center1.com<http://buzz1.center1.com> [root@buzz1 openshift-ansible]# host buzz1.center1.com<http://buzz1.center1.com> buzz1.center1.com<http://buzz1.center1.com> has address 172.16.211.60 [root@buzz1 openshift-ansible]# ip r sh default via 9.30.116.1 dev eth1 proto dhcp metric 101 9.30.116.0/22 dev eth1 proto kernel scope link src 9.30.119.88 metric 101 172.16.0.0/16 dev eth0 proto kernel scope link src 172.16.211.60 metric 100 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
On Sep 25, 2019, at 6:57 PM, Toni Schmidbauer <toni+openshift-us...@stderr.at<mailto:toni+openshift-us...@stderr.at>> wrote: Yu Wei <yu20...@hotmail.com<mailto:yu20...@hotmail.com>> writes: Toni, thanks for your help. Yes, 9.30.x.x is the default route of VM as it’s external IP. And 172.16.x.x is internal IP. How could I resolve the problem? Is it possible to make master-api and etcd to use same IP address by specifying something in inventory file? i would make sure that the hostname resolve to the 9.30.x.x ip. either change your dns or try to change this in /etc/hosts. maybe you could post the output of `hostname -f`, `host $(hostname -f)` and `ip r sh`. i'm not aware of a inventory variable that you can set, but for sure i do not know all of them :-) p.s. i've removed the dev list, as i'm pretty sure this is a users issue. i'm not aware of any cross posting policy, but on most lists it's discouraged. lg toni _______________________________________________ users mailing list users@lists.openshift.redhat.com<mailto:users@lists.openshift.redhat.com> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users