Actions
Bug #25892
closedError when accepting 2 or more nodes
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Yes
Description
I tried to accept 3 inventories, and got the following error
Error when saving full inventory for node with ID 'aa2eb65b-ac72-4453-915d-f3bf88a4a6aa' <- BackendException: Can not get tree 'nodeId=aa2eb65b-ac72-4453-915d-f3bf88a4a6aa,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration': null; cause was: com.unboundid.ldap.sdk.LDAPSearchException: The connection is not established. -> com.normation.ldap.sdk.RoLDAPConnection.$anonfun$getTreeFilter$1(LDAPConnection.scala:376) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.box$IOToBox.toBox(ZioCommons.scala:488) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1(AcceptNode.scala:135) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1$adapted(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.addNodes(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$listNode$7(AcceptNode.scala:253) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) ;you probably need to increase value ldap.maxPoolSize property in configuration file, please check the documentation - see https://docs.rudder.io/reference/7.0/administration/performance.html#_ldap_configuration Error when saving full inventory for node with ID 'a2cecc33-8c10-4a72-9e7c-522990be6868' <- BackendException: Can not get tree 'nodeId=a2cecc33-8c10-4a72-9e7c-522990be6868,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration': null; cause was: com.unboundid.ldap.sdk.LDAPSearchException: The connection is not established. -> com.normation.ldap.sdk.RoLDAPConnection.$anonfun$getTreeFilter$1(LDAPConnection.scala:376) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.box$IOToBox.toBox(ZioCommons.scala:488) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1(AcceptNode.scala:135) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1$adapted(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.addNodes(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$listNode$7(AcceptNode.scala:253) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) ;you probably need to increase value ldap.maxPoolSize property in configuration file, please check the documentation - see https://docs.rudder.io/reference/7.0/administration/performance.html#_ldap_configuration
Updated by Nicolas CHARLES about 1 month ago
log from webapp is
2024-11-18 19:25:55+0000 INFO nodes - New accepted node: 'db-qa.rudder.local' [eba5a3e8-c3fe-445f-a650-f9e722e5d683]' 2024-11-18 19:25:55+0000 INFO nodes - Update in node 'eba5a3e8-c3fe-445f-a650-f9e722e5d683' inventories main information detected: triggering dynamic group update and a policy generation 2024-11-18 19:25:55+0000 INFO policy.generation - Start policy generation, checking updated rules 2024-11-18 19:25:55+0000 WARN explain_compliance.eba5a3e8-c3fe-445f-a650-f9e722e5d683 - Can not get compliance for node with ID 'eba5a3e8-c3fe-445f-a650-f9e722e5d683' because i t has no configuration id initialised nor sent reports (node just added ?) 2024-11-18 19:25:55+0000 WARN explain_compliance.eba5a3e8-c3fe-445f-a650-f9e722e5d683 - Can not get compliance for node with ID 'eba5a3e8-c3fe-445f-a650-f9e722e5d683' because i t has no configuration id initialised nor sent reports (node just added ?) 2024-11-18 19:25:55+0000 INFO dynamic-group - Dynamic group all-nodes-with-cfengine-agent: added node with id: [ eba5a3e8-c3fe-445f-a650-f9e722e5d683 ], removed: nothing 2024-11-18 19:25:55+0000 INFO dynamic-group - Dynamic group hasPolicyServer-root: added node with id: [ eba5a3e8-c3fe-445f-a650-f9e722e5d683 ], removed: nothing 2024-11-18 19:25:55+0000 ERROR nodes.pending - Error when trying to accept node with id 'aa2eb65b-ac72-4453-915d-f3bf88a4a6aa': Error when saving full inventory for node with ID 'aa2eb65b-ac72-4453-915d-f3bf88a4a6aa'; cause was: BackendException: Can not get tree 'nodeId=aa2eb65b-ac72-4453-915d-f3bf88a4a6aa,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration': null; cause was: com.unboundid.ldap.sdk.LDAPSearchException: The connection is not established. -> com.normation.ldap.sdk.RoLDAPConnection.$anonfun$getTreeFilter$1(LDAPConnection.scala:376) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.box$IOToBox.toBox(ZioCommons.scala:488) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1(AcceptNode.scala:135) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1$adapted(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.addNodes(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$listNode$7(AcceptNode.scala:253) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) ;you probably need to increase value ldap.maxPoolSize property in configuration file, please check the documentation - see https://docs.rudder.io/reference/7.0/administration/performance.html#_ldap_configuration 2024-11-18 19:25:55+0000 ERROR nodes.pending - Error when trying to accept node with id 'a2cecc33-8c10-4a72-9e7c-522990be6868': Error when saving full inventory for node with ID 'a2cecc33-8c10-4a72-9e7c-522990be6868'; cause was: BackendException: Can not get tree 'nodeId=a2cecc33-8c10-4a72-9e7c-522990be6868,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration': null; cause was: com.unboundid.ldap.sdk.LDAPSearchException: The connection is not established. -> com.normation.ldap.sdk.RoLDAPConnection.$anonfun$getTreeFilter$1(LDAPConnection.scala:376) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.box$IOToBox.toBox(ZioCommons.scala:488) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1(AcceptNode.scala:135) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1$adapted(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.addNodes(AcceptNode.scala:122) -> com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$listNode$7(AcceptNode.scala:253) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) ;you probably need to increase value ldap.maxPoolSize property in configuration file, please check the documentation - see https://docs.rudder.io/reference/7.0/administration/performance.html#_ldap_configuration 2024-11-18 19:25:55+0000 INFO policy.generation - [metrics] Xmx:1 GB nodes:3 (cached:2) rules:4 (enabled:3) techniques:8 (enabled:8) directives:8 (enabled:8) groups:3 (dynamic:3) parameters:2
Updated by Nicolas CHARLES about 1 month ago
- Subject changed from Error when accepting inventories to Error when accepting 2 or more nodes
Updated by Nicolas CHARLES about 1 month ago
- Priority changed from N/A to 1 (highest)
Updated by Vincent MEMBRÉ 26 days ago
- Target version changed from 8.2.2 to 8.1.9
Updated by Vincent MEMBRÉ 26 days ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ 26 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/6045
Updated by François ARMAND 25 days ago
- Related to Enhancement #25742: Add LDAP synchronous mode config param added
Updated by François ARMAND 25 days ago
- Status changed from Pending technical review to In progress
I'm taking over this issue!
Updated by François ARMAND 25 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request changed from https://github.com/Normation/rudder/pull/6045 to https://github.com/Normation/rudder/pull/6047
Updated by Anonymous 25 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|adca526ca06babf7a9a833fd94963ea9aa852848.
Updated by Vincent MEMBRÉ 24 days ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.1.9 and 8.2.2 which were released today.
Actions