Conversation
salt/modules/dockermod.py
Outdated
There was a problem hiding this comment.
Should the wording here be modified to reference the docker module instead of state?
There was a problem hiding this comment.
I am just going to remove the word state because this will actually be referenced as state.apply when called through the docker proxy minion.
|
@gtmanfred Can you write some tests for this, please? EDIT: Oh and this should be added to the fluorine release notes, too. |
|
Will do, yeah i need to write at least a test for the highstate, and then will see what I can do about adding a test for the proxy minion tests. |
|
re-run py |
e35c4c8 to
4b2c73b
Compare
|
Tests should be good now. |
|
re-run py |
|
@gtmanfred Looks like some dockermod tests are failing on this:
Can you take a look? Might be worth rebasing as well - there are some old test failures on this PR that have since been fixed on the branch. EDIT: Those tests look to be failing on PY3 only |
|
re-run py |
|
@gtmanfred Those 3 tests are still failing after the latest updates. |
|
FInally was able to replicate this. Looking now. |
|
Aha! i know exactly the problem. |
|
Ok, this has been failing for a while. It was just not caught, because It looks like it is being caused by the changes that were made to making the thing tarball for salt-ssh, by @isbm Bo, do you have time to look at this error? I am not sure what the changes were made for using Thanks, |
|
@gtmanfred oh, interesting. Any hints how to reproduce this? Definitely I am looking into this immediately. |
|
@isbm if you run it with the py3 tests, it just fails, i only had to install the test suite and docker + docker python module. if you want an automated way, setup kitchen and run https://kitchen.saltstack.com/docs/file/docs/gettingstarted.md |
|
re-run py3 |
|
Docker mod tests are passing |
What does this PR do?
This proxy minion + executor combo allows for using the docker.call module to run salt modules inside of docker containers.
This also adds the ability to run a highstate on the docker container.
Tests written?
Yes
Commits signed with GPG?
Yes