Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Something bad was merged in CI build https://rhsm-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/QE-RPMs/job/rhsm_master.el7/489/ which is causing a deep regression. All subscription-manager modules are failing with this error.
Version-Release number of selected component (if applicable):
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.17.8-1.git.24.240a5de.el7.x86_64
How reproducible:
Steps to Reproduce:
[root@jsefler-rhel7 ~]# subscription-manager version
'Identity' object has no attribute 'keypath'
[root@jsefler-rhel7 ~]# tail -f /var/log/rhsm/rhsm.log
2016-07-07 12:06:57,402 [ERROR] subscription-manager:7796 @managercli.py:174 - exception caught in subscription-manager
2016-07-07 12:06:57,402 [ERROR] subscription-manager:7796 @managercli.py:175 - 'Identity' object has no attribute 'keypath'
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 81, in <module>
sys.exit(abs(main() or 0))
File "/usr/sbin/subscription-manager", line 72, in main
return managercli.ManagerCLI().main()
File "/usr/lib/python2.7/site-packages/subscription_manager/managercli.py", line 2731, in main
managerlib.check_identity_cert_perms()
File "/usr/lib/python2.7/site-packages/subscription_manager/managerlib.py", line 811, in check_identity_cert_perms
certs = [ident.keypath(), ident.certpath()]
AttributeError: 'Identity' object has no attribute 'keypath'
Actual results:
above
Expected results:
no AttributeError
Additional info:
reproducer :
[root@dhcp35-45 home]# subscription-manager version
'Identity' object has no attribute 'keypath'
---------------------------------------------------------------
verification:
[root@dhcp35-45 ~]# subscription-manager register --force
The system with UUID 95287ecd-7e04-43b5-b6a3-41b73654755b has been unregistered
Registering to: subscription.rhn.stage.redhat.com:443/subscription
Username: qa
Password:
The system has been registered with ID: d31bcd77-5067-4b9f-9516-6199e030d11c
[root@dhcp35-45 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.9-1.el7
python-rhsm: 1.17.5-1.git.0.265c7c6.el7
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/RHSA-2016-2592.html