Better is you remember to remove the stateless property, when the VM is shutdown and before you make any change on the disk.

Why, by default, the VM remains in stateless after you detach it from the pool?


De: "Gianluca Cecchi" <gianluca.cecchi@gmail.com>
Para: suporte@logicworks.pt
Cc: "Petr Kotas" <pkotas@redhat.com>, "users" <users@ovirt.org>
Enviadas: Sexta-feira, 3 De Agosto de 2018 14:55:34
Assunto: Re: [ovirt-users] Re: Pool

On Fri, Aug 3, 2018 at 3:46 PM, <suporte@logicworks.pt> wrote:
Hi Petr,

When I detach a VM from a pool, the VM remains in stateless server, meaning, if I do some changes in the disk, install some software change some configurations, and do a shutdown, when the VM comes live again I loose everything and all modifications I did before.

How can I avoid this? Editing the VM and remove it from stateless in General options?

Thanks

José


I don't know if it is possible to change the inherited stateless property of the VM on the fly. 
In case you can make a snapshot of the detached VM and then clone the snapshot into a new VM, change the property of this new VM removing the stateless flag and using it as your "new" version of the needed VM. And if all ok you power-off/remove the detached one

Gianluca