Ask Your Question
0

libvirtError: opening backend "file" failed

asked 2013-06-20 03:35:07 -0600

willierjyt gravatar image

start a instance with errors

Traceback (most recent call last): 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, args) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 117, in wrapped 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp temp_level, payload) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__ 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 94, in wrapped 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, *kw) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 209, in decorated_function 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp pass 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__ 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 195, in decorated_function 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp return function(self, context, args, *kwargs) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 260, in decorated_function 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp function(self, context, args, *kwargs) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 237, in decorated_function 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info()) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__ 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 224, in decorated_function 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp return function(self, context, args, *kwargs) 2013-06-20 11:20:17.758 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 1415, in start_instance 2013-06-20 11:20:17.758 TRACE nova.openstack ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-06-20 03:46:26 -0600

willierjyt gravatar image

Here is /var/log/messages output:

Jun 20 11:20:01 localhost kernel: [ 490.168845] br100: port 2(vnet0) entered disabled state Jun 20 11:20:01 localhost kernel: [ 490.169636] device vnet0 left promiscuous mode Jun 20 11:20:01 localhost kernel: [ 490.169764] br100: port 2(vnet0) entered disabled state Jun 20 11:20:01 localhost libvirtd[957]: 2013-06-20 03:20:01.244+0000: 1288: error : qemuProcessReadLogOutput:1337 : internal error Process exited while reading console log output: chardev: opening backend "file" failed Jun 20 11:20:01 localhost libvirtd[957]: 2013-06-20 03:20:01.244+0000: 1288: error : virNWFilterDHCPSnoopEnd:2131 : internal error ifname "vnet0" not in key map Jun 20 11:20:01 localhost libvirtd[957]: 2013-06-20 03:20:01.431+0000: 1288: error : virNetDevGetIndex:653 : Unable to get index for interface vnet0: No such device

edit flag offensive delete link more
0

answered 2013-07-01 07:52:51 -0600

xianghui gravatar image

I have encountered the same question lately, but finally resolve it by reboot the compute nodes, after that can boot vm successfully, and seems the console.log need to work as a qemu user.

-rw-rw----. 1 qemu qemu 25496 Jul 1 02:35 console.log -rw-r--r--. 1 qemu qemu 1441792 Jul 1 02:35 disk -rw-r--r--. 1 nova nova 1488 Jul 1 02:33 libvirt.xml

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-06-20 03:35:07 -0600

Seen: 50 times

Last updated: Jul 01 '13