[BUG] pip.installed docker causes swarm.swarm_init to throw errors #56006
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
Milestone
Description of Issue
When using
pip.installed
to install docker python sdk for use with the swarm module, calling theswarm.swarm_init
(or any other swam function) in amodule.run
during this execution will fail. The states will both succeed if run in separate runs but not if they're in the same highstate (whether from the same sls file or different sls files).Setup
Steps to Reproduce Issue
Running the above states (either as one sls or two) in the same run:
To view the expected behavior, apply a sls file containing only the first state
And then another containing just the second:
Versions Report
Master:
Minion:
The text was updated successfully, but these errors were encountered: