Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Prerequisites Properly configured candlepin Host subscription manager rpm version 26 on rhel6 Host Steps to Repro : 1)Login to Rhel6 client with valid credentials. 2)Installed subscription manager RPM and edited rhsm.conf for candlepin Host 3)Subscribe for product using poolid using following command subscription-manager-cli subscribe –pool=1 4)Host has been subscribed for product pool 1 5)execute following command on host console to find consumed list subscription-manager-cli list –consumed Expected Result : At step 5 command should display list of installed entitlement list . Actual Result : At step 5 command displays following traceback error [root@sachrhel6 product]# subscription-manager-cli list --consumed Traceback (most recent call last): File "/usr/sbin/subscription-manager-cli", line 69, in <module> sys.exit(abs(main() or 0)) File "/usr/sbin/subscription-manager-cli", line 60, in main return managercli.CLI().main() File "/usr/share/rhsm/managercli.py", line 357, in main cmd.main() File "/usr/share/rhsm/managercli.py", line 76, in main self._do_command() File "/usr/share/rhsm/managercli.py", line 276, in _do_command cpents = managerlib.getConsumedProductEntitlements() File "/usr/share/rhsm/managerlib.py", line 73, in getConsumedProductEntitlements data = (cert.getProduct().getName(), cert.valid(), cert.validRange().begin(), cert.validRange().end()) AttributeError: 'NoneType' object has no attribute 'getName' [root@sachrhel6 product]#
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion.
*** Bug 577948 has been marked as a duplicate of this bug. ***
As per Above Pradeep Kilambi comment i am reopening it for candlepin server
should work on both standalone and it setups now.
Verified with following setup server : statler.usersys.redhat.com,cert-fte-candelpin.devlab.redhat.com client : Rhel6 SM version : 60 Working fine No trace back has been recorded on console or rhsm.log using repro steps Moving defect status from MODIFIED to VERIFIED
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING