Subscription Asset Manager (SAM) 1.3: "IOError: [Errno 2] No such file or directory: '/etc/pki/consumer/Splice_identity.cert'" after deleting consumer
Issue
- SAM 1.3 with Enhanced Reporting is registered via subscription-manager and then either deleting the registration or ran "subscription-manager clean", now getting the following error when runninng "spacewalk-splice-checkin --splice-sync"
Traceback (most recent call last):
File "/usr/bin/spacewalk-splice-checkin", line 100, in <module>
checkin.main(opts)
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 228, in main
splice_sync(options)
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 198, in splice_sync
mpu_list.append(dt.transform_to_rcs(katello_consumer, sps.get_splice_server_uuid()))
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/splice_push.py", line 51, in get_splice_server_uuid
return cutils.get_subject_pieces(open(cfg["cert"]).read(), ['CN'])['CN']
IOError: [Errno 2] No such file or directory: '/etc/pki/consumer/Splice_identity.cert'
Environment
- Subscription Asset Manager (SAM) 1.3 with Enhanced Reporting
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
