The following problem may appear while attempting to start an instance:
1 2 3 4 5 |
2014-11-16 18:31:15.512 39330 ERROR nova.network.linux_net [req-1acea9f1-9749-4443-9882-680f6e5258fe None] Unable to execute ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvoe9325347-55', '--', 'add-port', 'br-int', u'qvoe9325347-55', '--', 'set', 'Interface', u'qvoe9325347-55', u'external-ids:iface-id=e9325347-55dd-40c3-ac73-ef43820527e4', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:36:38:46', 'external-ids:vm-uuid=be7e8b5e-0f76-417a-a1eb-e8b9818c6b79']. Exception: Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf ovs-vsctl --timeout=120 -- --if-exists del-port qvoe9325347-55 -- add-port br-int qvoe9325347-55 -- set Interface qvoe9325347-55 external-ids:iface-id=e9325347-55dd-40c3-ac73-ef43820527e4 external-ids:iface-status=active external-ids:attached-mac=fa:16:3e:36:38:46 external-ids:vm-uuid=be7e8b5e-0f76-417a-a1eb-e8b9818c6b79 Exit code: 1 Stdout: u'' Stderr: u'2014-11-16T17:31:15Z|00002|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (Protocol error)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Protocol error)\n' |
Solution:
Just restart ovs service:
1 |
service openvswitchd restart |