Description of problem: update-ks-profiles.py tracebacks when satellite has no kickstart Version-Release number of selected component (if applicable): sat540 + update from errata.stage rhn-upgrade-5.4.0.24-1.el5sat How reproducible: deterministic Steps to Reproduce: # have a satellite with NO kickstart # ./update-ks-profiles.py --list-invalid-profiles Traceback (most recent call last): File "./update-ks-profiles.py", line 165, in ? main() File "./update-ks-profiles.py", line 151, in main list_invalid_profiles() File "./update-ks-profiles.py", line 53, in list_invalid_profiles for profile in profiles: TypeError: iteration over non-sequence # ./update-ks-profiles.py --update-ks-profiles --verbose --log /var/log/rhn/update-ks-profiles.log Traceback (most recent call last): File "./update-ks-profiles.py", line 165, in ? main() File "./update-ks-profiles.py", line 161, in main update_ks_profiles(rc) File "./update-ks-profiles.py", line 82, in update_ks_profiles for profile in profiles: TypeError: iteration over non-sequence # pwd /etc/sysconfig/rhn/satellite-upgrade # rpm -qf update-ks-profiles.py rhn-upgrade-5.4.0.24-1.el5sat Actual results: traceback Expected results: no traceback Additional info: if there is at least one ks then it works as expected
This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite