On Sun, Aug 30, 2020 at 10:26 AM Yedidyah Bar David <didi@redhat.com> wrote:
Hi,

On Sun, Aug 30, 2020 at 9:55 AM Kyre <kyre@vcloudpoint.com> wrote:
>
> Hello, I am using ovirt 4.3.8. I want to use the virsh command to boot the shutdown virtual machine, but when using virsh list --all and virsh list --state-shutoff, the shutdown virtual machine did not display in the list. What is the cause of this, and how can I display the shutdown virtual machine.

You can't.

All oVirt-managed VMs are, in libvirt terms, transient. The meta-data
about them is kept in the engine's database, not in libvirt.

This is no longer the case - in 2017 we switched to persistent domains (https://gerrit.ovirt.org/c/78046)
When the engine issues a 'destroy' call, VDSM undefines the VM
 

If you want this to plan for (or already are in) a case where the
engine is dead/unavailable, then you should make sure you keep regular
engine backups, so that you can restore it, and/or check about DR.

Best regards,

>
> virsh # list --all
> Please enter your authentication name: root
> Please enter your password:
>  Id    Name                           State
> ----------------------------------------------------
>  4     win10E2                  running
>
> virsh # list --state-shutoff
>  Id    Name                           State
> ----------------------------------------------------
>
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/JGFSRX5YF3GK5DBI6EVQBSEJ34VUM66E/



--
Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PD6Y4LWKVVNI4NPQBBJEPQEWROF7ZPYQ/