Bug 1253614
Summary: | virt-who offline function can't support local libvirt mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Eko <hsun> |
Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
Status: | CLOSED ERRATA | QA Contact: | xingge <gxing> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | dazhang, gxing, 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:58:14 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-08-14 09:19:25 UTC
Fixed in virt-who-0.14-4.el7. Verified it on virt-who-0.14-4.el7 since virt-who can support local libvirt mode when it run at offline 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 SAM-1.4.1-RHEL-6-20141113.0 Verified process: 1. Register system to SAM 2. Stop virt-who service. 3. Make virt-who run at off-line mode and monitor local host. [root@ibm-hs22-01 ~]# virt-who -p -d > /root/fake 2015-08-25 09:23:48,882 INFO: No configurations found, using libvirt as backend 2015-08-25 09:23:48,883 INFO: Using configuration "env/cmdline" ("libvirt" mode) 2015-08-25 09:23:48,933 INFO: Using libvirt url: "" 2015-08-25 09:23:48,939 DEBUG: Virtual machine found: 6.7_Server_x86_64: 26e37471-67da-43f4-a5d6-bafb8afe037d 2015-08-25 09:23:48,942 DEBUG: Virtual machine found: 6.5_Server_x86_64: fe8fbb34-fdf3-4f85-adee-d74f5a88cc82 2015-08-25 09:23:48,943 DEBUG: Virtual machine found: 7.1_Server_x86_64: 391246e5-bf3e-44f7-bc13-34308bc04f93 2015-08-25 09:23:48,943 DEBUG: Libvirt domains found: ['26e37471-67da-43f4-a5d6-bafb8afe037d', 'fe8fbb34-fdf3-4f85-adee-d74f5a88cc82', '391246e5-bf3e-44f7-bc13-34308bc04f93'] 2015-08-25 09:23:48,945 DEBUG: Association for config env/cmdline gathered 2015-08-25 09:23:48,946 DEBUG: Associations found: { "hypervisors": [ { "guests": [ { "guestId": "26e37471-67da-43f4-a5d6-bafb8afe037d", "state": 1, "attributes": { "active": 1, "virtWhoType": "libvirt", "hypervisorType": "QEMU" } }, { "guestId": "fe8fbb34-fdf3-4f85-adee-d74f5a88cc82", "state": 5, "attributes": { "active": 0, "virtWhoType": "libvirt", "hypervisorType": "QEMU" } }, { "guestId": "391246e5-bf3e-44f7-bc13-34308bc04f93", "state": 5, "attributes": { "active": 0, "virtWhoType": "libvirt", "hypervisorType": "QEMU" } } ] } ] } 4. create /etc/virt-who.d/virt.fake for offline mode # vi /etc/virt-who.d/virt.fake [fake-virt] type=fake file=/root/fake is_hypervisor=False 5. Check virt-who's log, virt-who can support local libvirt mode when it run at offline mode. 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 |