Bug #6519
closedWhen we add a node in a rule, we lose all compliance info on this rule applied on it, and we change promises of all the nodes of the rule
Description
If I have Rule A applied on node 1, 2 and 3, and we add node4 in the target of the rule, the global compliance will be "Applying", even if nothing changed for RuleA on node1, 2 and 3
This is because we are eagerly increasing serial (think of version) of the rule when adding node (note that when we remove a node, the serial does not change)
It would be so much cooler to have the compliance for node1, 2 and 3 displayed, and Applying for node 4, as it would make compliance usable even when we change a lot the nodes
don't you think ?
Files
Updated by Nicolas CHARLES almost 10 years ago
With the change, here is what we get
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/850
https://github.com/Normation/rudder/pull/850
We need to check that it doesn't break the advanced report plugin also
But this 8 lines change changes everything, and even if it is a behavioural change, I'm conviced it need to be merged in 2.11 (fix in 2.10 would be much larger and difficult)
Updated by Nicolas CHARLES almost 10 years ago
checked the advanced report plugin, it seems to be compliant
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|9201c283fd4efb96d9c7c345874f2110f4f13c40.
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #6619: When only adding directives to Rules, reporting is not displayed for added directives added
Updated by Vincent MEMBRÉ over 9 years ago
- Related to deleted (Bug #6619: When only adding directives to Rules, reporting is not displayed for added directives)
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.11 and 3.0.5 which were released today.
- Announcement 2.11
- Changelog 2.11 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #6723: When we add a node, we have some rules where we loose all compliance added
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #7080: Clear cache doesn't regenerate expected reports added