Bug 2196076 - Target hosts within Remote Execution job page are zero when job is being executed on large number of hosts by selecting all machines listed within "All Hosts" page.
Summary: Target hosts within Remote Execution job page are zero when job is being exec...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.14.0
Assignee: Maria
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 2174403 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-08 02:29 UTC by Jayant Bhatia
Modified: 2023-07-13 16:29 UTC (History)
6 users (show)

Fixed In Version: rubygem-foreman_remote_execution-10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36374 0 Normal Closed Job Wizard should accept search='' in the url 2023-05-17 08:58:26 UTC
Red Hat Issue Tracker SAT-17631 0 None None None 2023-05-09 14:55:19 UTC
Red Hat Knowledge Base (Solution) 7011566 0 None None None 2023-05-08 06:43:02 UTC

Description Jayant Bhatia 2023-05-08 02:29:18 UTC
Description of problem:

While trying to execute a remote job using new UI by selecting large number of hosts (say '200') via 'Satellite WebUI -> Hosts -> All Hosts' page, zero hosts are listed as 'Target Hosts' on job execution page.


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


Steps to Reproduce:

1. Navigate to "Satellite WebUI -> Hosts -> All Hosts" page.

2. Select the checkbox next to 'Power' to select all the hosts managed by Satellite. Ensure approximately 200 hosts/content hosts are registered with Satellite and all 200 hosts are selected at this step.

3. Click on "Select Action" and then "Schedule Remote Job".

Actual results: "Commands" are selected by default in the new menu format. There are "0 hosts" listed for "Target Hosts".

If "Use Legacy Form" is selected, all hosts are selected as "Target Hosts" and rex job can be run normally.


Expected results: Instead of "0 Hosts", all the "200 Hosts" should be listed for "Target Hosts".


Additional info: The new UI has no issues while selecting smaller number of content hosts (say '25'). Issue is only observed when large number of content hosts are selected (say '200')

Comment 2 Adam Ruzicka 2023-05-09 14:54:48 UTC
I vaguely recall seeing this. From what I recall, when you select all, the search query sent over is null (or undefined or whatever js has), however if the search query is null the wizard does not accept that. One way would be sending empty string as a search query, the other would be to make the wizard deal with nulls.

Comment 5 Adam Ruzicka 2023-06-08 08:59:48 UTC
*** Bug 2174403 has been marked as a duplicate of this bug. ***

Comment 6 Peter Ondrejka 2023-07-13 16:29:09 UTC
Verified on Sat 6.14 snap 7


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