Actions
Bug #17373
closedBug #17341: Compliance data for reporting plugin are not generated anymore
duplicates entries when saving node compliance levels
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Error - Next version
Regression:
Description
There was a bug in the resolution of #17341
We insert already inserted node compliance levels:
We have a log a each agent run:
[2020-05-11 12:56:34+0200] ERROR report - Error when saving node compliances: Batch entry 0 insert into nodecompliancelevels (nodeid,runtimestamp,ruleid,directiveid,pending,success,repaired,error,unexpected,missing,noanswer,notapplicable,reportsdisabled,compliant,auditnotap... [2020-05-11 12:56:34+0200] ERROR report.cache - Error when updating compliance cache for nodes: [root]: SystemError: 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 ( 'root','2020-05-11 12:50:39+02','server-roles','serve…
Actions