Bug 1337407
| Summary: | "Invalid xml file" show in log when failed to connect rhevm as "Authentication failed" | ||
|---|---|---|---|
| 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: | hsun, 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:00 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-19 07:03:42 UTC
Fixed upstream: https://github.com/virt-who/virt-who/commit/0fdb3b3a7d7bd0643ec6aae1f238e95a8069f734 Fixed in virt-who-0.17-2.el7. Verified it on virt-who-0.17-2.el7.noarch since virt-who will show some error info when failed to connect rhevm, it won't generate redundant invalid xml info in the log . 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, configure error password: [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=redhat1 =================>It's wrong owner=ACME_Corporation env=Library 3.Restart virt-who service and check virt-who's log. [root@ ~]# service virt-who restart && tail -f /var/log/rhsm/rhsm.log 2016-06-02 23:18:48,953 [virtwho.test-rhevm1 ERROR] RhevM-1(22476):MainThread @virt.py:run:374 - Virt backend 'test-rhevm1' fails with error: Unable to connect to RHEV-M server: 401 Client Error: Unauthorized Result: Virt-who show error info to remind "Unauthorized". 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 |