[Openstack] [OpenStack][Neutron] Creation of the qr interface fails sometimes

Balamurugan V G balamuruganvg at gmail.com
Mon Jul 29 10:46:11 UTC 2013


Hi,

I have a 3 nodes Grizzly setup with one Controller, Network and
Compute(KVM) node. I am using VLAN mode. It works fine most of the time.
But occasionally when an instance is launched, the instance is unable to
reach the external network. When this happens I see that the 'qr-xxxxx'
interface is not created as shown below:

root at openstack-dev-network# ip netns exec
qrouter-81c474cb-acad-42b4-bc78-875992fa33f6 route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

0.0.0.0         10.5.60.1       0.0.0.0         UG    0      0        0
qg-81e2a77d-71

1.1.1.0         0.0.0.0         255.255.252.0   U     0      0        0
qg-81e2a77d-71

root at openstack-dev-network #

I see the following error in /var/log/quantum/openvswitch-agent.log

Stderr: 'ovs-vsctl: no row "qr-fb582b82-f7" in table Interface\n'

2013-07-29 06:14:18    ERROR [quantum.agent.linux.ovs_lib] Unable to
execute ['ovs-vsctl', '--timeout=2', 'get', 'Interface', 'qr-a4f24e08-aa',
'external_ids']. Exception:

Command: ['sudo', '/usr/bin/quantum-rootwrap',
'/etc/quantum/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'get',
'Interface', 'qr-a4f24e08-aa', 'external_ids']

Exit code: 1

Stdout: ''

Stderr: 'ovs-vsctl: no row "qr-a4f24e08-aa" in table Interface\n'


And on restarting the quantum services, the interface gets created and the
instance is able to reach the external network.


root at openstack-dev-network:~# cd /etc/init.d/; for i in $( ls quantum-* );
do sudo service $i restart; done
quantum-dhcp-agent stop/waiting
quantum-dhcp-agent start/running, process 20872
quantum-l3-agent stop/waiting
quantum-l3-agent start/running, process 20885
quantum-metadata-agent stop/waiting
quantum-metadata-agent start/running, process 20894
quantum-plugin-openvswitch-agent stop/waiting
quantum-plugin-openvswitch-agent start/running, process 20903
root at openstack-dev-network:/etc/init.d#


root at openstack-dev-network# ip netns exec
qrouter-81c474cb-acad-42b4-bc78-875992fa33f6 route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

0.0.0.0         10.5.60.1       0.0.0.0         UG    0      0        0
qg-81e2a77d-71

1.1.1.0         0.0.0.0         255.255.252.0   U     0      0        0
qg-81e2a77d-71

192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0
qr-a4f24e08-aa

root at openstack-dev-network #



I do have the root_helper in
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini.


Any help will be greatly appreciated.


Regards,

Balu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130729/95d27042/attachment.html>


More information about the Openstack mailing list