
I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible? Thanks Josá -- Jose Ferradeira http://www.logicworks.pt

Hi Josá, yes it is possible, unless you enabled `Delete protection` checkbox while creating the pool. Then just detach the VM from the pool and delete it afterwards. https://www.ovirt.org/documentation/admin-guide/chap-Pools/ Petr On Sun, Jul 29, 2018 at 7:31 PM <suporte@logicworks.pt> wrote:
I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible?
Thanks
Josá
-- ------------------------------ Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43...

Hi Petr, Ok I see. Many thanks. José De: "Petr Kotas" <pkotas@redhat.com> Para: suporte@logicworks.pt Cc: "users" <users@ovirt.org> Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 Assunto: Re: [ovirt-users] Pool Hi Josá, yes it is possible, unless you enabled `Delete protection` checkbox while creating the pool. Then just detach the VM from the pool and delete it afterwards. https://www.ovirt.org/documentation/admin-guide/chap-Pools/ Petr On Sun, Jul 29, 2018 at 7:31 PM < suporte@logicworks.pt > wrote: I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible? Thanks Josá -- Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43...

Hi José, one more thing. You can delete the VM even when you enabled the `Delete protection`. 1) Detach the VM from pool 2) Find the VM and in `Edit` disable the `Delete protection` 3) Now you can `Remove` the VM. Happy to help. Petr On Mon, Jul 30, 2018 at 12:27 PM <suporte@logicworks.pt> wrote:
Hi Petr,
Ok I see. Many thanks.
José
------------------------------ *De: *"Petr Kotas" <pkotas@redhat.com> *Para: *suporte@logicworks.pt *Cc: *"users" <users@ovirt.org> *Enviadas: *Segunda-feira, 30 De Julho de 2018 7:26:30 *Assunto: *Re: [ovirt-users] Pool
Hi Josá,
yes it is possible, unless you enabled `Delete protection` checkbox while creating the pool. Then just detach the VM from the pool and delete it afterwards.
https://www.ovirt.org/documentation/admin-guide/chap-Pools/
Petr
On Sun, Jul 29, 2018 at 7:31 PM <suporte@logicworks.pt> wrote:
I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible?
Thanks
Josá
-- ------------------------------ Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43...

Thanks again Petr. José De: "Petr Kotas" <pkotas@redhat.com> Para: suporte@logicworks.pt Cc: "users" <users@ovirt.org> Enviadas: Segunda-feira, 30 De Julho de 2018 11:55:51 Assunto: Re: [ovirt-users] Pool Hi José, one more thing. You can delete the VM even when you enabled the `Delete protection`. 1) Detach the VM from pool 2) Find the VM and in `Edit` disable the `Delete protection` 3) Now you can `Remove` the VM. Happy to help. Petr On Mon, Jul 30, 2018 at 12:27 PM < suporte@logicworks.pt > wrote: Hi Petr, Ok I see. Many thanks. José De: "Petr Kotas" < pkotas@redhat.com > Para: suporte@logicworks.pt Cc: "users" < users@ovirt.org > Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 Assunto: Re: [ovirt-users] Pool Hi Josá, yes it is possible, unless you enabled `Delete protection` checkbox while creating the pool. Then just detach the VM from the pool and delete it afterwards. https://www.ovirt.org/documentation/admin-guide/chap-Pools/ Petr On Sun, Jul 29, 2018 at 7:31 PM < suporte@logicworks.pt > wrote: BQ_BEGIN I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible? Thanks Josá -- Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43... BQ_END

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é De: suporte@logicworks.pt Para: "Petr Kotas" <pkotas@redhat.com> Cc: "users" <users@ovirt.org> Enviadas: Segunda-feira, 30 De Julho de 2018 13:54:47 Assunto: [ovirt-users] Re: Pool Thanks again Petr. José De: "Petr Kotas" <pkotas@redhat.com> Para: suporte@logicworks.pt Cc: "users" <users@ovirt.org> Enviadas: Segunda-feira, 30 De Julho de 2018 11:55:51 Assunto: Re: [ovirt-users] Pool Hi José, one more thing. You can delete the VM even when you enabled the `Delete protection`. 1) Detach the VM from pool 2) Find the VM and in `Edit` disable the `Delete protection` 3) Now you can `Remove` the VM. Happy to help. Petr On Mon, Jul 30, 2018 at 12:27 PM < suporte@logicworks.pt > wrote: Hi Petr, Ok I see. Many thanks. José De: "Petr Kotas" < pkotas@redhat.com > Para: suporte@logicworks.pt Cc: "users" < users@ovirt.org > Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 Assunto: Re: [ovirt-users] Pool Hi Josá, yes it is possible, unless you enabled `Delete protection` checkbox while creating the pool. Then just detach the VM from the pool and delete it afterwards. https://www.ovirt.org/documentation/admin-guide/chap-Pools/ Petr On Sun, Jul 29, 2018 at 7:31 PM < suporte@logicworks.pt > wrote: BQ_BEGIN I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that pool. Is that possible? Thanks Josá -- Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43... BQ_END _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QBNSK4YJ3VVX6K...

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

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

On Fri, Aug 3, 2018 at 4:08 PM, <suporte@logicworks.pt> wrote:
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?
I thought that for a stateless VM the changes are destroyed on shutdown, not on next power on. If it is as I thought , you cannot bypass the snapshot/clone; otherwise you can open an RFE so that when you detach a VM from pool you are asked if you want to leave it as stateless or not. Gianluca

Thanks Gianluca What is the advantage to be in stateless? José 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 15:13:44 Assunto: Re: [ovirt-users] Re: Pool On Fri, Aug 3, 2018 at 4:08 PM, < suporte@logicworks.pt > wrote: 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? I thought that for a stateless VM the changes are destroyed on shutdown, not on next power on. If it is as I thought , you cannot bypass the snapshot/clone; otherwise you can open an RFE so that when you detach a VM from pool you are asked if you want to leave it as stateless or not. Gianluca

On Fri, Aug 3, 2018 at 4:23 PM, <suporte@logicworks.pt> wrote:
Thanks Gianluca
What is the advantage to be in stateless?
José
I think you could read this link: https://www.ovirt.org/documentation/admin-guide/chap-Pools/ and also official RHV doc here: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/htm... In particular: : Virtual machine pools are stateless by default, meaning that virtual machine data and configuration changes are not persistent across reboots. However, the pool can be configured to be stateful, allowing changes made by a previous user to persist. However, if a user configures console options for a virtual machine taken from a virtual machine pool, those options will be set as the default for that user for that virtual machine pool. NOTE Virtual machines taken from a pool are not stateless when accessed from the Administration Portal. This is because administrators need to be able to write changes to the disk if necessary. " And also https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/htm... with " Ensure the virtual machine has a status of Down; you cannot detach a running virtual machine. " It is quite some time and I thought you had to detach the VM while running, while the phrase above confirms the opposite. It is to be understood the time when the changes are deleted in case of stateless. You can use pools for temporary stations to give to your guests, or to setup labs where you want your pool to be already setup and running (the feature of pre-start) and cleared after students have used it. Using REST-API (I dont think you can configure from web admin gui) you can timely check how many free (powered off) VMs remain and dynamically grow the pool if needed HIH, Gianluca

Thanks again. 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 15:39:58 Assunto: Re: [ovirt-users] Re: Pool On Fri, Aug 3, 2018 at 4:23 PM, < suporte@logicworks.pt > wrote: Thanks Gianluca What is the advantage to be in stateless? José I think you could read this link: https://www.ovirt.org/documentation/admin-guide/chap-Pools/ and also official RHV doc here: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/htm... In particular: : Virtual machine pools are stateless by default, meaning that virtual machine data and configuration changes are not persistent across reboots. However, the pool can be configured to be stateful, allowing changes made by a previous user to persist. However, if a user configures console options for a virtual machine taken from a virtual machine pool, those options will be set as the default for that user for that virtual machine pool. NOTE Virtual machines taken from a pool are not stateless when accessed from the Administration Portal. This is because administrators need to be able to write changes to the disk if necessary. " And also https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/htm... with " Ensure the virtual machine has a status of Down; you cannot detach a running virtual machine. " It is quite some time and I thought you had to detach the VM while running, while the phrase above confirms the opposite. It is to be understood the time when the changes are deleted in case of stateless. You can use pools for temporary stations to give to your guests, or to setup labs where you want your pool to be already setup and running (the feature of pre-start) and cleared after students have used it. Using REST-API (I dont think you can configure from web admin gui) you can timely check how many free (powered off) VMs remain and dynamically grow the pool if needed HIH, Gianluca
participants (3)
-
Gianluca Cecchi
-
Petr Kotas
-
suporte@logicworks.pt