Cannot ping virtual router
Hello, community.
I'm working on a 3-node deployment (i.e., controller, network and compute) of OpenStack Icehouse in CentOS 6.4, following the official installation guide for CentOS found in openstack.org .
I have installed and configured every service in their respective node, have created networks and subnets, a virtual router, and connected all the required ports. However, when I try to verify connectivity with a ping to the virtual router's external IP address, things fail:
[root@ecco-vmhost-id19 ~]# ping -c 4 199.241.160.101
PING 199.241.160.101 (199.241.160.101) 56(84) bytes of data.
From 199.241.160.40 icmp_seq=2 Destination Host Unreachable
From 199.241.160.40 icmp_seq=3 Destination Host Unreachable
From 199.241.160.40 icmp_seq=4 Destination Host Unreachable
--- 199.241.160.101 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12999ms
pipe 3
Open vSwitch configuration:
** NETWORK NODE **
[root@ecco-vmhost-id19 ~]# ovs-vsctl show
72c4a8f4-63c3-4d5a-8129-e5e32ade5f93
Bridge br-int
Port "tap557eb48f-92"
tag: 4095
Interface "tap557eb48f-92"
type: internal
Port "qr-a3bb5c35-62"
tag: 4095
Interface "qr-a3bb5c35-62"
type: internal
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Bridge br-tun
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Port "gre-0a12171f"
Interface "gre-0a12171f"
type: gre
options: {in_key=flow, local_ip="10.18.23.21", out_key=flow, remote_ip="10.18.23.31"}
Bridge br-ex
Port "qg-203cfbd3-86"
Interface "qg-203cfbd3-86"
type: internal
Port "eth0.2"
Interface "eth0.2"
Port br-ex
Interface br-ex
type: internal
ovs_version: "1.11.0"
** COMPUTE NODE **
[root@ecco-vmhost-id21 ~]# ovs-vsctl show
70d35d08-6f92-4a37-8e36-f987f04532bf
Bridge br-int
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvodde8197f-9a"
tag: 1
Interface "qvodde8197f-9a"
Port "qvo03253756-a7"
tag: 1
Interface "qvo03253756-a7"
Port br-int
Interface br-int
type: internal
Bridge br-tun
Port "gre-0a121715"
Interface "gre-0a121715"
type: gre
options: {in_key=flow, local_ip="10.18.23.31", out_key=flow, remote_ip="10.18.23.21"}
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
ovs_version: "1.11.0"
One issue that may be relevant: the machines with which I'm working have only one NIC available. Since the guide indicates that the different nodes require one to three NICs, I've created aliases for the one NIC as follows (e.g., network node):
** NETWORK NODE **
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=dhcp
DELAY=0
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.1
DEVICE=eth0.1
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
VLAN=yes
IPADDR=10.18.23.21
NETMASK=255.255.255.0
[root@ecco-vmhost-id19 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.2
DEVICE=eth0.2
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
VLAN=yes
Is there any reason why this setup would not work?
Any assistance would be deeply appreciated. Thanks for taking the time.
< UPDATE >
[root@ecco-vmhost-id19 ~]# ip netns list
qrouter-0207cda2-e97e-47ae-b088-7cc7b38349f6
qdhcp-a5444285-1e09-4b15-9db6-3c932ea09f06
[root@ecco-vmhost-id19 ~]# ip netns exec qdhcp-a5444285-1e09-4b15-9db6-3c932ea09f06 route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1 ...
What reports
$ ip netns list (On Controller )
ip netns exec qdhcp-a5444285-1e09-4b15-9db6-3c932ea09f06 route -n
ip netns exec qdhcp-a5444285-1e09-4b15-9db6-3c932ea09f06 ifconfig
ip netns exec qrouter-0207cda2-e97e-47ae-b088-7cc7b38349f6 ifconfig
ip netns exec qrouter-0207cda2-e97e-47ae-b088-7cc7b38349f6 ip a
ip netns exec qrouter-0207cda2-e97e-47ae-b088-7cc7b38349f6 ping -c 5 199.241.160.40
Posted Results under header < UPDATE 2 >.
Could you create test VM CirrOS 0.3.2 , launch this VM attached to private network, log into VM
Run from within created VM commands
$ ifconfig
$ ping 8.8.8.8
$ curl http://169.254.169.254
$ curl http://msn.com