Project

General

Profile

Bug #12003

Updated by François ARMAND almost 7 years ago

This one <pre> 
 [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) 
 </pre> 


 JSON is 
 <pre> 
  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 correct the test from parent task. 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"                                                         + 
         |                            |                              |           |                   ]                                                                + 
         |                            |                              |           |                 }                                                                  + 
         |                            |                              |           |               ]                                                                    + 
         |                            |                              |           |             }                                                                      + 
         |                            |                              |           |           ]                                                                        + 
         |                            |                              |           |         }                                                                          + 
         |                            |                              |           |       ]                                                                            + 
         |                            |                              |           |     }                                                                              + 
         |                            |                              |           | } 
 </pre>

Back