Bug 1596347 - activation-key copy fails with "undefined method" and Internal Server Error
Summary: activation-key copy fails with "undefined method" and Internal Server Error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Activation Keys
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.4.0
Assignee: satellite6-bugs
QA Contact: Sanket Jagtap
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-28 16:41 UTC by Mike McCune
Modified: 2021-09-09 14:48 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1553338
Environment:
Last Closed: 2018-10-16 19:29:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 23084 0 None None None 2018-06-28 16:41:58 UTC
Red Hat Knowledge Base (Solution) 3490161 0 None None None 2018-06-28 16:41:58 UTC

Comment 4 Sanket Jagtap 2018-06-29 13:49:39 UTC
Build : Satellite 6.4.0 snap9 


hammer> activation-key list --organization-id 1
---|----------|----------------|-----------------------|-------------
ID | NAME     | HOST LIMIT     | LIFECYCLE ENVIRONMENT | CONTENT VIEW
---|----------|----------------|-----------------------|-------------
1  | rhel7_ak | 0 of Unlimited | DEV                   | rhel7_cv    
---|----------|----------------|-----------------------|-------------

hammer> activation-key copy --name rhel7_ak --new-name rhel7_ak_copy --organization-id 1
Activation key copied


hammer> activation-key list --organization-id 1
---|---------------|----------------|-----------------------|-------------
ID | NAME          | HOST LIMIT     | LIFECYCLE ENVIRONMENT | CONTENT VIEW
---|---------------|----------------|-----------------------|-------------
1  | rhel7_ak      | 0 of Unlimited | DEV                   | rhel7_cv    
2  | rhel7_ak_copy | 0 of Unlimited | DEV                   | rhel7_cv    
---|---------------|----------------|-----------------------|-------------

hammer> activation-key subscriptions --activation-key-id 1 --organization-id 1
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
ID | NAME                                                                    | ATTACHED | QUANTITY | START DATE          | END DATE            | SUPPORT | CONTRACT | ACCOUNT
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
4  | Red Hat Enterprise Linux Server, Premium (8 sockets) (Unlimited guests) |          |          | 2016/08/04 04:00:00 | 2022/01/01 04:59:59 | Premium | 11XXXXX4 | 47XXXX 
7  | rhel7-tools-prd                                                         |          |          | 2018/06/28 13:18:53 | 2048/06/20 13:18:53 |         |          |        
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
hammer> activation-key subscriptions --activation-key-id 2 --organization-id 1
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
ID | NAME                                                                    | ATTACHED | QUANTITY | START DATE          | END DATE            | SUPPORT | CONTRACT | ACCOUNT
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------
4  | Red Hat Enterprise Linux Server, Premium (8 sockets) (Unlimited guests) |          |          | 2016/08/04 04:00:00 | 2022/01/01 04:59:59 | Premium | 11XXXXX4 | 47XXXX 
7  | rhel7-tools-prd                                                         |          |          | 2018/06/28 13:18:53 | 2048/06/20 13:18:53 |         |          |        
---|-------------------------------------------------------------------------|----------|----------|---------------------|---------------------|---------|----------|--------

Comment 5 Bryan Kearney 2018-10-16 19:29:45 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/RHSA-2018:2927


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