Bug 1101537
Summary: | activation_keys.add_host_collections API removes host collections from the activation key | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tomas Lestach <tlestach> | ||||
Component: | API | Assignee: | Dustin Tsang <dtsang> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | sthirugn <sthirugn> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.0.3 | CC: | bbuckingham, bkearney, inecas, jmontleo, mmccune, sthirugn | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/6347 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-09-11 12:29:09 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
Tomas Lestach
2014-05-27 12:59:29 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Created attachment 899496 [details]
attaching patch
redmine issue created. for the actions had documented(apipie) the wrong http actions Moving to POST since upstream bug http://projects.theforeman.org/issues/6347 has been closed Verified. Tested both CLI and API calls and they work fine: hammer> activation-key add-host-collection --host-collection-id=1 --id=7 --organization-id=3 The host collection has been associated # curl -X POST -H "Accept:application/json" -H "Content-Type: application/json" -u admin:changeme --insecure -d '{"id":"7","host_collection_ids":["1"]}' https://$host/katello/api/activation_keys/7/host_collections success This was delivered with Satellite 6.0 which was released on 10 September 2014. |