Bug 953276 - [RFE] Add a warning to the confirmation page when user is about to delete an activation key
Summary: [RFE] Add a warning to the confirmation page when user is about to delete an ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On: 732823
Blocks: space20
TreeView+ depends on / blocked
 
Reported: 2013-04-17 19:56 UTC by Grant Gainey
Modified: 2013-08-02 13:02 UTC (History)
6 users (show)

Fixed In Version: spacewalk-java-1.10.59-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 732823
Environment:
Last Closed: 2013-08-02 13:02:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Grant Gainey 2013-04-17 19:56:57 UTC
+++ 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.

Comment 1 Grant Gainey 2013-04-17 19:58:03 UTC
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."

Comment 2 Grant Gainey 2013-04-17 20:06:46 UTC
Spacewalk commit 8f7223bc521d2f487e9e54e1749240e055478e6e

Comment 3 Tomáš Kašpárek 2013-08-02 13:02:43 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.