Bug 870335

Summary: When execute virt-who with -d option in a registered host via CLI, there is no debug info display
Product: Red Hat Enterprise Linux 6 Reporter: chenchao <chchen>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, bsarathy, cshao, dyasny, gouyang, hadong, huiwang, jboggs, khong, leiwang, mburns, ovirt-maint, thildred, ycui
Target Milestone: rcKeywords: Reopened
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt-who
Fixed In Version: ovirt-node-2.5.0-12.el6 Doc Type: Bug Fix
Doc Text:
Previously, the version of virt-who included with the Hypervisor did not honour the parameters passed to it when run from the command line. Now, virt-who honours parameters passed to it from the command line. Passing virt-who the -d parameter, for example, causes debugging information to be written to the log file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-28 16:43:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
rhsm.log file none

Description chenchao 2012-10-26 08:03:06 UTC
Description of problem:
When execute virt-who with -d option in a registered host via CLI, there is no debug info display

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

How reproducible:

Steps to Reproduce:
1. install rhev-hypervisor6-6.3-20121018.0.el6_3 on one machine with latest virt-who pkg.
2. the hosted has been regisered to SAM
3. some guests have been installed in the host .
4. Stop virt-who service
     # service virt-who stop
5. Run cmd virt-who with o and d option in the terminal of the host
     # virt-who -o -d
     note: the "-d" option is to print the debug log, otherwise there's nothing printed in terminal.
Actual results:
there is nothing output one the terminal.

Expected results:
there is debug message output one the terminal.

Additional info:

Comment 1 chenchao 2012-10-26 08:04:19 UTC
Created attachment 633713 [details]
rhsm.log file

Comment 5 Radek Novacek 2012-10-29 06:38:01 UTC
Isn't this the same problem like in the bug 864819?

Comment 7 Mike Burns 2012-10-29 12:22:41 UTC
Oh,.  bug was initially filed against 5.x and I missed the move to 6.x.  Yes, this can be fixed with an equivalent patch on 6.x.

Comment 8 Mike Burns 2012-12-13 15:22:08 UTC
Patch posted upstream:


Comment 15 errata-xmlrpc 2013-02-28 16:43:53 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.