Salt SSH failing with python2.7 subprocess error

46 views
Skip to first unread message

Suhas Kira

unread,
May 12, 2022, 10:40:15 AM5/12/22
to Salt-users
I'm trying to run adhoc commands on instances using salt ssh. Couldn't find help regarding this anywhere on internet. Help is appreciated. 

Error:
----------
    retcode:
        1
    stderr:
        Traceback (most recent call last):
          File "<string>", line 245, in <module>
          File "<string>", line 420, in <module>
          File "<string>", line 363, in main
          File "<string>", line 266, in get_executable
          File "/usr/lib64/python2.7/subprocess.py", line 394, in __init__
            errread, errwrite)
          File "/usr/lib64/python2.7/subprocess.py", line 1047, in _execute_child
            raise child_exception
        OSError: [Errno 2] No such file or directory
    stdout:
        /bin/scp
Reply all
Reply to author
Forward
0 new messages