Actions
Bug #11995
closedArchitecture #10625: Don't merge directive from same technique on generation
Bug #11876: Broken reporting in Rudder 4.3 with standard directives
Error when deserializing JSON for expected node configuration in Rudder 4.3
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:
Fix check:
Regression:
Description
[2018-01-17 16:16:03] WARN explain_compliance.root - Node 'root' sent reports for run at 'NoExpectedReport(2018-01-17T16:15:57.000+01:00,None)' ( with no configuration ID). No expected configuration matches these reports. [2018-01-17 16:21:03] ERROR com.normation.rudder.repository.jdbc.FindExpectedReportsJdbcRepository - Error when deserializing JSON for expected no de configuration root (20180117-152538-150367cc)
JSON is
nodeid | nodeconfigid | begindate | enddate | configuration --------+--------------------------+----------------------------+---------+--------------------------------------------------------------------------------- root | 20180117-152538-150367cc | 2018-01-17 15:25:38.138+01 | | { + | | | | "modes":{ + | | | | "globalPolicyMode":{ + | | | | "mode":"enforce", + | | | | "overridable":true + | | | | }, + | | | | "globalComplianceMode":"full-compliance", + | | | | "globalHeartbeatPeriod":1, + | | | | "globalAgentRunInterval":{ + | | | | "interval":5, + | | | | "startMinute":0, + | | | | "splayHour":0, + | | | | "splaytime":4 + | | | | } + | | | | }, + | | | | "rules":{ + | | | | "rules":[ + | | | | { + | | | | "ruleId":"server-roles", + | | | | "directives":[ + | | | | { + | | | | "directiveId":"server-roles-directive", + | | | | "isSystem":true, + | | | | "components":[ + | | | | { + | | | | "componentName":"Check postgresql process", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check jetty process", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check slapd process", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check apache process", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check postgresql boot script", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check apache boot script", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check PostgreSQL configuration", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check logrotate configuration", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check configuration-repository folder", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check configuration-repository GIT lock", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check allowed networks configuration", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check rudder status", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check endpoint status", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check rudder-passwords.conf and pgpass files",+ | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check LDAP credentials", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check LDAP in rudder-webapp.properties", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check SQL credentials", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check SQL in rudder-webapp.properties", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Check WebDAV credentials", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Send metrics to rudder-project", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | } + | | | | ] + | | | | } + | | | | ] + | | | | }, + | | | | { + | | | | "ruleId":"hasPolicyServer-root", + | | | | "directives":[ + | | | | { + | | | | "directiveId":"common-root", + | | | | "isSystem":true, + | | | | "components":[ + | | | | { + | | | | "componentName":"Red Button", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Update", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"ncf Initialization", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Security parameters", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Log system for reports", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"CRON Daemon", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Binaries update", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Process checking", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | } + | | | | ] + | | | | } + | | | | ] + | | | | }, + | | | | { + | | | | "ruleId":"inventory-all", + | | | | "directives":[ + | | | | { + | | | | "directiveId":"inventory-all", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[] + | | | | } + | | | | ] + | | | | } + | | | | ] + | | | | }, + | | | | { + | | | | "ruleId":"root-DP", + | | | | "directives":[ + | | | | { + | | | | "directiveId":"root-distributePolicy", + | | | | "isSystem":true, + | | | | "components":[ + | | | | { + | | | | "componentName":"Propagate promises", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Send inventories to Rudder server", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Configure ncf", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | }, + | | | | { + | | | | "componentName":"Configure apache ACL", + | | | | "values":[ + | | | | "None" + | | | | ], + | | | | "unexpanded":[ + | | | | "None" + | | | | ] + | | | | } + | | | | ] + | | | | } + | | | | ] + | | | | } + | | | | ] + | | | | } + | | | | }
Actions