Following katello upgrade to v3.11 (foreman v1.21.3), use of ‘subscription-manager register’ results with crash of candlepin and candlepin-auth services. On client where subscription-manager is invoked, following message is displayed:
nonetype’ object has no attribute 'getitem
No error message - successful subscription-manager registration.
Foreman v1.21.3 / Katello v3.11
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
This entry is simply to register the fix (felt this was worth doing, as it took several days to derive! - and therefore may help some other poor soul in the future).
Fix is to roll back java to v1.8.0_191, i.e.:
katello-service stop
yum downgrade ./java-1.8.0-openjdk-headless-1.8.0.191.b12-1.el7_6.x86_64.rpm
katello-service start
…once restarted, we were able to perform successfull subscription-manager register commands straight away
…It appears our latest upgrade also upgraded java to:
java-1.8.0-openjdk-headless-1.8.0.222.b10-1.el7.7
…which broke things.