Project

General

Profile

Actions

Bug #26869

open

Logs filled with similar errors : SQL : la relation « nodelastcompliance » n'existe pas.

Added by Nicolas Ecarnot about 13 hours ago. Updated about 7 hours ago.

Status:
Pending release
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Hello,

The log file /var/log/rudder/core/rudder-webapp.log is looping every two seconds filling with the following error :

May 05 00:00:06 sit-conf-prd01 rudder[report.cache]: [ERROR] Error when updating compliance cache for nodes: [2d402b3a-a970-460d-981c-209ac0ac2a3e]: SystemError: error when saving compliance for nodes; cause was: java.sql.BatchUpdateException: Batch entry 0
INSERT INTO NodeLastCompliance (nodeId, computationDateTime, details) VALUES .....
...a very large query content ...., ending with the error :
ON CONFLICT (nodeId) DO UPDATE
  SET computationDateTime = excluded.computationDateTime, details = excluded.details  was aborted: ERREUR: la relation « nodelastcompliance » n'existe pas
  Position: 13  Call getNextException to see other errors in the batch.

I looks like something is wrong with our postgreSQL schema, though I did nothing about it.
My only actions is to upgrade Rudder server using Debian apt packages.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #26200: Error at rudder start after an upgradeReleasedVincent MEMBRÉActions
Related to Rudder - Architecture #25396: Persist compliance in baseReleasedClark ANDRIANASOLOActions
Actions

Also available in: Atom PDF