+++ This bug was initially created as a clone of Bug #1339613 +++ Seems like regression has happened and GET request does not return content_source_id field again. Also, according to Bug #1339613 , PUT was never fixed. Description of problem: GET or PUT /api/v2/hosts/:id does not return content_source_id field Version-Release number of selected component (if applicable): sat62 public beta How reproducible: Always Steps to Reproduce: 1. Issue a HTTP GET or PUT to /api/v2/hosts/:id 2. Check the returned json 3. Actual results: content_source_id is missing Expected results: content_source_id is present Additional info: Modifying content_source_id with a PUT call seems to work, but the current value of content_source_id can not be queried
UPD. Version-Release number of selected component field: Satellite 6.3.0 Snap 13
This regression might have happened if #17644 was not fully cherry-picked or badly rebased from upstream. Linking them in a minute...
Connecting redmine issue http://projects.theforeman.org/issues/17644 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17644 has been resolved.
The `content_source_[id|name]` parameters were moved to `content_facet_attributes["content_source_[id|name]"]`
Created attachment 1331478 [details] Host API Examples satellite-6.3.0-18.0.beta.el7sat.noarch I am able to see the content_facet_attributes with the content_source_id properly filled, and I am able to update content_facet_attributes. See the attachment for the exact commands and output I tried.
Verified in rpm -q satellite satellite-6.3.0-18.0.beta.el7sat.noarch Field `content_source_id` shows under `content_facet_attributes` Also verified the changing of this field via api PUT and also via web UI.
qe_test_coverage PR : https://github.com/SatelliteQE/robottelo/pull/5307
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/RHSA-2018:0336