[Openstack] router interfaces down

cheniour ghassen ghacheniour at gmail.com
Tue Mar 18 14:36:41 UTC 2014


Hi everyone,
I am able to deploy an instance winth in my privte havana cloud on ubuntu
LTS 12.04. But I am not able to neither ssh or ping the instance (and yes i
added the security rules).
The problem appears from the router i think because the interfaces and even
the gateway are down.
This is my configuration :

root at network:~# neutron net-list
+--------------------------------------+------+----------------------------------
--------------------+
| id                                   | name |
subnets
|
+--------------------------------------+------+----------------------------------
--------------------+
| 6cb350b3-f6df-40f7-ac4b-7057394edbc0 | net2 |
2c6f7b0e-6517-4290-9d65-5050cead2
905 192.168.10.0/24 |
| 86720ff3-0536-4602-ad10-6880c2fc1b9c | net1 |
325f36c4-151a-4984-ab94-b3ca28af2
76c 192.168.0.0/24  |
+--------------------------------------+------+----------------------------------
--------------------+
root at network:~# neutron net-show 6cb350b3-f6df-40f7-ac4b-7057394edbc0
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 6cb350b3-f6df-40f7-ac4b-7057394edbc0 |
| name                      | net2                                 |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 2                                    |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 2c6f7b0e-6517-4290-9d65-5050cead2905 |
| tenant_id                 | b9c135cdadbc4426bd892e5eb5c07f4e     |
+---------------------------+--------------------------------------+
root at network:~# neutron net-show 86720ff3-0536-4602-ad10-6880c2fc1b9c
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 86720ff3-0536-4602-ad10-6880c2fc1b9c |
| name                      | net1                                 |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1                                    |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 325f36c4-151a-4984-ab94-b3ca28af276c |
| tenant_id                 | b9c135cdadbc4426bd892e5eb5c07f4e     |
+---------------------------+--------------------------------------+
root at network:~# neutron router-show router1
+-----------------------+--------------------------------------------------------
---------------------+
| Field                 |
Value
|
+-----------------------+--------------------------------------------------------
---------------------+
| admin_state_up        |
True
|
| external_gateway_info | {"network_id":
"6cb350b3-f6df-40f7-ac4b-7057394edbc0",
"enable_snat": true} |
| id                    |
24ba0de0-60c2-4f77-a79a-3c965b157b45
|
| name                  |
router1
|
| routes
|
|
| status                |
ACTIVE
|
| tenant_id             |
b9c135cdadbc4426bd892e5eb5c07f4e
|
+-----------------------+--------------------------------------------------------
---------------------+
root at network:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast
stat
e UP qlen 1000
    link/ether 00:0c:29:e1:15:8b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::20c:29ff:fee1:158b/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP
qle
n 1000
    link/ether 00:0c:29:e1:15:95 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.53/24 brd 192.168.10.255 scope global eth1
    inet6 fe80::20c:29ff:fee1:1595/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP
qle
n 1000
    link/ether 00:0c:29:e1:15:9f brd ff:ff:ff:ff:ff:ff
    inet 192.168.80.131/24 brd 192.168.80.255 scope global eth2
    inet6 fe80::20c:29ff:fee1:159f/64 scope link
       valid_lft forever preferred_lft forever
5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 6a:35:28:8d:9b:04 brd ff:ff:ff:ff:ff:ff
6: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:0c:29:e1:15:8b brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.52/24 brd 192.168.10.255 scope global br-ex
    inet6 fe80::884f:c0ff:fe0d:9f82/64 scope link
       valid_lft forever preferred_lft forever
7: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 76:7c:c0:3b:72:49 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5022:13ff:febc:4fcd/64 scope link
       valid_lft forever preferred_lft forever
root at network:~# ovs-vsctl show
7d3d6422-b107-489c-b9a3-4ec65629b6de
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "1.10.2"
root at network:~# ovs-dpctl show
system at ovs-system:
        lookups: hit:1183133 missed:107785 lost:0
        flows: 9
        port 0: ovs-system (internal)
        port 1: br-ex (internal)
        port 2: eth0
        port 3: br-int (internal)


root at network:~# neutron net-list
+--------------------------------------+------+----------------------------------
--------------------+
| id                                   | name |
subnets
|
+--------------------------------------+------+----------------------------------
--------------------+
| 6cb350b3-f6df-40f7-ac4b-7057394edbc0 | net2 |
2c6f7b0e-6517-4290-9d65-5050cead2
905 192.168.10.0/24 |
| 86720ff3-0536-4602-ad10-6880c2fc1b9c | net1 |
325f36c4-151a-4984-ab94-b3ca28af2
76c 192.168.0.0/24  |
+--------------------------------------+------+----------------------------------
--------------------+
root at network:~# neutron net-show 6cb350b3-f6df-40f7-ac4b-7057394edbc0
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 6cb350b3-f6df-40f7-ac4b-7057394edbc0 |
| name                      | net2                                 |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 2                                    |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 2c6f7b0e-6517-4290-9d65-5050cead2905 |
| tenant_id                 | b9c135cdadbc4426bd892e5eb5c07f4e     |
+---------------------------+--------------------------------------+
root at network:~# neutron net-show 86720ff3-0536-4602-ad10-6880c2fc1b9c
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 86720ff3-0536-4602-ad10-6880c2fc1b9c |
| name                      | net1                                 |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1                                    |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 325f36c4-151a-4984-ab94-b3ca28af276c |
| tenant_id                 | b9c135cdadbc4426bd892e5eb5c07f4e     |
+---------------------------+--------------------------------------+
root at network:~# neutron router-show router1
+-----------------------+--------------------------------------------------------
---------------------+
| Field                 |
Value
|
+-----------------------+--------------------------------------------------------
---------------------+
| admin_state_up        |
True
|
| external_gateway_info | {"network_id":
"6cb350b3-f6df-40f7-ac4b-7057394edbc0",
"enable_snat": true} |
| id                    |
24ba0de0-60c2-4f77-a79a-3c965b157b45
|
| name                  |
router1
|
| routes
|
|
| status                |
ACTIVE
|
| tenant_id             |
b9c135cdadbc4426bd892e5eb5c07f4e
|
+-----------------------+--------------------------------------------------------
---------------------+
root at network:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast
stat
e UP qlen 1000
    link/ether 00:0c:29:e1:15:8b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::20c:29ff:fee1:158b/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP
qle
n 1000
    link/ether 00:0c:29:e1:15:95 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.53/24 brd 192.168.10.255 scope global eth1
    inet6 fe80::20c:29ff:fee1:1595/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP
qle
n 1000
    link/ether 00:0c:29:e1:15:9f brd ff:ff:ff:ff:ff:ff
    inet 192.168.80.131/24 brd 192.168.80.255 scope global eth2
    inet6 fe80::20c:29ff:fee1:159f/64 scope link
       valid_lft forever preferred_lft forever
5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 6a:35:28:8d:9b:04 brd ff:ff:ff:ff:ff:ff
6: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:0c:29:e1:15:8b brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.52/24 brd 192.168.10.255 scope global br-ex
    inet6 fe80::884f:c0ff:fe0d:9f82/64 scope link
       valid_lft forever preferred_lft forever
7: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 76:7c:c0:3b:72:49 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5022:13ff:febc:4fcd/64 scope link
       valid_lft forever preferred_lft forever
root at network:~# ovs-vsctl show
7d3d6422-b107-489c-b9a3-4ec65629b6de
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth0"
            Interface "eth0"
    ovs_version: "1.10.2"
root at network:~# ovs-dpctl show
system at ovs-system:
        lookups: hit:1183133 missed:107785 lost:0
        flows: 9
        port 0: ovs-system (internal)
        port 1: br-ex (internal)
        port 2: eth0
        port 3: br-int (internal)

I really hope you help. I am stack for a while now.
thanks.
sincerely,
Ghssen Cheniour.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140318/00af8598/attachment.html>


More information about the Openstack mailing list