Description of problem: If you run a remote execution job on a large number of hosts (for example, 180 hosts), the host status at the bottom does not refresh automatically, and an error is shown "There was an error while updating the status, try refreshing the page.". Same issue occurs with Chrome and Firefox web browsers. Version-Release number of selected component (if applicable): Satellite 6.7 How reproducible: Every time Steps to Reproduce: 1. Select around 180 hosts and run a remote execution job on them Actual results: - Host status's at bottom remain "N/A" and do not automatically update - Message shown: "There was an error while updating the status, try refreshing the page." Expected results: - Host status automatically updates (which does work if you select fewer hosts, such as 10) Additional info: Javascript console on browser shows a "414 (Request-URI Too Long)" error message, and the URL contains references for each host ID for "host_ids_needing_name_update" and "host_ids_needing_status_update", so the URL is extremely long.
Hi, this issue have been fixed in REX 3.3.x (Sat 6.8.0), where Hosts status table have been refactored to ReactJS and we don't use JQuery anymore. Now we don't send all the host ids, just search parameters, so the URL is shorter than before. I tried to replicate the issue on latest develop branch on job with 1001 hosts and everything went.
Still I find this odd, I recall running much bigger jobs on various version of satellite. It should ask only for statuses of hosts on the current page so it should be limited to 25 or so by default. I could reproduce on 6.7.2 if I manually changed per_page to 1000, but it worked fine for all the values that the ui allows the user to set. Was per_page changed by hand by any chance?
Verified on Satellite 6.8 snap 17
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.8 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-2020:4366