Router ports are down
After checking previous questions/answers, I still can not get my router working properly.
I have dedicated controller, compute and networking nodes running on Ubuntu12.04 with Havana. The problem is on Neutron node, when I create a router and attach a public and private network to it. I am using GRE to connect nodes.
The findings are
1. The tap and qr ports connected to br-int are always down.
# ovs-ofctl show br-int
OFPT_FEATURES_REPLY (xid=0x2): dpid:000062ac83
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
2(patch-tun): addr:0e:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
3(tapc6385b42-b8): addr:e5:
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
4(qr-56fa966b-cf): addr:e3:
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-int): addr:62:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_
2. It is similar to qg interface
# ovs-ofctl show br-ex
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000080027
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-d482a3ce-b0): addr:e3:
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
2(eth2): addr:08:
config: 0
state: 0
current: 1GB-FD COPPER AUTO_NEG
advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
speed: 1000 Mbps now, 1000 Mbps max
LOCAL(br-ex): addr:08:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_
3. However, the GRE tunnel between Networking and Compute nodes is up and running.
# ovs-ofctl show br-tun
OFPT_FEATURES_REPLY (xid=0x2): dpid:00001a4b85
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(patch-int): addr:32:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
2(gre-1): addr:ee:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-tun): addr:1a:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_
4. More errors found from /var/log/neutron*
# tail /var/log/
2014-02-13 14:32:41.082 7622 ERROR neutron.
# tail /var/log/
2014-02-13 14:32:41.414 7630 ERROR neutron.
2014-02-13 14:32:47.175 7630 WARNING neutron.
# tail /var/log/
2014-02-13 14:32:41.082 7622 ERROR neutron.
root@openstack-
2014-02-13 14:32:41.414 7630 ERROR neutron.
2014-02-13 14:32:47.175 7630 WARNING neutron.
root@openstack-
2014-02-13 14:32:43.512 7646 ERROR neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
2014-02-13 14:32:43.512 7646 TRACE neutron.
Here are my configuration files
# grep -v ^# /etc/neutron/
[DEFAULT]
interface_driver = neutron.
dhcp_driver = neutron.
use_namespaces = True
auth_strategy = keystone
auth_host = controller
signing_dir = /var/cache/neutron
admin_tenant_name = service
admin_user = neutron
admin_password = NEUTRON_PASS
auth_url = http://
dhcp_agent_manager = neutron.
root_helper = sudo neutron-rootwrap /etc/neutron/
state_path = /var/lib/neutron
# grep -v ^# /etc/neutron/
[DEFAULT]
interface_driver = neutron.
use_namespaces = True
external_
auth_stratepy = keystone
auth_host = controller
admin_tenant_name = service
admin_user = neutron
admin_password = NEUTRON_PASS
auth_url = http://
l3_agent_manager = neutron.
root_helper = sudo neutron-rootwrap /etc/neutron/
# grep -v ^# /etc/neutron/
[DEFAULT]
interface_driver = neutron.
use_namespaces = True
external_
auth_stratepy = keystone
auth_host = controller
admin_tenant_name = service
admin_user = neutron
admin_password = NEUTRON_PASS
auth_url = http://
l3_agent_manager = neutron.
root_helper = sudo neutron-rootwrap /etc/neutron/
root@openstack-
[DEFAULT]
state_path = /var/lib/neutron
lock_path = $state_path/lock
core_plugin = neutron.
auth_strategy = keystone
allow_overlappi
rabbit_host = controller
rabbit_userid = guest
rabbit_password = RABBIT_PASS
notification_driver = neutron.
[quotas]
[agent]
root_helper = sudo /usr/bin/
[keystone_
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = neutron
admin_password = NEUTRON_PASS
signing_dir = $state_
[database]
connection = mysql:/
[service_providers]
service_
# grep -v ^# /etc/neutron/
[composite:neutron]
use = egg:Paste#urlmap
/: neutronversions
/v2.0: neutronapi_v2_0
[composite:
use = call:neutron.
noauth = extensions neutronapiapp_v2_0
keystone = authtoken keystonecontext extensions neutronapiapp_v2_0
[filter:
paste.filter_
[filter:authtoken]
paste.filter_
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = neutron
admin_password = NEUTRON_PASS
[filter:extensions]
paste.filter_
[app:neutronver
paste.app_factory = neutron.
[app:neutronapi
paste.app_factory = neutron.
# grep -v ^# /etc/neutron/
[ovs]
[agent]
[securitygroup]
firewall_driver = neutron.
[database]
connection = mysql:/
[OVS]
tenant_network_type = gre
tunnel_id_ranges = 1:1000
enable_tunneling = True
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = 10.20.20.2
I am running out of clue to correct this, any help is appreciated.
BR,
Le
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Le Wang
- Solved:
- Last query:
- Last reply: