[one-users] suspend vm on esxi 5

Carlo Bongiovanni c.bongiovanni at liberologico.com
Thu Mar 22 09:27:09 PDT 2012


Hi All,

I configured opennebula to use esxi 5 as hypervisor. The instantiate,
shutdown, reboot commands work properly. I'm now testing the suspend
function but I have such a problem:

from sunstone I choose a RUNNING vm and suspend it, it goes in
SAVE_SUSPEND state, then it goes in UNKNOWN one.

first he tries to suspend
Thu Mar 22 17:15:45 2012 [ReM][D]: VirtualMachineAction method invoked
Thu Mar 22 17:15:45 2012 [DiM][D]: Suspending VM 36

then I can see from vsphere that he cancels the operation because of a
"full disk error"

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 Command
execution fail: /srv/cloud/one/var/remotes/vmm/vmware/save one-36
/srv/cloud/one/var//3
6/images/checkpoint vmware001 36 vmware001

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG E 36 save:
Error executing: virsh -c 'esx://vmware001/?no_verify=1&auto_answer=1'
suspend one-36 err
: ExitCode: 1

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 out:

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 error:
Failed to suspend domain one-36

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 error:
internal error Could not suspend domain: InvalidState - The operation
cannot be allowed
at the current time because the virtual machine has a question pending:

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36
'msg.vmxaiomgr.retryabort.diskfull:The operation on the file
"/vmfs/devices/multiextent/6979cbe4-disk-000001-s001.vmdk" failed (The
file is too large).

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 The file
system where disk
"/vmfs/devices/multiextent/6979cbe4-disk-000001-s001.vmdk" resides is
full.

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 Select
Retry to attempt the operation again.

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 Select
Cancel to end the session.

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 '.

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 ExitCode: 1

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: LOG I 36 Failed
to execute virtualization driver operation: save.

Thu Mar 22 17:19:19 2012 [VMM][D]: Message received: SAVE FAILURE 36 -

Thu Mar 22 17:19:21 2012 [VMM][D]: Message received: LOG I 36 ExitCode: 0

Thu Mar 22 17:19:21 2012 [VMM][D]: Message received: POLL SUCCESS 36 STATE=a

I googled and found a possible solution:
http://stanis.net/2012/02/error-creating-snapshot-on-virtual-machine-cannot-write-to-multiextents/

but it requires to append a line to the vmx file used by the vm:
workingDir = “/vmfs/volumes/4f062853-20101bf0-21bf-d4bed9af57d2/Name
of Virtual Machine Folder Here/”

Such a file is created by opennebula.. how could I change it in order
to make it work?

thanks for any help
kind regards

-- 
Carlo Bongiovanni

Liberologico S.r.l.
web: www.liberologico.com
Address: Sardegna Ricerche, Edificio 2
Località Piscinamanna
09010 Pula (CA) - Italia
Tel. +39 070 9243.2647
callto://pacman81
gtalk: carlo.bongiovanni


More information about the Users mailing list