Hi Gianluca, we have read the massage from Jayme, but we have problem
with the INTERNAL ansible playbook.
Wen we run an export, ovirt internally run the playbook
/usr/share/ovirt-engine/playbooks/ovirt-ova-export.yml
but only export at time....
Il 27/08/2020 11:15, Gianluca Cecchi ha scritto:
On Tue, Aug 25, 2020 at 3:29 PM Tommaso - Shellrent
<tomm...@shellrent.com <mailto:tomm...@shellrent.com>> wrote:
Hi Gianluca.
We have a problem wit "export as ova" too.
In our env we back up all the vm with a python script that run an
export.
If we run multiple export at the same time, also on different
datacenter[but same engine], the wait for each other and do not
run in async mode.
If only one of those export takes 10h, all of them taskes 10+h too.
seems that all the export have to end a step of the playbook to go
on, but we see only one "nasible-playbook" process at a time.
Have you got any hint?
Regards,
Tommaso.
My post was one year old.
In the meantime you can check these two posts in archives by Jayme (I
cc him):
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/U65CV5A6WC6SCB2R5N66Y7HPXQ3ZQT2H/#FAVZG32TPSX67DTXIHMGIQXUXNG3W3OE
and
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JNSY6GYNS6LPNUJXERUO2EOG5F3P7B2M/
In the first post it appears that by default the exports were of type
fire and forget (that is what you need) and so he included a wait_for
task to instead have them sequential.
I think you can borrow from his github playbooks and adapt to your needs.
Or Jayme, you could apply a general change where you set a variable
(eg sequential_flow) that by default is true and then you modify theĀ
export_vm.yml playbook in the task
- name: "Wait for export"
with the wait condition becoming of kind
when: (export_result is not failed) or (sequential_flow|bool == False)
This way by default the play workflow remains unchanged, but a user
can set sequential_flow to False
What do you think about it?
Gianluca
--
--
Shellrent - Il primo hosting italiano Security First
*Tommaso De Marchi*
/COO - Chief Operating Officer/
Shellrent Srl
Via dell'Edilizia, 19 - 36100 Vicenza
Tel. 0444321155 <tel:+390444321155> | Fax 04441492177
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/2SGXT666QAOFF5LD76KL7CXMJW2P73CG/