This is a cryptographically signed message in MIME format.
--------------ms000605090504020609060003
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 02/20/2018 03:48 PM, Arik Hadas wrote:
=20
=20
On Tue, Feb 20, 2018 at 3:49 PM, Ji=C5=99=C3=AD Sl=C3=A9=C5=BEka <jiri.=
slezka(a)slu.cz
<mailto:jiri.slezka@slu.cz>> wrote:
=20
Hi Arik,
=20
On 02/20/2018 01:22 PM, Arik Hadas wrote:
>
>
> On Tue, Feb 20, 2018 at 2:03 PM, Ji=C5=99=C3=AD Sl=C3=A9=C5=BEka =
<jiri.slezka(a)slu.cz <mailto:jiri.slezka@slu.cz>
> <mailto:jiri.slezka@slu.cz
<mailto:jiri.slezka@slu.cz>>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Hi,
>
>
> Hi Ji=C5=99=C3=AD,
> =C2=A0
>
>
>=C2=A0 =C2=A0 =C2=A0I would like to try import some ova files into=
our
oVirt instance [1]
>=C2=A0 =C2=A0 =C2=A0[2] but I facing problems.
>
>=C2=A0 =C2=A0 =C2=A0I have downloaded all ova images into one of h=
osts
(ovirt01) into
>=C2=A0 =C2=A0 =C2=A0direcory /ova
>
>=C2=A0 =C2=A0 =C2=A0ll /ova/
>=C2=A0 =C2=A0 =C2=A0total 6532872
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21=
HAAS-hpcowrie.ovf
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm 1111785984 Feb 16
16:22=
HAAS-hpdio.ova
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm=C2=A0 846736896
Feb 16 =
16:22 HAAS-hpjdwpd.ova
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm=C2=A0 891043328
Feb 16 =
16:23 HAAS-hptelnetd.ova
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm=C2=A0 908222464
Feb 16 =
16:23 HAAS-hpuchotcp.ova
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm=C2=A0 880643072
Feb 16 =
16:24 HAAS-hpuchoudp.ova
>=C2=A0 =C2=A0 =C2=A0-rw-r--r--. 1 vdsm kvm=C2=A0 890833920
Feb 16 =
16:24 HAAS-hpuchoweb.ova
>
>=C2=A0 =C2=A0 =C2=A0Then I tried to import them - from host ovirt0=
1 and
directory /ova but
>=C2=A0 =C2=A0 =C2=A0spinner spins infinitly and nothing is
happen.=
>
>
> 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?
=20
this time it ends with "Failed to load VM configuration from OVA fi=
le:
/ova/HAAS-hpdio.ova" error.=C2=A0
=20
=20
Note that the logic that is applied on a specified folder is "try
fetching an 'ova folder' out of the destination folder" rather than
"list all the ova files inside the specified folder". It seems that you=
expected the former output since there are no disks in that folder,
rig=
ht?
yes, It would be more user friendly to list all ova files and then
select which one to import (like listing all vms in vmware import)
Maybe description of path field in manager should be "Path to ova file"
instead of "Path" :-)
>=C2=A0 =C2=A0 =C2=A0I cannot see anything relevant in vdsm
log of =
host ovirt01.
>
>=C2=A0 =C2=A0 =C2=A0In the engine.log of our standalone ovirt mana=
ger is
just this
>=C2=A0 =C2=A0 =C2=A0relevant line
>
>=C2=A0 =C2=A0 =C2=A02018-02-20 12:35:04,289+01 INFO
>=C2=A0 =C2=A0 =C2=A0[org.ovirt.engine.core.common.utils.ansible.An=
sibleExecutor] (default
>=C2=A0 =C2=A0 =C2=A0task-31)
[458990a7-b054-491a-904e-5c4fe44892c4=
] Executing Ansible
>=C2=A0 =C2=A0 =C2=A0command:
ANSIBLE_STDOUT_CALLBACK=3Dovaqueryplu=
gin
>=C2=A0 =C2=A0 =C2=A0[/usr/bin/ansible-playbook,
>=C2=A0 =C2=A0 =C2=A0--private-key=3D/etc/pki/ovirt-engine/keys/eng=
ine_id_rsa,
>=C2=A0 =C2=A0
=C2=A0--inventory=3D/tmp/ansible-inventory8237874608=
161160784,
>=C2=A0 =C2=A0
=C2=A0--extra-vars=3Dovirt_query_ova_path=3D/ova,
>=C2=A0 =C2=A0 =C2=A0/usr/share/ovirt-engine/playbooks/ovirt-ova-qu=
ery.yml] [Logfile:
>=C2=A0 =C2=A0
=C2=A0/var/log/ovirt-engine/ova/ovirt-query-ova-ansi=
ble-20180220123504-ovirt01.net
<
http://ovirt-query-ova-ansible-20180220123504-ovirt01.net>
>=C2=A0 =C2=A0 =C2=A0<http://20180220123504-ovirt01.net
<
http://20180220123504-ovirt01.net>>.slu.cz.log]
>
>=C2=A0 =C2=A0 =C2=A0also there are two ansible processes which are=
still
running
(and makes
>=C2=A0 =C2=A0 =C2=A0heavy load on system (load 9+ and growing, it =
looks
like it
eats all the
>=C2=A0 =C2=A0 =C2=A0memory and system starts swapping))
>
>=C2=A0 =C2=A0 =C2=A0ovirt=C2=A0 =C2=A0 32087=C2=A0 3.3=C2=A0 0.0 3=
32252=C2=A0 5980 ?=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sl=C2=A0 =C2=A012:35=C2=A0 =
=C2=A00:41
>=C2=A0 =C2=A0 =C2=A0/usr/bin/python2
/usr/bin/ansible-playbook
>=C2=A0 =C2=A0 =C2=A0--private-key=3D/etc/pki/ovirt-engine/keys/eng=
ine_id_rsa
>=C2=A0 =C2=A0
=C2=A0--inventory=3D/tmp/ansible-inventory8237874608=
161160784
>=C2=A0 =C2=A0
=C2=A0--extra-vars=3Dovirt_query_ova_path=3D/ova
>=C2=A0 =C2=A0 =C2=A0/usr/share/ovirt-engine/playbooks/ovirt-ova-qu=
ery.yml
>=C2=A0 =C2=A0 =C2=A0ovirt=C2=A0 =C2=A0 32099 57.5 78.9
15972880 11=
215312 ?=C2=A0 =C2=A0R=C2=A0 =C2=A0 12:35=C2=A0 11:52
>=C2=A0 =C2=A0 =C2=A0/usr/bin/python2
/usr/bin/ansible-playbook
>=C2=A0 =C2=A0 =C2=A0--private-key=3D/etc/pki/ovirt-engine/keys/eng=
ine_id_rsa
>=C2=A0 =C2=A0
=C2=A0--inventory=3D/tmp/ansible-inventory8237874608=
161160784
>=C2=A0 =C2=A0
=C2=A0--extra-vars=3Dovirt_query_ova_path=3D/ova
>=C2=A0 =C2=A0 =C2=A0/usr/share/ovirt-engine/playbooks/ovirt-ova-qu=
ery.yml
>
>=C2=A0 =C2=A0 =C2=A0playbook looks like
>
>=C2=A0 =C2=A0 =C2=A0- hosts: all
>=C2=A0 =C2=A0 =C2=A0=C2=A0 remote_user: root
>=C2=A0 =C2=A0 =C2=A0=C2=A0 gather_facts: no
>
>=C2=A0 =C2=A0 =C2=A0=C2=A0 roles:
>=C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 - ovirt-ova-query
>
>=C2=A0 =C2=A0 =C2=A0and it looks like it only runs query_ova.py bu=
t on
all hosts?
>
>
> No, the engine provides ansible the host to run on when it
executes the
> playbook.
> It would only be executed on the selected host.
> =C2=A0
>
>
>=C2=A0 =C2=A0 =C2=A0How does this work? ...or should it work?
>
>
> It should, especially that part of querying the OVA and is suppos=
ed to
> be really quick.
> Can you please share the engine log and
>
/var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20180220123504-ov=
irt01.net
<
http://ovirt-query-ova-ansible-20180220123504-ovirt01.net>
> <
http://20180220123504-ovirt01.net
<
http://20180220123504-ovirt01.net>>.slu.cz.log ?
=20
engine log is here:
=20
https://pastebin.com/nWWM3UUq
=20
=20
Thanks.
Alright, so now the configuration is fetched but its processing fails.
We fixed many issues in this area recently, but it appears that
something is wrong with the actual size of the disk within the ovf file=
that resides inside this ova file.
Can you please share that ovf file that resides inside=C2=A0/ova/HAAS-h=
pdio.ova?
file HAAS-hpdio.ova
HAAS-hpdio.ova: POSIX tar archive (GNU)
[root@ovirt01 backup]# tar xvf HAAS-hpdio.ova
HAAS-hpdio.ovf
HAAS-hpdio-disk001.vmdk
file HAAS-hpdio.ovf is here:
https://pastebin.com/80qAU0wB
file
/var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20180220123504-ov=
irt01.net
<
http://ovirt-query-ova-ansible-20180220123504-ovirt01.net>
in the fact does not exists (nor folder /var/log/ovirt-engine/ova/)=
=20
=20
This issue is also resolved in 4.2.2.
In the meantime, please create the =C2=A0/var/log/ovirt-engine/ova/ fol=
der
manually and make sure its permissions match the ones of the other
folders in =C2=A0/var/log/ovirt-engine.
ok, done. After another try there is this log file
/var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20180220173005-ovirt01.=
net.slu.cz.log
https://pastebin.com/M5J44qur
Cheers,
=20
Jiri Slezka
=20
> =C2=A0
>
>
>=C2=A0 =C2=A0 =C2=A0I am using latest 4.2.1.7-1.el7.centos version=
>
>=C2=A0 =C2=A0 =C2=A0Cheers,
>=C2=A0 =C2=A0 =C2=A0Jiri Slezka
>
>
>=C2=A0 =C2=A0 =C2=A0[1]
https://haas.cesnet.cz/#!index.md <https:/=
/haas.cesnet.cz/#!index.md>
>=C2=A0 =C2=A0 =C2=A0<https://haas.cesnet.cz/#!index.md
<
https://haas.cesnet.cz/#!index.md>> - Cesnet HAAS
>=C2=A0 =C2=A0 =C2=A0[2]
https://haas.cesnet.cz/downloads/release-0= 1/
<
https://haas.cesnet.cz/downloads/release-01/>
>=C2=A0 =C2=A0 =C2=A0<https://haas.cesnet.cz/downloads/release-01/
<
https://haas.cesnet.cz/downloads/release-01/>> - Image repository
>
>
>=C2=A0 =C2=A0 =C2=A0______________________________________________=
_
>=C2=A0 =C2=A0 =C2=A0Users mailing list
>=C2=A0 =C2=A0 =C2=A0Users(a)ovirt.org <mailto:Users@ovirt.org>
<mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>=C2=A0 =C2=A0 =C2=A0http://lists.ovirt.org/mailman/listinfo/users
<
http://lists.ovirt.org/mailman/listinfo/users>
>=C2=A0 =C2=A0 =C2=A0<http://lists.ovirt.org/mailman/listinfo/users=
<
http://lists.ovirt.org/mailman/listinfo/users>>
>
>
=20
=20
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
=20
--------------ms000605090504020609060003
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
Cn8wggUJMIID8aADAgECAhACt8ndrdK9CetZxFyQDGB4MA0GCSqGSIb3DQEBCwUAMGUxCzAJ
BgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2Vy
dC5jb20xJDAiBgNVBAMTG0RpZ2lDZXJ0IEFzc3VyZWQgSUQgUm9vdCBDQTAeFw0xNDExMTgx
MjAwMDBaFw0yNDExMTgxMjAwMDBaMHIxCzAJBgNVBAYTAk5MMRYwFAYDVQQIEw1Ob29yZC1I
b2xsYW5kMRIwEAYDVQQHEwlBbXN0ZXJkYW0xDzANBgNVBAoTBlRFUkVOQTEmMCQGA1UEAxMd
VEVSRU5BIGVTY2llbmNlIFBlcnNvbmFsIENBIDMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQCwp9Jj5Aej1xPkS1GV3LvBdemFmkUR//nSzBodqsU3dv2BCRD30r4gt5oRsYty
qDGF2nnItxV1SkwVoDxFeRzOIHYNYvBRHaiGvCQjEXzPRTocOSVfWpmq/zAL/QOEqpJogeM+
0IBGiJcAENJshl7UcfjYbBnN5qStk74f52VWFf/aiF7MVJnsUr3oriQvXYOzs8N/NXyyQyim
atBbumJVCNszF1X+XHCGfPNvxlNFW9ktv7azK0baminfLcsh6ubCdINZc+Nof2lU387NCDgg
oh3KsYVcZTSuhh7qp6MjxE5VqOZod1hpXXzDOkjK+DAMC57iZXssncp24ea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