Can't access instance unless netns is specified
I want to be able to access my instances from the controller node using a floating ip address. Currently, the only way I can access them is with an ip netns exec command ("ip netns exec qdhcp-25743621-9d0a-4c75-acc4-2fe4a3f89e4c ping 172.24.4.228" works, thanks to http://docs.openstack.org/grizzly/bas... ).
I believe from my reading that I need to create a floating ip range and public network (as described here: http://openstack.redhat.com/Floating_... ). I'm having trouble determining what options I should specify in order to make it work (especially allocation pool and gateway).
Here are the controller (all-in-one packstack installation) node interfaces I'm working with:
br-ex: flags=67<UP,BROADCAST,RUNNING> mtu 1500
inet6 fe80::a803:55ff:febc:e705 prefixlen 64 scopeid 0x20<link>
ether fa:1f:ad:29:1e:4f txqueuelen 0 (Ethernet)
RX packets 18 bytes 1116 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 648 (648.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-int: flags=67<UP,BROADCAST,RUNNING> mtu 1500
inet6 fe80::203a:8ff:fe67:b568 prefixlen 64 scopeid 0x20<link>
ether 72:2e:2b:4b:7b:42 txqueuelen 0 (Ethernet)
RX packets 143 bytes 35766 (34.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 648 (648.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.15.161.221 netmask 255.255.254.0 broadcast 10.15.161.255
inet6 2620:52:0:fa0:f2de:f1ff:febb:8f4c prefixlen 64 scopeid 0x0<global>
inet6 fe80::f2de:f1ff:febb:8f4c prefixlen 64 scopeid 0x20<link>
ether f0:de:f1:bb:8f:4c txqueuelen 1000 (Ethernet)
RX packets 247307 bytes 322032955 (307.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 144156 bytes 12030869 (11.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2500000-f2520000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 332121 bytes 121891330 (116.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 332121 bytes 121891330 (116.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap1470c10e-b7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc16:3eff:fe51:64c5 prefixlen 64 scopeid 0x20<link>
ether fe:16:3e:51:64:c5 txqueuelen 500 (Ethernet)
RX packets 275 bytes 47270 (46.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 247 bytes 44431 (43.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapd61d4620-a6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc16:3eff:fe42:878d prefixlen 64 scopeid 0x20<link>
ether fe:16:3e:42:87:8d txqueuelen ...