Bug #26348
openTimeout on directive save
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.
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)
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.
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
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
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
Updated by Vincent MEMBRÉ about 1 month ago
- Target version changed from 8.2.5 to 8.2.6
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
Updated by Nicolas CHARLES 21 days ago
- 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
Updated by Clark ANDRIANASOLO 19 days ago
- Status changed from New to In progress
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
Updated by Nicolas CHARLES 16 days ago
- Related to Bug #26190: Cannot open status dropdown when on a directive page added
Updated by Clark ANDRIANASOLO 9 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|7189f7dbafeebf842c0ad4ad2581ce6cb1f75057.