{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/18425","labels_url":"https://api.github.com/repos/saltstack/salt/issues/18425/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/18425/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/18425/events","html_url":"https://github.com/saltstack/salt/issues/18425","id":49868056,"number":18425,"title":"I also met the similar problem and how can I solve it ?","user":{"login":"disylee","id":6931106,"avatar_url":"https://avatars.githubusercontent.com/u/6931106?v=3","gravatar_id":"","url":"https://api.github.com/users/disylee","html_url":"https://github.com/disylee","followers_url":"https://api.github.com/users/disylee/followers","following_url":"https://api.github.com/users/disylee/following{/other_user}","gists_url":"https://api.github.com/users/disylee/gists{/gist_id}","starred_url":"https://api.github.com/users/disylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disylee/subscriptions","organizations_url":"https://api.github.com/users/disylee/orgs","repos_url":"https://api.github.com/users/disylee/repos","events_url":"https://api.github.com/users/disylee/events{/privacy}","received_events_url":"https://api.github.com/users/disylee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Severity","name":"Medium Severity","color":"fad8c7"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-SSH","name":"Salt-SSH","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2067,"closed_issues":1708,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-03-24T03:56:41Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2014-11-24T09:01:25Z","updated_at":"2015-03-24T05:18:02Z","closed_at":null,"body":"backgroup: I trying to use salt-ssh to install the salt-minion for client server in batch.\r\n```\r\n[root@localhost epel]# tree -f\r\n.\r\n├── ./epel-release-6-8.noarch.rpm\r\n└── ./salt_install.sls\r\n\r\n0 directories, 2 files\r\n[root@localhost salt]# ls\r\nepel  roster  salt\r\n[root@localhost salt]# cat roster\r\nweb1:\r\n  host:  10.20.14.18\r\n  user:  root\r\n  passwd:  redhat\r\n  port:  22\r\n  timeout:  10\r\n```\r\nbut test.ping   error below，first it can't found the host：\r\nthe I try this\r\n```\r\n[root@localhost salt]# salt-ssh '*' test.ping\r\ntest:\r\n    ----------\r\n    retcode:\r\n        1\r\n    stderr:\r\n        Traceback (most recent call last):\r\n          File \"/tmp/.root_c87ee6__salt/salt-call\", line 2, in <module>\r\n            from salt.scripts import salt_call\r\n          File \"/tmp/.root_c87ee6__salt/salt/__init__.py\", line 44, in <module>\r\n            from salt.utils import migrations\r\n          File \"/tmp/.root_c87ee6__salt/salt/utils/__init__.py\", line 102, in <module>\r\n            import salt.payload\r\n          File \"/tmp/.root_c87ee6__salt/salt/payload.py\", line 14, in <module>\r\n            import salt.crypt\r\n          File \"/tmp/.root_c87ee6__salt/salt/crypt.py\", line 32, in <module>\r\n            import salt.minion\r\n          File \"/tmp/.root_c87ee6__salt/salt/minion.py\", line 60, in <module>\r\n            import salt.client\r\n          File \"/tmp/.root_c87ee6__salt/salt/client/__init__.py\", line 38, in <module>\r\n            import salt.utils.event\r\n          File \"/tmp/.root_c87ee6__salt/salt/utils/event.py\", line 74, in <module>\r\n            import salt.state\r\n          File \"/tmp/.root_c87ee6__salt/salt/state.py\", line 29, in <module>\r\n            import salt.pillar\r\n          File \"/tmp/.root_c87ee6__salt/salt/pillar/__init__.py\", line 14, in <module>\r\n            import salt.fileclient\r\n          File \"/tmp/.root_c87ee6__salt/salt/fileclient.py\", line 13, in <module>\r\n            import requests\r\n          File \"/tmp/.root_c87ee6__salt/requests/__init__.py\", line 52, in <module>\r\n            from . import utils\r\n          File \"/tmp/.root_c87ee6__salt/requests/utils.py\", line 23, in <module>\r\n            from .compat import parse_http_list as _parse_list_header\r\n          File \"/tmp/.root_c87ee6__salt/requests/compat.py\", line 96, in <module>\r\n            from ordereddict import OrderedDict\r\n        ImportError: No module named ordereddict\r\n    stdout:\r\n```\r\nSadly，I try this command but return OK，like this\r\n```\r\n[root@localhost salt]# salt-ssh '*' -r \"free -m\"\r\ntest:\r\n    ----------\r\n    retcode:\r\n        0\r\n    stderr:\r\n\r\n    stdout:\r\n        root@10.20.14.18's password:\r\n                     total       used       free     shared    buffers     cached\r\n        Mem:           490        135        355          0         10         44\r\n        -/+ buffers/cache:         80        410\r\n        Swap:          991          0        991\r\n```\r\nthis my epel_install.sls\r\n```\r\n  [root@localhost epel]# cat salt_install.sls\r\nepel_install:\r\n  file.managed:\r\n    - name:  /tmp/epel-release-6-8.noarch.rpm\r\n    - source: salt://epel/epel-release-6-8.noarch.rpm\r\n    - user: root\r\n    - group: root\r\n\r\n  cmd.run:\r\n    - name: rpm -ivh /tmp/epel-release-6-8.noarch.rpm\r\n    - unless: test -f /etc/yum.repos.d/epel.repo\r\n    - require:\r\n     - file: epel_install   \r\n  chche_yum:\r\n    cmd.run:\r\n      - name: yum makecache\r\n      - require:\r\n        - file: epel_install\r\n  salt_install:\r\n    pkg.installed:\r\n      - name: salt-minion\r\n      - require:\r\n        - file: epel_install\r\n```\r\nbut I try to excute it ，reward ERROR below\r\n```\r\n[root@localhost epel]# salt-ssh '*' state.sls epel_install.sls\r\ntest:\r\n    ----------\r\n    _caller_cachedir:\r\n        /var/cache/salt/master\r\n    _error:\r\n        Failed to return clean data\r\n    _ssh_version:\r\n        5.3p1\r\n    ext_pillar:\r\n    file_roots:\r\n        ----------\r\n        base:\r\n            - /srv/salt\r\n    id:\r\n        test\r\n    pillar_roots:\r\n        ----------\r\n        base:\r\n            - /srv/pillar\r\n    stderr:\r\n        Traceback (most recent call last):\r\n          File \"/tmp/.root_c87ee6__salt/salt-call\", line 2, in <module>\r\n            from salt.scripts import salt_call\r\n          File \"/tmp/.root_c87ee6__salt/salt/__init__.py\", line 44, in <module>\r\n            from salt.utils import migrations\r\n          File \"/tmp/.root_c87ee6__salt/salt/utils/__init__.py\", line 102, in <module>\r\n            import salt.payload\r\n          File \"/tmp/.root_c87ee6__salt/salt/payload.py\", line 14, in <module>\r\n            import salt.crypt\r\n          File \"/tmp/.root_c87ee6__salt/salt/crypt.py\", line 32, in <module>\r\n            import salt.minion\r\n          File \"/tmp/.root_c87ee6__salt/salt/minion.py\", line 60, in <module>\r\n            import salt.client\r\n          File \"/tmp/.root_c87ee6__salt/salt/client/__init__.py\", line 38, in <module>\r\n            import salt.utils.event\r\n          File \"/tmp/.root_c87ee6__salt/salt/utils/event.py\", line 74, in <module>\r\n            import salt.state\r\n          File \"/tmp/.root_c87ee6__salt/salt/state.py\", line 29, in <module>\r\n            import salt.pillar\r\n          File \"/tmp/.root_c87ee6__salt/salt/pillar/__init__.py\", line 14, in <module>\r\n            import salt.fileclient\r\n          File \"/tmp/.root_c87ee6__salt/salt/fileclient.py\", line 13, in <module>\r\n            import requests\r\n          File \"/tmp/.root_c87ee6__salt/requests/__init__.py\", line 52, in <module>\r\n            from . import utils\r\n          File \"/tmp/.root_c87ee6__salt/requests/utils.py\", line 23, in <module>\r\n            from .compat import parse_http_list as _parse_list_header\r\n          File \"/tmp/.root_c87ee6__salt/requests/compat.py\", line 96, in <module>\r\n            from ordereddict import OrderedDict\r\n        ImportError: No module named ordereddict\r\n    stdout:\r\n```\r\nisn't cause by python?"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/85343864","html_url":"https://github.com/saltstack/salt/issues/18425#issuecomment-85343864","issue_url":"https://api.github.com/repos/saltstack/salt/issues/18425","id":85343864,"user":{"login":"hirotoshibuya","id":8107215,"avatar_url":"https://avatars.githubusercontent.com/u/8107215?v=3","gravatar_id":"","url":"https://api.github.com/users/hirotoshibuya","html_url":"https://github.com/hirotoshibuya","followers_url":"https://api.github.com/users/hirotoshibuya/followers","following_url":"https://api.github.com/users/hirotoshibuya/following{/other_user}","gists_url":"https://api.github.com/users/hirotoshibuya/gists{/gist_id}","starred_url":"https://api.github.com/users/hirotoshibuya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hirotoshibuya/subscriptions","organizations_url":"https://api.github.com/users/hirotoshibuya/orgs","repos_url":"https://api.github.com/users/hirotoshibuya/repos","events_url":"https://api.github.com/users/hirotoshibuya/events{/privacy}","received_events_url":"https://api.github.com/users/hirotoshibuya/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T05:18:02Z","updated_at":"2015-03-24T05:18:02Z","body":"Same issue with salt-ssh 2014.7.1 (Helium) on CentOS 6.6 with via EPEL.  \r\n\r\nI was using 2014.7.0 with this patch: https://github.com/saltstack/salt/pull/19321 \r\nThen, when updated to 2014.7.1, that patch is included but it regressed with this issue. \r\n\r\n"}}