Kernel panic on rhel4 -- ansible-playbook.

86 views
Skip to first unread message

Darup tek

unread,
Nov 22, 2014, 9:31:43 AM11/22/14
to ansible...@googlegroups.com
I know rhel4 is not supported, but I do not have choice.
Installed python27 in /opt and trying to get the playbook running.
I am using the ansible_python_interpreter /opt/python2.7/bin/python2.7

Just regular ansible xxxxx -a "date" command works fine.

But, when I try using the playbook, it causes kernel panic.
ansible-playbook -i 118.yml pb/test.yml -vvvv
 
PLAY [xxxx-xx-xx-a118v] *********************************************************

GATHERING FACTS ***************************************************************
<10.28.97.41> ESTABLISH CONNECTION FOR USER: root
<10.28.97.41> REMOTE_MODULE setup
<10.28.97.41> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', '10.28.97.41', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033 && echo $HOME/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033'"]
<10.28.97.41> PUT /tmp/tmp5avqwe TO /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/setup
<10.28.97.41> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', '10.28.97.41', u"/bin/sh -c 'LANG=C LC_CTYPE=C /opt/python2.7/bin/python2.7 /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/setup; rm -rf /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/ >/dev/null 2>&1'"]

Steve Kieu

unread,
Nov 22, 2014, 6:35:09 PM11/22/14
to ansible...@googlegroups.com
Do you want to try to use pull mode and see if it gets through?

I guess the panic must do something about tty and ssh

Regards

Michael DeHaan

unread,
Nov 24, 2014, 1:55:56 PM11/24/14
to ansible...@googlegroups.com
What version of Ansible are you using?

I'm guessing it's some system call made as a result of the setup module, assuming you are talking about managing RHEL4 guests and haven't installed a new Python and trying to run from EL4?





--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/156bcdc7-1541-4115-ba2c-77507af331b2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages