On Thu, Feb 27, 2020 at 5:29 PM Strahil Nikolov <hunter86...@yahoo.com>
wrote:
[snip]

> >I could be wrong, but I didn't find any ansible module  to do this with
> >Ansible playbooks: I can only save all the VM, that in my case wouldn't
> >be
> >necessary and instead time and storage wasting.
>
> [snip]

>
> Hi Gianluca,
>
> Did you check:
> https://github.com/silverorange/ovirt_ansible_backup
>
>
> Best Regards,
> Strahil Nikolov
>

Yes Strahil, I did check. I also checked his review with improvements made
in collaboration with Martin and I also gave my feedback to Jayme on the
list.
But as you can notice from my words I left above, it doesn't apply to my
scenario.
I want to create a snapshot of the VM but not with all its disks, but only
with the boot one.
And this in my opinion is not feasible with Ansible ovirt modules.
Coming back to the subject of this thread, in his original playbook Jayme
tests when the export file passes from ova.tmp extension to .ova and uses
that in his wait_for module to consider the job as completed.
My alternate proposal was to query the "job" table of the engine database
to check when the related job status becomes "FINISHED".
Probably I have to start from the poll_events.py sdk example to check when
I get the event that the export as ova has finished.....
Any hint or alternate way through the python SDK will be appreciated.

Gianluca
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/5VDIGFUYQQKQA52AH52CKMBKFPFRVN3T/

Reply via email to