Bug 1337757
| Summary: | Virtwho failed to connect rhevm4.0 as get wrong api url | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Liushihui <shihliu> |
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
| Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | Egarciad, hsun, ktordeur, ldai, ovasik, sgao, shihliu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | virt-who-0.17-2.el7 | Doc Type: | No Doc Update |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:09:03 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-05-20 02:26:15 UTC
Fixed upstream: https://github.com/virt-who/virt-who/commit/ae6f0020b4dddd671a31326bcae499b19f5c44b6 Fixed in virt-who-0.17-2.el7. Verified it on virt-who-0.17-2.el7.noarch since virt-who can get host/guest mapping info when monitor rhevm4.0. Therefore, verify it. Verified version: subscription-manager-1.17.6-1.el7.x86_64 python-rhsm-1.17.2-1.el7.x86_64 python-rhsm-1.17.2-1.el7.x86_64 Verified process: 1.Register system to satellite6.2 2.Make virt-who monitor rhevm4.0: [root@hp-dl2x170g6-01 virt-who.d]# cat /etc/virt-who.d/virt [test-rhevm1] type=rhevm server=https://hp-z220-13.qe.lab.eng.nay.redhat.com:443/ovirt-engine/ username=admin@internal password=redhat owner=ACME_Corporation env=Library 3. Restart virt-who and check virt-who's log 2016-06-02 22:59:10,135 [virtwho.init INFO] MainProcess(22160):MainThread @main.py:main:157 - Using configuration "test-rhevm1" ("rhevm" mode) ........ 2016-06-02 22:59:13,651 [virtwho.main DEBUG] MainProcess(22160):MainThread @subscriptionmanager.py:hypervisorCheckIn:195 - Host-to-guest mapping: { "617c7a4e-90af-4509-be53-febb4de61aa6": [ { "guestId": "f3b653d4-14c8-45bd-ab8a-89d55236752c", "state": 0, "attributes": { "active": 0, "virtWhoType": "rhevm" } }, { "guestId": "214f9ab8-d0b8-4202-99ad-6d36b78284ff", "state": 0, "attributes": { "active": 0, "virtWhoType": "rhevm" } }, { "guestId": "ed450c66-40c8-440e-88b1-acbc12b58b05", "state": 0, "attributes": { "active": 0, "virtWhoType": "rhevm" } } ], "55686905-75b2-4ff4-99e2-4029d19de409": [] } Result: Virt-who can get host/guest mapping info when monitor rhevm4.0 please ignore the verified version in comment 4, The correct verified version as the following: Verified version: rhevm4.0 virt-who-0.17-2.el7.noarch subscription-manager-1.17.6-1.el7.x86_64 python-rhsm-1.17.2-1.el7.x86_64 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 |