# Kernel panic on rhel4  -- ansible-playbook.

**URL:** <https://forum.ansible.com/t/kernel-panic-on-rhel4-ansible-playbook/16851>\
**Category:** Ansible Project\
**Created:** [November 22, 2014, 2:31pm UTC](https://forum.ansible.com/t/kernel-panic-on-rhel4-ansible-playbook/16851 "2014-11-22T14:31:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darup\_tek](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@Darup\_tek](https://forum.ansible.com/u/Darup_tek)\
**Post date:** [November 22, 2014, 2:31pm UTC](https://forum.ansible.com/t/kernel-panic-on-rhel4-ansible-playbook/16851/1 "2014-11-22T14:31:43Z")

</div>

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’"]

---

<div class="post-metadata">

**Author:** ![Steve\_Kieu](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@Steve\_Kieu](https://forum.ansible.com/u/Steve_Kieu)\
**Post date:** [November 22, 2014, 11:35pm UTC](https://forum.ansible.com/t/kernel-panic-on-rhel4-ansible-playbook/16851/2 "2014-11-22T23:35:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [November 24, 2014, 6:55pm UTC](https://forum.ansible.com/t/kernel-panic-on-rhel4-ansible-playbook/16851/3 "2014-11-24T18:55:51Z")

</div>

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?
