Bug 1248360
Summary: | Loss guest's attribute of "hypervisorType" in esx/rhevm/hyperv mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Liushihui <shihliu> |
Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
Status: | CLOSED ERRATA | QA Contact: | xingge <gxing> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | gxing, hsun, ldai, ovasik, sgao, shihliu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-who-0.14-4.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 11:57:37 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
2015-07-30 07:34:21 UTC
hypervisorType is currently used only in libvirt mode. It merely reports what is returned from this libvirt call: http://libvirt.org/html/libvirt-libvirt-host.html#virConnectGetType So it's "QEMU" in most cases. What value should it have in other modes? There is 6 types of hypervisor_type property defined in OpenStack docs [0]: xen, qemu, lxc, uml, vmware, or hyperv. virt-who should use them too. [0] http://docs.openstack.org/cli-reference/content/chapter_cli-glance-property.html Fixed in virt-who-0.14-4.el7. Verified it on virt-who-0.14-4.el7.noarch since virt-who can report guest's hypervisorType in vdsm,rhvm,esx and hyperv mode.Therefore, verify it. Verified version virt-who-0.14-4.el7.noarch subscription-manager-1.15.9-6.el7.x86_64 python-rhsm-1.15.4-2.el7.x86_64 Satellite6.1.0-20150820.0 Verified process: 1.Register system to satellite 2.Configure virt-who run at esx mode 3.Restart virt-who service and check virt-who log, it show guest's hypervisorType is "vmware" { "guestId": "564d1d17-06d9-46c3-beea-fed130d564e7", "state": 5, "attributes": { "active": 0, "virtWhoType": "esx", "hypervisorType": "vmware" =================It has been added } } 4. Configure virt-who run at hyperv mode,Restart virt-who service and check virt-who log, it show guest's hypervisorType is "hyperv" { "guestId": "CFC6D39C-A9B5-9F44-AB2F-BCF5C6F8EC8F", "state": 1, "attributes": { "active": 1, "virtWhoType": "hyperv", "hypervisorType": "hyperv"=================It has been added } } 5. Configure virt-who run at vdsm mode,Restart virt-who service and check virt-who log, it show guest's hypervisorType is "qemu" { "guestId": "4f1f93b8-c4c5-424d-89d8-1822367d2274", "state": 1, "attributes": { "active": 1, "virtWhoType": "vdsm", "hypervisorType": "qemu"=================It has been added } } 6. Configure virt-who run at rhevm mode, Restart virt-who service and check virt-who log, it show guest's hypervisorType is "qemu" "88d979a3-34f8-4cca-84e8-df0988257ba6": [ { "guestId": "4f1f93b8-c4c5-424d-89d8-1822367d2274", "state": 1, "attributes": { "active": 1, "virtWhoType": "rhevm", "hypervisorType": "qemu"=================It has been added } } ] Result: virt-who can report guest's hypervisorType in vdsm,rhvm,esx and hyperv mode separately. 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 |