Bug 1252945 - Copying an activation key does not copy service level
Summary: Copying an activation key does not copy service level
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Activation Keys
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Christine Fouant
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1257206
TreeView+ depends on / blocked
 
Reported: 2015-08-12 14:53 UTC by Christine Fouant
Modified: 2019-09-25 21:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 09:17:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10414 0 None None None 2016-04-22 16:38:13 UTC
Red Hat Product Errata RHBA-2016:1501 0 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 12:28:58 UTC

Description Christine Fouant 2015-08-12 14:53:27 UTC
Copying an existing activation key with a service level setting does not yield expected results. The new key created has no service level setting attached to it, where it should have the same service level setting as the original.

Comment 1 Christine Fouant 2015-08-12 14:53:29 UTC
Created from redmine issue http://projects.theforeman.org/issues/10414

Comment 3 Bryan Kearney 2015-08-14 17:53:19 UTC
Upstream bug assigned to cfouant

Comment 4 Bryan Kearney 2015-08-25 20:06:56 UTC
Upstream bug component is Content Management

Comment 5 Bryan Kearney 2015-08-25 20:27:12 UTC
Upstream bug component is Activation Keys

Comment 6 Bryan Kearney 2016-03-16 00:06:44 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10414 has been closed
-------------
Christine Fouant
Applied in changeset commit:katello|1575ba26ea5ecb13205cba16a7a98e49c41269be.

Comment 7 Brad Buckingham 2016-03-16 09:54:57 UTC
Note: without this fix, a user would also observe errors attempting to copy an activation key (e.g. via hammer) that contains subscriptions.   E.g.

without the fix:

hammer> activation-key copy --organization-id 1 --id 2 --new-name test-copy
Could not copy the activation key:
  Couldn't find Katello::Pool with 'id'=4028fae453755df4015375606cdb0005

with the fix:

hammer> activation-key copy --organization-id 1 --id 2 --new-name test-copy
Activation key copied

Comment 8 jcallaha 2016-03-24 19:40:24 UTC
Verified in Satellite 6.2 Beta Snap 5.1

Comment 11 errata-xmlrpc 2016-07-27 09:17:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


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