Bug 1318887
Summary: | "Starting virt-who" status is wrong when password can't be decrypted | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Liushihui <shihliu> |
Component: | virt-who | Assignee: | Chris Snyder <csnyder> |
Status: | CLOSED ERRATA | QA Contact: | Eko <hsun> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.8 | CC: | ldai, rbalakri, sgao, thozza, xdmoon |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-who-0.18-1.el6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-21 10:29:12 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1269194, 1355878, 1385841 |
Description
Liushihui
2016-03-18 03:41:00 UTC
It has the same problem when the encrypted_password is null,restart virt-who service, it also can't display correct status in terminal side. [root@hp-z220-10 virt-who.d]# service virt-who restart Stopping virt-who: [FAILED] Starting virt-who: [ OK ] [root@hp-z220-10 virt-who.d]# tail -f /var/log/rhsm/rhsm.log 2016-04-06 14:17:59,442 [virtwho.init INFO] MainProcess(9784):MainThread @virtwho.py:parseOptions:637 - Using reporter_id='hp-z220-10.qe.lab.eng.nay.redhat.com' 2016-04-06 14:17:59,445 [virtwho.init DEBUG] MainProcess(9784):MainThread @virtwho.py:__init__:125 - Using config named 'test-hyperv1' 2016-04-06 14:17:59,445 [virtwho.init INFO] MainProcess(9784):MainThread @virtwho.py:main:729 - Using configuration "test-hyperv1" ("hyperv" mode) 2016-04-06 14:17:59,458 [virtwho.main DEBUG] MainProcess(9786):MainThread @virtwho.py:run:231 - Starting infinite loop with 60 seconds interval 2016-04-06 14:17:59,571 [virtwho.main ERROR] MainProcess(9786):MainThread @virtwho.py:run:244 - Unable to use configuration "test-hyperv1": string index out of range 2016-04-06 14:17:59,571 [virtwho.main ERROR] MainProcess(9786):MainThread @virtwho.py:run:255 - No suitable virt backend found 2016-04-06 14:17:59,571 [virtwho.main DEBUG] MainProcess(9786):MainThread @virtwho.py:<module>:824 - virt-who terminated 2016-04-06 14:17:59,572 [virtwho.main DEBUG] MainProcess(9786):MainThread @virtwho.py:terminate:359 - virt-who is shutting down Fixed upstream: https://github.com/virt-who/virt-who/commit/e754c17a1cd6d9d25c856f0af5a19c2cb62628e2 Fixed in virt-who-0.18-1.el6. verified in virt-who-0.18-1.el6 with error encrypted_password, it will show: 2016-12-06 00:48:21,298 [virtwho.init ERROR] MainProcess(3618):MainThread @main.py:main:145 - virt-who can't be started: Option "encrypted_password" in config named "test-esx" can't be decrypted, possibly corrupted 2016-12-06 00:48:21,298 [virtwho.init DEBUG] MainProcess(3618):MainThread @executor.py:terminate:308 - virt-who is shutting down 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-2017-0675.html |