Description
Setting up a schedule while the minion is not running gives an error "Failed to add job X to schedule.".
This needs to be more verbose, specifically stating either in the docs or in the error that the minion needs to be running before a schedule can be added.
Or better yet, configure the schedule (in /etc/salt/minion.d/_schedule.conf) without requiring the minion to be running.
Steps to Reproduce the behavior
- Disable minion
- Add anything to the schedule, e.g. with
salt-call schedule.add foo
Expected behavior
The schedule should be added, or a descriptive reasoning as to why it couldn't be added should be returned.
Versions Report
This happened to all hosts we've upgraded from py2 to py3, specifically 3003.3 and 3004.
Description
Setting up a schedule while the minion is not running gives an error "Failed to add job X to schedule.".
This needs to be more verbose, specifically stating either in the docs or in the error that the minion needs to be running before a schedule can be added.
Or better yet, configure the schedule (in
/etc/salt/minion.d/_schedule.conf) without requiring the minion to be running.Steps to Reproduce the behavior
salt-call schedule.add fooExpected behavior
The schedule should be added, or a descriptive reasoning as to why it couldn't be added should be returned.
Versions Report
This happened to all hosts we've upgraded from py2 to py3, specifically 3003.3 and 3004.