Bug #6039
closedThe expected reports of other rules are not correctly updated when we create a new rule
Description
I created a directive to install a package, that a applied twice on two identical rule
The result is:
- the generated promises ocntains twice the package to install
- one of the rule contains all the node in its target list
- another one does contain only one node in its target list
When drilling down in the database, the expected reports on node have the config id correct for the second rule created, but for the first one, only one out of two has the correct config id (the fact that it is first and second may be just random)
Updated by Nicolas CHARLES almost 10 years ago
If then update the directive, the list of node in the rules is corrected
Updated by Nicolas CHARLES almost 10 years ago
- Subject changed from When I apply same directive twice to Node, the expected reports are not correctly updated to The expected reports of other rules are not correctly updated when we create a new rule
Ok ,the problem is more complex than that.
Simply creating a new rule to nodes will change the ocnfig id for this node, but not the expected config id of all others rules applying on these nodes. So it fails...
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/741
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 8db7240d66bf82e9151187b1eb0f85e908eef9ad.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset 015e057a15051f6d72226b7f060289b1f7b42117.
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~rc1, which was released today.
- Announcement 3.0
- Changelog 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/