Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-14145

'Via customized remote execution' is broken on the new host detail page

XMLWordPrintable

    • 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"

              rhn-engineering-jlenz Jeremy Lenz
              jira-bugzilla-migration RH Bugzilla Integration
              Chris Roberts Chris Roberts
              Ian Ballou Ian Ballou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: