-
Bug
-
Resolution: Done-Errata
-
Major
-
6.13.0
-
False
-
-
False
-
CLOSED
-
800
-
Phoenix - Content
-
-
-
Sprint 109, Sprint 110, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Important
-
None
On the new host details page Katello sends url params to the job wizard, including the host_ids param:
/job_invocations/new?feature=katello_errata_install_by_search&host_ids=name%20%5E%20(rhel8c.fedora.example.com)&inputs%5BErrata%20search%20query%5D=errata_id%20=%20RHEA-2022:1985
The other url params work fine (feature, inputs) - they fill in their respective fields. But host_ids does not populate the hosts.
Since the new job wizard is default now, the correct URL param has changed. Katello needs to stop using host_ids and instead use 'search' param.
Steps to recreate:
1. On new host details page, go to Content > Errata > select an errata
2. Click the dropdown next to Apply and click 'via customized remote execution'
3. On the job wizard, click through to the second step 'Target hosts and inputs'
Expected: Search query shows 'name ^ (hostname)' and 'Apply to 1 hosts'
Actual: Search query is blank and it applies to all hosts
To work around:
Manually enter a host search in the job wizard, or change "host_ids" in the url to "search"