Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1511300 - virt-who should show some remind info when with wrong rhsm_username/rhsm_password
Summary: virt-who should show some remind info when with wrong rhsm_username/rhsm_pass...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.5
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Eko
URL:
Whiteboard:
Depends On: 1406642
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-09 05:57 UTC by Liushihui
Modified: 2018-11-02 01:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1406642
Environment:
Last Closed:


Attachments (Terms of Use)

Comment 1 Liushihui 2017-11-09 06:00:31 UTC
It also exist on virt-who-0.21.0-1.el7.noarch, when configure wrong rhsm_password and rhsm_encrypted_password in /etc/virt-who.d/xxx.conf, restart virt-who, it will show error info as the following:
................
2017-11-09 01:48:56,559 [rhsm.connection INFO] MainProcess(9644):Thread-3 @connection.py:_request:556 - Response: status=500, request="POST /rhsm/hypervisors?owner=Default_Organization&env=Library"
2017-11-09 01:48:56,560 [virtwho.destination_3657286622765910620 ERROR] MainProcess(9644):Thread-3 @virt.py:_send_data:640 - Error during hypervisor checkin: Communication with subscription manager failed with code 500: 
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/virtwho/virt/virt.py", line 623, in _send_data
    options=self.options)
  File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 278, in hypervisorCheckIn
    raise ManagerError("Communication with subscription manager failed with code %d: %s" % (e.code, str(e)))
ManagerError: Communication with subscription manager failed with code 500:


Note You need to log in before you can comment on or make changes to this bug.