On 01/28/2014 10:55 PM, Arulraj J wrote:
Along with ansible tasks i was calling a python script named 'rbupgrade.py'. During this python script execution anisble hangs and couldn't move further.

[root@cu028 ~]# ps -ef|grep py
root     19725 19588  0 09:22 pts/0    00:00:00 grep py
root 27594 1 0 Jan26 ? 00:00:00 /opt/collabnet/teamforge/runtime/bin/wrapper/python /opt/collabnet/teamforge/runtime/scripts/timestamp sf-admin 27806 1 0 Jan26 ? 00:00:00 /opt/collabnet/teamforge/runtime/bin/wrapper/python /opt/collabnet/teamforge/runtime/scripts/timestamp root 29513 1 0 Jan26 ? 00:00:00 /opt/collabnet/teamforge/runtime/bin/wrapper/python /opt/collabnet/teamforge/runtime/scripts/timestamp root 29623 29620 0 Jan26 ? 00:00:00 /opt/collabnet/teamforge/runtime/bin/wrapper/python /opt/collabnet/teamforge/runtime/scripts/timestamp root 30469 1 0 Jan26 ? 00:00:00 /bin/sh -c /usr/bin/python /root/.ansible/tmp/ansible-1390720907.78-64524173882964/command; rm -rf /root/.ansible/tmp/ansible-1390720907.78-64524173882964/ >/dev/null 2>&1 root 30488 30469 0 Jan26 ? 00:00:00 /usr/bin/python /root/.ansible/tmp/ansible-1390720907.78-64524173882964/command
root     30489 30488  0 Jan26 ?        00:00:00 [rbupgrade.py] <defunct>
[root@cu028 ~]#

Please help me in this problem..
--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Follow the instructions in this thread: https://groups.google.com/forum/#!msg/ansible-project/JdZWzLeZMmk/93W-42MP9U0J

Once you have the trace data, we may be able to offer more advice.

I have a hunch that the "rbupgrade.py" script may not like not being run without a shell or may be asking for input. Perhaps try using the "shell:" module instead of "command:".

--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to