Project

General

Profile

Actions

Bug #35810

closed

Hosts filter isn't working with host_ids URL param

Added by Jeremy Lenz about 2 years ago. Updated about 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 about 2 years ago

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

Actions #3

Updated by Jeremy Lenz about 2 years ago

It works with host_ids[]=23

Actions #4

Updated by Jeremy Lenz about 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 #5

Updated by Jeremy Lenz about 2 years ago

  • Category set to Hosts
  • Target version set to Katello 4.8.0
Actions #6

Updated by Jeremy Lenz about 2 years ago

  • Target version changed from Katello 4.8.0 to Katello 4.7.1
Actions #7

Updated by Jeremy Lenz about 2 years ago

  • Bugzilla link set to 2149990
Actions #8

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/10371 added
Actions #9

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases Katello 4.8.0 added
Actions #10

Updated by Jeremy Lenz about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #11

Updated by Lucy Fu about 2 years ago

  • Target version changed from Katello 4.7.1 to Katello 4.7.0
  • Triaged changed from No to Yes
Actions #12

Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10385 added
Actions #13

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/10743 added
Actions

Also available in: Atom PDF