Issue with setting up schedule job via state.apply #36855
Labels
Bug
broken, incorrect, or confusing behavior
Documentation
Relates to Salt documentation
fixed-pls-verify
fix is linked, bug author to confirm fix
P4
Priority 4
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Heya code junkies, I'm attempting to set up a schedule job from a salt state and from what I can see on https://docs.saltstack.com/en/latest/ref/states/all/salt.states.schedule.html#salt.states.schedule.present my state is correct:
My .sls file is the following:
My intention with this schedule job is to have the watchIPtabes state run every 30 minutes to detect if iptables is down. If it is down then it sends an event to the reactor and the reactor executes the salt state to restart iptables.
However, I get the following error repeated every second in
/var/log/salt/minion
:"2016-10-07 17:07:54,931 [salt.minion ][ERROR ][64302] Exception can only concatenate list (not "int") to list occurred in scheduled job"
The command I use to add the schedule job is:
salt <minionID> state.apply </path/to/schedule/job/>
All that I need to do to produce this issue is add the schedule job to my minion via that salt command. I run
salt <minion> schedule.list
and the following is the output:My master node environment looks like the following:
My minion environment looks similar:
Any help or correction to what I'm doing/executing or what my state looks like would be very appreciated.
The text was updated successfully, but these errors were encountered: