← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1366931] Re: libvirtError: internal error: process exited while connecting to monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory

 

Looks like this was an out of memory issue and not something wrong with
nova per se.

** Changed in: nova
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1366931

Title:
  libvirtError: internal error: process exited while connecting to
  monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  http://logs.openstack.org/41/116741/5/gate/gate-grenade-
  dsvm/7064ee5/logs/old/screen-n-cpu.txt.gz?level=TRACE#_2014-09-07_02_27_10_408

  Libvirt stacktrace in n-cpu:

   Traceback (most recent call last):
     File "/opt/stack/old/nova/nova/compute/manager.py", line 1329, in _build_instance
       set_access_ip=set_access_ip)
     File "/opt/stack/old/nova/nova/compute/manager.py", line 393, in decorated_function
       return function(self, context, *args, **kwargs)
     File "/opt/stack/old/nova/nova/compute/manager.py", line 1741, in _spawn
       LOG.exception(_('Instance failed to spawn'), instance=instance)
     File "/opt/stack/old/nova/nova/openstack/common/excutils.py", line 68, in __exit__
       six.reraise(self.type_, self.value, self.tb)
     File "/opt/stack/old/nova/nova/compute/manager.py", line 1738, in _spawn
       block_device_info)
     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 2286, in spawn
       block_device_info)
     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 3686, in _create_domain_and_network
       power_on=power_on)
     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 3588, in _create_domain
       domain.XMLDesc(0))
     File "/opt/stack/old/nova/nova/openstack/common/excutils.py", line 68, in __exit__
       six.reraise(self.type_, self.value, self.tb)
     File "/opt/stack/old/nova/nova/virt/libvirt/driver.py", line 3583, in _create_domain
       domain.createWithFlags(launch_flags)
     File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
       result = proxy_call(self._autowrap, f, *args, **kwargs)
     File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call
       rv = execute(f,*args,**kwargs)
     File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker
       rv = meth(*args,**kwargs)
     File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags
       if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
   libvirtError: internal error: process exited while connecting to monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory

  query: message:"Cannot set up guest memory 'pc.ram': Cannot allocate
  memory" AND tags:"screen-n-cpu.txt"  AND  tags:"multiline"

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1366931/+subscriptions


References