Created attachment 1042787 [details] Output of foreman-debug from a Satellite 6.1.0 system running RHEL 6.6. Description of problem: A hostgroup has an attribute named "parent". I know this because: * The API documentation states that one can issue an HTTP POST request to `/api/v2/hostgroups` and provide a `hostgroup[parent_id]` attribute. Hands-on experience shows that this works. * The API documentation states that one can issue an HTTP PUT request to `/api/v2/hostgroups/:id` and provide a `hostgroup[parent_id]` attribute. Hands-on experience shows that this works. The server responds to HTTP GET requests to `/api/v2/hostgroups/:id` with a JSON payload that does not include a "parent" attribute. However, this payload includes a semantically identical attribute named "ancestors". This mismatch is disorienting and makes using the API harder. Version-Release number of selected component (if applicable): Satellite 6.1.0. Foreman-debug is attached. How reproductible: 100% Steps to Reproduce: 1. Issue an HTTP GET request to `/api/v2/hostgroups/:id`. 2. Capture the response and examine the keys in the JSON payload. 3. Discover that "parent" is missing, but an equivalent attribute named "ancestors" is returned. Actual results: See above. Expected results: See above Additional info:
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.
Moving 6.2 bugs out to sat-backlog.
This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.