Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Havana - Libvirt Error

i face some issue where i can see that there is an error inside my nova compute log and also libvirt log.

2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] Traceback (most recent call last):

2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1043, in _build_instance 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] set_access_ip=set_access_ip) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1426, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] LOG.exception(_('Instance failed to spawn'), instance=instance) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1423, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2091, in spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info, context=context) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3249, in _create_domain_and_network 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain = self._create_domain(xml, instance=instance, power_on=power_on) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3192, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.XMLDesc(0)) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3187, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.createWithFlags(launch_flags) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] result = proxy_call(self._autowrap, f, args, kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = execute(f,args,kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = meth(args,*kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] libvirtError: internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] qemu: at most 2047 MB RAM can be simulated 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6]

error inside libvirt log.

2014-03-09 08:28:13.697+0000: 16750: info : libvirt version: 1.1.1

2014-03-09 08:28:13.697+0000: 16750: warning : virSecurityManagerNew:177 : Configured security driver "none" disables default policy to create confined guests 2014-03-09 08:29:06.877+0000: 16744: error : qemuMonitorOpenUnix:296 : failed to connect to monitor socket: No such process 2014-03-09 08:29:06.878+0000: 16744: error : qemuProcessWaitForMonitor:1809 : internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) qemu: at most 2047 MB RAM can be simulated

last time i hit issue with apparmor. this time i have disable apparmor completely as seems like the solution that i user last time not working anymore.

currently i cannot run or create instance due to this error.

please adbvise and if you guys have any solutions.

click to hide/show revision 2
No.2 Revision

Havana - Libvirt Error

i face some issue where i can see that there is an error inside my nova compute log and also libvirt log.

2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] Traceback (most recent call last):

2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1043, in _build_instance 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] set_access_ip=set_access_ip) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1426, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] LOG.exception(_('Instance failed to spawn'), instance=instance) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1423, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2091, in spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info, context=context) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3249, in _create_domain_and_network 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain = self._create_domain(xml, instance=instance, power_on=power_on) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3192, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.XMLDesc(0)) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3187, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.createWithFlags(launch_flags) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] result = proxy_call(self._autowrap, f, args, kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = execute(f,args,kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = meth(args,*kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] libvirtError: internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] qemu: at most 2047 MB RAM can be simulated 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6]

error inside libvirt log.

2014-03-09 08:28:13.697+0000: 16750: info : libvirt version: 1.1.1

2014-03-09 08:28:13.697+0000: 16750: warning : virSecurityManagerNew:177 : Configured security driver "none" disables default policy to create confined guests 2014-03-09 08:29:06.877+0000: 16744: error : qemuMonitorOpenUnix:296 : failed to connect to monitor socket: No such process 2014-03-09 08:29:06.878+0000: 16744: error : qemuProcessWaitForMonitor:1809 : internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) qemu: at most 2047 MB RAM can be simulated

last time i hit issue with apparmor. this time i have disable apparmor completely as seems like the solution that i user last time not working anymore.

currently i cannot run or create instance due to this error.

please adbvise and if you guys have any solutions.

click to hide/show revision 3
No.3 Revision

Havana - Libvirt Error

i face some issue where i can see that there is an error inside my nova compute log and also libvirt log.

 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] Traceback (most recent call last):

2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1043, in _build_instance 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] set_access_ip=set_access_ip) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1426, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] LOG.exception(_('Instance failed to spawn'), instance=instance) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1423, in _spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2091, in spawn 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] block_device_info, context=context) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3249, in _create_domain_and_network 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain = self._create_domain(xml, instance=instance, power_on=power_on) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3192, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.XMLDesc(0)) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3187, in _create_domain 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] domain.createWithFlags(launch_flags) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] result = proxy_call(self._autowrap, f, args, kwargs) *args, **kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = execute(f,args,kwargs) execute(f,*args,**kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] rv = meth(args,*kwargs) meth(*args,**kwargs) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] libvirtError: internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] qemu: at most 2047 MB RAM can be simulated 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6] 2014-03-09 16:29:09.578 13222 TRACE nova.compute.manager [instance: b2b81269-26fa-45a5-a308-e89692a3d0b6]

b2b81269-26fa-45a5-a308-e89692a3d0b6] error inside libvirt log.

log.

    2014-03-09 08:28:13.697+0000: 16750: info : libvirt version: 1.1.1

2014-03-09 08:28:13.697+0000: 16750: warning : virSecurityManagerNew:177 : Configured security driver "none" disables default policy to create confined guests 2014-03-09 08:29:06.877+0000: 16744: error : qemuMonitorOpenUnix:296 : failed to connect to monitor socket: No such process 2014-03-09 08:29:06.878+0000: 16744: error : qemuProcessWaitForMonitor:1809 : internal error: process exited while connecting to monitor: char device redirected to /dev/pts/3 (label charserial1) qemu: at most 2047 MB RAM can be simulated

simulated last time i hit issue with apparmor. this time i have disable apparmor completely as seems like the solution that i user last time not working anymore.

anymore. currently i cannot run or create instance due to this error.

error. please adbvise and if you guys have any solutions.

solutions.