Hide Forgot
Created attachment 565160 [details] bad cert Description of problem: Version-Release number of selected component (if applicable): 0.2.1-1.git.9.696125a.el6 How reproducible: Steps to Reproduce: 1. Create a custom prov/prod/repo. Repo url: http://inecas.fedorapeople.org/fakerepos/cds/content/safari/1.0/x86_64/rpms/ 2. register a rhel 5.8 system with subscription-manager-0.98.14-1.el5 3. subscribe to the product Actual results: RHSM stderr: ''EntitlementCertificate' object has no attribute 'expired' Expected results: RHSM accepts certificate. see attachment for rhsm's copy of the cert. Additional info: I'm not sure whose fault this error is. Katello? Candlepin? RHSM? I think RHSM is safe since we have to support this version of it. We probably have to give it a cert it likes.
Same test works on rhel61 subscription-manager-0.96.17-1.el6.x86_64
my guess is we need to poplate the products with dummy data.
Was able to reproduce on python-rhsm-0.98.8-1.el5, subscription-manager-0.98.14-1.el5 with python-rhsm-0.98.9-1.el5 doesn't seem to have this issue.
Caused by too-old version of python-rhsm. I am not sure exactly how that happened, dgoodwin mentioned they sometimes forget to update the specfile, and this system is a beta install of rhel58. We're pretty confident rhel58 GA machines will not have this problem. Ran yum install python-rhsm to get latest, will reopen if i see again.
getting rid of 6.0.0 version since that doesn't exist