Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to reach to the public IP

I was tryin gto configure my Havana setup on Ubuntu 12.04. After i rebooted my controller, i was not able to reach the pubkic dashboard. I am even not able to ping to the default gw. I am using neutron.

ip a command output:

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,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1e:4f:3d:2a:e6 brd ff:ff:ff:ff:ff:ff
    inet 10.236.9.81/24 brd 10.236.9.255 scope global eth0
    inet6 fe80::21e:4fff:fe3d:2ae6/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1e:4f:3d:2a:e8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21e:4fff:fe3d:2ae8/64 scope link
       valid_lft forever preferred_lft forever
4: eth1.11@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:1e:4f:3d:2a:e8 brd ff:ff:ff:ff:ff:ff
    inet 10.236.11.10/24 brd 10.236.11.255 scope global eth1.11
    inet6 fe80::21e:4fff:fe3d:2ae8/64 scope link
       valid_lft forever preferred_lft forever
5: eth1.50@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:1e:4f:3d:2a:e8 brd ff:ff:ff:ff:ff:ff
    inet 10.236.50.2/24 brd 10.236.50.255 scope global eth1.50
    inet6 fe80::21e:4fff:fe3d:2ae8/64 scope link
       valid_lft forever preferred_lft forever
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 02:ea:64:5b:fd:c3 brd ff:ff:ff:ff:ff:ff
8: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether e2:15:99:90:bd:46 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::640b:feff:fe82:1460/64 scope link
       valid_lft forever preferred_lft forever
11: br-public: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:1e:4f:3d:2a:e8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::14c1:32ff:fe72:79a5/64 scope link
       valid_lft forever preferred_lft forever
24: phy-br-tunnel: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether de:94:3e:d5:e0:b7 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::dc94:3eff:fed5:e0b7/64 scope link
       valid_lft forever preferred_lft forever
25: int-br-tunnel: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 06:7c:e8:f6:bb:fd brd ff:ff:ff:ff:ff:ff
    inet6 fe80::47c:e8ff:fef6:bbfd/64 scope link
       valid_lft forever preferred_lft forever
26: br-tunnel: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether ea:87:69:1d:ec:43 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::898:b7ff:fe6f:bb5a/64 scope link
       valid_lft forever preferred_lft forever

ovs-ofctl show br-public output

OFPT_FEATURES_REPLY (xid=0x2): dpid:0000001e4f3d2ae8
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(qg-9c0e8a65-d6): addr:b8:00:00:00:00:00
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
 11(eth1.50): addr:00:1e:4f:3d:2a:e8
     config:     0
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER FIBER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 LOCAL(br-public): addr:00:1e:4f:3d:2a:e8
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

ovs-vsctl show output

7ef38ce3-7e83-4560-941a-d5214e2f50da
    Bridge br-public
        Port "eth1.50"
            Interface "eth1.50"
        Port br-public
            Interface br-public
                type: internal
        Port "qg-9c0e8a65-d6"
            Interface "qg-9c0e8a65-d6"
                type: internal
    Bridge br-tunnel
        Port br-tunnel
            Interface br-tunnel
                type: internal
        Port "gre-10.236.11.11"
            Interface "gre-10.236.11.11"
                type: gre
                options: {in_key=flow, local_ip="10.236.11.10", out_key=flow, remote_ip="10.236.11.11"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    Bridge br-int
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap779a5ae8-4c"
            tag: 4095
            Interface "tap779a5ae8-4c"
                type: internal
        Port "qr-bd19a06f-57"
            tag: 4095
            Interface "qr-bd19a06f-57"
                type: internal
        Port int-br-tunnel
            Interface int-br-tunnel
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.10.2"

and tail -n 100 /var/log/neutron/openvswitch-agent.log output

2014-03-21 07:20:32.692 26099 INFO neutron.common.config [-] Logging enabled!
2014-03-21 07:20:32.779 26099 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 07:20:32.806 26099 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 07:20:32.965 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Mapping physical network physnet1 to bridge br-tunnel
2014-03-21 07:20:35.174 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent initialized successfully, now running...
2014-03-21 07:20:35.174 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent out of sync with plugin!
2014-03-21 07:20:35.174 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent tunnel out of sync with plugin!
2014-03-21 07:20:35.183 26099 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 07:20:35.797 26099 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'779a5ae8-4c1e-41ad-94ae-87aae71d1def', u'bd19a06f-57a3-4218-afef-e93ea81f7bd4'])
2014-03-21 07:20:36.064 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Port 779a5ae8-4c1e-41ad-94ae-87aae71d1def added
2014-03-21 07:20:36.261 26099 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Port bd19a06f-57a3-4218-afef-e93ea81f7bd4 added
2014-03-21 08:04:08.651 3258 INFO neutron.common.config [-] Logging enabled!
2014-03-21 08:04:08.730 3258 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 08:04:08.758 3258 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 08:04:08.919 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Mapping physical network physnet1 to bridge br-tunnel
2014-03-21 08:04:11.162 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent initialized successfully, now running...
2014-03-21 08:04:11.162 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent out of sync with plugin!
2014-03-21 08:04:11.162 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent tunnel out of sync with plugin!
2014-03-21 08:04:11.171 3258 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672
2014-03-21 08:04:11.789 3258 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'779a5ae8-4c1e-41ad-94ae-87aae71d1def'])
2014-03-21 08:04:12.035 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Port 779a5ae8-4c1e-41ad-94ae-87aae71d1def added
2014-03-21 08:04:15.277 3258 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'bd19a06f-57a3-4218-afef-e93ea81f7bd4'])
2014-03-21 08:04:15.530 3258 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Port bd19a06f-57a3-4218-afef-e93ea81f7bd4 added

and server.log

2014-03-21 09:16:48.714 17563 WARNING neutron.api.extensions [-] Extension lbaas not supported by any of loaded plugins
2014-03-21 09:16:48.714 17563 INFO neutron.api.extensions [-] Loading extension file: securitygroup.py
2014-03-21 09:16:48.716 17563 WARNING neutron.api.extensions [-] Extension security-group not supported by any of loaded plugins
2014-03-21 09:16:48.716 17563 INFO neutron.api.extensions [-] Loading extension file: flavor.py
2014-03-21 09:16:48.717 17563 WARNING neutron.api.extensions [-] Extension flavor not supported by any of loaded plugins
2014-03-21 09:16:48.717 17563 INFO neutron.api.extensions [-] Loading extension file: portsecurity.pyc
2014-03-21 09:16:48.717 17563 INFO neutron.api.extensions [-] Loading extension file: vpnaas.py
2014-03-21 09:16:48.718 17563 WARNING neutron.api.extensions [-] Extension vpnaas not supported by any of loaded plugins
2014-03-21 09:16:48.718 17563 INFO neutron.api.extensions [-] Loading extension file: multiprovidernet.pyc
2014-03-21 09:16:48.719 17563 INFO neutron.api.extensions [-] Loading extension file: metering.py
2014-03-21 09:16:48.719 17563 INFO neutron.api.extensions [-] Loaded extension: metering
2014-03-21 09:16:48.720 17563 INFO neutron.api.extensions [-] Loading extension file: routedserviceinsertion.py
2014-03-21 09:16:48.720 17563 WARNING neutron.api.extensions [-] Extension routed-service-insertion not supported by any of loaded plugins
2014-03-21 09:16:48.720 17563 INFO neutron.api.extensions [-] Loading extension file: firewall.py
2014-03-21 09:16:48.722 17563 WARNING neutron.api.extensions [-] Extension fwaas not supported by any of loaded plugins
2014-03-21 09:16:48.722 17563 INFO neutron.api.extensions [-] Loading extension file: loadbalancer.pyc
2014-03-21 09:16:48.722 17563 INFO neutron.api.extensions [-] Loading extension file: l3agentscheduler.pyc
2014-03-21 09:16:48.722 17563 INFO neutron.api.extensions [-] Loading extension file: flavor.pyc
2014-03-21 09:16:48.723 17563 INFO neutron.api.extensions [-] Loading extension file: __init__.py
2014-03-21 09:16:48.723 17563 INFO neutron.api.extensions [-] Loading extension file: portbindings.py
2014-03-21 09:16:48.723 17563 INFO neutron.api.extensions [-] Loaded extension: binding
2014-03-21 09:16:48.723 17563 INFO neutron.api.extensions [-] Loading extension file: l3_ext_gw_mode.py
2014-03-21 09:16:48.724 17563 INFO neutron.api.extensions [-] Loaded extension: ext-gw-mode
2014-03-21 09:16:48.724 17563 INFO neutron.api.extensions [-] Loading extension file: l3.py
2014-03-21 09:16:48.725 17563 INFO neutron.api.extensions [-] Loaded extension: router
2014-03-21 09:16:48.725 17563 INFO neutron.api.extensions [-] Loading extension file: servicetype.pyc
2014-03-21 09:16:48.726 17563 INFO neutron.api.extensions [-] Loading extension file: dhcpagentscheduler.pyc
2014-03-21 09:16:48.726 17563 INFO neutron.api.extensions [-] Loading extension file: providernet.py
2014-03-21 09:16:48.726 17563 INFO neutron.api.extensions [-] Loaded extension: provider
2014-03-21 09:16:48.727 17563 INFO neutron.api.extensions [-] Loading extension file: quotasv2.py
2014-03-21 09:16:48.727 17563 INFO neutron.api.extensions [-] Loaded extension: quotas
2014-03-21 09:16:48.728 17563 INFO neutron.api.extensions [-] Loading extension file: l3_ext_gw_mode.pyc
2014-03-21 09:16:48.728 17563 INFO neutron.api.extensions [-] Loading extension file: portsecurity.py
2014-03-21 09:16:48.728 17563 WARNING neutron.api.extensions [-] Extension port-security not supported by any of loaded plugins
2014-03-21 09:16:48.729 17563 INFO neutron.api.extensions [-] Loading extension file: external_net.pyc
2014-03-21 09:16:48.729 17563 INFO neutron.api.extensions [-] Loading extension file: external_net.py
2014-03-21 09:16:48.729 17563 INFO neutron.api.extensions [-] Loaded extension: external-net
2014-03-21 09:16:48.730 17563 INFO neutron.api.extensions [-] Loading extension file: routerservicetype.pyc
2014-03-21 09:16:48.730 17563 INFO neutron.api.extensions [-] Loading extension file: extraroute.py
2014-03-21 09:16:48.730 17563 INFO neutron.api.extensions [-] Loaded extension: extraroute
2014-03-21 09:16:48.731 17563 INFO neutron.api.extensions [-] Loading extension file: allowedaddresspairs.py
2014-03-21 09:16:48.731 17563 INFO neutron.api.extensions [-] Loaded extension: allowed-address-pairs
2014-03-21 09:16:48.732 17563 INFO neutron.api.extensions [-] Loading extension file: lbaas_agentscheduler.pyc
2014-03-21 09:16:48.732 17563 INFO neutron.api.extensions [-] Loading extension file: l3.pyc
2014-03-21 09:16:48.732 17563 INFO neutron.api.extensions [-] Loading extension file: firewall.pyc
2014-03-21 09:16:48.732 17563 INFO neutron.api.extensions [-] Loading extension file: agent.pyc
2014-03-21 09:16:48.732 17563 INFO neutron.api.extensions [-] Extension 'agent' provides no backward compatibility map for extended attributes
2014-03-21 09:16:48.733 17563 INFO neutron.api.extensions [-] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes
2014-03-21 09:16:48.733 17563 INFO neutron.api.extensions [-] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes
2014-03-21 09:16:48.747 17563 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-03-21 09:16:48.748 17563 INFO keystoneclient.middleware.auth_token [-] Using /var/cache/neutron/keystone-signing as cache directory for signing certificate
2014-03-21 09:16:48.760 17563 INFO neutron.service [-] Neutron service started, listening on 0.0.0.0:9696
2014-03-21 09:16:56.738 17563 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.236.9.81:5672

route -n output

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.236.50.1     0.0.0.0         UG    0      0        0 eth1.50
10.236.9.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.236.11.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.11
10.236.50.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.50

So normally i should be able to reach 10.236.50.2, bu i can not. Any idea?