Red Hat Bugzilla – Bug 809579
New snapshot is not created when Entitlements are added to a system via API.
Last modified: 2014-10-06 09:46:45 EDT
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):
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 
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.
When the entitlement is added via API new snapshot is not created under
Systems -> the System profile -> Provisioning -> Snapshots
When the system entitlements are altered via API new snapshot is created.
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])
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:
The associated Errata for the 5.5 release are:
5.5 Satellite GA Errata
5.5 Upgrade Errata
5.5 RHN Proxy GA Errata
5.5 RHN Tools GA Errata
- Engineering Manager, Satellite