Project: datamanagement
Issue DM-5941: Private network not available across all instances
I'm setting up an ELK system. Part of that is an Elasticsearch system. When I bring up the system the private network is bisected. I attempted creating a security group, in case that was a problem but it didn't help. Note that the work around is to create security groups or use a firewall and use floating ips. This is far from ideal. I think the right solution is to use the private network. Example: First section {{p-es-1}} {{p-es-3}} {{p-es-k}} {code:bash} vagrant@es-1:~$ ifconfig ens3 Link encap:Ethernet HWaddr fa:16:3e:47:28:a7 inet addr:10.0.42.30 Bcast:10.0.42.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe47:28a7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1454 Metric:1 RX packets:363265 errors:0 dropped:0 overruns:0 frame:0 TX packets:304215 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95396177 (95.3 MB) TX bytes:238466304 (238.4 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:850 errors:0 dropped:0 overruns:0 frame:0 TX packets:850 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:138411 (138.4 KB) TX bytes:138411 (138.4 KB) vagrant@es-1:~$ ping 10.0.42.32 PING 10.0.42.32 (10.0.42.32) 56(84) bytes of data. 64 bytes from 10.0.42.32: icmp_seq=1 ttl=64 time=0.284 ms 64 bytes from 10.0.42.32: icmp_seq=2 ttl=64 time=0.266 ms 64 bytes from 10.0.42.32: icmp_seq=3 ttl=64 time=0.265 ms 64 bytes from 10.0.42.32: icmp_seq=4 ttl=64 time=0.302 ms ^C --- 10.0.42.32 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2998ms rtt min/avg/max/mdev = 0.265/0.279/0.302/0.019 ms vagrant@es-1:~$ ping 10.0.42.34 PING 10.0.42.34 (10.0.42.34) 56(84) bytes of data. 64 bytes from 10.0.42.34: icmp_seq=1 ttl=64 time=0.333 ms 64 bytes from 10.0.42.34: icmp_seq=2 ttl=64 time=0.325 ms 64 bytes from 10.0.42.34: icmp_seq=3 ttl=64 time=0.322 ms 64 bytes from 10.0.42.34: icmp_seq=4 ttl=64 time=0.319 ms ^C --- 10.0.42.34 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2998ms rtt min/avg/max/mdev = 0.319/0.324/0.333/0.022 ms vagrant@es-1:~$ ping 10.0.42.31 PING 10.0.42.31 (10.0.42.31) 56(84) bytes of data. From 10.0.42.30 icmp_seq=1 Destination Host Unreachable From 10.0.42.30 icmp_seq=2 Destination Host Unreachable From 10.0.42.30 icmp_seq=3 Destination Host Unreachable ^C --- 10.0.42.31 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3017ms pipe 3 vagrant@es-1:~$ ping 10.0.42.33 PING 10.0.42.33 (10.0.42.33) 56(84) bytes of data. From 10.0.42.30 icmp_seq=1 Destination Host Unreachable From 10.0.42.30 icmp_seq=2 Destination Host Unreachable From 10.0.42.30 icmp_seq=3 Destination Host Unreachable ^C --- 10.0.42.33 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3008ms pipe 3 vagrant@es-1:~$ ping 10.0.42.35 PING 10.0.42.35 (10.0.42.35) 56(84) bytes of data. From 10.0.42.30 icmp_seq=1 Destination Host Unreachable From 10.0.42.30 icmp_seq=2 Destination Host Unreachable From 10.0.42.30 icmp_seq=3 Destination Host Unreachable ^C --- 10.0.42.35 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms pipe 3 {code} Second section {{p-es-2}} {{p-es-4}} {{p-lfr}} {code:bash} vagrant@es-2:~$ ifconfig ens3 Link encap:Ethernet HWaddr fa:16:3e:6f:30:2c inet addr:10.0.42.31 Bcast:10.0.42.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe6f:302c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1454 Metric:1 RX packets:196344 errors:0 dropped:0 overruns:0 frame:0 TX packets:160561 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47667399 (47.6 MB) TX bytes:7135345 (7.1 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:97268 errors:0 dropped:0 overruns:0 frame:0 TX packets:97268 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:8558096 (8.5 MB) TX bytes:8558096 (8.5 MB) vagrant@es-2:~$ ping 10.0.42.33 PING 10.0.42.33 (10.0.42.33) 56(84) bytes of data. 64 bytes from 10.0.42.33: icmp_seq=1 ttl=64 time=0.311 ms 64 bytes from 10.0.42.33: icmp_seq=2 ttl=64 time=0.309 ms 64 bytes from 10.0.42.33: icmp_seq=3 ttl=64 time=0.300 ms ^C --- 10.0.42.33 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.300/0.306/0.311/0.020 ms vagrant@es-2:~$ ping 10.0.42.30 PING 10.0.42.30 (10.0.42.30) 56(84) bytes of data. From 10.0.42.31 icmp_seq=1 Destination Host Unreachable From 10.0.42.31 icmp_seq=2 Destination Host Unreachable From 10.0.42.31 icmp_seq=3 Destination Host Unreachable From 10.0.42.31 icmp_seq=4 Destination Host Unreachable ^C --- 10.0.42.30 ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4014ms pipe 3 vagrant@es-2:~$ ping 10.0.42.32 PING 10.0.42.32 (10.0.42.32) 56(84) bytes of data. From 10.0.42.31 icmp_seq=1 Destination Host Unreachable From 10.0.42.31 icmp_seq=2 Destination Host Unreachable From 10.0.42.31 icmp_seq=3 Destination Host Unreachable From 10.0.42.31 icmp_seq=4 Destination Host Unreachable From 10.0.42.31 icmp_seq=5 Destination Host Unreachable ^C --- 10.0.42.32 ping statistics --- 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4023ms pipe 3 vagrant@es-2:~$ ping 10.0.42.34 PING 10.0.42.34 (10.0.42.34) 56(84) bytes of data. From 10.0.42.31 icmp_seq=1 Destination Host Unreachable From 10.0.42.31 icmp_seq=2 Destination Host Unreachable From 10.0.42.31 icmp_seq=3 Destination Host Unreachable ^C --- 10.0.42.34 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3006ms pipe 3 vagrant@es-2:~$ ping 10.0.42.35 PING 10.0.42.35 (10.0.42.35) 56(84) bytes of data. 64 bytes from 10.0.42.35: icmp_seq=1 ttl=64 time=0.387 ms 64 bytes from 10.0.42.35: icmp_seq=2 ttl=64 time=0.278 ms 64 bytes from 10.0.42.35: icmp_seq=3 ttl=64 time=0.288 ms ^C --- 10.0.42.35 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.278/0.317/0.387/0.053 ms {code} This can be reproduced by sourcing your OpenStack credentials and running this [{{Vagrantfile}}|https://gist.github.com/jmatt/7b6eb6a042c4e63531d40d1a68069f33]. Use {{vagrant ssh p-es-1}} to connect to the {{p-es-1}} instance.
Story points: 2