I have resolved the problem.
In /etc/hosts, one item as below,
172.16.211.60 buzz1.center1.com<http://buzz1.center1.com> buzz1
After commented the line, master-api and etcd both listened on 9.30.x.x and 
installation could continue.

However, node is NotReady status with error as below,
Ready            False   Wed, 25 Sep 2019 19:23:28 -0700   Wed, 25 Sep 2019 
10:18:06 -0700   KubeletNotReady              runtime network not ready: 
NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin 
is not ready: cni config uninitialized

I think it’s another problem.


On Sep 25, 2019, at 10:34 PM, Yu Wei 
<[email protected]<mailto:[email protected]>> wrote:

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 
<[email protected]<mailto:[email protected]>> wrote:


Yu Wei <[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to