[one-users] saveas not always working

Carsten.Friedrich at csiro.au Carsten.Friedrich at csiro.au
Thu Mar 3 20:21:54 PST 2011


Some more insights after a bit more digging:

It seems to me that a successful save depends on the disk image(s) being moved from the .../var/XX/images directory to .../var/XX. This seems to happen during the shutdown epilog, but not during cancel or finalize.

Carsten

From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Carsten.Friedrich at csiro.au
Sent: Friday, 4 March 2011 14:53
To: users at lists.opennebula.org
Subject: [ExternalEmail] [one-users] saveas not always working

I use OpenNebula 2.0.1 with KVM as hypervisor. I issue an saveas command and as far as I understand things the image should be saved when the vm reaches the state DONE. From a state ACTIVE - RUNNING there seem to be 3 actions to get to DONE:

Shutdown: In this case the image gets saved and all is good.

Cancel, and finalize: In these cases the image hook is called, but it produces this error message:

Fri Mar  4 14:36:19 2011 [HKM][D]: Message received: LOG - 85 Command execution fail: /srv/cloud/one/share/hooks/image.rb 85
Fri Mar  4 14:36:19 2011 [HKM][D]: Message received: LOG - 85 STDERR follows.
Fri Mar  4 14:36:19 2011 [HKM][D]: Message received: LOG - 85 ExitCode: 255
Fri Mar  4 14:36:19 2011 [HKM][D]: Message received: EXECUTE FAILURE 85 image

The image is not saved, but its state is nevertheless set to READY.

I would like the image to successfully save in all 3 cases. Your help is much appreciated.

Thanks,
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110304/8730b2c6/attachment-0003.htm>


More information about the Users mailing list