Ask Your Question
0

Problem when using nova+quantum+openvswitch to create VM

asked 2012-05-10 03:18:10 -0500

guestly gravatar image

updated 2014-09-05 17:17:38 -0500

smaffulli gravatar image

My nova-compute.log is as follows:

2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/21
2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] kvm: -netdev tap,ifname=tapa6b61df0-2e,script=,id=hostnet0: could not open /dev/net/tun: Operation not permitted
2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] kvm: -netdev tap,ifname=tapa6b61df0-2e,script=,id=hostnet0: Device 'tap' could not be initialized
2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] 
2012-05-10 10:53:06 TRACE nova.compute.manager [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] 
2012-05-10 10:53:06 DEBUG nova.compute.manager [req-81a891f9-7473-432e-81d3-604837a6c1fe 02c2fca04cbe4b038812d3da629c7106 413e0bd09f104e27a9621448292fe8c7] [instance: 921a4a18-fe14-4c6c-81b5-840a66ec795e] Deallocating network for instance from (pid=27639) _deallocate_network /usr/lib/python2.7/dist-packages/nova/compute/manager.py:616
2012-05-10 10:53:06 DEBUG nova.rpc.amqp [req-81a891f9-7473-432e-81d3-604837a6c1fe 02c2fca04cbe4b038812d3da629c7106 413e0bd09f104e27a9621448292fe8c7] Making asynchronous cast on network... from (pid=27639) cast /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:346
2012-05-10 10:53:06 ERROR nova.rpc.amqp [req-81a891f9-7473-432e-81d3-604837a6c1fe 02c2fca04cbe4b038812d3da629c7106 413e0bd09f104e27a9621448292fe8c7] Exception during message handling
2012-05-10 10:53:06 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data
2012-05-10 10:53:06 TRACE nova.rpc.amqp     rval = node_func(context=ctxt, **node_args)
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-10 10:53:06 TRACE nova.rpc.amqp     return f(*args, **kw)
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-05-10 10:53:06 TRACE nova.rpc.amqp     sys.exc_info())
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-10 10:53:06 TRACE nova.rpc.amqp     self.gen.next()
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
2012-05-10 10:53:06 TRACE nova.rpc.amqp     return function(self, context, instance_uuid, *args, **kwargs)
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651, in run_instance
2012-05-10 10:53:06 TRACE nova.rpc.amqp     do_run_instance()
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
2012-05-10 10:53:06 TRACE nova.rpc.amqp     retval = f(*args, **kwargs)
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 650, in do_run_instance
2012-05-10 10:53:06 TRACE nova.rpc.amqp     self._run_instance(context, instance_uuid, **kwargs)
2012-05-10 10:53:06 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451, in _run_instance
2012-05-10 ...
(more)
edit retag flag offensive close merge delete

Comments

What distribution are you running on and what version?

endre-karlson gravatar imageendre-karlson ( 2012-05-10 09:32:48 -0500 )edit

Hello All

Look like I have the same problem! My lab has running two nodes - controller and dedicated nova-compute. All on latest Ubuntu 12.04.

igor-laskovy gravatar imageigor-laskovy ( 2012-05-15 20:13:49 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-05-28 16:38:31 -0500

igor-laskovy gravatar image

Please check link below, it was updated recently (search cgroup_device_acl): http://openvswitch.org/openstack/documentation/ (http://openvswitch.org/openstack/docu...)

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: 2012-05-10 03:18:10 -0500

Seen: 90 times

Last updated: Sep 05 '14