+++ This bug was initially created as a clone of Bug #732823 +++ When an activation key is removed from WebUI, cobbler-cmd-line-created systems are still linked to it: [ 1- create an activation key '1-testkey' on the WebUI 2- run "cobbler system add --name=testsys --profile=<a-ks-profile> --redhat-management-key=1-testkey" 3- run "cobbler system report --name=testsys", it shows '1-testkey' 4- remove the activation key '1-testkey' from the WebUI 5- run "cobbler system report --name=testsys", it still shows '1-testkey' ] Kickstarting a system associated with a deleted activation-key will FAIL. Since there is no way for spacewalk to know about cobbler-created system-profiles, add a warning when user is about to delete an activation key - in order to prevent deletion of keys from unknowingly causing problems for kickstarts.
After chasing my tail a couple of times, resorting to adding some verbiage to the activation-key delete-confirm page: "NOTE: Only systems and profiles known to Satellite will be updated. Kickstarting other entities (e.g., system profiles created using the cobbler command-line tools) which use this key will FAIL if the key is deleted."
Spacewalk commit 8f7223bc521d2f487e9e54e1749240e055478e6e
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.