Project

General

Profile

Bug #20984

Updated by François ARMAND almost 2 years ago

There's a windows inventory that systematicall trigger ldap error  
 Symptome is 
 <pre> 
 ERROR inventory-processing - Error when trying to process report: Can't merge inventory report in LDAP directory, aborting; cause was: Exception when commiting inventory, abort.; cause was: BackendException: Error when doing action 'adds' with and LDIF change request: null; cause was: com.unboundid.ldap.sdk.LDAPException: no such object 
  -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyAdds$2(LDAPConnection.scala:562) 
  -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyMod$1(LDAPConnection.scala:514) ;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 
 </pre> 

 the Machine part is saved, but not the nodes part 

 Preventing from saving the Environment make it works, preventing from saving software and/or FS and/or Networks makes it fails with an error about missing localAdministratorName when saving processes (most likely because there aren't any processes on windows) 


 Fails both in 6.2 & 7.0 

 *Test correction* 

 - create two identical env var appart from a leading space on a node 
 - rudder agent inventory 
 - check that inventory contains both env var 
 - check that inventory is accepted by server

Back