Project

General

Profile

Actions

Bug #2485

closed

(ex PT/ Technique)JobScheduler: When several jobs are defined, even if "success" is reported by the node, Rudder consider it as "Error"

Added by Nicolas PERRON almost 12 years ago. Updated almost 12 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Here, we have two jobs defined: "scriptOne.sh" and "scriptTwo.sh"

The result of the postgresql command:

SELECT * FROM expectedreports;

 pkid | nodejoinkey |         configurationruleid          | serial |           policyinstanceid           |  component   | cardinality |              componentsvalues               |         begindate          |          enddate           
------+-------------+--------------------------------------+--------+--------------------------------------+--------------+-------------+---------------------------------------------+----------------------------+----------------------------

[...]
  206 |         104 | 342369e4-f7d3-4089-8988-03cdb99ea076 |     11 | 6097abb3-dd0a-4df8-b92a-7e329a021ec4 | jobScheduler |           1 | ["None"]                                    | 2012-04-27 18:50:20.802+02 | 2012-04-30 11:51:33.256+02
  240 |         123 | 342369e4-f7d3-4089-8988-03cdb99ea076 |     13 | 6097abb3-dd0a-4df8-b92a-7e329a021ec4 | jobScheduler |           1 | ["None"]                                    | 2012-05-03 16:21:24.681+02 | 2012-05-03 16:22:06.509+02
  241 |         124 | 342369e4-f7d3-4089-8988-03cdb99ea076 |     14 | 6097abb3-dd0a-4df8-b92a-7e329a021ec4 | Job          |           2 | ["/root/scriptOne.sh","/root/scriptTwo.sh"] | 2012-05-03 16:22:06.515+02 | 2012-05-03 16:23:41.1+02
  242 |         125 | 342369e4-f7d3-4089-8988-03cdb99ea076 |     15 | 6097abb3-dd0a-4df8-b92a-7e329a021ec4 | Job          |           2 | ["/root/scriptOne.sh","/root/scriptTwo.sh"] | 2012-05-03 16:23:41.106+02 | 
(15 lines)

isn't here errors about components ?


Files

job_scheduler.cf (6.47 KB) job_scheduler.cf Nicolas PERRON, 2012-05-09 15:27
job_scheduler.st (6.22 KB) job_scheduler.st Nicolas PERRON, 2012-05-09 15:29
policy.xml (6.25 KB) policy.xml Nicolas PERRON, 2012-05-09 15:29

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #2454: (ex PT/ Technique)JobScheduler with several Jobs returns Success but doesn't execute any other job that the first one defined.ReleasedMatthieu CERDA2012-04-19Actions
Actions

Also available in: Atom PDF