Project

General

Profile

Actions

Bug #10478

closed

Error on inserting into nodecompliance table

Added by Nicolas CHARLES over 7 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
29
Name check:
Fix check:
Checked
Regression:

Description

In my postgresql logs, I get sometimes errors like

ERROR:  duplicate key value violates unique constraint "nodecompliance_pkey" 
DETAIL:  Key (nodeid, runtimestamp)=(747ebdce-2769-4d04-a7ae-0ff6ace8086a, 2017-03-21 00:27:19+00) already exists.
STATEMENT:  insert into nodecompliance (nodeid, runtimestamp, endoflife, runanalysis, summary, details)
                               values ($1, $2, $3, $4, $5, $6)

ERROR:  duplicate key value violates unique constraint "nodecompliance_pkey" 
DETAIL:  Key (nodeid, runtimestamp)=(root, 2017-03-21 15:30:53+00) already exists.
STATEMENT:  insert into nodecompliance (nodeid, runtimestamp, endoflife, runanalysis, summary, details)
                               values ($1, $2, $3, $4, $5, $6)

There is 0 logs in the webapp about that


Related issues 3 (0 open3 closed)

Related to Rudder - Bug #13427: On error on nodecompliance SQL, logs are hugeReleasedFrançois ARMANDActions
Related to Rudder - Bug #15021: When receiving lots of reports, while load is high, an error occurs on node compliance historisation RejectedActions
Is duplicate of Rudder - Bug #18188: Error log about duplicates entries when saving node compliance levelsReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF