Project

General

Profile

Actions

Bug #20736

closed

List of directive for the pending node is invalid

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

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

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 issues 1 (0 open1 closed)

Related to Rudder - Bug #20716: Improve dynamic group computation speed and fix inverted searchedReleasedFrançois ARMANDActions
Actions #1

Updated by Nicolas CHARLES about 2 years ago

  • Related to Bug #20716: Improve dynamic group computation speed and fix inverted searched added
Actions #2

Updated by Nicolas CHARLES about 2 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES about 2 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
Actions #4

Updated by François ARMAND about 2 years ago

  • Description updated (diff)
Actions #5

Updated by Nicolas CHARLES about 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by François ARMAND about 2 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.

Actions #7

Updated by François ARMAND about 2 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

Actions #8

Updated by François ARMAND about 2 years ago

  • Fix check changed from To do to Checked
Actions #9

Updated by Vincent MEMBRÉ about 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.

Actions

Also available in: Atom PDF