Actions
Bug #18814
closedError log about duplicates entries when saving node compliance levels
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
We still have these logs when they are not in english :(
[2021-01-07 00:16:53+0100] ERROR report - SystemError: Error when saving node compliances:; cause was: java.sql.BatchUpdateException: Batch entry 0 insert into nodecompliancelevels (nodeid,runtimestamp,ruleid,directiveid,pending,success,r... [2021-01-07 00:16:53+0100] ERROR scheduled.job - Error when executing [Store Agent Run Times] scheduler task started at 2021-01-07T00:16:53+01:00, ended at 2021-01-07T00:16:53+01:00. <- SystemError: Error when saving node compliances:; cause was: java.sql.BatchUpdateException: Batch entry 0 insert into nodecompliancelevels (nodeid,runtimestamp,ruleid,directiveid,pending,success,repaired,error,unexpected,missing,noanswer,notapplicable,reportsdisabled,compliant,auditnotapplicable,noncompliant,auditerror,badpolicymode) values ( '1d2dc3f1-fa85-4550-b7dc-504458c3bfd8','2021-01-07 00:01:26+01','aee341b1-97fe-4db0-a48f-4afeef1da629','39c89820-2145-4dcc-bcf9-89d90557f3be',0,4,0,0,0,0,0,4,0,0,0,0,0,0 ) was aborted: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « nodecompliancelevels_pkey » Detail: La clé « (nodeid, runtimestamp, ruleid, directiveid)=(1d2dc3f1-fa85-4550-b7dc-504458c3bfd8, 2021-01-07 00:01:26+01, aee341b1-97fe-4db0-a48f-4afeef1da629, 39c89820-2145-4dcc-bcf9-89d90557f3be) » existe déjà. Call getNextException to see other errors in the batch. -> [2021-01-07 00:16:58+0100] ERROR report - SystemError: Error when saving node compliances:; cause was: java.sql.BatchUpdateException: Batch entry 123 insert into nodecompliancelevels (nodeid,runtimestamp,ruleid,directiveid,pending,success...
Updated by François ARMAND almost 4 years ago
- Related to Bug #18188: Error log about duplicates entries when saving node compliance levels added
Updated by François ARMAND almost 4 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/3464
Updated by François ARMAND almost 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|0e27ef6149368dff6426929295de2e3cb47946d3.
Updated by François ARMAND almost 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ almost 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.8 and 6.2.1 which were released today.
Actions