Bug #21961
closedhost registration fails during provisioning if using a limited host collection
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1510639
Description of problem:
The problem boils down to this: if you're registering a host using an activation key where the host collection is set to a limit, the registration process fails with the error:
If you change the host collection to unlimited, then registration proceeds without a glitch
Version-Release number of selected component (if applicable):
reproduced w/ katello devel environment
How reproducible:
Steps to Reproduce:
1. create a host collection with a limit
2. create an activation key and associate the host collection
3. register a host with the activation key
Actual results:
- subscription-manager register --org="Default_Organization" --activationkey="rhel7_filtered" --force
Host collection 'hc1' exceeds maximum usage limit of '50'
Expected results:
registration succeeds without error
Updated by Brad Buckingham almost 7 years ago
- Subject changed from host registration fails during provisioning if using a limited host collection to host registration fails during provisioning if using a limited host collection
- Target version set to 240
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7112 added
Updated by Andrew Kofink almost 7 years ago
- Translation missing: en.field_release set to 329
Updated by Brad Buckingham almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|6562474d49fc345fe0ee5d7851f548be2b15fe91.