Project

General

Profile

Bug #17373

Updated by Vincent MEMBRÉ about 4 years ago

There was a bug in the resolution of #17341 

 We insert already inserted node compliance levels:  

 We have a log a each agent run: 

 <pre> 
 [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… 
 </pre>

Back