Dear colleagues,
we have just observed the following error on a vanilla Debian 9 amd64:
Command
$ sudo python install.py --production
Error
fatal: [localhost]: FAILED! => {
"changed": false,
"cmd": "/usr/bin/apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv F1656F24C74CD1D8",
"invocation": {
"module_args": {
"data": null,
"file": null,
"id": "0xF1656F24C74CD1D8",
"key": null,
"keyring": null,
"keyserver": "hkp://keyserver.ubuntu.com:80",
"state": "present",
"url": null,
"validate_certs": true
}
},
"msg": "Error fetching key F1656F24C74CD1D8 from keyserver: hkp://keyserver.ubuntu.com:80",
"rc": 2,
"stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory\ngpg: connecting dirmngr at '/tmp/apt-key-gpghome.vbja1ifX81/S.dirmngr' failed: No such file or directory\ngpg: keyserver receive failed: No dirmngr\n",
"stderr_lines": [
"Warning: apt-key output should not be parsed (stdout is not a terminal)",
"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory",
"gpg: connecting dirmngr at '/tmp/apt-key-gpghome.vbja1ifX81/S.dirmngr' failed: No such file or directory",
"gpg: keyserver receive failed: No dirmngr"
],
"stdout": "Executing: /tmp/apt-key-gpghome.vbja1ifX81/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv F1656F24C74CD1D8\n",
"stdout_lines": [
"Executing: /tmp/apt-key-gpghome.vbja1ifX81/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv F1656F24C74CD1D8"
]
}
Traceback (most recent call last):
File "install.py", line 413, in <module>
install_bench(args)
File "install.py", line 135, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 327, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-vvvv',
'-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2
Anyone else with the same issue?