Ask Your Question
2

Instance going to error state while resizing in vmware

asked 2014-06-16 03:44:32 -0500

lafada gravatar image

VM goes to error state in ESX while resizing due to Insufficient disk space on datastore.

Ideal behaviour should bring the Instance back to Active state.

Resize try to clone VM, if datacenter has no free space for that flavor size then it will give error "Insufficient disk space on datastore".

Exception move VM to error state.

Stack Trace:

2014-06-10 09:27:57.013 26472 WARNING nova.virt.vmwareapi.vmops [req-69ff7cf8-52a6-4eb9-a179-82ac29111de7 d90ae18dfd8e43caaa2fbcc00bd5a366 683577f7c17b405686885433f960bbf6] Datacenter does not have a host / host does not have a datastore. Ignoring it.
2014-06-10 09:27:57.647 26472 WARNING nova.virt.vmwareapi.driver [-] Task [CloneVM_Task] (returnval){
   value = "task-28954"
   _type = "Task"
 } status: error Insufficient disk space on datastore 'My ds'.
2014-06-10 09:27:57.648 26472 ERROR nova.compute.manager [req-69ff7cf8-52a6-4eb9-a179-82ac29111de7 d90ae18dfd8e43caaa2fbcc00bd5a366 683577f7c17b405686885433f960bbf6] [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] Setting instance vm_state to ERROR
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] Traceback (most recent call last):
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 5012, in _error_out_instance_on_exception
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] yield
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3041, in resize_instance
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] block_device_info)
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 461, in migrate_disk_and_power_off
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] dest, instance_type)
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 1301, in migrate_disk_and_power_off
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] self._session._wait_for_task(instance['uuid'], vm_clone_task)
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 932, in _wait_for_task
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] ret_val = done.wait()
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] return hubs.get_hub().switch()
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] return self.greenlet.switch()
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e] NovaException: Insufficient disk space on datastore 'My ds'.
2014-06-10 09:27:57.648 26472 TRACE nova.compute.manager [instance: 995cb51e-d489-4247-8661-14f38f72ef4e]
2014-06-10 09:27:58.173 26472 WARNING nova.virt.vmwareapi.driver [-] Task [CloneVM_Task] (returnval){
   value = "task-28954"
   _type = "Task"
 } status: error Insufficient disk space on datastore 'My ds'.
2014-06-10 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-06-16 07:04:52 -0500

acbharadwaj gravatar image

updated 2014-06-16 07:05:47 -0500

Here's the bug filed on that. https://bugs.launchpad.net/nova/+bug/1328455 (link text)

Will follow up with the community people on this

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: 2014-06-16 03:44:32 -0500

Seen: 194 times

Last updated: Jun 16 '14