-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/bin/sh: Ileagal instruction (coredump) when trying to use copy module with AIX #8310
Comments
Note: I found somewhere on the internet that linking /usr/bin/md5sum and /usr/bin/csum was supposed to work. It didn't. I even copied the md5sum binary and libraries from another AIX box. Still didn't work. |
Hmm, that's unusual. Can you paste the copy line in your playbook that you were executing here (the copy line?) I don't have an AIX machine in my test infrastructure, is this something you can perhaps help debug? |
Unfortunately, my internship at the place where I was having this issue is now over due to school starting. I'm sorry |
I have stumbled across the same bug when trying to copy or get the 'stat' from remote a file for example on AIX hosts. $ ansible aixbox -i -m copy -a 'src=boo.txt dest=/tmp' aixbox | FAILED >> { With verbose output. ansible -vvvv aixbox -i aix_inventory -m copy -a 'src=boo.txt dest=/tmp' This leaves a core file from Python in my home directory so it may be a bug in Python not Ansible. $ file core I have access to AIX servers and can help debug. Iain |
If I disable md5 checksums when using the
|
Okay basically hashlib is broken on AIX Python using the rpm's from AIX Linux Toolbox http://www-03.ibm.com/systems/power/software/aix/linux/
Salt users seem to be having the same problem. https://groups.google.com/forum/#!msg/salt-users/bwW0gxzv5Oc/rVEyCbklQd4J Iain |
It should be noted that on the AIX servers I used, I compiled Python 2.7 from source with gcc rather than installing from AIX toolbox |
Hi! Thanks very much for your interest in Ansible. It sincerely means a lot to us. On September 26, 2014, due to enormous levels of contribution to the project Ansible decided to reorganize module repos, making it easier We split modules from the main project off into two repos, http://github.com/ansible/ansible-modules-core and http://github.com/ansible/ansible-modules-extras If you would still like this ticket attended to, we will need your help in having it reopened in one of the two new repos, and instructions are provided below. We apologize that we are not able to make this transition happen seamlessly, though this is a one-time change and your help is greatly appreciated -- Both sets of modules will ship with Ansible, though they'll receive slightly different ticket handling. To locate where a module lives between 'core' and 'extras'
Additionally, should you need more help with this, you can ask questions on:
Thank you very much! |
Issue Type:
Bug Report
Ansible Version:
ansible 1.7 (devel 75e5b64) last updated 2014/07/22 14:37:30 (GMT -400)
Environment:
RHEL 6 managing AIX
Summary:
Ansible fails when using copy module on AIX
Steps To Reproduce:
Attempt to copy file to AIX with Python 2.7.8 using copy module
Expected Results:
The file copies successfully
Actual Results:
The text was updated successfully, but these errors were encountered: