Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1158803 - Can't display the running mode in the virt-who log
Can't display the running mode in the virt-who log
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who (Show other bugs)
7.1
x86_64 All
unspecified Severity medium
: rc
: ---
Assigned To: Radek Novacek
Li Bin Liu
:
Depends On: 1135408
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-30 05:33 EDT by Liushihui
Modified: 2016-11-30 19:33 EST (History)
6 users (show)

See Also:
Fixed In Version: virt-who-0.11-3.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1135408
Environment:
Last Closed: 2015-03-05 05:23:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0430 normal SHIPPED_LIVE Moderate: virt-who security, bug fix, and enhancement update 2015-03-05 09:52:46 EST

  None (edit)
Comment 1 Liushihui 2014-10-30 05:35:28 EDT
On the rhel7.1, the version of component should be as the following:

subscription-manager-1.13.5-1.el7.x86_64
python-rhsm-1.13.5-1.el7.x86_64
virt-who-0.11-2.el7.noarch
katello-headpin-1.4.3.28-1.el6sam_splice.noarch
candlepin-0.9.6.5-1.el6sam.noarch
Comment 3 Radek Novacek 2014-10-30 08:14:55 EDT
It's a little bit more complicated now, virt-who can now has more than one backend enabled.

I would suggest following info output for each config:

Using configuration "<name>" ("<mode>" mode).

For example:
Using configuration "esx test" ("esx" mode).
Using configuration "hyperv test" ("hyperv" mode).
Using commandline or sysconfig configuration ("libvirt" mode).

Is this agreeable? Suggestions of better format welcomed :)
Comment 4 Liushihui 2014-10-31 03:06:07 EDT
I agree with your idea, I think it's clear. Thanks.
Comment 5 Radek Novacek 2014-11-05 06:56:12 EST
Fixed in virt-who-0.11-3.el7.
Comment 7 Liushihui 2014-11-12 04:19:47 EST
Verified it on virt-who-0.11-3.el7.noarch

Verified process
1. Register system to SAM server
2. Configure virt-who run at libvirt mode
3. Check virt-who 's log , it will show virt-who run at (libvirt mode):
2014-11-12 16:45:23,914 [INFO]  @virtwho.py:453 - No configurations found, using libvirt as backend
2014-11-12 16:45:23,914 [INFO]  @virtwho.py:460 - Using configuration "virt-who" ("libvirt" mode)
2014-11-12 16:45:23,914 [DEBUG]  @virtwho.py:170 - Starting infinite loop with 5 seconds interval
2014-11-12 16:45:23,950 [DEBUG]  @libvirtd.py:95 - Starting libvirt monitoring event loop
2014-11-12 16:45:23,951 [INFO]  @libvirtd.py:187 - Using libvirt url: ""
2014-11-12 16:45:24,066 [INFO]  @subscriptionmanager.py:109 - Sending list of uuids: []
4.Configure virt-who run at esx mode.
5.Check the virt-who's log, it will show virt-who run at (esx mode):
2014-11-12 16:46:54,386 [INFO]  @virtwho.py:458 - Using commandline or sysconfig configuration ("esx" mode)
2014-11-12 16:46:54,387 [DEBUG]  @virtwho.py:170 - Starting infinite loop with 5 seconds interval

As virt-who can show the run mode in the log, verify it in this version.
Comment 9 errata-xmlrpc 2015-03-05 05:23:29 EST
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://rhn.redhat.com/errata/RHSA-2015-0430.html

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