salt icon indicating copy to clipboard operation
salt copied to clipboard

Add 'Skip reason' for scheduled job instances that are skipped due to Max Parallel Running Jobs

Open alexpeay opened this issue 8 years ago • 1 comments

Description of Issue/Question

With the Schedule capabilities you can set a number of Max Running Jobs, which will limit the number of jobs that can be kicked off from the specified schedule. If that limit is reached and a new instance is ready to trigger that upcoming instance will be skipped. At the moment we do not annotate the reason for the skipping of the upcoming instance.

We should provide the skip reason for scheduled job instances that are skipped do to the Max Parallel Jobs being reached for easier understanding on why a job was skipped.

Setup

(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)

Steps to Reproduce Issue

(Include debug logs if possible and relevant.)

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

alexpeay avatar Feb 05 '18 21:02 alexpeay

Fixed via #45844

rallytime avatar Feb 08 '18 19:02 rallytime