Actions
Bug #21897
closedSelect all on errata content hosts page does not work with a search
Description
Request:
{ "included": { "ids": [], "resources": [], "params": { "organization_id": "1", "paged": true, "page": 1, "per_page": "20", "search": "name= awesome-client.sat-r220-10.example.com" } }, "excluded": { "ids": [] }, "errata_ids": ["RHEA-2012:0055"], "organization_id": "1" }
Response:
{ "displayMessage": "No hosts have been specified.", "errors": ["No hosts have been specified."] }
Steps to Reproduce:
- Go to errata page
- Select on or more errata and click apply
- Select all content hosts using the checkbox and then click "select all _" (requires https://github.com/Katello/katello/pull/7086)
- Click next
- Note above error
Updated by Justin Sherrill over 7 years ago
This seemed to work fine for me:
POST http://dev.example.com:3000/api/v2/hosts/bulk/available_incremental_updates
{"included": { "ids": [], "search": "name = dev.example.com"}, "excluded": {"ids": [] }, "errata_ids": ["RHEA-2012:0055"], "organization_id": "1"}
Actions