Bug #25892
open
Error when accepting 2 or more nodes
Added by Nicolas CHARLES 3 days ago.
Updated about 5 hours ago.
Category:
Web - Nodes & inventories
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
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
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
- Subject changed from Error when accepting inventories to Error when accepting 2 or more nodes
- Priority changed from N/A to 1 (highest)
Also available in: Atom
PDF