maxamillion / ansible-openshift_origin

Ansible Playbook for OpenShift Origin
Other
24 stars 12 forks source link

sysctl failing #6

Closed teejalon closed 11 years ago

teejalon commented 11 years ago

fedora 19 cloud image with 8GB root fs, got pretty far, but playbook stops here.

TASK: [sysctl - kernel.sem] *** <10.133.1.120> ESTABLISH CONNECTION FOR USER: fedora on PORT 22 TO 10.133.1.120 <10.133.1.120> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1376099938.9-273270555621109 && chmod a+rx $HOME/.ansible/tmp/ansible-1376099938.9-273270555621109 && echo $HOME/.ansible/tmp/ansible-1376099938.9-273270555621109' <10.133.1.120> REMOTE_MODULE sysctl name=kernel.sem state=present value="250 32000 32 4096" reload=yes <10.133.1.120> PUT /tmp/tmp2ap5R2 TO /home/fedora/.ansible/tmp/ansible-1376099938.9-273270555621109/sysctl <10.133.1.120> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=lcbluteyhqyfvuamshftrsaynaqgdbtj] password: " -u root /bin/sh -c '"'"'/usr/bin/python /home/fedora/.ansible/tmp/ansible-1376099938.9-273270555621109/sysctl; rm -rf /home/fedora/.ansible/tmp/ansible-1376099938.9-273270555621109/ >/dev/null 2>&1'"'"'' failed: [10.133.1.120] => {"failed": true, "item": ""} msg: checks_after failed with: key seems not set to value even after update/sysctl, founded : <250 32000 32 4096>, wanted : <250 32000 32 4096>

FATAL: all hosts have already failed -- aborting

maxamillion commented 11 years ago

This was fixed upstream with the release of Ansible 1.3, there was an error in the way it would parse the sysctl output.