Bug 2049060 - [RFE] Activation key should be reused while rebuilding a host which is already using the same activation key with a limit.
Summary: [RFE] Activation key should be reused while rebuilding a host which is alread...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Activation Keys
Version: 6.9.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-01 13:04 UTC by Krutika Kinge
Modified: 2023-01-20 17:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-30 10:53:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-7895 0 None None None 2022-02-02 16:25:40 UTC

Description Krutika Kinge 2022-02-01 13:04:54 UTC
Description of problem:
Trying to rebuild a host fails when the host is using an activation key with the limit set as 1. The re-build does not re-use the activation key already attached to the host.

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.9

How reproducible:
Always

Steps to Reproduce:
1: Create an activation key with an host limit to 1
2: Create an Host group and attach the activation key
3: Deploy/create a new host using host group
4: Confirm activation key host limit usage is "1 of 1"
5: Select the newly deployed host in all hosts and choose/click build (To rebuild host)
 The re-build will fail because the activation key limit is 1. Expected is that it re-uses the activation key

Actual results:
the rebuild fails as the activation key limit is 1.

Expected results:
The Activation key should be reused by the host.

Additional info:
A temporary workaround is to increase the activation key limit by 1.

 1: Raise the host limit by one on the activation key
 2: Confirm activation key host limit usage is "1 of 2"
 3: Select the newly deployed host in all hosts and choose/click build (To rebuild host)
  The re-build of the host will succeed...
 4: Check and verify activation key host limit usage has not increased and still is "1 of 2"


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