Project

General

Custom queries

Profile

Actions

Bug #26869

closed

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

Added by Nicolas Ecarnot 2 months ago. Updated 2 months ago.

Status:
Released
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:
Checked
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
#6

Updated by Clark ANDRIANASOLO 2 months ago

  • Related to Bug #26200: Error at rudder start after an upgrade added
#7

Updated by Clark ANDRIANASOLO 2 months ago

#8

Updated by Clark ANDRIANASOLO 2 months ago

  • Category set to Web - Maintenance
  • Assignee set to Clark ANDRIANASOLO
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Very Small
#9

Updated by Clark ANDRIANASOLO 2 months ago

  • Status changed from New to In progress
#10

Updated by Clark ANDRIANASOLO 2 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/6356
#11

Updated by Clark ANDRIANASOLO 2 months ago

  • Status changed from Pending technical review to Pending release
#12

Updated by Alexis Mousset 2 months ago

  • Fix check changed from To do to Checked
#13

Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF