Bug 1359640
Summary: | Can't print host's name and facts when run "virt-who -p" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Liushihui <shihliu> |
Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | ldai, ovasik, sgao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-who-0.17-7.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 05:10:07 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-07-25 08:04:00 UTC
This issue is now addressed upstream. https://github.com/virt-who/virt-who/commit/d317270b66948d9463af7ee4d3ca0459b7712474 Verified on virt-who-0.17-7.el7.noarch since virt-who can print host's name and facts. Therefore, verify it. Verified version: Verified process: 1. Register system to satellite6.2 2. Run virt-who with CLI to print rhevm's host/guest mapping info [root@hp-dl560egen8-01 virt-who.d]# virt-who --rhevm --rhevm-owner=ACME_Corporation --rhevm-env=Library --rhevm-server=https://ibm-x3690x5-01.rhts.eng.bos.redhat.com:443/ovirt-engine/ --rhevm-username=admin@internal --rhevm-password=redhat -p -d >/root/aaa 2016-08-02 22:03:28,776 [virtwho.init INFO] MainProcess(74037):MainThread @main.py:main:160 - Using configuration "env/cmdline" ("rhevm" mode) 2016-08-02 22:03:28,776 [virtwho.init INFO] MainProcess(74037):MainThread @main.py:main:162 - Using reporter_id='hp-dl560egen8-01.khw.lab.eng.bos.redhat.com-802e3ee1794e4d728db29e3f9fbae108' 2016-08-02 22:03:28,819 [virtwho.env_cmdline DEBUG] RhevM-1(74043):MainThread @virt.py:run:364 - Virt backend 'env/cmdline' started 2016-08-02 22:03:29,332 [virtwho.env_cmdline DEBUG] RhevM-1(74043):MainThread @virt.py:enqueue:357 - Report for config "env/cmdline" gathered, putting to queue for sending 2016-08-02 22:03:29,333 [virtwho.env_cmdline DEBUG] RhevM-1(74043):MainThread @virt.py:run:385 - Virt backend 'env/cmdline' stopped after sending one report 2016-08-02 22:03:29,337 [virtwho.main DEBUG] MainProcess(74037):MainThread @main.py:_main:226 - Associations found: { "hypervisors": [ { "facts": { "cpu.cpu_socket(s)": "2", "hypervisor.type": "qemu" }, "guests": [ { "attributes": { "active": 1, "virtWhoType": "rhevm" }, "guestId": "4c4f9cbd-d811-4061-9aeb-050b774b870a", "state": 1 } ], "name": "dell-pe1950-06.rhts.englab.brq.redhat.com", "uuid": "abd3f71b-a1f6-4538-9805-b5047d0978fd" }, { "facts": { "cpu.cpu_socket(s)": "4", "hypervisor.type": "qemu" }, "guests": [ { "attributes": { "active": 1, "virtWhoType": "rhevm" }, "guestId": "530c34dc-2086-4f1d-a509-c417950bd0cb", "state": 1 } ], "name": "hp-dl560egen8-01.khw.lab.eng.bos.redhat.com", "uuid": "9a722f5e-1411-4a1d-8e75-17e7dad3958a" } ] } Result: It not only print hypervisors' uuid and guests but also print its name and facts. 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 |