Project

General

Profile

Actions

Bug #12338

closed

"Error when trying to find dependencies for that group" when accepting a node

Added by Nicolas CHARLES over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

On a freshly installed Rudder 4.3 rc2, I created:
  1. a group "my group linux" Rudder ID "be995359-2194-4389-9388-98d16aa3ea96", with all linux node (excluding policy server)
  2. a group "dependant group", Rudder ID "046bac3d-0ef0-4a0c-a767-5f0099729113", with node that are in group id "be995359-2194-4389-9388-98d16aa3ea96"

A directive MOTD, a Rule "dependant rule", Rudder ID "616660fe-0d2a-4d77-a268-fab14764ed3c", with directive MOTD and target "dependant group"

On accept new nodes page, if I click on the magnifying glass, I have the following error message
"Error when trying to find dependencies for that group"

Logs say

[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] Start search for { returnType:'NodeAndPolicyServerReturnType' with 'And' criteria [node.agentName eq cfengine] }
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |- (final query) LDAPObjectType(ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration,One,LDAPObjectTypeFilter((objectClass=*)),Some((|(agentName=*"agentType":"cfengine-community"*)(agentName=*"agentType":"community"*)(agentName=community)(agentName=*"agentType":"cfengine-nova"*)(agentName=*"agentType":"nova"*)(agentName=nova))),DNJoin,Set())
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- SearchRequest(baseDN='ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', scope=ONE, deref=NEVER, sizeLimit=0, timeLimit=0, filter='(&(objectClass=*)(|(agentName=*"agentType":"cfengine-community"*)(agentName=*"agentType":"community"*)(agentName=community)(agentName=*"agentType":"cfengine-nova"*)(agentName=*"agentType":"nova"*)(agentName=nova)))', attrs={1.1})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after ldap search request 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after post-processing: 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- results are:
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=1221422b-4576-4f53-b8a9-b2184063a00b,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'1221422b-4576-4f53-b8a9-b2184063a00b'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=ada7da88-1fe3-4f2f-aa7f-818e29163ccf,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'ada7da88-1fe3-4f2f-aa7f-818e29163ccf'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] `-> 1 results
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] Start search for { returnType:'NodeAndPolicyServerReturnType' with 'And' criteria [node.agentName eq cfengine ; node.policyServerId eq root] }
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |- (final query) LDAPObjectType(ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration,One,LDAPObjectTypeFilter((objectClass=*)),Some((&(|(agentName=*"agentType":"cfengine-community"*)(agentName=*"agentType":"community"*)(agentName=community)(agentName=*"agentType":"cfengine-nova"*)(agentName=*"agentType":"nova"*)(agentName=nova))(policyServerId=root))),DNJoin,Set())
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- SearchRequest(baseDN='ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', scope=ONE, deref=NEVER, sizeLimit=0, timeLimit=0, filter='(&(objectClass=*)(&(|(agentName=*"agentType":"cfengine-community"*)(agentName=*"agentType":"community"*)(agentName=community)(agentName=*"agentType":"cfengine-nova"*)(agentName=*"agentType":"nova"*)(agentName=nova))(policyServerId=root)))', attrs={1.1})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after ldap search request 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after post-processing: 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- results are:
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=1221422b-4576-4f53-b8a9-b2184063a00b,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'1221422b-4576-4f53-b8a9-b2184063a00b'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=ada7da88-1fe3-4f2f-aa7f-818e29163ccf,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'ada7da88-1fe3-4f2f-aa7f-818e29163ccf'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] `-> 1 results
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] Start search for { returnType:'NodeReturnType' with 'And' criteria [node.OS eq Linux] }
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |- (final query) LDAPObjectType(ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration,One,LDAPObjectTypeFilter((objectClass=*)),Some((objectClass=linuxNode)),DNJoin,Set())
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- SearchRequest(baseDN='ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', scope=ONE, deref=NEVER, sizeLimit=0, timeLimit=0, filter='(&(objectClass=*)(objectClass=linuxNode))', attrs={1.1})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after ldap search request 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |---- after post-processing: 2 result(s)
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- results are:
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=1221422b-4576-4f53-b8a9-b2184063a00b,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'1221422b-4576-4f53-b8a9-b2184063a00b'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |--- Entry(dn='nodeId=ada7da88-1fe3-4f2f-aa7f-818e29163ccf,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration', attributes={Attribute(name=nodeId, values={'ada7da88-1fe3-4f2f-aa7f-818e29163ccf'})})
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] `-> 1 results
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] Start search for { returnType:'NodeReturnType' with 'And' criteria [] }
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] |- (final query) LDAPObjectType(ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration,One,LDAPObjectTypeFilter((objectClass=*)),None,DNJoin,Set())
[2018-04-03 08:43:13] DEBUG com.normation.rudder.services.queries.InternalLDAPQueryProcessor - [0] `-> error: Failure(No filter (neither standard nor special) for request, can not process!,Empty,Empty)
[2018-04-03 08:43:13] ERROR com.normation.rudder.web.components.popup.ExpectedPolicyPopup - Error when trying to find dependencies for that group: Error when building the map of dynamic group to update by node


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #12060: Incomplete "Rules to be applied" summary when accepting a new nodes when using groups of groupsReleasedVincent MEMBRÉActions
Related to Rudder - Bug #12343: LDAP query checker must succeed when criteria is emptyReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF