← Back to team overview

openstack team mailing list archive

Re: VM Issues on Grizzly Install on Ubuntu 12.04

 

I'd check the external network config first. 

You should be able to ping the external subnet's gateway from the router namespace.
This gateway should correspond to some real external gateway/router.

quantum subnet-show <ext sub id> -c gateway_ip   # 10.245.124.1 ?
ip netns exec <router-ns> ping -c1 <ext sub gateway> 

If that is not working use tcpdump as you ping. Br-ex is using eth0, is eth0 up? tcpdump -nei eth0


If you are still having problems, post the above output and the following:

# network node
ip link 
ip netns exec <router-ns> ip address

quantum net-show <uuid of external net>
quantum subnet-show <uuid of external subnet>


>________________________________
> From: Farhan Patwa <Farhan.Patwa@xxxxxxxx>
>To: OpenStack Maillist <openstack@xxxxxxxxxxxxxxxxxxx> 
>Sent: Friday, 24 May 2013, 20:28
>Subject: [Openstack] VM Issues on Grizzly Install on Ubuntu 12.04
> 
>
>
>Hello,
>I followed the following guide to install Grizzly release on 3-node setup.
>http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_intro.html
>
>
>I am stuck at my last issue with Quantum networking (at least that’s what I think).
>The VM instance comes up and gets the private IP and the metadata.
>Also I have assigned the floating IP to it but am not able to ping either IP except when I use:
>
>
>ip netns exec qrouter-32f35fb4-f9f1-4817-8818-fff832f73810 ping 50.50.1.3       <- fixed IP – private network
>ip netns exec qrouter-32f35fb4-f9f1-4817-8818-fff832f73810 ping 10.24.124.4  <- floating IP – external network
>
>
>Based on that I think the security rules are okay
>The router is tied to the specified tenant and using gateway of the external network.
>I  think the issue is routing table or maybe firewall related but not sure how to debug this.
>
>
>Some details of my environment are below.
>Any one have any words of wisdom/guidance?
>
>
>Thanks,
>
>
>-Farhan.
>
>
>Management Network: 192.168.0.0/24
>Data Network: 10.5.5.0/24
>External Network: 10.245.124.0/24
>
>
>Network Node: (192.168.0.2)
>ovs-vsctl show
>ea4fa894-5986-40f2-b10b-55eef2222408
>    Bridge br-tun
>        Port patch-int
>            Interface patch-int
>                type: patch
>                options: {peer=patch-tun}
>        Port "gre-1"
>            Interface "gre-1"
>                type: gre
>                options: {in_key=flow, out_key=flow, remote_ip="192.168.0.3"}
>        Port br-tun
>            Interface br-tun
>                type: internal
>    Bridge br-int
>        Port "tap3fca71a9-c8"
>            tag: 4095
>            Interface "tap3fca71a9-c8"
>                type: internal
>        Port patch-tun
>            Interface patch-tun
>                type: patch
>                options: {peer=patch-int}
>        Port "tap4b8a22a2-9c"
>            tag: 4095
>            Interface "tap4b8a22a2-9c"
>                type: internal
>        Port "tap633ed611-a9"
>            tag: 1
>            Interface "tap633ed611-a9"
>                type: internal
>        Port "qr-eebfe1cb-0f"
>            tag: 1
>            Interface "qr-eebfe1cb-0f"
>                type: internal
>        Port br-int
>            Interface br-int
>                type: internal
>    Bridge br-ex
>        Port "eth0"
>            Interface "eth0"
>        Port br-ex
>            Interface br-ex
>                type: internal
>        Port "qg-910fef3b-cb"
>            Interface "qg-910fef3b-cb"
>                type: internal
>    ovs_version: "1.4.0+build0"
>
>
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>0.0.0.0         192.168.0.253   0.0.0.0         UG    0      0        0 eth1
>10.5.5.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
>10.245.124.0    0.0.0.0         255.255.255.0   U     0      0        0 br-ex
>192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
>
>
>Compute Node: (192.168.0.3)
>ovs-vsctl show
>f0fe78a5-dfd0-4f6b-87be-466dac0b4473
>    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-2"
>            Interface "gre-2"
>                type: gre
>                options: {in_key=flow, out_key=flow, remote_ip="192.168.0.2"}
>    Bridge br-int
>        Port patch-tun
>            Interface patch-tun
>                type: patch
>                options: {peer=patch-int}
>        Port br-int
>            Interface br-int
>                type: internal
>        Port "tap6514a8cc-b2"
>            tag: 1
>            Interface "tap6514a8cc-b2"
>    ovs_version: "1.4.0+build0"
>
>
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>0.0.0.0         192.168.0.253   0.0.0.0         UG    0      0        0 eth1
>10.5.5.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
>10.245.124.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
>192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~openstack
>Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp
>
>
>


Follow ups

References