Dear Colleagues
I'm trying to deploy Origin 3.7 on three independent Microsoft Azure VMs but I
can't get their VMs public IPs into the etcd settings and my Ansible
installation is failing accordingly ; precisely I'm getting these etcd settings
:
[root@openshift01 ~]# docker inspect etcd_container
...
"ETCD_NAME=openshift01.northeurope.cloudapp.azure.com",
"ETCD_LISTEN_PEER_URLS=https://10.0.0.4:2380",
"ETCD_DATA_DIR=/var/lib/etcd/",
"ETCD_HEARTBEAT_INTERVAL=500",
"ETCD_ELECTION_TIMEOUT=2500",
"ETCD_LISTEN_CLIENT_URLS=https://10.0.0.4:2379",
"ETCD_INITIAL_ADVERTISE_PEER_URLS=https://10.0.0.4:2380",
"ETCD_INITIAL_CLUSTER=openshift01.northeurope.cloudapp.azure.com=https://10.0.0.4:2380,openshift02.uksouth.cloudapp.azure.com=https://10.0.1.4:2380,openshift03.westus.cloudapp.azure.com=https://10.0.3.4:2380",
"ETCD_INITIAL_CLUSTER_STATE=new",
"ETCD_INITIAL_CLUSTER_TOKEN=etcd-cluster-1",
"ETCD_ADVERTISE_CLIENT_URLS=https://10.0.0.4:2379",
...
while I need to get their VMs public IPs inside, like this :
...
"ETCD_NAME=openshift01.northeurope.cloudapp.azure.com",
"ETCD_LISTEN_PEER_URLS=https://52.169.122.138:2380",
"ETCD_DATA_DIR=/var/lib/etcd/",
"ETCD_HEARTBEAT_INTERVAL=500",
"ETCD_ELECTION_TIMEOUT=2500",
"ETCD_LISTEN_CLIENT_URLS=https://52.169.122.138:2379",
"ETCD_INITIAL_ADVERTISE_PEER_URLS=https://52.169.122.138:2380",
"ETCD_INITIAL_CLUSTER=openshift01.northeurope.cloudapp.azure.com=https://52.169.122.138:2380,openshift02.uksouth.cloudapp.azure.com=https://51.140.76.172:2380,openshift03.westus.cloudapp.azure.com=https://13.64.104.13:2380",
"ETCD_INITIAL_CLUSTER_STATE=new",
"ETCD_INITIAL_CLUSTER_TOKEN=etcd-cluster-1",
"ETCD_ADVERTISE_CLIENT_URLS=https://52.169.122.138:2379",
...
following the net details about the VM featuring the private IP 10.0.0.4 ; its
public IP is not defined :
[root@openshift01 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:0d:3a:b7:49:df brd ff:ff:ff:ff:ff:ff
inet 10.0.0.4/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::20d:3aff:feb7:49df/64 scope link
valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN
link/ether 02:42:e9:80:cb:26 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 scope global docker0
valid_lft forever preferred_lft forever
I've tried to explicitly set the three Host variables ' openshift_hostname |
openshift_ip | openshift_public_ip ' as described in the Manual but I couldn't
make it work :
https://docs.openshift.org/latest/install_config/install/advanced_install.html#configuring-host-variables
Please how can I deploy Origin 3.7 on three independent Azure VMs ?
Or am I forced to setup some kind of VPN among my three Azure VMs in order to
give them the illusion to be on the same subnet ?
Many thanks for all your suggestions,
cheers
Fabio
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users