Comment 2 for bug 1392330

Revision history for this message
Sergey Vasilenko (xenolog) wrote :

I spend a lot of time for reproduce it on ISO #114
It was not simple.

but...

looks like Neutron and OVS together issue:

2014-11-20 16:07:02.307 25086 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 5.0 seconds ...
2014-11-20 16:07:07.353 25086 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on 127.0.0.1:5673
2014-11-20 16:07:08.702 25086 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on 127.0.0.1:5673
2014-11-20 16:07:53.908 25086 ERROR neutron.agent.linux.utils [req-2d96d235-0261-4f69-a766-6203cfa3f495 None]
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'dump-flows', 'br-int', 'table=23']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: /var/run/openvswitch/br-int.mgmt: failed to open socket (Connection refused)\n'
2014-11-20 16:07:53.909 25086 ERROR neutron.agent.linux.ovs_lib [req-2d96d235-0261-4f69-a766-6203cfa3f495 None] Unable to execute ['ovs-ofctl', 'dump-flows', 'br-int', 'table
=23']. Exception:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'dump-flows', 'br-int', 'table=23']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: /var/run/openvswitch/br-int.mgmt: failed to open socket (Connection refused)\n'
2014-11-20 16:08:06.310 25086 WARNING neutron.agent.linux.ovs_lib [req-2d96d235-0261-4f69-a766-6203cfa3f495 None] Found not yet ready openvswitch port: [u'qr-b618e937-de', [u
'map', [[u'attached-mac', u'fa:16:3e:46:22:9a'], [u'iface-id', u'b618e937-ded8-41d8-9ddf-f3bd054a2962'], [u'iface-status', u'active']]], [u'set', []]]
2014-11-20 16:08:13.343 25086 WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2d96d235-0261-4f69-a766-6203cfa3f495 None] Device b618e937-ded8-41d8-9ddf-f3bd0
54a2962 not defined on plugin
2014-11-20 16:08:28.084 25086 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2d96d235-0261-4f69-a766-6203cfa3f495 None] process_ancillary_network_ports - iter
ation:28738 - failure while retrieving port details from server
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron
_agent.py", line 1254, in process_ancillary_network_ports
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent self.treat_ancillary_devices_added(port_info['added'])
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1142, in treat_ancillary_devices_added
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent raise DeviceListRetrievalError(devices=devices, error=e)
2014-11-20 16:08:28.084 25086 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent DeviceListRetrievalError: Unable to retrieve port details for devices: set([u'19bc0777-d655-4fa4-b143-82e9d5b58b4c', u'a4414f4c-2192-4995-9fb1-3d5dae2b9bfd']) because of error: Remote error: DBConnectionError (OperationalError) (2013, 'Lost connection to MySQL server during query') 'SELECT allowedaddresspairs.port_id AS allowedaddresspairs_port_id, allowedaddresspairs.mac_address AS allowedaddresspairs_mac_address, allowedaddresspairs.ip_address AS allowedaddresspairs_ip_address \nFROM allowedaddresspairs \nWHERE %s = allowedaddresspairs.port_id' ('19bc0777-d655-4fa4-b143-82e9d5b58b4c',)