Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 796434 - [RFE] Add clone action to activation keys
Summary: [RFE] Add clone action to activation keys
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.6
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: spacewalk-rfe space23
TreeView+ depends on / blocked
 
Reported: 2012-02-22 21:28 UTC by Adam
Modified: 2015-04-14 19:04 UTC (History)
3 users (show)

Fixed In Version: spacewalk-java-2.3.79
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1156337 (view as bug list)
Environment:
Last Closed: 2015-04-14 19:04:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam 2012-02-22 21:28:08 UTC
Description of problem:
There is currently no automated method to clone an activation key.  An option similar to clone kickstart would help users in creating new keys based off of old ones.

This would help assure the user that the new key was exactly the same as the old key with the exception of any changes made afterwards by the user.

Comment 1 Tomas Lestach 2012-02-23 09:20:42 UTC
Right, there's no option to clone an activation key.
However a set of API calls from the activationkey namespace can substitute the clone process very well by creating a new activation key and setting it's parameters according the original activation key.

Check 
https://<spacewalk/rhn/apidoc/handlers/ActivationKeyHandler.jsp
for more details.

Comment 2 Dimitar Yordanov 2014-10-24 09:51:01 UTC
Fixed in SW: e8d7c7caf1ae8d79894a5af49707abd20387b285

Comment 3 Stephen Herr 2014-11-13 19:35:09 UTC
Accepting patch from pull request https://github.com/spacewalkproject/spacewalk/pull/128 to fix cloning keys that have config channels attached (if the name and label on the config channel are not the same.

Committing to Spacewalk master:
982e636032ded124fde55808b1c38a3c2dc58d80

Comment 4 Stephen Herr 2014-11-13 19:45:06 UTC
Refreshing after cloning an activation key should not cause another copy to get cloned.

Committing to Spacewalk master:
846f990e8596df239e2d48d2a97f16cdf74e7c79

Comment 5 Grant Gainey 2015-03-23 16:59:39 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 6 Grant Gainey 2015-04-14 19:04:13 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23


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