salt: salt-ssh not working for AIX (need_deployment)

Hello,

I have a Problem getting salt-ssh to work with AIX. We have several AIX Systems with different Versions and all of them have the same problem

salt version is one of salt-ssh 2015.5.3 (Lithium) (ubuntu Package) salt-ssh 2015.8.0-458-g0149038 (Beryllium) (GIT Checkout)

root@salt:/root > salt-ssh aixhost mount.active
aixhost:
    ----------
    retcode:
        1
    stderr:
        /bin/sh[14]: python3:  not found.
        /bin/sh[14]: python27:  not found.
        WARNING: Unable to locate current thin  version: /tmp/.root_3664b7_salt/version.
        Traceback (most recent call last):
          File "<string>", line 141, in <module>
          File "<string>", line 244, in <module>
          File "<string>", line 174, in main
          File "<string>", line 80, in need_deployment
          File "<string>", line 80, in need_deployment
          File "<string>", line 80, in need_deployment          ....
          ....
          ....
          File "<string>", line 80, in need_deployment          ....
          File "<string>", line 80, in need_deployment          ....
          File "<string>", line 68, in need_deployment
          File "/opt/freeware/lib/python2.7/shutil.py", line 228, in rmtree
            if os.path.islink(path):
          File "/usr/bin/../../opt/freeware/lib/python2.7/posixpath.py", line 145, in islink
            return stat.S_ISLNK(st.st_mode)
          File "/usr/bin/../../opt/freeware/lib/python2.7/stat.py", line 56, in S_ISLNK
            return S_IFMT(mode) == S_IFLNK
        RuntimeError: maximum recursion depth exceeded    stdout:
        /usr/bin/scp

I found the same Issue in #25478, the Solution there is that the scp Binary is not installed which on my AIX Machine it is.

Copied the File over by hand without a problem like one commecnt said in: #25026

root@salt:/root > scp -o KbdInteractiveAuthentication=no -o PasswordAuthentication=yes -o GSSAPIAuthentication=no -o ConnectTimeout=65 -o Port=22 -o IdentityFile=/etc/salt/pki/master/ssh/salt-ssh.rsa -o User=root /var/cache/salt/master/thin/thin.tgz aixhost:/tmp/salt-thin.tgz
thin.tgz                                                                                                                                                                                                                                     100% 4185KB   4.1MB/s   00:00

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

I know about the end of support of AIX < 7 but sadly i’m not the one deciding about how to manage obsolescence 😦 Seems we love to keep old stuff.

I will have a look on salt 2017.7.2. Where can i get it ? i Can only see 2017.7.1 on erepo.saltstack.com