← Back to team overview

openstack team mailing list archive

Could not connect to VM

 

Hello,

I'm having some issues with ping or connecting with SSH to A vm after
creation.

My setup is
- 1 controller node + networking node
- 2 compute nodes

all are running ubuntu 12.04

when trying to ping a vm after creation i get the following output:

ping 50.50.1.3
PING 50.50.1.3 (50.50.1.3) 56(84) bytes of data.
>From 109.226.32.198 icmp_seq=1 Destination Host Unreachable

I can see from the horizon console log that the vm is not getting an ip
address from the metaserver:

wget: can't connect to remote host (169.254.169.254): Network is unreachable

Any help would be very appreciated.

i'm attaching the ifconfig and ovs-vsctl show of the controller
node+network and 1 of the computer nodes.

Thanks,
Avi


controller node+network:

br-ex     Link encap:Ethernet  HWaddr ac:16:2d:76:03:b8
          inet6 addr: fe80::c494:14ff:fee2:ff34/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:351438 errors:0 dropped:83332 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21670232 (21.6 MB)  TX bytes:888 (888.0 B)

br-int    Link encap:Ethernet  HWaddr 42:98:14:5a:c7:45
          inet6 addr: fe80::852:35ff:fef8:c0d/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:266 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12828 (12.8 KB)  TX bytes:468 (468.0 B)

br-tun    Link encap:Ethernet  HWaddr 3e:6f:76:b8:33:4d
          inet6 addr: fe80::e4be:9ff:fecd:3d69/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:115 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5706 (5.7 KB)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr ac:16:2d:76:03:b8
          inet6 addr: fe80::ae16:2dff:fe76:3b8/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:355057 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1481 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23583676 (23.5 MB)  TX bytes:109191 (109.1 KB)
          Interrupt:32

eth1      Link encap:Ethernet  HWaddr ac:16:2d:76:03:b9
          inet addr:172.16.20.1  Bcast:172.16.20.255  Mask:255.255.255.0
          inet6 addr: fe80::ae16:2dff:fe76:3b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1217937 errors:0 dropped:0 overruns:0 frame:0
          TX packets:965032 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:348242626 (348.2 MB)  TX bytes:741457958 (741.4 MB)
          Interrupt:36

eth3      Link encap:Ethernet  HWaddr ac:16:2d:76:03:bb
          inet addr:109.226.32.196  Bcast:109.226.32.223
 Mask:255.255.255.224
          inet6 addr: fe80::ae16:2dff:fe76:3bb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:641690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:153774 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:338543594 (338.5 MB)  TX bytes:31423041 (31.4 MB)
          Interrupt:36

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:16436  Metric:1
          RX packets:39225048 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39225048 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8572204782 (8.5 GB)  TX bytes:8572204782 (8.5 GB)

tapb6bae46b-75 Link encap:Ethernet  HWaddr fa:16:3e:04:79:73
          inet addr:50.50.1.2  Bcast:50.50.1.255  Mask:255.255.255.0
          inet6 addr: fe80::9004:22ff:fee3:6bc1/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1056 (1.0 KB)  TX bytes:1098 (1.0 KB)


ovs-vsctl show
1f989ce1-998a-45a7-8eef-e0bda6d8ecc8
    Bridge br-int
        Port "qr-721fe4cd-9d"
            Interface "qr-721fe4cd-9d"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb6bae46b-75"
            tag: 2
            Interface "tapb6bae46b-75"
                type: internal
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-4"
            Interface "gre-4"
                type: gre
                options: {in_key=flow, out_key=flow,
remote_ip="172.16.20.21"}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-ex
        Port "qg-c719cc08-6f"
            Interface "qg-c719cc08-6f"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "1.10.90"

compute node:

i'm using bond0 for the connection.

bond0     Link encap:Ethernet  HWaddr ac:16:2d:76:07:35
          inet addr:172.16.20.21  Bcast:172.16.20.255  Mask:255.255.255.0
          inet6 addr: fe80::ae16:2dff:fe76:735/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:6671171 errors:0 dropped:2412562 overruns:0 frame:0
          TX packets:2726813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2482277348 (2.4 GB)  TX bytes:1148396132 (1.1 GB)

br-int    Link encap:Ethernet  HWaddr 8a:36:1c:7d:4f:40
          inet6 addr: fe80::8836:1cff:fe7d:4f40/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17947 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2913746 (2.9 MB)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr ac:16:2d:76:07:35
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:5382240 errors:0 dropped:6 overruns:0 frame:0
          TX packets:63266 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2309436177 (2.3 GB)  TX bytes:15632208 (15.6 MB)
          Interrupt:32

eth1      Link encap:Ethernet  HWaddr ac:16:2d:76:07:35
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1288931 errors:0 dropped:5 overruns:0 frame:0
          TX packets:2663547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:172841171 (172.8 MB)  TX bytes:1132763924 (1.1 GB)
          Interrupt:36

eth3      Link encap:Ethernet  HWaddr ac:16:2d:76:07:36
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1403737 errors:0 dropped:2 overruns:0 frame:0
          TX packets:55719 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:99704946 (99.7 MB)  TX bytes:8392504 (8.3 MB)
          Interrupt:36

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:16436  Metric:1
          RX packets:6322 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6322 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:528611 (528.6 KB)  TX bytes:528611 (528.6 KB)

qbr11ec816c-54 Link encap:Ethernet  HWaddr a6:94:c7:7e:e7:5f
          inet6 addr: fe80::f0c3:59ff:fe34:e130/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15120 (15.1 KB)  TX bytes:1844 (1.8 KB)

qbr4adbb9e3-d6 Link encap:Ethernet  HWaddr 3a:36:3b:a1:f6:8a
          inet6 addr: fe80::4c5b:65ff:fe4b:96db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9418 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:308 (308.0 B)  TX bytes:809900 (809.9 KB)

qbr68437bef-05 Link encap:Ethernet  HWaddr 32:06:4d:72:d1:c2
          inet6 addr: fe80::504d:f3ff:fe65:8256/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2792 (2.7 KB)  TX bytes:2876 (2.8 KB)

qbrc3e2c142-2e Link encap:Ethernet  HWaddr 36:9e:84:7c:c5:30
          inet6 addr: fe80::6cdc:dcff:fe44:d141/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4424 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:230136 (230.1 KB)  TX bytes:190356 (190.3 KB)

qvb11ec816c-54 Link encap:Ethernet  HWaddr a6:94:c7:7e:e7:5f
          inet6 addr: fe80::a494:c7ff:fe7e:e75f/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16252 (16.2 KB)  TX bytes:3256 (3.2 KB)

qvb4adbb9e3-d6 Link encap:Ethernet  HWaddr 3a:36:3b:a1:f6:8a
          inet6 addr: fe80::3836:3bff:fea1:f68a/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2214 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18836 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:190356 (190.3 KB)  TX bytes:1243276 (1.2 MB)

qvb68437bef-05 Link encap:Ethernet  HWaddr 32:06:4d:72:d1:c2
          inet6 addr: fe80::3006:4dff:fe72:d1c2/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:714 (714.0 B)  TX bytes:7130 (7.1 KB)

qvbc3e2c142-2e Link encap:Ethernet  HWaddr 36:9e:84:7c:c5:30
          inet6 addr: fe80::349e:84ff:fe7c:c530/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:4426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2221 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:292248 (292.2 KB)  TX bytes:190826 (190.8 KB)

qvo11ec816c-54 Link encap:Ethernet  HWaddr a2:0d:30:34:46:d2
          inet6 addr: fe80::a00d:30ff:fe34:46d2/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3256 (3.2 KB)  TX bytes:16252 (16.2 KB)

qvo4adbb9e3-d6 Link encap:Ethernet  HWaddr 12:c1:64:bb:38:77
          inet6 addr: fe80::10c1:64ff:febb:3877/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:18836 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1243276 (1.2 MB)  TX bytes:190356 (190.3 KB)

qvo68437bef-05 Link encap:Ethernet  HWaddr 92:a0:26:36:ad:2d
          inet6 addr: fe80::90a0:26ff:fe36:ad2d/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:81 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7130 (7.1 KB)  TX bytes:714 (714.0 B)

qvoc3e2c142-2e Link encap:Ethernet  HWaddr aa:6c:9b:7b:fe:a4
          inet6 addr: fe80::a86c:9bff:fe7b:fea4/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2221 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4426 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:190826 (190.8 KB)  TX bytes:292248 (292.2 KB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:db:8d:08
          inet6 addr: fe80::fc16:3eff:fedb:8d08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:3374 (3.3 KB)  TX bytes:5168 (5.1 KB)

ovs-vsctl show
6b9ceab3-7402-4728-af1c-95e11da9f8b2
    Bridge br-int
        Port "qvo68437bef-05"
            tag: 1
            Interface "qvo68437bef-05"
        Port br-int
            Interface br-int
                type: internal
        Port "qvoc3e2c142-2e"
            tag: 4095
            Interface "qvoc3e2c142-2e"
        Port "qvo11ec816c-54"
            tag: 4095
            Interface "qvo11ec816c-54"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qvo4adbb9e3-d6"
            tag: 4095
            Interface "qvo4adbb9e3-d6"
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-3"
            Interface "gre-3"
                type: gre
                options: {in_key=flow, out_key=flow,
remote_ip="172.16.20.1"}
        Port br-tun
            Interface br-tun
                type: internal
    ovs_version: "1.4.0+build0"