Bug 1336716
Summary: | Unable to remove host collection from activation key via hammer | ||||||||
---|---|---|---|---|---|---|---|---|---|
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, jcallaha, mmccune, sthirugn | ||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://projects.theforeman.org/issues/15162 | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | rubygem-katello-3.0.0.74-1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-09-14 21:00:56 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: | |||||||||
Attachments: |
|
Description
Andrii Balakhtar
2016-05-17 09:57:38 UTC
This is us getting bitten by deep_munge: https://github.com/rails/rails/issues/13420 Created redmine issue http://projects.theforeman.org/issues/15162 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/15162 has been closed Verified in Satellite 6.2.2. See attached screenshots and the commands below. [root@rhsm-qe-1 tmp]# hammer activation-key remove-host-collection --help Usage: hammer activation-key remove-host-collection [OPTIONS] Options: --host-collection HOST_COLLECTION_NAME Host collection name to search by --host-collection-id HOST_COLLECTION_ID Id of the host collection --host-collection-organization-id HOST_COLLECTION_ORGANIZATION_ID Organization ID to search by --id ID ID of the activation key --name NAME Activation key name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by -h, --help print help [root@rhsm-qe-1 tmp]# hammer activation-key list --organization-id 1 ---|--------|----------------|-----------------------|-------------------------- ID | NAME | HOST LIMIT | LIFECYCLE ENVIRONMENT | CONTENT VIEW ---|--------|----------------|-----------------------|-------------------------- 1 | 7tools | 0 of Unlimited | Library | Default Organization View ---|--------|----------------|-----------------------|-------------------------- [root@rhsm-qe-1 tmp]# hammer -u admin -p changeme host-collection list --organization-id 1 ---|--------|-------|------------ ID | NAME | LIMIT | DESCRIPTION ---|--------|-------|------------ 1 | docker | None | ---|--------|-------|------------ [root@rhsm-qe-1 tmp]# hammer activation-key remove-host-collection --host-collection-id 1 --id 1 --organization-id 1 The host collection has been removed Created attachment 1196925 [details]
Before
Created attachment 1196926 [details]
After
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:1885 |