Bug #5329
closedUser story #5899: Do not display reporting on overriden 'unique' Directives
False "no answer" reporting when rules with "unique" directive are overridden
Description
Hi,
Let's consider a single, non multi-instanciable technique, to set the console keyboard layout (KEYMAP=xy in /etc/vconsole.conf).
Create two directives from this technique, one to set a US layout, the second on to set a Bosnian layout (see attached picture). They are supposed to be applied to different groups, of course. But, if the associated rules target by mistake an intersecting group of nodes (e.g. a node is in both groups), the global report for these nodes become non-informative.
When two rules (from the same non multi-instantiable technique) are applied to the same node, the rule with the lowest priority will not be generated for the node, and so will be stuck as "Applying"/"No report" in reporting. And this is the "worst result", so the global reporting for this node will show up as "No report", even if everything else worked.
Wouldn't it be possible to create an "Overridden" status for that, which doesn't count in the global status, but can be useful for the admin to detect any unwanted conflict?
Thanks.
Files
Updated by François ARMAND almost 11 years ago
- Status changed from New to Discussion
- Assignee set to François ARMAND
Updated by François ARMAND almost 11 years ago
- Assignee changed from François ARMAND to Jonathan CLARKE
Updated by François ARMAND almost 11 years ago
- Subject changed from More precise reporting when rules are overridden? to False "no answer" reporting when rules with "unique" directive are overridden
Updated by François ARMAND almost 11 years ago
- Status changed from Rejected to In progress
- Assignee changed from Jonathan CLARKE to François ARMAND
Updated by François ARMAND over 10 years ago
- Pull Request set to https://github.com/Normation/rudder/pull/645
Updated by François ARMAND over 10 years ago
- Assignee changed from François ARMAND to Nicolas CHARLES
Updated by François ARMAND over 10 years ago
- Status changed from In progress to Pending technical review
Updated by François ARMAND over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Updated by François ARMAND over 9 years ago
- Related to User story #7616: Overriden directives are not listed in reports information added