Bug 1822029
| Summary: | 'Restlib' object has no attribute '_get_cert_key_list' when registration | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | qianzhan | ||||||
| Component: | subscription-manager | Assignee: | candlepin-bugs | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 7.9 | CC: | redakkan | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-04-08 06:41:27 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
qianzhan
2020-04-08 06:16:44 UTC
[root@hpe-dl380pgen8-02-vm-5 ~]# cat /var/log/rhsm/rhsm.log
2020-04-08 02:11:03,165 [INFO] subscription-manager:20119:MainThread @connection.py:919 - Connection built: host=dell-per810-03.dell2.lab.eng.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-04-08 02:11:03,178 [INFO] subscription-manager:20119:MainThread @connection.py:919 - Connection built: host=dell-per810-03.dell2.lab.eng.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-04-08 02:11:03,178 [INFO] subscription-manager:20119:MainThread @connection.py:919 - Connection built: host=dell-per810-03.dell2.lab.eng.bos.redhat.com port=443 handler=/rhsm auth=none
2020-04-08 02:11:06,321 [INFO] subscription-manager:20119:MainThread @connection.py:919 - Connection built: host=dell-per810-03.dell2.lab.eng.bos.redhat.com port=443 handler=/rhsm auth=basic username=admin
2020-04-08 02:11:06,322 [ERROR] subscription-manager:20119:MainThread @managercli.py:215 - Error during registration: 'Restlib' object has no attribute '_get_cert_key_list'
2020-04-08 02:11:06,322 [ERROR] subscription-manager:20119:MainThread @managercli.py:216 - 'Restlib' object has no attribute '_get_cert_key_list'
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1365, in _do_command
owner_key = self._determine_owner_key(admin_cp)
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1513, in _determine_owner_key
owners = cp.getOwnerList(self.username)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 1281, in getOwnerList
return self.conn.request_get(method)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 740, in request_get
return self._request("GET", method, headers=headers)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 766, in _request
info=info, headers=headers)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 574, in _request
cert_key_pairs = self._get_cert_key_list()
AttributeError: 'Restlib' object has no attribute '_get_cert_key_list'
[root@hpe-dl380pgen8-02-vm-5 ~]#
This bug also happens when: 1) registering by cockpit. 2) launching subscription-manager-gui. Please refer attachment 'AttributeError-when-launching-subscription-manager-gui.png' 3) registering by subscription-manager-gui. Please refer attachment 'AttributeError-when-registering-by-subscription-manager-gui.png'. Created attachment 1677139 [details]
AttributeError-when-launching-subscription-manager-gui.png
Created attachment 1677140 [details]
AttributeError-when-registering-by-subscription-manager-gui.png
*** This bug has been marked as a duplicate of bug 1821830 *** |