Bug 1122929
Summary: | not able to read guest_ids of a content host | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tomas Lestach <tlestach> |
Component: | API | Assignee: | Adam Price <adprice> |
Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.4 | CC: | bbuckingham, omaciel, shetze |
Target Milestone: | Unspecified | Keywords: | PrioBumpQA, Triaged, UserExperience |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 20:32:59 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
Tomas Lestach
2014-07-24 12:33:00 UTC
The only way I have found to retrieve host/guest relationship through API is via the deprecated "GET /katello/api/systems/:id" call using the undocumented fields=full parameter. For example: https://sat6.example.com/katello/api/systems/a3367516-4131-4ea7-8eca-4d438a769288?fields=full reveals: { "katello_id": 78, "uuid": "a3367516-4131-4ea7-8eca-4d438a769288", "name": "guest.example.com", "description": "Initial Registration Params", "location": "None", ... "type": "Virtual Guest", "compliance": { "date": "2016-01-24T11:37:15.164+0000", "compliantUntil": "2016-02-13T05:00:00.000+0000", "nonCompliantProducts": [ ], "compliantProducts": ... }, "facts": { ... }, "release_ver": "7Server", "virtual_host": { "id": 14, "uuid": "27251435-04ea-44d3-8962-5381f650b47c", "name": "hv01.example.com", "description": "Initial Registration Params", "location": "None", "environment_id": 1, "created_at": "2015-09-02T17:38:43Z", "updated_at": "2015-09-02T17:38:43Z", "type": "Katello::Hypervisor", "content_view_id": 1, "host_id": null }, ... } Checked on Satellite 6.2.8, there were some changes meanwhile, content host api calls were moved under host, the setting is now called host[subscription_facet_attributes][hypervisor_guest_uuids] when creating a host and hypervisor_guest_uuids when registering a host. Though no new options to view the value were added. Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you. |