[BUG] Master job scheduler using when
fails
#62858
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
needs-triage
Description
Scheduling jobs on the master using "when" fails. This is caused by
salt/salt/utils/schedule.py
Lines 1066 to 1068 in 45ead10
opts["grains"]
exists, which is only true on a minion.Setup
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Expected behavior
Job is executed.
Screenshots
(The error description could be much better imho).
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
PR incoming.
The text was updated successfully, but these errors were encountered: