--Apple-Mail=_4DE159CC-409C-4D02-A20A-4A4F9D63AF87
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Am 07.03.2018 um 00:03 schrieb Arik Hadas <ahadas(a)redhat.com>:
=20
=20
=20
On Wed, Mar 7, 2018 at 12:10 AM, Oliver Riesener =
<Oliver.Riesener(a)hs-bremen.de
<mailto:Oliver.Riesener@hs-bremen.de>> =
wrote:
Hi Arik, Hi Fabrice,
=20
i have tried the same procedure with 4.2.1, with same results.
=20
After commands:
=20
# mkdir /var/log/ovirt-engine/ova
# chown ovirt.ovirt /var/log/ovirt-engine/ova
=20
I can provide log files. See ansible script failed.=20
=20
/export/ovirt/export/xx is the correct directory where i have =
extracted the *.ova
file because the UI search for *.ovf file and =
didn=E2=80=99t recognize *.ova files directly ?=20
=20
Thanks for providing the logs.
We don't support OVA directory with content (OVF, disks) that was =
created by
oVirt yet (it only works with content that was created by =
VMware).
The OVA tar file should not be extracted and the path to the OVA =
should include the filename, e.g., /export/ovirt/export/xx/my.ova
With the fullname to *.ova, the VM is importable. yeah!
If you pack the directory's content into an OVA file, please note
that =
the OVF should be placed at the first entry.
=20
There is a bug about changing 'path' to something like 'path to ova =
file' in the import dialog [1], I may add a validation for that as well =
until we'll also support the OVA directory format.
<
https://bugzilla.redhat.com/show_bug.cgi?id=3D1547636>
At this point, path is ok, but *.ova should be **browsed** too.
=20
=20
Please see attachments:
=20
Cheers
Olri
=20
=20
=20
=20
=20
> Am 06.03.2018 um 19:25 schrieb Fabrice SOLER =
<fabrice.soler(a)ac-guadeloupe.fr =
<mailto:fabrice.soler@ac-guadeloupe.fr>>:
>=20
> Hi,=20
>=20
> I have deleted the VM amon and tried to import the OVA. It does not =
work.
> I think there is a problem in the ovf file (XML format) like I
posted =
in the precedente mail :
>=20
> I constated that the ovf format is not the same when I made the =
export ova
with vmware and ovirt.
>=20
> Export ova with vmware :
>=20
> [root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf
> AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, =
with CRLF
line terminators
>=20
> Export ova with ovirt :
> [root@ovirt-eple amon]# file vm.ovf
> vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no =
line
terminators
>=20
> With Ovirt there is no line terminators.
>=20
> Is that normal ? Is that why the OVA import does not work ?
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Le 06/03/2018 =C3=A0 12:11, Oliver Riesener a =C3=A9crit :
>> Hi Fabrice,
>> try to rename the already existing old VM to another name like =
amon-old.
>> The import the OVA machine again.
>>=20
>> On 06.03.2018 15:33, Fabrice SOLER wrote:
>>> Hello,
>>>=20
>>> I have upgraded the engine and the node, so the version is : =
4.2.1.1.1-1.el7
>>> To import, I made a "tar xvf file.ova".
>>> Then from the portal, I import the VM
>>>=20
>>> <fnoenhmgochfekoh.png>
>>> I saw that :
>>>=20
>>> <ieaciiocgjjgcbcg.png>
>>>=20
>>> After that the amon was removed as we can see in the events :
>>>=20
>>> <hljdjnbeojagoppc.png>
>>>=20
>>> It seems it does not work. Maybe the VM is hide somewhere ?
>>>=20
>>> Sincerely,
>>>=20
>>>=20
>>> <Fabrice SOLER.PNG>
>>>=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
>> _______________________________________________
>> 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
> <Fabrice SOLER.PNG>
=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>
--Apple-Mail=_4DE159CC-409C-4D02-A20A-4A4F9D63AF87
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">Am 07.03.2018 um 00:03 schrieb Arik Hadas <<a =
href=3D"mailto:ahadas@redhat.com" =
class=3D"">ahadas@redhat.com</a>>:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><br =
class=3D"Apple-interchange-newline"><br style=3D"font-family:
Courier; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><div class=3D"gmail_quote" style=3D"font-family:
Courier; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On =
Wed, Mar 7, 2018 at 12:10 AM, Oliver Riesener<span =
class=3D"Apple-converted-space"> </span><span
dir=3D"ltr" =
class=3D""><<a
href=3D"mailto:Oliver.Riesener@hs-bremen.de" =
target=3D"_blank" =
class=3D"">Oliver.Riesener(a)hs-bremen.de</a>&gt;</span><span
=
class=3D"Apple-converted-space"> </span>wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin: 0px 0px =
0px 0.8ex; border-left-width: 1px; border-left-style: solid; =
border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div =
style=3D"word-wrap: break-word;" class=3D""><div
class=3D"">Hi Arik, Hi =
Fabrice,</div><div class=3D""><br
class=3D""></div>i have tried the same =
procedure with 4.2.1, with same results.<div class=3D""><br =
class=3D""></div><div class=3D"">After
commands:</div><div class=3D""><br =
class=3D""></div><div class=3D""># mkdir =
/var/log/ovirt-engine/ova</div><div class=3D""># chown ovirt.ovirt
=
/var/log/ovirt-engine/ova</div><div class=3D""><br
class=3D""></div><div =
class=3D"">I can provide log files. See ansible script =
failed. </div><div class=3D""><br
class=3D""></div><div =
class=3D"">/export/ovirt/export/xx is the correct directory where i have =
extracted the *.ova file because the UI search for *.ovf file and =
didn=E2=80=99t recognize *.ova files directly =
? </div></div></blockquote><div
class=3D""><br class=3D""></div><div =
class=3D"">Thanks for providing the logs.</div><div
class=3D"">We don't =
support OVA directory with content (OVF, disks) that was created by =
oVirt yet (it only works with content that was created by =
VMware).</div><div class=3D"">The OVA tar file should not be
extracted =
and the path to the OVA should include the filename, e.g., =
/export/ovirt/export/xx/my.ova</div></div></div></blockquote><div><br
=
class=3D""></div>With the fullname to *.ova, the VM is importable. =
yeah!</div><div><br
class=3D""></div><div><blockquote type=3D"cite" =
class=3D""><div class=3D""><div
class=3D"gmail_quote" =
style=3D"font-family: Courier; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><div class=3D"">If you pack the
=
directory's content into an OVA file, please note that the OVF should be =
placed at the first entry.</div><div class=3D""><br
class=3D""></div><div =
class=3D"">There is a bug about changing 'path' to something like
'path =
to ova file' in the import dialog [1], I may add a validation for that =
as well until we'll also support the OVA directory format.</div><div =
class=3D""><br class=3D""></div><div
class=3D"">[1] <a =
href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1547636" =
class=3D"">https://bugzilla.redhat.com/show_bug.cgi?id=3D154...
</div></div></blockquote><div><br
class=3D""></div><div>At this point, =
path is ok, but *.ova should be **browsed** too.</div><br =
class=3D""><blockquote type=3D"cite"
class=3D""><div class=3D""><div =
class=3D"gmail_quote" style=3D"font-family: Courier; font-size: 14px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div =
class=3D""> </div></div></div></blockquote><blockquote
type=3D"cite" =
class=3D""><div class=3D""><div
class=3D"gmail_quote" =
style=3D"font-family: Courier; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><blockquote class=3D"gmail_quote" =
style=3D"margin: 0px 0px 0px 0.8ex; border-left-width: 1px; =
border-left-style: solid; border-left-color: rgb(204, 204, 204); =
padding-left: 1ex;"><div style=3D"word-wrap: break-word;"
class=3D""><div =
class=3D""><br class=3D""></div><div
class=3D"">Please see =
attachments:</div><div class=3D""><br
class=3D""></div><div =
class=3D"">Cheers</div><div
class=3D"">Olri</div><div class=3D""><div =
class=3D""><br class=3D""></div><div
class=3D""></div></div></div><br =
class=3D""><div style=3D"word-wrap: break-word;"
class=3D""><div =
class=3D""><div
class=3D""></div></div></div><br
class=3D""><div =
style=3D"word-wrap: break-word;" class=3D""><div
class=3D""><div =
class=3D""></div></div></div><br
class=3D""><div style=3D"word-wrap: =
break-word;" class=3D""><div class=3D""><div
class=3D""></div><div =
class=3D""><br class=3D""><div
class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">Am 06.03.2018 um 19:25 schrieb
Fabrice SOLER =
<<a href=3D"mailto:fabrice.soler@ac-guadeloupe.fr"
target=3D"_blank" =
class=3D"">fabrice.soler(a)ac-guadeloupe.<wbr =
class=3D"">fr</a>>:</div><br =
class=3D"gmail-m_8609493391651394817Apple-interchange-newline"><div =
class=3D""><div bgcolor=3D"#FFFFFF"
class=3D""><div =
class=3D"gmail-m_8609493391651394817moz-cite-prefix">Hi,<span =
class=3D"Apple-converted-space"> </span><br
class=3D""><br =
class=3D"">I have deleted the VM amon and tried to import the OVA. It =
does not work.<br class=3D"">I think there is a problem in the ovf file =
(XML format) like I posted in the precedente mail :<br class=3D""><br
=
class=3D""><b class=3D""><i class=3D"">I
constated that the ovf format =
is not the same when I made the export ova with vmware and =
ovirt.</i></b><b class=3D""><i
class=3D""><br class=3D""></i></b><b =
class=3D""><i class=3D""></i></b><b
class=3D""><i class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D"">Export ova with vmware =
:</i></b><b class=3D""><i class=3D""><br
class=3D""></i></b><b =
class=3D""><i class=3D""></i></b><b
class=3D""><i class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D"">[root@eple-rectorat-proto =
AntiVirus]# file AntiVirus.ovf</i></b><b class=3D""><i
class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D"">AntiVirus.ovf: XML 1.0 =
document, ASCII text, with very long lines, with CRLF line =
terminators</i></b><b class=3D""><i
class=3D""><br class=3D""></i></b><b =
class=3D""><i class=3D""></i></b><b
class=3D""><i class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D"">Export ova with ovirt =
:</i></b><b class=3D""><i class=3D""><br
class=3D""></i></b><b =
class=3D""><i class=3D"">[root@ovirt-eple amon]# file
vm.ovf</i></b><b =
class=3D""><i class=3D""><br
class=3D""></i></b><b class=3D""><i =
class=3D"">vm.ovf: XML 1.0 document, ASCII text, with very long lines, =
with no line terminators</i></b><b class=3D""><i
class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D""></i></b><b class=3D""><i =
class=3D""><br class=3D""></i></b><b
class=3D""><i class=3D"">With Ovirt =
there is no line terminators.</i></b><b class=3D""><i
class=3D""><br =
class=3D""></i></b><b class=3D""><i
class=3D""></i></b><b class=3D""><i =
class=3D""><br class=3D""></i></b><b
class=3D""><i class=3D"">Is that =
normal ? Is that why the OVA import does not work ?</i></b><i =
class=3D""><br class=3D""></i><br
class=3D""><br class=3D""><br =
class=3D""><br class=3D""><br
class=3D""><br class=3D""><br class=3D"">Le
=
06/03/2018 =C3=A0 12:11, Oliver Riesener a =C3=A9crit :<br =
class=3D""></div><blockquote type=3D"cite"
class=3D"">Hi Fabrice,<br =
class=3D"">try to rename the already existing old VM to another name =
like amon-old.<br class=3D"">The import the OVA machine again.<br =
class=3D""><br class=3D""><div =
class=3D"gmail-m_8609493391651394817moz-cite-prefix">On 06.03.2018 =
15:33, Fabrice SOLER wrote:<br class=3D""></div><blockquote
type=3D"cite" =
class=3D""><div =
class=3D"gmail-m_8609493391651394817moz-signature">Hello,<br =
class=3D""><br class=3D"">I have upgraded the engine and the
node, so =
the version is : 4.2.1.1.1-1.el7<br class=3D"">To import, I made a
"tar =
xvf file.ova".<br class=3D"">Then from the portal, I import the
VM<br =
class=3D""><br class=3D""><span =
id=3D"gmail-m_8609493391651394817cid:part1.F1B46AE8.376CEC0A@ac-guadeloupe=
.fr" class=3D""><fnoenhmgochfekoh.png></span><br
class=3D"">I saw =
that :<br class=3D""><br class=3D""><span =
id=3D"gmail-m_8609493391651394817cid:part2.BEBB7C3E.0A7E7DD8@ac-guadeloupe=
.fr" class=3D""><ieaciiocgjjgcbcg.png></span><br
class=3D""><br =
class=3D"">After that the amon was removed as we can see in the =
events :<br class=3D""><br class=3D""><span
=
id=3D"gmail-m_8609493391651394817cid:part3.A55F2C9F.1341ABB4@ac-guadeloupe=
.fr" class=3D""><hljdjnbeojagoppc.png></span><br
class=3D""><br =
class=3D"">It seems it does not work. Maybe the VM is hide somewhere =
?<br class=3D""><br class=3D"">Sincerely,<br
class=3D""><br class=3D""><br=
class=3D""><span =
id=3D"gmail-m_8609493391651394817cid:part4.895BE010.AE517D9B@ac-guadeloupe=
.fr" class=3D""><Fabrice
SOLER.PNG></span></div><br =
class=3D""><fieldset =
class=3D"gmail-m_8609493391651394817mimeAttachmentHeader"></fieldset><br
=
class=3D""><pre
class=3D"">______________________________<wbr =
class=3D"">_________________
Users mailing list
<a class=3D"gmail-m_8609493391651394817moz-txt-link-abbreviated" =
href=3D"mailto:Users@ovirt.org"
target=3D"_blank">Users(a)ovirt.org</a>
<a class=3D"gmail-m_8609493391651394817moz-txt-link-freetext" =
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
target=3D"_blank">http://lists.ovirt.org/<wbr =
class=3D"">mailman/listinfo/users</a>
</pre></blockquote><br class=3D""><fieldset =
class=3D"gmail-m_8609493391651394817mimeAttachmentHeader"></fieldset><br
=
class=3D""><pre
class=3D"">______________________________<wbr =
class=3D"">_________________
Users mailing list
<a class=3D"gmail-m_8609493391651394817moz-txt-link-abbreviated" =
href=3D"mailto:Users@ovirt.org"
target=3D"_blank">Users(a)ovirt.org</a>
<a class=3D"gmail-m_8609493391651394817moz-txt-link-freetext" =
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
target=3D"_blank">http://lists.ovirt.org/<wbr =
class=3D"">mailman/listinfo/users</a>
</pre></blockquote><p class=3D""><br
class=3D""></p><div =
class=3D"gmail-m_8609493391651394817moz-signature">--<span =
class=3D"Apple-converted-space"> </span><br
class=3D""><span =
id=3D"gmail-m_8609493391651394817cid:part4.895BE010.AE517D9B@ac-guadeloupe=
.fr" class=3D""><Fabrice =
SOLER.PNG></span></div></div></div></blockquote></div><br
=
class=3D""></div></div></div><br =
class=3D"">______________________________<wbr =
class=3D"">_________________<br class=3D"">Users mailing
list<br =
class=3D""><a href=3D"mailto:Users@ovirt.org" =
class=3D"">Users(a)ovirt.org</a><br class=3D""><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/users"
rel=3D"noreferrer" =
target=3D"_blank"
class=3D"">http://lists.ovirt.org/<wbr =
class=3D"">mailman/listinfo/users</a></blockquote></div></div></blockquote=
</div><br class=3D""></body></html>=
--Apple-Mail=_4DE159CC-409C-4D02-A20A-4A4F9D63AF87--