Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2149990 - 'Via customized remote execution' is broken on the new host detail page
Summary: 'Via customized remote execution' is broken on the new host detail page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.13.0
Assignee: Jeremy Lenz
QA Contact: Ian Ballou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-01 14:29 UTC by Jeremy Lenz
Modified: 2023-05-03 13:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:23:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35810 0 Normal New Hosts filter isn't working with host_ids URL param 2022-12-01 14:29:34 UTC
Red Hat Issue Tracker SAT-14080 0 None None None 2022-12-01 15:57:35 UTC
Red Hat Issue Tracker SAT-14145 0 None None None 2022-12-01 15:19:38 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:23:34 UTC

Description Jeremy Lenz 2022-12-01 14:29:33 UTC
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"

Comment 1 Jeremy Lenz 2022-12-01 14:29:36 UTC
Created from redmine issue https://projects.theforeman.org/issues/35810

Comment 2 Jeremy Lenz 2022-12-01 14:29:37 UTC
Upstream bug assigned to None

Comment 3 Bryan Kearney 2022-12-01 20:03:38 UTC
Upstream bug assigned to jlenz

Comment 4 Bryan Kearney 2022-12-01 20:03:40 UTC
Upstream bug assigned to jlenz

Comment 5 Bryan Kearney 2022-12-05 20:03:22 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35810 has been resolved.

Comment 6 Ian Ballou 2023-01-09 21:23:08 UTC
Verified!

I was able to see that the host was in the remote execution filter and other hosts were not specified.

Comment 9 errata-xmlrpc 2023-05-03 13:23:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2097


Note You need to log in before you can comment on or make changes to this bug.