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"
Pull Request:
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
Actions
#1
Updated by Nicolas PERRON over 12 years ago
- File job_scheduler.st job_scheduler.st added
- File policy.xml policy.xml added
Updated by Jonathan CLARKE over 12 years ago
- Status changed from New to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
Actually, this has been fixed a while ago, in commit:356098feb4c8605b46a9ab189dc9c6cf665f2977 (http://www.rudder-project.org/redmine/projects/policy-templates/repository/revisions/356098feb4c8605b46a9ab189dc9c6cf665f2977).
Updated by Nicolas CHARLES over 12 years ago
- Status changed from Pending technical review to Released
This seems correct !
Actions