Here is the same kind of “Move /temp/.bench” error but from a Debian 8 server install. Not quite identical but very close to the CentOS 7 type error.
I have done this on 4 different bare metal Debian 8 servers and this is the resulting error list:
TASK [Check if /tmp/.bench exists] **********************************************************
ok: [localhost]
TASK [Check if bench_repo_path exists] ******************************************************
ok: [localhost]
TASK [move /tmp/.bench if it exists] ********************************************************
fatal: [localhost]: FAILED! => {“failed”: true, “msg”: “Failed to change ownership of the tem
porary files Ansible needs to create despite connecting as root. Unprivileged become user wo
uld be unable to read the file.”}
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry
PLAY RECAP **********************************************************************************
localhost : ok=61 changed=40 unreachable=0 failed=1
Traceback (most recent call last):
File “install.py”, line 388, in
install_bench(args)
File “install.py”, line 114, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 326, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘production/insta
ll.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=erp_jmi’]’ returned non-ze
ro exit status 2
erp_jmi@deb8-erp10:~$
The error seems to be very similar (although not identical) to the error happening on CentOS 7 servers so the fault introduced in the install.py must be the same.
This install worked only 72 hours ago on these same severs, and now it is broken.
BKM