Bug 1294746
Summary: | Disabled debug option for virt-who local libvirt mode, the mapping json info still can be showed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Eko <hsun> |
Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8 | CC: | ovasik, rbalakri, sgao, shihliu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-who-0.16-2.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-10 23:57:05 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
Eko
2015-12-30 05:52:47 UTC
Fixed in virt-who-0.16-2.el6. Verified it on virt-who-0.16-3.el6.noarch since debug info won't exit when disabled debug option. Verified version: virt-who-0.16-3.el6.noarch subscription-manager-1.16.8-1.el6.x86_64 python-rhsm-1.16.6-1.el6.x86_64 Verified processes: 1. Disabled debug option, run virt-who for local libvirt mode, virt-who won't send the Json mapping info. [root@intel-canoepass-10 ~]# virt-who -o 2016-02-04 02:47:53,742 INFO: Using reporter_id='intel-canoepass-10.lab.bos.redhat.com' 2016-02-04 02:47:53,747 INFO: No configurations found, using libvirt as backend 2016-02-04 02:47:53,748 INFO: Using configuration "env/cmdline" ("libvirt" mode) 2016-02-04 02:47:53,915 INFO: Using libvirt url: "" 2016-02-04 02:47:54,211 INFO: Sending update in guests lists for config "env/cmdline": 1 guests found 2. Diable debug option in /etc/sysconfig/virt-who, restart virt-who service, virt-who won't send the Json mapping info. [root@intel-canoepass-10 ~]# cat /etc/sysconfig/virt-who | grep -v ^# | grep -v ^$ VIRTWHO_DEBUG=0 [root@intel-canoepass-10 ~]# service virt-who restart Stopping virt-who: [FAILED] Starting virt-who: [ OK ] [root@intel-canoepass-10 ~]# tail -f /var/log/rhsm/rhsm.log 2016-02-04 02:48:08,664 [INFO] @virtwho.py:630 - Using reporter_id='intel-canoepass-10.lab.bos.redhat.com' 2016-02-04 02:48:08,667 [INFO] @virtwho.py:714 - No configurations found, using libvirt as backend 2016-02-04 02:48:08,668 [INFO] @virtwho.py:721 - Using configuration "env/cmdline" ("libvirt" mode) 2016-02-04 02:48:08,849 [INFO] @libvirtd.py:156 - Using libvirt url: "" 2016-02-04 02:48:09,154 [INFO] @subscriptionmanager.py:147 - Sending update in guests lists for config "env/cmdline": 1 guests found Result: Virt-who won't send json mapping info when disable debug info.Therefore, verified it. 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/RHEA-2016-0859.html |