Ask Your Question
0

libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/13

asked 2011-11-25 08:35:43 -0500

amy-qi gravatar image

2011-11-25 15:23:15,509 DEBUG nova.virt.libvirt_conn [-] ---------domain is <libvirt.virdomain instance="" at="" 0x2db1098=""> from (pid=18750) _create_new_domain /opt/nova_d/nova/virt/libvirt/connection.py:1213 2011-11-25 15:23:19,136 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/opt/nova_d/nova/exception.py", line 98, in wrapped (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/opt/nova_d/nova/virt/libvirt/connection.py", line 603, in spawn (nova.exception): TRACE: domain = self._create_new_domain(xml) (nova.exception): TRACE: File "/opt/nova_d/nova/virt/libvirt/connection.py", line 1214, in _create_new_domain (nova.exception): TRACE: domain.createWithFlags(launch_flags) (nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/libvirt.py", line 372, in createWithFlags (nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) (nova.exception): TRACE: libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/13 (nova.exception): TRACE: qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: could not open /dev/net/tun: Permission denied (nova.exception): TRACE: qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: Device 'tap' could not be initialized (nova.exception): TRACE: (nova.exception): TRACE: 2011-11-25 15:23:19,137 ERROR nova.compute.manager [-] Instance '47' failed to spawn. Is virtualization enabled in the BIOS? Details: internal error process exited while connecting to monitor: char device redirected to /dev/pts/13 qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: could not open /dev/net/tun: Permission denied qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: Device 'tap' could not be initialized (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/opt/nova_d/nova/compute/manager.py", line 424, in _run_instance (nova.compute.manager): TRACE: network_info, block_device_info) (nova.compute.manager): TRACE: File "/opt/nova_d/nova/exception.py", line 129, in wrapped (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: internal error process exited while connecting to monitor: char device redirected to /dev/pts/13 (nova.compute.manager): TRACE: qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: could not open /dev/net/tun: Permission denied (nova.compute.manager): TRACE: qemu-kvm: -netdev tap,ifname=tapdff80acf-61,script=,id=hostnet0: Device 'tap' could not be initialized (nova.compute.manager): TRACE:

edit retag flag offensive close merge delete

12 answers

Sort by ยป oldest newest most voted
0

answered 2011-11-29 09:11:05 -0500

amy-qi gravatar image

Hi I can run instance.I install OVS bridge compatibility mode by following INSTALL.bridge and create a fake bridge for each VLAN you want available.I use these command:

ovs-brcompatd --pidfile --detach
ovs-vsctl add-br br101 br0 101

edit flag offensive delete link more
0

answered 2011-11-29 09:19:33 -0500

amy-qi gravatar image

Thank you for your help. I think my problem is that tap can not communicate with openvswitch. But your proposal is also very useful. I have other problem,please help me. I use command "euca-describe-availability-zones verbose" the result is:

AVAILABILITYZONE nova available AVAILABILITYZONE |- linux-cma03 AVAILABILITYZONE | |- nova-volume enabled XXX 2011-11-29 02:28:30 AVAILABILITYZONE | |- nova-network enabled XXX 2011-11-29 02:28:30 AVAILABILITYZONE | |- nova-scheduler enabled XXX 2011-11-29 02:28:30 AVAILABILITYZONE | |- nova-compute enabled XXX 2011-11-29 02:28:29 AVAILABILITYZONE |- linux_cma03 AVAILABILITYZONE | |- nova-volume enabled :-) 2011-11-29 07:59:59 AVAILABILITYZONE | |- nova-network enabled :-) 2011-11-29 07:59:59 AVAILABILITYZONE | |- nova-scheduler enabled :-) 2011-11-29 07:59:59 AVAILABILITYZONE | |- nova-compute enabled :-) 2011-11-29 07:59:59

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: 2011-11-25 08:35:43 -0500

Seen: 1,755 times

Last updated: Nov 30 '11