Actions
Bug #2609
closedAfter an upgrade from 2.4.0~alpha7 to a nightly build, LDAP connections could not be established
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
After restarted all services link by Rudder, this error is displayed on the WebUI:
Failure(Deployment error for process '233' at 2012/06/27 17:41:21,Empty,Full(Failure(Cannot build Rule vals,Empty,Full(Failure(Could not find configuration vals,Empty,Full(Failure(Can't get a new LDAP connection,Full(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389: java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389: java.net.ConnectException: Connection refused')),Empty)))))))
Into the log, it doesn't seem to be any error about LDAP:
18:14:10.080 [pool-3-thread-4] ERROR com.normation.rudder.batch.CheckTechniqueLibrary$LAUpdateTechLibManager - Ignoring start update dynamic group request because one other update still processing 18:14:10.086 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276736] Start search for { returnType:'node' with 'And' criteria [node.OS eq Linux] } 18:14:10.086 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276736] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(objectClass=linuxNode),DNJoin,Set()) 18:14:10.091 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276736] `-> 10 results 18:14:10.138 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276737] Start search for { returnType:'node' with 'And' criteria [node.OS eq Linux ; node.osName eq Centos ; node.osVersion lt 7] } 18:14:10.138 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276737] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(&(objectClass=linuxNode)(&(objectClass=node)(osName=Centos))(&(osVersion=*)(!(osVersion>=7)))),DNJoin,Set()) 18:14:10.140 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276737] `-> 3 results 18:14:10.161 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276738] Start search for { returnType:'node' with 'Or' criteria [node.osVersion eq 6.2 ; node.osVersion eq 11 ; node.osVersion eq 6.0.4] } 18:14:10.161 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276738] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(|(osVersion=6.2)(osVersion=11)(osVersion=6.0.4)),DNJoin,Set()) 18:14:10.163 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276738] `-> 3 results 18:14:10.177 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276739] Start search for { returnType:'node' with 'And' criteria [node.osName eq Ubuntu] } 18:14:10.178 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276739] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(&(objectClass=node)(osName=Ubuntu)),DNJoin,Set()) 18:14:10.179 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276739] `-> 2 results 18:14:10.190 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276740] Start search for { returnType:'node' with 'And' criteria [node.osName eq Suse ; node.OS eq Linux ; node.nodeHostname regex frcdg[0-9]+.*] } 18:14:10.191 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276740] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(&(&(objectClass=node)(osName=Suse))(objectClass=linuxNode)(objectClass=*)),DNJoin,Set()) 18:14:10.192 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276740] `-> 0 results 18:14:10.200 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276741] Start search for { returnType:'node' with 'And' criteria [node.osName eq Debian ; node.ram gteq 200 MB] } 18:14:10.200 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276741] |- LDAPObjectType(ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration,One,(&(&(objectClass=node)(osName=Debian))(ram>=209715200)),DNJoin,Set()) 18:14:10.202 [pool-3-thread-3] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [196268276741] `-> 1 results 18:14:10.210 [pool-3-thread-2] DEBUG com.normation.rudder.batch.UpdateDynamicGroups$LAUpdateDyngroupManager - Dynamic group update started at 2012/06/27 18:14:10, ended at 2012/06/27 18:14:10
Actions