Bug 1463222

Summary: It is not possible to get debug logs from v2v triggered from UI
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: libguestfsAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.7CC: mavital, mkalinin, rhodain, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 14:58:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Hodain 2017-06-20 11:59:25 UTC
Description of problem:
There is not way to trigger DEBUG logs for v2v when the triggered from webadmin

Version-Release number of selected component (if applicable):
RHVM 4.1

How reproducible:
100%

Steps to Reproduce:
1.Run import from regular kvm or VMWare

Actual results:
No debug logs

Expected results:
debug logs forwarded to a log file on a hypervisor

Additional info:
We need the ability to trigger the same debug logging as when using directly v2v.

export LIBGUESTFS_TRACE=1
export LIBGUESTFS_DEBUG=1

virt-v2v ...

Comment 2 Tomas Jelinek 2017-06-21 07:12:08 UTC
You mean [1] is not working? The logs should be in /var/log/vdsm/import

Or did you have something else in mind?

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1350465

Comment 4 Roman Hodain 2017-06-21 14:58:36 UTC
(In reply to Tomas Jelinek from comment #2)
> You mean [1] is not working? The logs should be in /var/log/vdsm/import
> 
> Or did you have something else in mind?
> 
> [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1350465

Yes it is there, my bad. I missed that RFE.

Comment 5 Marina Kalinin 2017-06-22 05:41:30 UTC
(In reply to Roman Hodain from comment #4)
> (In reply to Tomas Jelinek from comment #2)
> > You mean [1] is not working? The logs should be in /var/log/vdsm/import
> > 
> > Or did you have something else in mind?
> > 
> > [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1350465
> 
> Yes it is there, my bad. I missed that RFE.

Roman, can you please create a kcs?
If no one in the team new about it, then probably having a kcs would help spreading the knowledge better. Thanks!