Bug 2209968

Summary: Display full host group name when invoking a Remote Execution job from Satellite's web UI
Product: Red Hat Satellite Reporter: momran
Component: Remote ExecutionAssignee: Maria <magaphon>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: aruzicka, lhellebr, magaphon, pcreech, pnovotny, torkil
Target Milestone: 6.15.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-foreman_remote_execution-11.1.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:11:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixed host groups display none

Description momran 2023-05-25 11:12:51 UTC
Description of problem:

When invoking a remote execution job from RH Satellite's web UI, in the 'Target hosts and inputs' step, filtering by 'Host Group', the full names of host groups are not displayed in the drop-down menu. For scenarios where there are multiple child host groups with identical names under different parent host groups, this causes confusion when selecting the target host group(s) for the remote execution job.


Version-Release number of selected component (if applicable):

Red Hat Satellite 6.13


How reproducible:

Always.


Steps to Reproduce:

1. Login to Red Hat Satellite's web UI.

2. Navigate to Host -> Job Templates.

3. Click on 'Run' corresponding to the job template to be used for remote execution.

4. In the second step 'Target hosts and inputs', select the 'Host groups' filter from the drop-down menu to the left, then expand the drop-down menu to the right. You will see short names of the host groups displayed.

Actual results:

Short names of the host groups are displayed.


Expected results:

Full names of the host groups are displayed.

Comment 5 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 6 Bryan Kearney 2023-11-07 20:02:36 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36881 has been resolved.

Comment 7 Pavel Novotny 2023-12-08 17:02:25 UTC
Verified in Sat 6.15 snap 2:
satellite-6.15.0-1.el8sat.noarch
rubygem-foreman_remote_execution-11.1.1-1.el8sat.noarch

The host group filter on Run Job page now shows the full host group name - including parents. See the attached screenshot for details.

Comment 8 Pavel Novotny 2023-12-08 17:03:31 UTC
Created attachment 2003326 [details]
fixed host groups display

Comment 11 errata-xmlrpc 2024-04-23 17:11:18 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.15.0 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-2024:2010