Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Scheduled job runs in endless loop when using when: and splay: together. #50162
Description of Issue/Question
When defining a scheduled job in a pillar and specifying when: and splay: options together the schedule job runs in an endless loop.
Steps to Reproduce Issue
Create scheduled job using pillar.
Comment out splay:
Change schedule to seconds from when:
DEBUG ] LazyLoaded test.ping
I've confirmed that this is happening when splay: and when: are used in conjunction. Changing the return_kwargs was only changing the output to default to /var/log/salt/events from my /var/log/salt/pkg_list_test which let me to believe it was a factor.