← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1255355] Re: VMware: Instances stuck in spawning when insufficient disk space

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
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/1255355

Title:
  VMware: Instances stuck in spawning when insufficient disk space

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  Fix Committed
Status in The OpenStack VMwareAPI subTeam:
  In Progress

Bug description:
  When using VC Driver, booting an instance when there is insufficient
  disk space on the datastore causes the instance to get stuck in
  SPAWNING state.

  The following expected error message is seen in the logs before
  instance is stuck SPAWNING.

  2013-11-26 15:47:58.189 DEBUG nova.virt.vmwareapi.driver [-] Task [CopyVirtualDisk_Task] (returnval){
     value = "task-8768"
     _type = "Task"
   } status: success from (pid=22523) _poll_task /opt/stack/nova/nova/virt/vmwareapi/driver.py:916
  2013-11-26 15:47:58.189 DEBUG nova.virt.vmwareapi.vmops [req-bd4ed37e-e5ce-4dd5-a7b7-4a1340c64111 admin demo] [instance: 02b1b31e-ffd3-48fe-b151-68395e80d1ce] Copied Virtual Disk of size 1048576 KB and type preallocated on the ESX host local store iscsi-1 from (pid=22523) _copy_virtual_disk /opt/stack/nova/nova/virt/vmwareapi/vmops.py:458
  2013-11-26 15:47:58.190 DEBUG nova.virt.vmwareapi.vmops [req-bd4ed37e-e5ce-4dd5-a7b7-4a1340c64111 admin demo] Extending root virtual disk to 20971520 from (pid=22523) _extend_virtual_disk /opt/stack/nova/nova/virt/vmwareapi/vmops.py:156
  2013-11-26 15:48:03.254 WARNING nova.virt.vmwareapi.driver [-] Task [ExtendVirtualDisk_Task] (returnval){
     value = "task-8769"
     _type = "Task"
   } status: error Insufficient disk space on datastore ''.
  Instance failed to spawn
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/compute/manager.py", line 1407, in _spawn
      block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 629, in spawn
      admin_password, network_info, block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 544, in spawn
      root_vmdk_path, dc_map.ref)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 166, in _extend_virtual_disk
      vmdk_extend_task)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 898, in _wait_for_task
      ret_val = done.wait()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
      return hubs.get_hub().switch()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
      return self.greenlet.switch()
  NovaException: Insufficient disk space on datastore ''.

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