Bug 1821209 - Debug log message looks unprofessional
Summary: Debug log message looks unprofessional
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: V2V
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 2.4.0
Assignee: Fabien Dupont
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-06 10:02 UTC by Avital Pinnick
Modified: 2020-07-28 19:09 UTC (History)
6 users (show)

Fixed In Version: 2.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-28 19:09:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
v2v log (51.22 KB, application/octet-stream)
2020-04-06 10:12 UTC, Avital Pinnick
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq-v2v-conversion_host pull 68 0 None closed Fix unprofessional log message 2020-08-09 16:05:57 UTC
Red Hat Product Errata RHSA-2020:3194 0 None None None 2020-07-28 19:09:58 UTC

Description Avital Pinnick 2020-04-06 10:02:33 UTC
Description of problem:

Line in debug log of `kubevirt-v2v-conversion` pod looks unprofessional:

`2019-12-15 08:46:03,531 - root - DEBUG - Using direct backend. Hack, hack...`



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

Openshift 4.3: CNV 2.2.0-10

Comment 1 Avital Pinnick 2020-04-06 10:12:44 UTC
Created attachment 1676542 [details]
v2v log

Comment 2 Nelly Credi 2020-04-08 11:59:57 UTC
not a blocker
targeting to 2.4

Comment 7 Ilanit Stein 2020-07-07 08:25:04 UTC
@Brett, Sure once we have a working CNV environment.

Comment 8 Ilanit Stein 2020-07-08 04:04:22 UTC
Verified on CNV-2.4 latest as of July 07.

Now displayed message is only:
"root - DEBUG - Using direct backend."



$ oc logs  kubevirt-v2v-conversion-mini-rhel7-cloudinit-74fdq | less
...
{"v2v_log": "/tmp/v2v-import-123.log", "wrapper_log": "/tmp/v2v-import-123-wrapper.log", "state_file": "/tmp/v2v-import-123.state", "throttli
ng_file": "/tmp/v2v-import-123.throttle"}
2020-07-08 03:36:09,049 - root - DEBUG - Using direct backend.  <==========
2020-07-08 03:36:09,049 - root - INFO - Starting virt-v2v:
2020-07-08 03:36:09,050 - root - INFO - Executing command: ['-v', '-x', 'mini-rhel7-cloudinit', '--root', 'first', '--machine-
...

Comment 9 Ilanit Stein 2020-07-08 04:08:24 UTC
Verified on CNV-2.4 latest as of July 07.

Now displayed message is only:
"root - DEBUG - Using direct backend."



$ oc logs  kubevirt-v2v-conversion-mini-rhel7-cloudinit-74fdq | less
...
{"v2v_log": "/tmp/v2v-import-123.log", "wrapper_log": "/tmp/v2v-import-123-wrapper.log", "state_file": "/tmp/v2v-import-123.state", "throttli
ng_file": "/tmp/v2v-import-123.throttle"}
2020-07-08 03:36:09,049 - root - DEBUG - Using direct backend.  <==========
2020-07-08 03:36:09,049 - root - INFO - Starting virt-v2v:
2020-07-08 03:36:09,050 - root - INFO - Executing command: ['-v', '-x', 'mini-rhel7-cloudinit', '--root', 'first', '--machine-
...

Comment 12 errata-xmlrpc 2020-07-28 19:09:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3194


Note You need to log in before you can comment on or make changes to this bug.