Bug 1366999
| Summary: | Generate redundant remind info when virt-who work at xen mode | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Liushihui <shihliu> |
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
| Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | ldai, ovasik, sgao |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-who-0.17-10.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:10:30 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
Liushihui
2016-08-15 08:45:34 UTC
The fix for this issue is applied upstream: https://github.com/virt-who/virt-who/commit/920eb8cf447b704439b056766c7aee4e5ced683a Fixed in virt-who-0.17-10.el7. Verified it on virt-who-0.17-10.el7 since virt-who won't generate redundant info in the log. Therefore, verify it.
Verified version:
virt-who-0.17-10.el7.noarch
subscription-manager-1.17.10-1.el7.x86_64
python-rhsm-1.17.6-1.el7.x86_64
Verified process:
1. Register system to satellite5.7.
2. Configure virt-who run at xen mode and restart virt-who service.
[root@ibm-hs21-12 ~]# cat /etc/virt-who.d/xen
[test-xen]
type=xen
server=10.73.5.232
username=root
password=Welcome1
owner=ACME_Corporation
env=Library
[root@ibm-hs21-12 ~]# cat /etc/sysconfig/virt-who | grep -v ^# | grep -v ^$
VIRTWHO_DEBUG=1
VIRTWHO_INTERVAL=120
[root@ibm-hs21-12 ~]# service virt-who restart
3. Make sure it hasn't any updating in xenserver. After refresh interval(120s), check virt-who's log
[root@ibm-hs21-12 ~]# tail -f /var/log/rhsm/rhsm.log
2016-08-30 22:53:51,581 [virtwho.main INFO] MainProcess(31428):MainThread @subscriptionmanager.py:hypervisorCheckIn:195 - Sending update in hosts-to-guests mapping for config "env/cmdline": 2 hypervisors and 0 guests found
2016-08-30 22:53:51,581 [virtwho.main DEBUG] MainProcess(31428):MainThread @subscriptionmanager.py:hypervisorCheckIn:196 - Host-to-guest mapping: {
"17393006-db29-41c3-8c6e-9b221c2d33e1": [],
"14beb102-a9e3-41b6-84bb-338b1511e87d": []
}
2016-08-30 22:53:56,239 [virtwho.main DEBUG] MainProcess(31428):MainThread @executor.py:send_report:101 - Report for config "env/cmdline" sent
2016-08-30 22:54:56,255 [virtwho.main INFO] MainProcess(31428):MainThread @executor.py:run:250 - Report for config "env/cmdline" hasn't changed, not sending
2016-08-30 22:54:56,254 [virtwho.env_cmdline DEBUG] Xen-3(31630):MainThread @virt.py:enqueue:357 - Report for config "env/cmdline" gathered, putting to queue for sending
Result:
Virt-who won't generate redundant info in the log
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/RHBA-2016-2387.html |