Project

General

Profile

Actions

Bug #5764

closed

List of impacted rules when accepting nodes or modifing directives is not accurate

Bug #5764: List of impacted rules when accepting nodes or modifing directives is not accurate

Added by Maxime Longuet about 11 years ago. Updated almost 11 years ago.

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

Description

In Rudder 2.11 (upgrade of 2.10)

When i'm accept new node, in the list of rules that will be applied to it, there is:

"Rudder system policy: Server roles"


Files

Pièce jointe.png (61.7 KB) Pièce jointe.png Maxime Longuet, 2014-11-11 16:15
Pièce jointe.png

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6454: networks.conf missing on relay serversReleasedNicolas CHARLESActions

Updated by François ARMAND about 11 years ago Actions #1

  • Description updated (diff)

Hi Maxime,

Thanks for reporting.

Updated by François ARMAND about 11 years ago Actions #2

  • Subject changed from Ruder policy server on accept new node to "Rudder system policy: Server roles" is displayed on the list of future rules of a new node
  • Category set to Web - Nodes & inventories
  • Status changed from New to 8
  • Priority changed from N/A to 2
  • Target version set to 2.11.5

So, with further investigation, it appears that the problem is "only" that the rule is displayed in the pop-up, because in fact, it is not applied to the node when accepted.

So, this is a bug of medium importance, since the workaround is quite simple (just accept the node) BUT having wrong information displayed is very, very bad.

the bug seems to be only in Rudder 2.11.

Updated by François ARMAND about 11 years ago Actions #3

  • Assignee set to François ARMAND

Updated by François ARMAND about 11 years ago Actions #4

  • Subject changed from "Rudder system policy: Server roles" is displayed on the list of future rules of a new node to List of impacted rules when accepting nodes or modifing directives is not accurate
  • Description updated (diff)

It has been reported to also happen when modifing a directive. On that case, a rule using a directive was not reported in the list of impacted rules when the directive was modified.

Updated by François ARMAND about 11 years ago Actions #5

So, it seems that there is a lot of problems in ExpectedPolicyPopup#rules:Box[Seq[Rule]] way of doing the computation.

We really need a "Give me the rules for that node" in DependencyAndDeletionService, else it will break all the time.

Updated by Vincent MEMBRÉ about 11 years ago Actions #6

  • Target version changed from 2.11.5 to 2.11.6

Updated by Vincent MEMBRÉ almost 11 years ago Actions #7

  • Target version changed from 2.11.6 to 2.11.7

Updated by Vincent MEMBRÉ almost 11 years ago Actions #8

  • Target version changed from 2.11.7 to 2.11.8

Updated by François ARMAND almost 11 years ago Actions #9

  • Status changed from 8 to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/824

Updated by François ARMAND almost 11 years ago Actions #10

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Vincent MEMBRÉ almost 11 years ago Actions #12

This bug has been fixed in Rudder 2.11.8 and 3.0.2 which were were released today.

Updated by Vincent MEMBRÉ almost 11 years ago Actions #13

  • Status changed from Pending release to Released

Updated by Nicolas CHARLES almost 11 years ago Actions #14

  • Related to Bug #6454: networks.conf missing on relay servers added
Actions

Also available in: PDF Atom