Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot Ping Tennant Router

I have been following along IceHouse installation guide for a multi-node setup. I have reached the point the the tennat gateway router should be pingable from the external netwrok however I can't seem to access it.

Here is some trouble shooting information of the network node (external IPs are obscured but correct):

[root@network ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 78:2b:cb:2f:d3:38 brd ff:ff:ff:ff:ff:ff
    inet XX.XX.XX.229/28 brd xx.xx.xx.239 scope global em1
    inet6 fe80::7a2b:cbff:fe2f:d338/64 scope link 
       valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 78:2b:cb:2f:d3:39 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.21/24 brd 10.0.0.255 scope global em2
    inet6 fe80::7a2b:cbff:fe2f:d339/64 scope link 
       valid_lft forever preferred_lft forever
4: p1p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1b:21:97:b8:f0 brd ff:ff:ff:ff:ff:ff
    inet 10.0.1.21/24 brd 10.0.1.255 scope global p1p1
    inet6 fe80::21b:21ff:fe97:b8f0/64 scope link 
       valid_lft forever preferred_lft forever
5: p1p2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1b:21:97:b8:f1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21b:21ff:fe97:b8f1/64 scope link 
       valid_lft forever preferred_lft forever
...
8: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether de:ee:38:9d:33:4c brd ff:ff:ff:ff:ff:ff
9: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 00:1b:21:97:b8:f1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::90a3:17ff:fe88:57e7/64 scope link 
       valid_lft forever preferred_lft forever
10: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether ee:78:7a:18:45:46 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4047:dff:feff:9209/64 scope link 
       valid_lft forever preferred_lft forever

Relavant neutron information:

[root@network ~]# neutron router-list
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| id                                   | name        | external_gateway_info                                                       |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| 3bc22a6a-c490-467a-aa02-8b0e96f17f0e | demo-router | {"network_id": "433f9499-a8d9-4fcc-98f3-eba7edae9fce", "enable_snat": true} |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
[root@network ~]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id                                   | name     | subnets                                              |
+--------------------------------------+----------+------------------------------------------------------+
| 433f9499-a8d9-4fcc-98f3-eba7edae9fce | ext-net  | c342f5a0-bc7d-45c0-8a95-ca9b766402bd xx.xx.xx.224/28 |
| a4e86d9a-6291-44c2-8847-10e473d53c87 | demo-net | 037946c3-e60b-4b97-ab12-78aee959f3d6 192.168.1.0/24  |
+--------------------------------------+----------+------------------------------------------------------+
[root@network ~]# neutron subnet-list
+--------------------------------------+-------------+-----------------+--------------------------------------------------+
| id                                   | name        | cidr            | allocation_pools                                 |
+--------------------------------------+-------------+-----------------+--------------------------------------------------+
| 037946c3-e60b-4b97-ab12-78aee959f3d6 | demo-subnet | 192.168.1.0/24  | {"start": "192.168.1.2", "end": "192.168.1.254"} |
| c342f5a0-bc7d-45c0-8a95-ca9b766402bd | ext-subnet  | xx.xx.xx.224/28 | {"start": "xx.xx.xx.232", "end": "xx.xx.xx.238"} |
+--------------------------------------+-------------+-----------------+--------------------------------------------------+
[root@network ~]# neutron port-list 
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                           |
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| dee434ad-c639-4dd7-bf2e-d3f33d5309a2 |      | fa:16:3e:c7:9b:9b | {"subnet_id": "037946c3-e60b-4b97-ab12-78aee959f3d6", "ip_address": "192.168.1.1"}  |
| fa8d8083-a9df-4ccd-9bb6-2281a75cb464 |      | fa:16:3e:d9:e1:ec | {"subnet_id": "c342f5a0-bc7d-45c0-8a95-ca9b766402bd", "ip_address": "xx.xx.xx.232"} |
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
#The correct external IP address asigned is correct
[root@network ~]# neutron net-show ext-net
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 433f9499-a8d9-4fcc-98f3-eba7edae9fce |
| name                      | ext-net                              |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1                                    |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | c342f5a0-bc7d-45c0-8a95-ca9b766402bd |
| tenant_id                 | 42b6d8d6e47346f0ba1f3b28a12ad1b5     |
+---------------------------+--------------------------------------+
[root@network ~]# neutron subnet-show ext-subnet
+------------------+--------------------------------------------------+
| Field            | Value                                            |
+------------------+--------------------------------------------------+
| allocation_pools | {"start": "xx.xx.xx.232", "end": "xx.xx.xx.238"} |
| cidr             | xx.xx.xx.224/28                                  |
| dns_nameservers  |                                                  |
| enable_dhcp      | False                                            |
| gateway_ip       | xx.xx.xx.225                                     |
| host_routes      |                                                  |
| id               | c342f5a0-bc7d-45c0-8a95-ca9b766402bd             |
| ip_version       | 4                                                |
| name             | ext-subnet                                       |
| network_id       | 433f9499-a8d9-4fcc-98f3-eba7edae9fce             |
| tenant_id        | 42b6d8d6e47346f0ba1f3b28a12ad1b5                 |
+------------------+--------------------------------------------------+

OpenVSwitch information:

[root@network ~]# ovs-vsctl show
02f628ce-f206-47d5-8b8e-a6ec228b0320
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "p1p2"
            Interface "p1p2"
    ovs_version: "1.11.0"
[root@network ~]# ovs-dpctl show
system@ovs-system:
    lookups: hit:1048 missed:853 lost:0
    flows: 5
    port 0: ovs-system (internal)
    port 1: br-ex (internal)
    port 2: p1p2
    port 3: br-int (internal)

Nova information:

[root@network ~]# openstack-status 
== neutron services ==
neutron-server:                         inactive  (disabled on boot)
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-lbaas-agent:                    inactive  (disabled on boot)
neutron-openvswitch-agent:              active
== Support services ==
openvswitch:                            active
messagebus:                             active
qpidd:                                  active
[root@network ~]# nova secgroup-list-rules default
+-------------+-----------+---------+----------+--------------+
| IP Protocol | From Port | To Port | IP Range | Source Group |
+-------------+-----------+---------+----------+--------------+
|             |           |         |          | default      |
|             |           |         |          | default      |
+-------------+-----------+---------+----------+--------------+

ip netns on the network node produces no results:

[root@network ~]# ip netns
[root@network ~]#

And the ping:

[root@network ~]# ping xx.xx.xx.232
PING xx.xx.xx.232 (xx.xx.xx.232) 56(84) bytes of data.
From xx.xx.xx.226 icmp_seq=2 Destination Host Unreachable
From xx.xx.xx.226 icmp_seq=3 Destination Host Unreachable
From xx.xx.xx.226 icmp_seq=4 Destination Host Unreachable
--- xx.xx.xx.232 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3925ms
pipe 3

Can someone help direct me as to why I can't ping the tenant gateway router? Thanks.