Architecture #19895
openldap error when accepting 100 nodes at once
Description
[2021-08-31 19:46:15+0000] INFO nodes - New node accepted and managed by Rudder: 22d9d349-cbf7-43d3-8870-0e24b63f233a [2021-08-31 19:46:15+0000] WARN explain_compliance.22d9d349-cbf7-43d3-8870-0e24b63f233a - Can not get compliance for node with ID '22d9d349-cbf7-43d3-8870-0e24b63f233a' because it has no configuration id initialised nor sent reports (node just added ?) [2021-08-31 19:46:15+0000] ERROR nodes.pending - Error when trying to accept node 03bb0219-957d-4851-b472-cd2c855749ce. Rollbacking. <- Error when executing accept node process named accept_new_server:inventory <- Error when moving node with ID '03bb0219-957d-4851-b472-cd2c855749ce' from 'pending' to 'accepted' <- BackendException: Error when doing action 'modify DN' with and LDIF change request: null; cause was: com.unboundid.ldap.sdk.LDAPException: The connection is not established. -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$move$2(LDAPConnection.scala:606) -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyMod$1(LDAPConnection.scala:514) [2021-08-31 19:46:15+0000] ERROR nodes.pending - Error when rollbacking server node id 03bb0219-957d-4851-b472-cd2c855749ce in process 'accept_new_server:inventory', you should delete it by hand. Error messages: Error when moving node with ID '03bb0219-957d-4851-b472-cd2c855749ce' from 'accepted' to 'pending' <- BackendException: Error when doing action 'modify DN' with and LDIF change request: null; cause was: com.unboundid.ldap.sdk.LDAPException: no such object -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$move$2(LDAPConnection.scala:606) -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyMod$1(LDAPConnection.scala:514) [2021-08-31 19:46:15+0000] INFO nodes - New node accepted and managed by Rudder: 13daa44a-d14a-437c-a5ac-2c00a4a7e600
no error in slapd logs, and it was up and running
Updated by Nicolas CHARLES over 3 years ago
moving from 2 to 6 ldap connections improves dratically the perfs and removes the issue
Updated by François ARMAND over 3 years ago
- Target version changed from 7.0.0~beta1 to 899
So, we need at least to update documentation on that fact.
Plus, it would be more actionnable for the user (and ourselves) to have a meaningfull info regarding that, but I'm not sure how to do that. Check for The connection is not established
and add a message If not related to network condition, this problem can be triggered by a number of LDAP connection to small for you load. Please look at doc here
?
Updated by Nicolas CHARLES over 3 years ago
Also, I'm pretty sure that accepting more than 50 nodes at once is not realistic. We should prevent the option in the datatable
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 899 to 7.0.0~beta3
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 7.0.0~beta3 to 7.0.0~rc1
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 7.0.0~rc1 to 7.0.0~rc2
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 7.0.0~rc2 to 7.0.0~rc3
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 7.0.0~rc3 to 7.0.0
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 7.0.0 to 7.0.1
Updated by François ARMAND about 3 years ago
- Target version deleted (
7.0.1)
This one is not specific to 7.0, and likely an arch problem
Updated by François ARMAND about 3 years ago
- Tracker changed from Bug to Architecture
- Priority deleted (
0)
I think it needs an arch evolution.