[one-users] saveas not always working
Ruben S. Montero
rubensm at dacya.ucm.es
Tue Mar 15 09:24:42 PDT 2011
Hi Carsten,
You are right, to save an image you have to shutdown the VM (i.e. shutdown +
move the image back to the front-end). The image is "savedas" from there s
if you cancel/delete a VM it is assumed that you do not want to keep the VM
so it won't be saved.
The idea is to provide a fast image disposal mechanism for rapid VM
provisioning. Basically VMs that do not need to preserve their state.
So basically, I think OpenNebula is behaving as expected....
Cheers
Ruben
On Tue, Mar 15, 2011 at 12:02 AM, <Carsten.Friedrich at csiro.au> wrote:
> Sorry to bother everyone again. Currently I think this is a bug in
> OpenNebula; but before I file a bug report I want to make sure it’s not a
> local problem with my installation here or a fundamental misunderstanding on
> my side of what should happen.
>
>
>
> Thanks,
>
> 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 15:22
>
> *To:* users at lists.opennebula.org
> *Subject:* [ExternalEmail] Re: [one-users] saveas not always working
>
>
>
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110315/00f1b5bb/attachment.htm>
More information about the Users
mailing list