Project

General

Profile

Actions

Bug #25336

closed

Architecture #24963: Persist compliance in base to know last state for a long time

Architecture #25219: Cache for node properties and hierarchies

Inheritance errors in properties but policy generation succeeds and properties are not loaded

Added by Clark ANDRIANASOLO 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Medium
Priority:
64
Name check:
To do
Fix check:
To do
Regression:
No

Description

When having some inheritance errors to determine the resolution of node properties, and using the properties in the policies :

2024-08-21 13:58:04+0000 WARN  application - Accumulated: Inconsistency: Error when trying to find overrides for group property 'foo'. Several groups which are not in an inheritance relation define it. You will need to define a new group with all these groups as parent and choose the order on which you want to do the override by hand. Faulty groups: G16 (6003cf0d-28a3-40d2-aa8b-b6a54965f519), G17 (389e1742-41cb-4973-b003-3d634eafb073)

, the policy generation still succeeds, but it should fail with the same error because used properties cannot be resolved at all.

Also due to the properties not being able to be resolved, when going on a node or groups page, an error notification error is displayed because the API fails to get the properties from the cache which is empty, with an error : "Inconsistency: Node with ID '{nodeId}' was not found.'" (in a node details).


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #25528: List node with properties inheritance error in status bar for generationReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF