Bug #6519
closed
When 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
Added by Nicolas CHARLES almost 10 years ago.
Updated almost 10 years ago.
Category:
Web - Compliance & node report
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
With the change, here is what we get
- 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)
checked the advanced report plugin, it seems to be compliant
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Related to Bug #6619: When only adding directives to Rules, reporting is not displayed for added directives added
- Related to deleted (Bug #6619: When only adding directives to Rules, reporting is not displayed for added directives)
- 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.
- Related to Bug #6723: When we add a node, we have some rules where we loose all compliance added
- Related to Bug #7080: Clear cache doesn't regenerate expected reports added
Also available in: Atom
PDF