Actions
Bug #13424
closedGroup of group is empty if we use the AND combinator
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
79
Name check:
Fix check:
Regression:
Description
I have a Redhat group and a webserver group.
If I want to create a rehdat webserver group with 2 criteria the resulting group is empty
Updated by François ARMAND about 6 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Effort required set to Very Small
- Priority changed from 0 to 80
We should be at least capable to quickly add a test for it to better know the required effort.
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.3.5 to 4.3.6
Updated by François ARMAND about 6 years ago
- Status changed from New to In progress
Updated by François ARMAND about 6 years ago
The problem is that the request done looks like:
LDAPObjectType(groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration,Sub,LDAPObjectTypeFilter((objectClass=nodeGroup)),Some((&(nodeGroupId=test-group-node1)(nodeGroupId=test-group-node12))),NodeDnJoin,Set())
The "and" must be on the resulting list of nodes, not on the nodeGroupId.
Updated by François ARMAND about 6 years ago
Also: it's only on intersection of N groups. If you have a group and something else (for ex: a node by hostname), it works (because in that case, as the attribute are not the same, the and is done on nodes)
Updated by François ARMAND about 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/2050
Updated by François ARMAND about 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|350fba9e672393c9c5e89851cdcf5b527300af2d.
Updated by Vincent MEMBRÉ about 6 years ago
- Translation missing: en.field_tag_list set to Next minor release
- Priority changed from 80 to 79
Updated by Vincent MEMBRÉ about 6 years ago
- Status changed from Pending release to Released
Actions