Project

General

Profile

Actions

Bug #27180

closed

Node compliance persistence fails when all reports from sysevents are cleaned

Added by François ARMAND 25 days ago. Updated 9 days ago.

Status:
Released
Priority:
2
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

If we have node compliance that is configured for more than 3 days, and we reached the point where all ruddersysevents are cleaned, then:

- we do have the log message "last node run is too old but compliance persistance is configured for that node for XXX days"
- but the compliance bar in UI remains forever in stipped blue
- and we have "never" in last seen column.

So it seems that when we don't have any runs remaining in ruddersysevent, then we don't reach "is there compliance" in the UI, BUT we still have the log.

In that case, the explain compliance logs show:

2025-07-01 17:25:00+0200 DEBUG explain_compliance.384c0785-0291-4964-9249-xxx - Run config for node 384c0785-0291-4964-9249-xxx: NoReportInInterval : no run (ever or too old)
2025-07-01 17:25:00+0200 DEBUG explain_compliance.384c0785-0291-4964-9249-xxx - Computing compliance for node 384c0785-0291-4964-9249-xxx with: [NoReportInInterval: expected NodeConfigId: 20250701-171458-df83b9fc/[20250701T171458+0200-now]| last run: none available (or too old)]
2025-07-01 17:25:00+0200 DEBUG explain_compliance.384c0785-0291-4964-9249-xxx - Node didn't received reports recently, status depend of the compliance mode and previous report status
2025-07-01 17:25:00+0200 INFO  compliance - Node with id '384c0785-0291-4964-9249-xxx' hasn't send report in expected time but rudder.compliance_expiration_policy is configured to keep compliance for 93 days: waiting until 2025-10-02T17:35:00+02:00


Files

clipboard-202507011738-wpzgo.png (170 KB) clipboard-202507011738-wpzgo.png François ARMAND, 2025-07-01 17:38

Related issues 2 (2 open0 closed)

Related to Rudder - Bug #26864: Node in “keep compliance” displayed as “never ran”NewFrançois ARMANDActions
Related to Rudder - Bug #27282: Node persistant compliance fails after a node has been down for a few daysNewFrançois ARMANDActions
Actions

Also available in: Atom PDF