<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 2:03 PM, Jiří Sléžka <span dir="ltr"><<a href="mailto:jiri.slezka@slu.cz" target="_blank">jiri.slezka@slu.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br></blockquote><div><br></div><div>Hi Jiří,</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
I would like to try import some ova files into our oVirt instance [1]<br>
[2] but I facing problems.<br>
<br>
I have downloaded all ova images into one of hosts (ovirt01) into<br>
direcory /ova<br>
<br>
ll /ova/<br>
total 6532872<br>
-rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21 HAAS-hpcowrie.ovf<br>
-rw-r--r--. 1 vdsm kvm 1111785984 Feb 16 16:22 HAAS-hpdio.ova<br>
-rw-r--r--. 1 vdsm kvm 846736896 Feb 16 16:22 HAAS-hpjdwpd.ova<br>
-rw-r--r--. 1 vdsm kvm 891043328 Feb 16 16:23 HAAS-hptelnetd.ova<br>
-rw-r--r--. 1 vdsm kvm 908222464 Feb 16 16:23 HAAS-hpuchotcp.ova<br>
-rw-r--r--. 1 vdsm kvm 880643072 Feb 16 16:24 HAAS-hpuchoudp.ova<br>
-rw-r--r--. 1 vdsm kvm 890833920 Feb 16 16:24 HAAS-hpuchoweb.ova<br>
<br>
Then I tried to import them - from host ovirt01 and directory /ova but<br>
spinner spins infinitly and nothing is happen.<br></blockquote><div><br></div><div>And does it work when you provide a path to the actual ova file, i.e., /ova/HAAS-hpdio.ova, rather than to the directory?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
I cannot see anything relevant in vdsm log of host ovirt01.<br>
<br>
In the engine.log of our standalone ovirt manager is just this relevant line<br>
<br>
2018-02-20 12:35:04,289+01 INFO<br>
[org.ovirt.engine.core.common.<wbr>utils.ansible.AnsibleExecutor] (default<br>
task-31) [458990a7-b054-491a-904e-<wbr>5c4fe44892c4] Executing Ansible<br>
command: ANSIBLE_STDOUT_CALLBACK=<wbr>ovaqueryplugin<br>
[/usr/bin/ansible-playbook,<br>
--private-key=/etc/pki/ovirt-<wbr>engine/keys/engine_id_rsa,<br>
--inventory=/tmp/ansible-<wbr>inventory8237874608161160784,<br>
--extra-vars=ovirt_query_ova_<wbr>path=/ova,<br>
/usr/share/ovirt-engine/<wbr>playbooks/ovirt-ova-query.yml] [Logfile:<br>
/var/log/ovirt-engine/ova/<wbr>ovirt-query-ova-ansible-<wbr><a href="http://20180220123504-ovirt01.net">20180220123504-ovirt01.net</a>.<wbr>slu.cz.log]<br>
<br>
also there are two ansible processes which are still running (and makes<br>
heavy load on system (load 9+ and growing, it looks like it eats all the<br>
memory and system starts swapping))<br>
<br>
ovirt 32087 3.3 0.0 332252 5980 ? Sl 12:35 0:41<br>
/usr/bin/python2 /usr/bin/ansible-playbook<br>
--private-key=/etc/pki/ovirt-<wbr>engine/keys/engine_id_rsa<br>
--inventory=/tmp/ansible-<wbr>inventory8237874608161160784<br>
--extra-vars=ovirt_query_ova_<wbr>path=/ova<br>
/usr/share/ovirt-engine/<wbr>playbooks/ovirt-ova-query.yml<br>
ovirt 32099 57.5 78.9 15972880 11215312 ? R 12:35 11:52<br>
/usr/bin/python2 /usr/bin/ansible-playbook<br>
--private-key=/etc/pki/ovirt-<wbr>engine/keys/engine_id_rsa<br>
--inventory=/tmp/ansible-<wbr>inventory8237874608161160784<br>
--extra-vars=ovirt_query_ova_<wbr>path=/ova<br>
/usr/share/ovirt-engine/<wbr>playbooks/ovirt-ova-query.yml<br>
<br>
playbook looks like<br>
<br>
- hosts: all<br>
remote_user: root<br>
gather_facts: no<br>
<br>
roles:<br>
- ovirt-ova-query<br>
<br>
and it looks like it only runs query_ova.py but on all hosts?<br></blockquote><div><br></div><div>No, the engine provides ansible the host to run on when it executes the playbook.</div><div>It would only be executed on the selected host.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
How does this work? ...or should it work?<br></blockquote><div><br></div><div>It should, especially that part of querying the OVA and is supposed to be really quick.</div><div>Can you please share the engine log and /var/log/ovirt-engine/ova/<wbr>ovirt-query-ova-ansible-<wbr><a href="http://20180220123504-ovirt01.net">20180220123504-ovirt01.net</a>.<wbr>slu.cz.log ?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
I am using latest 4.2.1.7-1.el7.centos version<br>
<br>
Cheers,<br>
Jiri Slezka<br>
<br>
<br>
[1] <a href="https://haas.cesnet.cz/#!index.md" rel="noreferrer" target="_blank">https://haas.cesnet.cz/#!<wbr>index.md</a> - Cesnet HAAS<br>
[2] <a href="https://haas.cesnet.cz/downloads/release-01/" rel="noreferrer" target="_blank">https://haas.cesnet.cz/<wbr>downloads/release-01/</a> - Image repository<br>
<br>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>