Project

General

Custom queries

Profile

Actions

Bug #35810

closed

Hosts filter isn't working with host_ids URL param

Added by Jeremy Lenz over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:

Description

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.


Files

Desktop-screenshot.png View Desktop-screenshot.png 602 KB Jeremy Lenz, 11/30/2022 07:52 PM
Actions #1

Updated by Adam Ruzicka over 2 years ago

And if you pass a list of host_ids instead of a search query?

Actions #3

Updated by Jeremy Lenz over 2 years ago

It works with host_ids[]=23

Actions #4

Updated by Jeremy Lenz over 2 years ago

  • Project changed from Foreman Remote Execution to Katello
  • Category deleted (Usability)

In the new job wizard the correct param is 'search', not 'host_ids'. Need to change Katello to use this param.

Actions #10

Updated by Jeremy Lenz over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF