Description of problem: Activation keys summary page lists 'unlimited' subscriptions when I had just 5 subscriptions Version-Release number of selected component (if applicable): Satellite 6.2.0-beta-snap3 How reproducible: Always Steps to Reproduce: 1. Create an activation key and attach it to a subscription (say EmployeeSKU of 5 counts) Actual results: Go to Content -> Activation Keys and review the summary page: Consumed column says '0 out of Unlimited' Expected results: It should say '0 out of 5' Additional info:
Hi Suresh, the 'Consumed' column on the summary is how many times the activation key has been used by Content Hosts, based upon the Content Host Limit. Summary: "0 out of Unlimited" - 0 == # content hosts - Unlimited == "Content Host Limit" We could change the "Consumed" to something else, if it would help (e.g. "Used"). Thoughts?
I like "Used". But splitting into two columns may be even useful, something like: Used Content Host Limit 2 Unlimited 0 5 1 4
A few of this discussed this in IRC and we aligned on the solution that follows. In the UI: - Content -> Activation Keys - change "Consumed" to "Host Limit" - Content -> Activation Keys -> [key] -> Details - change "Content Host Limit" to "Host Limit" In the CLI: - activation_key info - change "Content Host Limit" to "Host Limit"
Created redmine issue http://projects.theforeman.org/issues/14146 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/14146 has been closed ------------- Zach Huntington-Meath Applied in changeset commit:hammer-cli-katello|146038b504d950e01a78dd1f11fa9248055a47ee.
Verified in Satellite-6.2-beta-snap-5.1 In the UI: - Content -> Activation Keys - changed "Consumed" to "Host Limit" - Content -> Activation Keys -> [key] -> Details - changed "Content Host Limit" to "Host Limit" also in cli, activation-key info and list are showing Host Limit. hammer> activation-key list --organization-id=1 ---|---------|----------------|-----------------------|------------- ID | NAME | HOST LIMIT | LIFECYCLE ENVIRONMENT | CONTENT VIEW ---|---------|----------------|-----------------------|------------- 1 | rhel7ak | 8 of Unlimited | DEV | rhel7cv ---|---------|----------------|-----------------------|------------- hammer> activation-key info --id=1 Name: rhel7ak ID: 1 Description: Host Limit: Unlimited Auto Attach: false Lifecycle Environment: DEV Content View: rhel7cv Host Collections:
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