Bug #20736
closedList of directive for the pending node is invalid
Description
The method getDependantRulesForNode returns surprising result
One part is handled in #20716 and fixes the search on nodeproperties & node state, but the rest will be managed here
Updated by Nicolas CHARLES almost 3 years ago
- Related to Bug #20716: Improve dynamic group computation speed and fix inverted searched added
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4168
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|132258065d8dc526e9a4433ae5c1e462ada545b8.
Updated by François ARMAND almost 3 years ago
Testing three cases:
- a rule applying to root server only should never appear in the list of futur directives
- a rule applying to a group based on a node property should be listed if the pending node has that property set from an inventory hook
- same as above, but with "reverse": if the node has the prop, the rule should not be listed ; if it is missing the prop, it should be.
Updated by François ARMAND almost 3 years ago
Checked:
- rule for root only does not appear,
- rule based on a property and the node has the prop appears,
- (invert result of group based on property) and the node has the prop: the rule appears
Updated by François ARMAND almost 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.