Project

General

Profile

Actions

Bug #26348

open

Timeout on directive save

Added by Nicolas CHARLES about 2 months ago. Updated 9 days ago.

Status:
Pending release
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Yes

Description

A user reported on 8.2.4 that he has a timeout once he save a directive: the popup shows up telling to confirm, clicks ok, and then page is grayed out, 30 s after the browser complains there is a timeout
I have been able to reproduce it only once

It did not happen in earlier versions.

Note that for that client, even just loading the directives page takes A LOT of time: there is a least 10s before the directive tree becomes an actual tree.


Related issues 3 (1 open2 closed)

Related to Rudder - Bug #25892: Error when accepting 2 or more nodes because of LDAP timeout pool misconfiguration in unboundidReleasedVincent MEMBRÉActions
Related to Rudder - Bug #26002: The directive page is much slower with Rudder 8.1 than in 7.3ReleasedClark ANDRIANASOLOActions
Related to Rudder - Bug #26190: Cannot open status dropdown when on a directive pageNewClark ANDRIANASOLOActions
Actions #1

Updated by François ARMAND about 2 months ago

  • Description updated (diff)
  • Assignee set to Clark ANDRIANASOLO
  • Priority changed from To review to 1 (highest)
Actions #2

Updated by François ARMAND about 2 months ago

It could be something related to LDAP connection too. We did change regarding connection pool and timeout, so perhaps it is related to that change.

Actions #3

Updated by François ARMAND about 2 months ago

  • Related to Bug #25892: Error when accepting 2 or more nodes because of LDAP timeout pool misconfiguration in unboundid added
Actions #4

Updated by François ARMAND about 2 months ago

  • Related to Bug #26002: The directive page is much slower with Rudder 8.1 than in 7.3 added
Actions #5

Updated by Nicolas CHARLES about 1 month ago

This issue was also present on 8.1.7, so it is not introduced by the LDAP change nor the related ticket

Actions #6

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 8.2.5 to 8.2.6
Actions #7

Updated by Clark ANDRIANASOLO about 1 month ago

The AJAX that reloads the updated directive is only sent to the browser after a very long time, and contains a huge list of rules to be rendered in the "Target Rules" tab :


              ruleCompliances = {};
              recentChanges = {};
              recentGraphs = {};
              refreshTable("grid_rules_grid_zone", [<huge list here>]
);

          ;

The tab content is loaded eagerly, as soon as we click on the directive and even if only the "Information" tab is displayed.

We should display the tab content lazily i.e. when the "Target rules" tab is clicked

Actions #8

Updated by Nicolas CHARLES 21 days ago

The slowdown is on the browser side
  • the tree is slow to load, because event are attached to every nodes
  • it seems that when we save a directive, the directive tree is rendered 3 times, resulting in a timeout
Actions #9

Updated by Clark ANDRIANASOLO 19 days ago

  • Status changed from New to In progress
Actions #10

Updated by Clark ANDRIANASOLO 19 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/6250
Actions #11

Updated by Nicolas CHARLES 16 days ago

  • Related to Bug #26190: Cannot open status dropdown when on a directive page added
Actions #12

Updated by Clark ANDRIANASOLO 9 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF