{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/20949","labels_url":"https://api.github.com/repos/saltstack/salt/issues/20949/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/20949/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/20949/events","html_url":"https://github.com/saltstack/salt/issues/20949","id":58661506,"number":20949,"title":"2014.7.2 salt-ssh with modules.dockerio is broken","user":{"login":"aurynn","id":165099,"avatar_url":"https://avatars.githubusercontent.com/u/165099?v=3","gravatar_id":"","url":"https://api.github.com/users/aurynn","html_url":"https://github.com/aurynn","followers_url":"https://api.github.com/users/aurynn/followers","following_url":"https://api.github.com/users/aurynn/following{/other_user}","gists_url":"https://api.github.com/users/aurynn/gists{/gist_id}","starred_url":"https://api.github.com/users/aurynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurynn/subscriptions","organizations_url":"https://api.github.com/users/aurynn/orgs","repos_url":"https://api.github.com/users/aurynn/repos","events_url":"https://api.github.com/users/aurynn/events{/privacy}","received_events_url":"https://api.github.com/users/aurynn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T22:38:04Z","updated_at":"2015-02-23T22:38:04Z","closed_at":null,"body":"It is currently impossible to use the dockerio states or module from salt-ssh. Initial exploration in the salt-ssh uploaded shim, looks like the error is due to `six.py` masking the imports `dockerpy` tries to do of `from six.moves.urllib.parse import urlparse`\r\n\r\nBacktrace:\r\n```python\r\n  Traceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/docker/__init__.py\", line 20, in <module>\r\n    from .client import Client # flake8: noqa\r\n  File \"/usr/local/lib/python2.7/dist-packages/docker/client.py\", line 35, in <module>\r\n    import websocket\r\n  File \"/usr/local/lib/python2.7/dist-packages/websocket/__init__.py\", line 22, in <module>\r\n    from ._core import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/websocket/_core.py\", line 44, in <module>\r\n    from six.moves.urllib.parse import urlparse\r\nImportError: No module named urllib.parse\r\n```\r\n\r\nfrom the `/tmp/.vagrant_ccc36c__salt` temporary upload dir. \r\n\r\nRemoving `/tmp/.vagrant_ccc36c__salt/six.py` appears to fix the issue, but probably has unintended side-effects that I haven't found yet."}}