Red Hat Bugzilla – Bug 1011469
spacewalk-splice-checkin fails if there is change in Organization Name on the Satellite
Last modified: 2017-06-26 16:35:42 EDT
Description of problem:
If the name of the Organization on Satellite is changed after the initial sync (spacewalk-splice-checkin) then it fails with error 'TypeError: 'NoneType' object is unsubscriptable',
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure Entitlement Reporting on SAM 1.3
2. Execute spacewalk-splice-checkin
3. After it has completed successfully, create a new satellite certificate with the change in owner and activate it on the Satellite
4. Once the satellite is activated, confirm the base/root org's name is changed according to the satellite certificate
5. Again execute spacewalk-splice-checkin
Fails with error :
Traceback (most recent call last):
File "/usr/bin/spacewalk-splice-checkin", line 100, in <module>
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 225, in main
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 160, in spacewalk_sync
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_sync.py", line 166, in update_roles
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_connect.py", line 236, in grant_org_admin
TypeError: 'NoneType' object is unsubscriptable
It should successfully sync and update the Organization Name on SAM
This was fixed as part of https://bugzilla.redhat.com/show_bug.cgi?id=972953, comment #1. I need to investigate more to see why it's not working in this case.
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.
I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!