Skip to content

[FEATURE] schedule state/module not working without minion running #61324

@p3lim

Description

@p3lim

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

  1. Disable minion
  2. 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.

Metadata

Metadata

Labels

Featurenew functionality including changes to functionality and code refactors, etc.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions