← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1063889] Re: MemoryError while uploading Image from Glance to ESX

 

** Changed in: nova
       Status: Incomplete => 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/1063889

Title:
  MemoryError while uploading Image from Glance to ESX

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  We tried to installed the Folsom release (python-
  nova_2012.2-0ubuntu3~cloud0) on a precise ubuntu-server installation
  and use an ESX Host as compute node.

  After fixing the problem described in #1063885 we are running in
  MemoryErrors:

  Creating a new instance with:

  nova boot --flavor 2 --image 6e4deabd-ccd6-412e-9bed-e3293f45a2db
  test1

  we get the following error in nova-computelog:

  
  2012-10-08 17:40:47 DEBUG nova.virt.vmwareapi.vmware_images [req-b1d31b85-f637-4a2c-9aa0-82365775c18c 4d3ed50af55d43e1ac3c2279e7fcded8 1ff95471d60b431b84a161d2e70bfa03] [instance: a65b235a-27b0-45b8-9c2f-6c93f5ee3f1c] Downloading image 6e4deabd-ccd6-412e-9bed-e3293f45a2db from glance image server from (pid=4140) fetch_image /usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmware_images.py:92

  
  2012-10-08 17:41:55 ERROR nova.virt.vmwareapi.io_util [-] 
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util Traceback (most recent call last):
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/io_util.py", line 154, in _inner
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util     data = self.input.read(None)
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/read_write_util.py", line 53, in read
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util     return self.iter.next()
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/read_write_util.py", line 59, in get_next
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util     for data in self.glance_read_iter:
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util   File "/usr/lib/python2.7/StringIO.py", line 76, in next
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util     r = self.readline()
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util   File "/usr/lib/python2.7/StringIO.py", line 154, in readline
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util     self.buf += ''.join(self.buflist)
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util MemoryError
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.io_util 
  2012-10-08 17:41:55 ERROR nova.virt.vmwareapi.vmware_images [req-b1d31b85-f637-4a2c-9aa0-82365775c18c 4d3ed50af55d43e1ac3c2279e7fcded8 1ff95471d60b431b84a161d2e70bfa03] 
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images Traceback (most recent call last):
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmware_images.py", line 69, in start_transfer
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images     read_event.wait()
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images     return hubs.get_hub().switch()
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images     return self.greenlet.switch()
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images MemoryError
  2012-10-08 17:41:55 TRACE nova.virt.vmwareapi.vmware_images

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