Is there a way to find the creation date of a Virtual Machines from Ovirt Manager

Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql

I have no clue, but if you have centralized logging (or you keep logs long enough), uou can check vdsm's log on all hosts and identify when the VM was first start. Best Regards,Strahil Nikolov On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users<users@ovirt.org> wrote: Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql _______________________________________________ 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/OA7KGOSJQQGECW...

Creation date of vm is not shown in the Ui. There is one option: you can connect to the database and query for it. On Tue, Jun 8, 2021 at 9:56 PM Strahil Nikolov via Users <users@ovirt.org> wrote:
I have no clue, but if you have centralized logging (or you keep logs long enough), uou can check vdsm's log on all hosts and identify when the VM was first start.
Best Regards, Strahil Nikolov
On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users <users@ovirt.org> wrote: Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql _______________________________________________ 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/OA7KGOSJQQGECW...
_______________________________________________ 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/6R6DG5HVHE2YC5...

I think you can get the creation date from one more way. Compute -> Virtual machine -> click on Vm -> go to Disks tab -> see the boot disk name then Go to Storage -> Disks -> search for the disk name -> click on disk -> go to permission tab you can see the disk creation date. You can refer to the creation date of the Disk Operator role. Note: This date will be the date of disk creation of the boot disk. If you created vm and added disk on the same day then this is true. On Wed, Jun 9, 2021 at 11:49 AM Ritesh Chikatwar <rchikatw@redhat.com> wrote:
Creation date of vm is not shown in the Ui. There is one option: you can connect to the database and query for it.
On Tue, Jun 8, 2021 at 9:56 PM Strahil Nikolov via Users <users@ovirt.org> wrote:
I have no clue, but if you have centralized logging (or you keep logs long enough), uou can check vdsm's log on all hosts and identify when the VM was first start.
Best Regards, Strahil Nikolov
On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users <users@ovirt.org> wrote: Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql _______________________________________________ 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/OA7KGOSJQQGECW...
_______________________________________________ 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/6R6DG5HVHE2YC5...

On Wednesday, 9 June 2021 08:19:04 CEST Ritesh Chikatwar wrote:
Creation date of vm is not shown in the Ui. There is one option: you can connect to the database and query for it.
select _create_date from vm_static where vm_name='vm_name';
On Tue, Jun 8, 2021 at 9:56 PM Strahil Nikolov via Users <users@ovirt.org>
wrote:
I have no clue, but if you have centralized logging (or you keep logs long enough), uou can check vdsm's log on all hosts and identify when the VM was first start.
Best Regards, Strahil Nikolov
On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users <users@ovirt.org> wrote: Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql _______________________________________________ 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/OA7KGOSJQQGE CW3LTGW34OE4DFU5JPI7/
_______________________________________________ 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/6R6DG5HVHE2Y C53TQOBIL5FHD73TX25A/

You can also get the VM details from the rest-API: <engine-adress>/ovirt-engine/api/vms/<vm-id> And you will get all the VM details including the VM <creation_time> and <stop_time>. On Wed, 9 Jun 2021 at 09:36, Vojtech Juranek <vjuranek@redhat.com> wrote:
On Wednesday, 9 June 2021 08:19:04 CEST Ritesh Chikatwar wrote:
Creation date of vm is not shown in the Ui. There is one option: you can connect to the database and query for it.
select _create_date from vm_static where vm_name='vm_name';
On Tue, Jun 8, 2021 at 9:56 PM Strahil Nikolov via Users < users@ovirt.org>
wrote:
I have no clue, but if you have centralized logging (or you keep logs long enough), uou can check vdsm's log on all hosts and identify when the VM was first start.
Best Regards, Strahil Nikolov
On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users <users@ovirt.org> wrote: Is there a way to find the creation date of a Virtual Machines from Ovirt Manager command line or psql _______________________________________________ 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/OA7KGOSJQQGE
CW3LTGW34OE4DFU5JPI7/
_______________________________________________ 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/6R6DG5HVHE2Y
C53TQOBIL5FHD73TX25A/
_______________________________________________ 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/VT2SHN6DQTAGHV...
-- Regards, Eyal Shenitzky

A last easy option is to login to the graphana portal at https://<engine_fqdn>/ovirt-engine-grafana/login There is much more than creation date... Le 09/06/2021 à 09:31, Eyal Shenitzky a écrit :
You can also get the VM details from the rest-API:
<engine-adress>/ovirt-engine/api/vms/<vm-id>
And you will get all the VM details including the VM <creation_time> and <stop_time>.
On Wed, 9 Jun 2021 at 09:36, Vojtech Juranek <vjuranek@redhat.com <mailto:vjuranek@redhat.com>> wrote:
On Wednesday, 9 June 2021 08:19:04 CEST Ritesh Chikatwar wrote: > Creation date of vm is not shown in the Ui. There is one option: you can > connect to the database and query for it.
select _create_date from vm_static where vm_name='vm_name';
> On Tue, Jun 8, 2021 at 9:56 PM Strahil Nikolov via Users <users@ovirt.org <mailto:users@ovirt.org>> > > wrote: > > I have no clue, but if you have centralized logging (or you keep logs long > > enough), uou can check vdsm's log on all hosts and identify when the VM > > was > > first start. > > > > Best Regards, > > Strahil Nikolov > > > > On Tue, Jun 8, 2021 at 17:26, k.gunasekhar--- via Users > > <users@ovirt.org <mailto:users@ovirt.org>> wrote: > > Is there a way to find the creation date of a Virtual Machines from Ovirt > > Manager command line or psql > > _______________________________________________ > > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> > > To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html> > > oVirt Code of Conduct: > > https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> > > List Archives: > > https://lists.ovirt.org/archives/list/users@ovirt.org/message/OA7KGOSJQQGE <https://lists.ovirt.org/archives/list/users@ovirt.org/message/OA7KGOSJQQGE> > > CW3LTGW34OE4DFU5JPI7/ > > > > _______________________________________________ > > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> > > To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html> > > oVirt Code of Conduct: > > https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> > > List Archives: > > https://lists.ovirt.org/archives/list/users@ovirt.org/message/6R6DG5HVHE2Y <https://lists.ovirt.org/archives/list/users@ovirt.org/message/6R6DG5HVHE2Y> > > C53TQOBIL5FHD73TX25A/
_______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VT2SHN6DQTAGHV... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/VT2SHN6DQTAGHVS6E5UHOGCXLPWGUF7F/>
-- Regards, Eyal Shenitzky
_______________________________________________ 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/74NKMHZN3LOEEV...
-- Nathanaël Blanchet Supervision réseau SIRE 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr

Do you have any idea how to stop the VM using REST API

It's far easier if you use ansible from engine... On Mon, Jun 21, 2021 at 21:13, k.gunasekhar--- via Users<users@ovirt.org> wrote: Do you have any idea how to stop the VM using REST API _______________________________________________ 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/NS7XVSCO5BGF76...

You can follow this link: http://ovirt.github.io/ovirt-engine-api-model/master/#services/vm/methods/st... POST /ovirt-engine/api/vms/123/stop *Regards,* *Shani Leviim* On Tue, Jun 22, 2021 at 6:16 AM Strahil Nikolov via Users <users@ovirt.org> wrote:
It's far easier if you use ansible from engine...
On Mon, Jun 21, 2021 at 21:13, k.gunasekhar--- via Users <users@ovirt.org> wrote: Do you have any idea how to stop the VM using REST API
_______________________________________________ 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/NS7XVSCO5BGF76...
_______________________________________________ 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/IU2P7L6SUKSRQK...
participants (7)
-
Eyal Shenitzky
-
k.gunasekhar@non.keysight.com
-
Nathanaël Blanchet
-
Ritesh Chikatwar
-
Shani Leviim
-
Strahil Nikolov
-
Vojtech Juranek