Ask Your Question
0

nova work with quantum

asked 2013-04-08 08:52:55 -0500

maoliping455 gravatar image

Hi all,

I try to use quantum work with nova. I use openvswitch plugin. When I start up a instance, I have the following error log:

2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] Traceback (most recent call last): 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 747, in _spawn 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] block_device_info) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/exception.py", line 117, in wrapped 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] temp_level, payload) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] self.gen.next() 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/exception.py", line 92, in wrapped 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] return f(args, *kw) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1086, in spawn 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] block_device_info=block_device_info) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1863, in to_xml 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] rescue, block_device_info) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1821, in get_guest_config 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] cfg = self.vif_driver.plug(instance, (network, mapping)) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 216, in plug 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] utils.execute('brctl', 'addbr', br_name, run_as_root=True) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] File "/usr/lib/python2.6/site-packages/nova/utils.py", line 206, in execute 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] cmd=' '.join(cmd)) 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] ProcessExecutionError: Unexpected error while running command. 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addbr qbr64c8f98c-5c 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] Exit code: 1 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] Stdout: '' 2013-04-08 08:39:44 2796 TRACE nova.compute.manager [instance: 06af7b16-cac7-4cdf-a294-58306a5cf536] Stderr: 'add bridge failed: Package not installed\n'

the log seems like "brctl" can't work. I find my openvswitch can't work with command "brctl". My OS is CentOS6 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-16 08:10:40 -0500

drolfe gravatar image

do you have Bridge-utils installed ?

edit flag offensive delete link more
0

answered 2013-04-25 01:50:40 -0500

maoliping455 gravatar image

Thanks for your help.

I have installed Bridge-utils. I find the reason, openvswitch 1.10.90 do not support brctl. I use openvswitch 1.9.XX , then, it can support brctl.

Thanks a lot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-04-08 08:52:55 -0500

Seen: 20 times

Last updated: Apr 25 '13