win_pkg: salt minion cannot be upgraded when computer is running on batteries #35943
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
P4
Priority 4
severity-low
4th level, cosemtic problems, work around exists
Windows
Milestone
Since the minion service is upgraded via the Task Scheduler, the default Task options to prevent a job running if the computer is running on batteries will prevent the minion from being upgraded.
You don't get any feedback from the module:
...but you can see the problem by checking the Task history:
This actually has the potential to be quite useful when upgrading the minion as part of an automated state, but I think there needs to be a way of indicating that the Task should not have this flag set (particularly when trying to manually upgrade using the module). Plus the module should probably try to give you some better feedback.
As a workaround you can manually run the Task.
Tested on 2016.3.2
The text was updated successfully, but these errors were encountered: