Bug #25528
closedBug #25526: Configuration errors should be added to policy generation status detail
List node with properties inheritance error in status bar for generation
Description
We have a cache of node properties since #25219 and it leads to silent error behavior when there is a conflict in the hierarchy of properties inheritance : the cache is simply not updated and when Rudder restarts the cache even remains completely empty.
We need to improve the visibility of inheritance errors by :- adding logs (there are no logs at all after changing the configuration of groups, unless Rudder is restarted)
- isolating individual errors on properties to group them by node, an error on a single node property should not affect all nodes in Rudder
- displaying the errors for every node in the status bar next to policy generation, and turn the status icon to red if there is any error
- displaying the errors in the node and group page in the property table in the corresponding row
We should update the cache of node properties at any place where a change in the status of resolution of node properties for one or many node could occur.
Updated by Clark ANDRIANASOLO 3 months ago
- Related to Bug #25530: Group properties wrongly appear empty when group has no member nodes added
Updated by Clark ANDRIANASOLO 3 months ago
#25530 is a symptom of having silent errors and fetching no group properties because the cache is empty in case of any property inheritance errors
Updated by Michel BOUISSOU 3 months ago
- Related to Bug #25533: Group properties inheritance issue : Property modified for a group do not appear changed if another group defines the same property for one node both have in common. added
Updated by Clark ANDRIANASOLO 3 months ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO 3 months ago
Work in progess here: https://github.com/clarktsiory/rudder/commit/a1b9d69450509b92f7843ee70e49c38ca328853b
Updated by Clark ANDRIANASOLO 3 months ago
Work in progess here: https://github.com/clarktsiory/rudder/commit/7d7a06d13a9973a893d816f567f75933e1f5777b
Updated by Clark ANDRIANASOLO 3 months ago
Work in progess here: https://github.com/clarktsiory/rudder/commit/6e681f8cc0be946e4b13f09a3bdb65229b1d9037
Updated by Clark ANDRIANASOLO 3 months ago
- Related to Bug #22077: Group properties web page of a group of groups containing conflicting properties are unaccessible added
Updated by Clark ANDRIANASOLO 3 months ago
- Related to Bug #25332: When changing node properties the old table is sometimes still displayed added
Updated by Clark ANDRIANASOLO 3 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/5921
Updated by Clark ANDRIANASOLO 2 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|e5b46747e1129be9a7fc376232e2c314df0474db.
Updated by François ARMAND 2 months ago
- Has duplicate Bug #25336: Inheritance errors in properties but policy generation succeeds and properties are not loaded added
Updated by Vincent MEMBRÉ 2 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.2.0~rc1 which was released today.