I’m getting:
e/meggleston/.ansible/tmp/ansible-tmp-1670263852.31-8085-175291763336523/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql602.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql602.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/f012ac57b9
pa2udtlhsql602.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263852.91-8148-50804275661258/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql1023.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql604.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql1023.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/754f3010c5
pa2udtlhsql1023.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263852.31-8085-175291763336523/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql604.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/09c53a2792
pa2udtlhsql604.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263853.52-8164-79599240649234/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql1020.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql1020.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/3301cea578
pa2udtlhsql1020.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263852.15-8057-21113899783559/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql602.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql602.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/f012ac57b9
pa2udtlhsql602.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263852.91-8148-50804275661258/ >
/dev/null 2>&1 && sleep 0'"'"''
<pa2udtlhsql1022.prod.harmony.aws2> ESTABLISH SSH CONNECTION FOR USER: None
<pa2udtlhsql1022.prod.harmony.aws2> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o
PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/home/meggleston/.ansible/cp/a501b68168
pa2udtlhsql1022.prod.harmony.aws2 '/bin/sh -c '"'"'rm -f -r
/home/meggleston/.ansible/tmp/ansible-tmp-1670263852.07-8072-136961495388876/ >
/dev/null 2>&1 && sleep 0'"'"''
ERROR! Unexpected Exception, this is probably a bug: [Errno 12] Cannot allocate
memory
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 123, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 128, in
run
results = pbex.run()
File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py",
line 169, in run
result = self._tqm.run(play=play)
File
"/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line
282, in run
play_return = strategy.run(iterator, play_context)
File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py",
line 311, in run
self._queue_task(host, task, task_vars, play_context)
File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/__init__.py",
line 390, in _queue_task
worker_prc.start()
File "/usr/lib/python2.7/site-packages/ansible/executor/process/worker.py",
line 100, in start
return super(WorkerProcess, self).start()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 130, in start
self._popen = Popen(self)
File "/usr/lib64/python2.7/multiprocessing/forking.py", line 121, in __init__
self.pid = os.fork()
When I run a stupid playbook with the command: anssible-playbook -vvv 1.yml
for the playbook:
—
- hosts: all
become: yes
gather_facts: true
tasks:
- name: “remove the file”
file:
path=/tmp/getspace.sh
state=absent
I added the “-vvv” when the previous run told me to. Any ideas what’s going on
(besides the obvious “out of memory”) and how to fix this?
Mike
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/687CDF45-5AAA-4F12-8EAA-21DE981F1152%40gmail.com.