[one-users] Save As and Detach option

Javier Fontan jfontan at opennebula.org
Fri Nov 23 02:08:54 PST 2012


Image ownership can be changed by the hypervisor (kvm) when it is
configured with "dynamic_ownership=1". Is that the case?

Are you using the same datastores for both tests, raw and qcow2?

Save as marks a disk to be saved AFTER shutdown. So that is the normal
way of working. In fact it will only be save if the VM is powered off
using SHUTDOWN or CANCEL but not DELETE.

The last test, when the image seems to ve saved but in fact it is not
there, seems a bit more problematic. Can you please dig a bit in
oned.log to check if there was something strange copying that file?

Cheers

On Wed, Nov 21, 2012 at 12:02 PM, Roberto Rosende Dopazo
<rrosende at cesga.es> wrote:
> Hi,
>
> I'm trying with OpenNebula 3.8 "Save As and Detach" option and I found some
> problems.
>
> With raw image:
> I start virtual machine, save changes from Sunstone and I saw that nothing
> happens until I press shutdown for that machine.
> Then system try an mv from deploy.0 file to main datastore, but it can't
> because when shutdown is pressed owner and group for deploy.0 are changed to
> root.root
>
> With qcow2 image:
> I start virtual machine, save changes from Sunstone and I saw that nothing
> happens until I press shutdown for that machine.
> Then I can see in Images section a new image with changes and in its
> information a Source tag with physical path in datastore. If I check that path
> file image doesn't exist but there is not any error, Sunstone show it as READY
> In this case owner and group of deploy.0 are not changed.
>
> Do you have any hint or documentation about that?
>
> Cheers,
>  Roberto
>
>
> --
> Roberto Rosende Dopazo
> CESGA
> Avda. de Vigo s/n. Campus Vida
> Tel.: (+34) 981569810, ext. 229
> 15705 - Santiago de Compostela
> SPAIN
> -----------------------------------------------------
> Follow CESGA in Twitter:
>  https://twitter.com/#!/CESGA_
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list