Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Prerequisites 1)Properly configured candlepin Host 2)client with subscription manager version 22 Steps to Repro : 1)Login to client host with valid credentials 2)edit /etc/rhsm/rhsm.conf for candlepin Host 3)Register the client with candlepin host 4)execute following command on client console for subscribe product. subscription-manager-cli subscribe –product=monitoring expected Result : Client should subscribe for product monitoring Actual Result : Subscription process displays following Trace back error [root@fedoraclient /]# subscription-manager-cli subscribe --product=monitoring 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 345, in main cmd.main() File "/usr/share/rhsm/managercli.py", line 70, in main self._do_command() File "/usr/share/rhsm/managercli.py", line 165, in _do_command self.certlib.update() File "/usr/share/rhsm/certlib.py", line 42, in update return update.perform() File "/usr/share/rhsm/certlib.py", line 116, in perform expected = uep.getCertificateSerials() File "/usr/share/rhsm/certlib.py", line 205, in getCertificateSerials reply = reply['serials'] TypeError: list indices must be integers, not str not able to find subscribed certificate at location "/etc/pki/entitlement/product"
Sachin, do you get the error even if you have deployed the certs in https://engineering.redhat.com/trac/IntegratedMgmtQE/wiki/ent_local_key
(In reply to comment #1) > Sachin, > do you get the error even if you have deployed the certs in > https://engineering.redhat.com/trac/IntegratedMgmtQE/wiki/ent_local_key No i did not display any error subscription-manager-cli list --consumed command run successfully No error message displayed on console