Bug 1176485

Summary: virt-who can't report libvirt guests's attributes and state
Product: Red Hat Enterprise Linux 7 Reporter: Liushihui <shihliu>
Component: virt-whoAssignee: Radek Novacek <rnovacek>
Status: CLOSED ERRATA QA Contact: Li Bin Liu <liliu>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.1CC: gxing, liliu, ovasik, rbalakri, rnovacek, sgao
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-who-0.14-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1142884 Environment:
Last Closed: 2015-11-19 11:55:57 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:
Bug Depends On: 1142884    
Bug Blocks: 1205796, 1247260    

Comment 3 Radek Novacek 2015-04-14 05:58:30 UTC
This bug is resolved upstream and will be fixed by virt-who rebase (bug 1200374).

Comment 4 Radek Novacek 2015-06-23 13:32:39 UTC
Fixed in virt-who-0.14-1.el7.

Comment 6 Liushihui 2015-07-16 02:16:59 UTC
verified it on virt-who-0.14-1.el7.noarch since virt-who can report guest's attribute and state successfully. Therefore, verify it.

Verified version:
virt-who-0.14-1.el7.noarch
subscription-manager-1.15.5-1.el7.x86_64
python-rhsm-1.15.3-1.el7.x86_64

Verified process:
1. Register to Satellite, configure virt-who run at kvm mode.
2. Restart virt-who service and track virt-who's log.
# systemctl restart virt-who
# tail -f /var/log/rhsm/rhsm.log
2015-07-16 10:15:39,270 [DEBUG]  @libvirtd.py:219 - Libvirt domains found: ['0d6a7081-5175-4fd5-98ae-1ddb9c7a9c65']
2015-07-16 10:15:44,706 [INFO]  @virtwho.py:130 - virt-who guest list update successful
2015-07-16 10:15:44,707 [DEBUG]  @subscriptionmanager.py:111 - Authenticating with certificate: /etc/pki/consumer/cert.pem
2015-07-16 10:15:47,748 [INFO]  @subscriptionmanager.py:135 - Sending domain info: [
    {
        "attributes": {
            "active": 0, 
            "hypervisorType": "QEMU", 
            "virtWhoType": "libvirt"
        }, 
        "guestId": "0d6a7081-5175-4fd5-98ae-1ddb9c7a9c65", 
        "state": 5
    }
]

Result: virt-who can report guest's attribute and states successfully.

Comment 7 errata-xmlrpc 2015-11-19 11:55:57 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://rhn.redhat.com/errata/RHBA-2015-2370.html