Project

General

Profile

Actions

Bug #2223

closed

The default group query is incomplete

Added by Nicolas CHARLES about 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
1
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When creating a group, and leaving all default parameters,we cannot save the group, and we have the errors below.
It seems caused by the fact that the default equals value is "None", rather than Linux as shown. If I touch the select field to Linux then it works

11:00:34.925 [27340774@qtp-14460880-2] INFO c.n.r.repository.ldap.LDAPDiffMapper - Group DN entry 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' moved to 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration'
11:00:40.328 [27340774@qtp-14460880-2] ERROR c.n.r.web.components.NodeGroupForm - An error occurred while updating the group:Error when updating the group NodeGroupId(1d430ead-0b30-4719-ace3-381c30e41c4f) <- Error when mapping change record to a diff object: LDIFModifyChangeRecord(dn='nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration', mods={LDAPModification(type=replace, attr=jsonNodeGroupQuery, values={'{"select":"node","composition":"And","where":[{"objectType":"node","attribute":"OS","comparator":"eq","value":""}]}'})}) <- Missing required value for comparator 'eq' in line 'StringCriterionLine(node,OS,eq,None)'
11:01:06.025 [27340774@qtp-14460880-2] ERROR c.n.r.r.ldap.LDAPEntityMapper - Failure(Error when parsing query for node group persisted at DN 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' (name: 'wxcvxwvxv'), that seems to be an inconsistency. You should modify that group,Empty,Full(Failure(Missing required value for comparator 'eq' in line 'StringCriterionLine(node,OS,eq,None)',Empty,Empty)))
11:01:07.327 [20762714@qtp-14460880-5] ERROR c.n.r.r.ldap.LDAPEntityMapper - Failure(Error when parsing query for node group persisted at DN 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' (name: 'wxcvxwvxv'), that seems to be an inconsistency. You should modify that group,Empty,Full(Failure(Missing required value for comparator 'eq' in line 'StringCriterionLine(node,OS,eq,None)',Empty,Empty)))
11:01:07.354 [20762714@qtp-14460880-5] ERROR c.n.r.r.ldap.LDAPEntityMapper - Failure(Error when parsing query for node group persisted at DN 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' (name: 'wxcvxwvxv'), that seems to be an inconsistency. You should modify that group,Empty,Full(Failure(Missing required value for comparator 'eq' in line 'StringCriterionLine(node,OS,eq,None)',Empty,Empty)))
11:01:09.817 [28174326@qtp-14460880-4] ERROR c.n.r.r.ldap.LDAPEntityMapper - Failure(Error when parsing query for node group persisted at DN 'nodeGroupId=1d430ead-0b30-4719-ace3-381c30e41c4f,groupCategoryId=53cd1160-4b9b-4bed-91bd-bf44af0d9ee6,groupCategoryId=41b9017d-79c8-4047-8d24-a05f22d5fc31,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration' (name: 'wxcvxwvxv'), that seems to be an inconsistency. You should modify that group,Empty,Full(Failure(Missing required value for comparator 'eq' in line 'StringCriterionLine(node,OS,eq,None)',Empty,Empty)))


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #2403: Groups : "Can not find node 1ba2993b-af48-4317-9231-a69d3049c540"ReleasedFrançois ARMAND2012-04-02Actions
Actions #1

Updated by François ARMAND about 12 years ago

  • Target version changed from 2.4.0~alpha4 to 2.4.0~alpha5
Actions #2

Updated by François ARMAND about 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100
Actions #3

Updated by Nicolas CHARLES about 12 years ago

Great,
Thank you Francois !

Actions #4

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to Released
Actions

Also available in: Atom PDF