Bug 557396 - Activation key usage increases when reprovisioning a machine
Summary: Activation key usage increases when reprovisioning a machine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space08
TreeView+ depends on / blocked
 
Reported: 2010-01-21 10:25 UTC by Tomas Lestach
Modified: 2010-02-16 12:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-16 12:56:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Lestach 2010-01-21 10:25:59 UTC
Description of problem:
When reprovisioning a system using an activation key, the reprovisioned
system use up an additional activation key "slot"

Version-Release number of selected component (if applicable):
space08

How reproducible:
always

Steps to Reproduce:
1. Create an Activation Key with a usage limit of 1
2. Register a system using that activation key.
3. Create a Kickstart profile and attach the above activation key to it.
4. Try to reprovision the registered system.

Actual results:
Registration at the end of the kickstart failes with:
"Token usage limit exceeded"

Expected results:
The system will be correctly reprovisioned without trying to consume an extra activation key usage slot.

Comment 1 Tomas Lestach 2010-01-21 10:26:29 UTC
In case, server already uses a token, extra usage slot won't be consumed by registration.

spacewalk.git: 46647b316f5c8d3b06cd35de0f442286899261be

Comment 2 Michael Mráka 2010-02-16 12:59:18 UTC
Spacewalk 0.8 has been released


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