Bug 1339211
Summary: | 'hammer activation-key subscriptions' shows already removed subscriptions | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Andrii Balakhtar <abalakht> |
Component: | Hammer | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bbuckingham, cwelton, jcallaha, mmccune |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/15272 | ||
Whiteboard: | |||
Fixed In Version: | rubygem-hammer_cli_katello-0.0.22.18-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:42:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andrii Balakhtar
2016-05-24 11:58:58 UTC
Possibly triggered by https://bugzilla.redhat.com/show_bug.cgi?id=1330311 ? Created redmine issue http://projects.theforeman.org/issues/15272 from this bug Upstream bug component is Content Management Upstream bug component is Hammer Verified in Satellite 6.2 beta Snap 19. [root@rhsm-qe-1 backup]# hammer activation-key subscriptions --id 2 --organization-id 1 ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- ID | NAME | ATTACHED | QUANTITY | START DATE | END DATE | SUPPORT | CONTRACT | ACCOUNT ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- 4 | custom | | | 2016/06/20 13:37:56 | 2046/06/13 13:37:56 | | | 11 | Red Hat Satellite Employee Subscription | | | 2014/09/19 04:00:00 | 2022/01/01 04:59:59 | Self-Support | 10538625 | 477931 20 | Employee SKU | | | 2013/04/24 04:00:00 | 2022/01/01 04:59:59 | Self-Support | 10169793 | 477931 ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- [root@rhsm-qe-1 backup]# hammer activation-key remove-subscription --subscription-id 4 --id 2 --organization-id 1 Subscription removed from activation key [root@rhsm-qe-1 backup]# hammer -u admin -p changeme activation-key subscriptions --id 2 --organization-id 1 ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- ID | NAME | ATTACHED | QUANTITY | START DATE | END DATE | SUPPORT | CONTRACT | ACCOUNT ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- 11 | Red Hat Satellite Employee Subscription | | | 2014/09/19 04:00:00 | 2022/01/01 04:59:59 | Self-Support | 10538625 | 477931 20 | Employee SKU | | | 2013/04/24 04:00:00 | 2022/01/01 04:59:59 | Self-Support | 10169793 | 477931 ---|-----------------------------------------|----------|----------|---------------------|---------------------|--------------|----------|-------- 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 |