Bug #20736
closed
List of directive for the pending node is invalid
Added by Nicolas CHARLES almost 3 years ago.
Updated over 2 years ago.
Category:
Web - Nodes & inventories
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
- Related to Bug #20716: Improve dynamic group computation speed and fix inverted searched added
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- 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
- Description updated (diff)
- Status changed from Pending technical review to Pending release
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.
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
- Fix check changed from To do to Checked
- 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.
Also available in: Atom
PDF