[ovirt-users] Re: where is error log for OVA import

2020-08-01 Thread Philip Brown
follow up info on this:

I tried another import, with another file, but this time, uploaded to an NFS 
directory...
the NFS directory that is ALSO used for our ISO storage domain.
So it is always automatically mounted, on all nodes, under /rhel/whatever


Once again, the ovirt 4.3 node recognized the file, but ovirt 4.4.1 did not 
show ANY file in the same directory.
Cant be a directory permissions problem there. So it seems like initial ova 
file recognition is broken in 4.4.1 somehow.


- Original Message -
From: "Philip Brown" 
To: "Jayme" 
Cc: "users" 
Sent: Friday, July 31, 2020 8:15:36 PM
Subject: [ovirt-users] Re: where is error log for OVA import

...
suggestion #2:
I think that in ovirt 4.3, default perms on /root were okay. but in 4.4 a 
non-root user is used, so it fails to READ THE DIRECTORY.
This error should really be passed up to the GUI.
___
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/NXTBINJ7KPUQHERO5WKXBLV5POVDBTNR/
___
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/QH5P75SDOTCDWIPWUQEAUFBY5UPXTJ7Q/


[ovirt-users] Re: where is error log for OVA import

2020-07-31 Thread Philip Brown
good news and bad news and more good news on my OVA import front. Devs are 
especially encouraged to read to the end :)


Initial good news is, I managed to successfully upgrade ONE of my "node"s in my 
4.3 cluster to 4.4.1


The bad news is:
doing the exact same thing as before; copying the .OVA file to /root on a node, 
and attempting an import, doesnt work.
and it fails even harder this time.
It doesnt just pretend to load it and die at 99%.
It fails to allow me to load it at all, with no visible errors?



on the native 4.3 node, I do (import OVA)
I put in the path as "/root"
I press the load button, and it shows me the OVA file in there.

BUT. on the 4.4.1 node running in the 4.3 cluster.
I put in the path as "/root"
I press the load button...
and it shows me NO FILES.


perms on /root on both nodes, is
dr-xr-x--- root root

so its not a perms issue.
and its literally the same file and name.
I just scp'd the file from the 4.4.1 node, to the 4.3 node.

I was going to ask for suggestions, but then, one whacky thing I came up with 
myself. get the dialog to recognize the file, for the 4.3 node.
So then it shows up in the first dialog.
But then CHANGE the selected node to the 4.4.1 node, before pressing okay??
It takes a bug to fight a bug??. lol.

but it started the import on the actual 4.4.1 node...and still failed.

But I figured out that the important file is NOT in the engine VM, but in the 
node that is selected as involved in the import.

So in /var/log/vdsm/import/X, I found a few errors.


juggled things around...
Forced "preallocate" instead of "thin provision".
and
it worked? !

yay.


So, suggestion to devs to test more on the local import, rather than just the 
"import domain" thing.

suggestion #2:
I think that in ovirt 4.3, default perms on /root were okay. but in 4.4 a 
non-root user is used, so it fails to READ THE DIRECTORY.
This error should really be passed up to the GUI.
___
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/NXTBINJ7KPUQHERO5WKXBLV5POVDBTNR/


[ovirt-users] Re: where is error log for OVA import

2020-07-29 Thread thomas
From what I have observed, OVA import seems to have two modes:

If the OVA is a 'foreign' format, the ova file needs to be converted and that 
conversion effort is then logged into /var/log/vdsm/import on the oVirt node 
where in import runs. Import failures are then mostly an issue with the 
inability to either open the OVA file itself for writing or perhaps another 
temorary file just besides. Under the assumption that the conversion was 
running under the UID/GID of vdsm, I ensured that write permissions on file and 
directory were given to vdsm:kvm and at that point the conversion ran fine and 
spewed plenty of logging output to a file on that path.

Now when the OVA came from an oVirt export, that log file doesn't seem to get 
created, at least I never saw something appear there, even after the import had 
successfully finished, as per GUI.

But those OVA re-imports where completely buggy, mostly because the export 
files seem to be defect, an error I just reported in another post.

For you with a VMware export, things might look more bright, once you sort out 
access rights and potentially fs capacity, as the conversion might require 
enough temporary space for two copies of the VM, since it seems to only be put 
into oVirt storage, after the conversion.
___
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/GUGYOHFLP7XCRRBOG3UWTZOYMR7LCPWS/


[ovirt-users] Re: where is error log for OVA import

2020-07-28 Thread Simon Coter
should be /var/log/vdsm/import (on KVM host) for VMs and 
/var/log/ovirt-engine/ova (on engine host) for Templates

> On Jul 29, 2020, at 1:20 AM, Jayme  wrote:
> 
> Check engine.log in /var/log/ovirt-engine on the engine sever/vm
> 
> On Tue, Jul 28, 2020 at 7:16 PM Philip Brown  > wrote:
> I just tried to import an OVA file.
> The GUI status mentions that things seem to go along fairly happily.. 
> it mentions that it creates a disk for it
> but then eventually just says
> 
> "failed to import VM x into datacenter Default"
> with zero explanation.
> 
> Isnt there a log file or something I can check, somewhere, to find out what 
> the problem is?
> 
> 
> --
> Philip Brown| Sr. Linux System Administrator | Medata, Inc. 
> 5 Peters Canyon Rd Suite 250 
> Irvine CA 92606 
> Office 714.918.1310| Fax 714.918.1325 
> pbr...@medata.com | www.medata.com 
> 
> ___
> 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/5UDCY3OHJBL7VEYUWHAZQEQHFZ6SOIK6/
>  
> 
> ___
> 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/PQAYC3XPOYZG4G26PIETNBPAUDRET4VO/

___
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/CKYIN6QIU3VBST7ISF5DDBZO5L5W76HN/


[ovirt-users] Re: where is error log for OVA import

2020-07-28 Thread Philip Brown
Thanks for the reply.

I did manage to dig that one up. but.. doesnt seem to have any specifics either 
:(
It just contains an xml description of the OVA info.
Zero status output good or bad.

If it makes any difference, the OVA was generated by VMware 4.x


Last few lines in the logfile are as follows

^M
^M
  A human-readable annotation^M
  racktables VM^M
^M
  ^M
   }


and thats all!




- Original Message -
From: "Jayme" 
To: "Philip Brown" 
Cc: "users" 
Sent: Tuesday, July 28, 2020 4:20:05 PM
Subject: Re: [ovirt-users] where is error log for OVA import

Check engine.log in /var/log/ovirt-engine on the engine sever/vm

On Tue, Jul 28, 2020 at 7:16 PM Philip Brown  wrote:

> I just tried to import an OVA file.
> The GUI status mentions that things seem to go along fairly happily..
> it mentions that it creates a disk for it
> but then eventually just says
>
> "failed to import VM x into datacenter Default"
> with zero explanation.
>
> Isnt there a log file or something I can check, somewhere, to find out
> what the problem is?
>
>
> --
> Philip Brown| Sr. Linux System Administrator | Medata, Inc.
> 5 Peters Canyon Rd Suite 250
> Irvine CA 92606
> Office 714.918.1310| Fax 714.918.1325
> pbr...@medata.com| www.medata.com
> ___
> 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/5UDCY3OHJBL7VEYUWHAZQEQHFZ6SOIK6/
>
___
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/FCSNZQ73M46SUV3PT73FCKPWG27R2YDO/


[ovirt-users] Re: where is error log for OVA import

2020-07-28 Thread Jayme
Check engine.log in /var/log/ovirt-engine on the engine sever/vm

On Tue, Jul 28, 2020 at 7:16 PM Philip Brown  wrote:

> I just tried to import an OVA file.
> The GUI status mentions that things seem to go along fairly happily..
> it mentions that it creates a disk for it
> but then eventually just says
>
> "failed to import VM x into datacenter Default"
> with zero explanation.
>
> Isnt there a log file or something I can check, somewhere, to find out
> what the problem is?
>
>
> --
> Philip Brown| Sr. Linux System Administrator | Medata, Inc.
> 5 Peters Canyon Rd Suite 250
> Irvine CA 92606
> Office 714.918.1310| Fax 714.918.1325
> pbr...@medata.com| www.medata.com
> ___
> 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/5UDCY3OHJBL7VEYUWHAZQEQHFZ6SOIK6/
>
___
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/PQAYC3XPOYZG4G26PIETNBPAUDRET4VO/