Project

General

Custom queries

Profile

Actions

Bug #32986

closed

Slow loading of host list in job invocation page when login as non-admin user

Added by Hao Yu almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

This is cloned from Bugzilla 1981248

Description of problem:
Bug 1793875 that we previously open and fixed didn't actually fix the slow rendering issue. It just allow the page to load asynchronously but the slow host listing issue is still persist in the job invocation page.

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

Steps to Reproduce:
1. In the setting page, set the default page size to 250 or higher
2. Run a remote execution jobs against thousand of hosts
3. Login as a user with only viewer permission
4. Go to the job invocation page

Actual results:
- Host list takes extremely long time to load
- Duplicate many duplicate requests are send to the Satellite every 1 second. This is because the WithInterval/auto refresh doesn't wait for previous request to complete. (Will open a separate bugzilla for this)

Expected results:
- Host list shouldn't take long to load.

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Hao Yu
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/616 added
Actions #2

Updated by Hao Yu almost 4 years ago

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

Updated by Adam Ruzicka almost 4 years ago

  • Fixed in Releases foreman_remote_execution-4.5.2 added
  • Fixed in Releases deleted (foreman_remote_execution-4.2.4)
Actions #4

Updated by Adam Ruzicka almost 4 years ago

  • Fixed in Releases foreman_remote_execution-4.7.0 added
Actions

Also available in: Atom PDF