nova list status error ovs-vsctl: no bridge named br-int [closed]

asked 2013-12-26 07:33:46 -0500

RHK gravatar image

updated 2013-12-27 14:30:55 -0500

smaffulli gravatar image

I configured a OVS_multinode on ubuntu 12.04 with grizzly release and its working fine. Now i removed controller node from setup and added new i3 machine for configuring controller node. I did the configuration on new controller node and each and every process running fine, but when i try to launch VM in nova list showing ststus error.

root@controller:~# nova list
+--------------------------------------+-------------+--------+--------------------------+
| ID                                   | Name        | Status | Networks                 |
+--------------------------------------+-------------+--------+--------------------------+
| 1a854d52-a13b-453f-85b0-41543abcb458 | my_first_vm | ERROR  | kaveri_network=50.50.1.3 |
+--------------------------------------+-------------+--------+--------------------------+

here is the nova-scheduler.log

2013-12-26 19:00:01.331 ERROR nova.scheduler.filter_scheduler [req-8f9944c9-7c86-4915-adb4-50c5d6b5b661 be472c76a01b419eb4df7419d30a0029 9c8a0abd70924ebfaaddc95346455953] [instance: 1a854d52-a13b-453f-85b0-41543abcb458] Error from last host: compute (node compute.local.lan): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 864, in _run_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1123, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1531, in spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2444, in _create_domain_and_network\n    self.plug_vifs(instance, network_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 686, in plug_vifs\n    self.vif_driver.plug(instance, (network, mapping))\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 565, in plug\n    return self.plug_ovs_hybrid(instance, vif)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 377, in plug_ovs_hybrid\n    instance[\'uuid\'])\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1245, in create_ovs_vif_port\n    run_as_root=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute\n    cmd=\' \'.join(cmd))\n', u"ProcessExecutionError: Unexpected error while running command.\nCommand: sudo nova-rootwrap /etc/nova/rootwrap.conf ovs-vsctl -- --may-exist add-port br-int qvode8c61a8-b2 -- set Interface qvode8c61a8-b2 external-ids:iface-id=de8c61a8-b21d-465f-b9ca-8e6e28defd18 external-ids:iface-status=active external-ids:attached-mac=fa:16:3e:e1:c3:f5 external-ids:vm-uuid=1a854d52-a13b-453f-85b0-41543abcb458\nExit code: 1\nStdout: ''\nStderr: 'ovs-vsctl: no bridge named br-int\\n'\n"]
2013-12-26 19:00:01.347 WARNING nova.scheduler.driver [req-8f9944c9-7c86-4915-adb4-50c5d6b5b661 be472c76a01b419eb4df7419d30a0029 9c8a0abd70924ebfaaddc95346455953] [instance: 1a854d52-a13b-453f-85b0-41543abcb458] Setting instance to ERROR state.

If i remove the existing controller node and add a new controller node with same configuration was it create any problem?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-28 14:34:33.142697

Comments

1

Did you observe this ? ovs-vsctl: no bridge named br-int. Did you create this ?

dheeru gravatar imagedheeru ( 2013-12-26 08:16:11 -0500 )edit

yes bridge was there. Problem solved.

RHK gravatar imageRHK ( 2013-12-27 01:06:31 -0500 )edit

what was the issue ?

dheeru gravatar imagedheeru ( 2013-12-27 05:35:46 -0500 )edit

@RHK please share the answer for others. Post it in the 'Answers' section below. Thank you.

smaffulli gravatar imagesmaffulli ( 2013-12-27 14:29:13 -0500 )edit

@RHK It would great if you could share the way you solved this issue.

KGandhi gravatar imageKGandhi ( 2014-01-01 22:40:12 -0500 )edit