Bug 1227621
Summary: | Log file saved on conversion server even "Enable server-side debugging" is not ticked | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | tingting zheng <tzheng> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | juzhou, mzhan, ptoscano, tzheng, xiaodwan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | P2V | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-06 08:51:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
tingting zheng
2015-06-03 07:19:50 UTC
I suspect there is a bit of confusion here, and this is NOTABUG. When you tick the box, it enables full debugging information (ie. 'virt-v2v -v -x'). If the box is NOT ticked, the log is still written, but it won't contain any debug information. In any case, I cannot reproduce this bug (upstream, but the relevant code hasn't changed for a year). With the box not ticked, I get a log file: $ ls -l total 20 -rw-r--r--. 1 root root 5 Sep 3 16:34 name -rw-r--r--. 1 root root 1122 Sep 3 16:34 physical.xml -rw-r--r--. 1 root root 2 Sep 3 16:35 status -rw-r--r--. 1 root root 29 Sep 3 16:34 time -rw-r--r--. 1 root root 458 Sep 3 16:35 virt-v2v-conversion-log.txt but the log file contains only the basic information and no debugging, which is the expected behaviour. $ cat virt-v2v-conversion-log.txt [ 0.0] Opening the source -i libvirtxml /tmp/virt-p2v-20150903-laoznquu/physical.xml [ 0.0] Creating an overlay to protect the source from being modified [ 0.5] Opening the overlay [ 74.7] Initializing the target -o local -os /var/tmp [ 74.7] Inspecting the overlay virt-v2v: error: no root device found in this operating system image. [...] (In reply to Richard W.M. Jones from comment #2) > I suspect there is a bit of confusion here, and this is NOTABUG. > > When you tick the box, it enables full debugging information > (ie. 'virt-v2v -v -x'). > > If the box is NOT ticked, the log is still written, but it won't > contain any debug information. > > In any case, I cannot reproduce this bug (upstream, but the relevant > code hasn't changed for a year). With the box not ticked, I get a > log file: > > $ ls -l > total 20 > -rw-r--r--. 1 root root 5 Sep 3 16:34 name > -rw-r--r--. 1 root root 1122 Sep 3 16:34 physical.xml > -rw-r--r--. 1 root root 2 Sep 3 16:35 status > -rw-r--r--. 1 root root 29 Sep 3 16:34 time > -rw-r--r--. 1 root root 458 Sep 3 16:35 virt-v2v-conversion-log.txt > > but the log file contains only the basic information and no > debugging, which is the expected behaviour. > > $ cat virt-v2v-conversion-log.txt > [ 0.0] Opening the source -i libvirtxml > /tmp/virt-p2v-20150903-laoznquu/physical.xml > [ 0.0] Creating an overlay to protect the source from being modified > [ 0.5] Opening the overlay > [ 74.7] Initializing the target -o local -os /var/tmp > [ 74.7] Inspecting the overlay > virt-v2v: error: no root device found in this operating system image. > [...] I just misunderstood that if tick the box,no log will be wrriten to p2v server. Pls close it as "NOTABUG". |