Description of problem: System Snapshots are not created when Entitlements are added to a system via API call system.upgradeEntitlement. Version-Release number of selected component (if applicable): Satellite 5.4.1 Spacewalk 1.7 How reproducible: 100% Steps to Reproduce: 1.Register System to Spacewalk 1.7. 2.Add Provisioning entitlement to the System. Systems -> the System profile -> System Properties (Edit These Properties) -> check Provisioning 3.Add Monitoring entitlement to the System. Systems -> the System profile -> System Properties (Edit These Properties) -> check Monitoring 4.Systems -> the System profile -> Provisioning -> Snapshots There is a new Snapshot due to the changes made in [2][3] 5. Remove the Monitoring Entitlemnt for the system Systems -> the System profile -> System Properties (Edit These Properties) -> uncheck Monitoring 6. Try to add Monitoring entitlement to the system via API system.upgradeEntitlement. Actual results: When the entitlement is added via API new snapshot is not created under Systems -> the System profile -> Provisioning -> Snapshots Expected results: When the system entitlements are altered via API new snapshot is created. Additional info: See: manage-system.py admin admin https://`hostname`/rpc/api UPGRADE_ENTITLEMENT 1000010000 [monitoring_entitled|provisioning_entitled|virtualization_host|virtualization_host_platform]
Due to this bug /usr/sbin/spacewalk-channel have the same problem.
Please discard Comment 1. For all changes made by /usr/sbin/spacewalk-channel new profile snapshot is not created because the following API calls have the same problem as described in "Description". system.setBaseChannel(string sessionKey, int serverId, string channelLabel) system.setChildChannels(string sessionKey, int serverId, array[string channelLabel])
spacewalk.git: ca2274492a75db66e05e99e8a83f3feac7cd5694
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