Router gateway to public network status is down
I have installed icehouse openstack installation on Ubuntu 14.04 with three nodes, controller,compute and network node. After creating of router through neutron API with two interface , I am not able to ping any of ther router interface, even through internal interface shows up. When checked in Horizon, I found that the router's internal interface status is ACTIVE and Admin Status is UP. Router's external interface/gateway status is DOWN and Admin Status is UP. I have tried to check whether gateway of router is properly set using command net-gateway-list command, but getting error 404 resource not found. I have also given a ovs-vsctl command on network node which shows following output.
sudo ovs-vsctl list-br br-ex br-int br-tun
master@openNetwork:~$ sudo ovs-vsctl list-ports br-ex eth2 eth6 qg-b464de3a-a1
master@openNetwork:~$ sudo ovs-vsctl list-ports br-int eth1 patch-tun qr-32945e19-2f
master@openNetwork:~$ sudo ovs-vsctl list-ports br-tun gre-0a00000e patch-int
sudo ovs-vsctl list-ports br-ex shows interface eth2 which i have not used any where and neither it is enabled by me.
another command on controller node neutron agent-list +--------------------------------------+--------------------+-------------+-------+----------------+ | id | agent_type | host | alive | admin_state_up | +--------------------------------------+--------------------+-------------+-------+----------------+ | 1c4f8361-8d0e-4f6f-91c3-d292c61ae7e9 | Open vSwitch agent | openNetwork | :-) | True | | 36d35ef2-c6c2-4c48-bbff-a62061860195 | Open vSwitch agent | openCompute | :-) | True | | 5873aa48-fb51-46c7-865e-04f928226e9b | DHCP agent | openNetwork | :-) | True | | 7eaedaed-8525-4468-a777-3b6137c313d8 | Metadata agent | openNetwork | :-) | True | | a74d269a-ab3f-4578-8c01-b99eaedefb27 | L3 agent | openNetwork | :-) | True | +--------------------------------------+--------------------+-------------+-------+----------------+
see below output on controller node master@openController:~$ ip a | grep state
1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN group default 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 3: eth1: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default qlen 1000 4: virbr0: <no-carrier,broadcast,multicast,up> mtu 1500 qdisc noqueue state DOWN group default
see below output on network node ip a | grep state
1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN group default 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 3: eth1: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000 4: eth7: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default qlen 1000 5: eth6: <no-carrier,broadcast,multicast,up> mtu 1500 qdisc pfifo_fast master ovs-system state DOWN group default qlen 1000 6: ovs-system: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default 7: br-ex: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN group default 9: br-int: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN group default 12: br-tun: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN group default
see below output on compute node master@openCompute:~$ ip a | grep state
1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN group default 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 3: eth1: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000 4: ovs-system: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default 5: br-int: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN group default ...
You wrote : When checked in Horizon, I found that the router's internal interface status is ACTIVE and Admin Status is UP. Router's external interface/gateway status is DOWN and Admin Status is UP.
That is normal
I think that's a red herring. I have a very similar setup. My external interface always shows a down status and
net-gateway-list
returns a 404, however, everything is working great. I think you problem lies elsewhere.But, then why I am not able to access any of the interface of my openstack router.
Kindly find the below output on controller node neutron router-list +--------------------------------------+------------+-----------------------------------------------------------------------------+ | id | name | external_gateway_info | +--------------------------------------+------------+-----------------------------------------------------------------------------+ | a703e133-ae5a-476b-aa0f-d6dbbd8b000a | ent-router | {"network_id": "e3f058b2-d2bb-43c7-945f-36af4f64b932", "enable_snat": true} | +--------------------------------------+------------+-----------------------------------------------------------------------------+ master@openController:~$ neutron port-list +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | 32945e19-2f64-4f7a-a7f2-7e419ad9dd54 | | fa:16:3e:17:c1:42 | {"subnet_id": "1adcd921-1ff1-40cb-98db-aa43faee6bdb", "ip_address": "192.168.1.100"} | | b464de3a-a139-436a-b3cf-999f865f53c0 | | fa:16:3e:77:bf:4f | {"subnet_id": "0f1a0c87-691c-4169-a8c8-157bc3261393", "ip_address": "172.30.6.17"} | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ I am not able to access either of the above addresses. Kindly suggest me how to troubleshoot.
please let me know if any additional information is required.
while trying to access instance console through horizon, I am getting error.
Kindly see the instance log from horizon, openstack dashboard. [ 0.985089] Magic number: 2:122:930 [ 0.986622] rtc_cmos 00:01: setting system clock to 2014-06-17 09:56:40 UTC (1402999000) [ 0.989466] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 0.991527] EDD information not available. [ 1.006616] Freeing unused kernel memory: 924k freed [ 1.008922] Write protecting the kernel read-only data: 12288k [ 1.017353] Freeing unused kernel memory: 1604k freed [ 1.024817] Freeing unused kernel memory: 1188k freed Loading, please wait... Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. [ 1.236060] usb 1-1: new full-speed USB device number 2 using uhci_hcd Begin: Running /scripts/local-premount ... done. [ 1.568135] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... [ 1 ...(more)