Hi Ansible folks,
I get an “IOError: [Errno 11] Resource temporarily unavailable” error whenever I run a playbook with fork > 1. Just wondering if anyone has seen this problem before or has trouble-shooting advice.
Python 2.7.3 and Python 2.7.5
Ansible 1.1
Ubuntu 12.04 LTS
Console output below…
Cheers,
Kyle
PLAY [all] *********************
TASK: [Setup passwordless ssh from master to workers] *********************
11
Traceback (most recent call last):
File “./cli.py”, line 60, in
main(sys.argv)
File “./cli.py”, line 30, in main
cluster.Resize(num_instances)
File “/home/ubuntu/git/iwct/build/snap/cirrus/cluster/mapr.py”, line 90, in Resize
self.__AddWorkers(num_to_add)
File “/home/ubuntu/git/iwct/build/snap/cirrus/cluster/mapr.py”, line 505, in __AddWorkers
self.__ConfigureWorkers(new_worker_instances)
File “/home/ubuntu/git/iwct/build/snap/cirrus/cluster/mapr.py”, line 714, in __ConfigureWorkers
CHECK(util.RunPlaybookOnHosts(self.playbooks_path + ‘/worker.yml’, hostnames, self.ssh_key, extra_vars))
File “/home/ubuntu/git/iwct/build/snap/cirrus/util.py”, line 84, in RunPlaybookOnHosts
results = pb.run()
File “/home/ubuntu/git/iwct/build/snap/ansible/playbook/init.py”, line 222, in run
if not self._run_play(play):
File “/home/ubuntu/git/iwct/build/snap/ansible/playbook/init.py”, line 438, in _run_play
if not self._run_task(play, task, False):
File “/home/ubuntu/git/iwct/build/snap/ansible/playbook/init.py”, line 303, in _run_task
results = self._run_task_internal(task)
File “/home/ubuntu/git/iwct/build/snap/ansible/playbook/init.py”, line 277, in _run_task_internal
results = runner.run()
File “/home/ubuntu/git/iwct/build/snap/ansible/runner/init.py”, line 660, in run
results = self._parallel_exec(hosts)
File “/home/ubuntu/git/iwct/build/snap/ansible/runner/init.py”, line 573, in _parallel_exec
job_queue = manager.Queue()
File “/usr/lib/python2.7/multiprocessing/managers.py”, line 667, in temp
token, exp = self._create(typeid, *args, **kwds)
File “/usr/lib/python2.7/multiprocessing/managers.py”, line 565, in _create
conn = self._Client(self._address, authkey=self._authkey)
File “/usr/lib/python2.7/multiprocessing/connection.py”, line 175, in Client
answer_challenge(c, authkey)
File “/usr/lib/python2.7/multiprocessing/connection.py”, line 413, in answer_challenge
message = connection.recv_bytes(256) # reject large message
IOError: [Errno 11] Resource temporarily unavailable
*** Aborted at 1371088581 (unix time) try “date -d @1371088581” if you are using GNU date ***
PC: @ 0x7f3a63db6313 (unknown)
*** SIGTERM (@0x3e800005710) received by PID 22554 (TID 0x7f3a65406700) from PID 22288; stack trace: ***
@ 0x7f3a64fefcb0 (unknown)
@ 0x7f3a63db6313 (unknown)
@ 0x5560a1 (unknown)
@ 0x49890a (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x49f1c0 (unknown)
@ 0x4a8a92 (unknown)
@ 0x4e9f36 (unknown)
@ 0x499bc0 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x49f1c0 (unknown)
@ 0x4a8960 (unknown)
@ 0x4e9f36 (unknown)
@ 0x4ec11a (unknown)
@ 0x4e9f36 (unknown)
@ 0x4eb39e (unknown)
@ 0x4db6a6 (unknown)
@ 0x4e9f36 (unknown)
@ 0x49846a (unknown)
@ 0x498602 (unknown)
@ 0x49f1c0 (unknown)
@ 0x4983b8 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)
@ 0x498602 (unknown)