stein quickstart aio fails with aria2c centos-7-docker

asked 2019-05-06 01:05:25 -0500

ARatcliff gravatar image

Following the openstack docs to try a stein allinone https://docs.openstack.org/openstack-ansible/stein/user/aio/quickstart.html (https://docs.openstack.org/openstack-...) Running playbooks fails at openstack-ansible setup-hosts.yml with

TASK [lxc_hosts : Ensure image has been pre-staged] *************************************************************************************
fatal: [aio1]: FAILED! => {"ansible_job_id": "126314752255.11626", "attempts": 1, "changed": true, "cmd": "aria2c --max-connection-per-server=4 --allow-overwrite=true --dir=/tmp --out=centos-7-docker.tar.xz --check-certificate=true https://github.com/CentOS/sig-cloud-instance-images/raw/CentOS-7/docker/centos-7-docker.tar.xz > /var/log/aria2c-image-prestage.log 2>&1", "delta": "0:00:00.116363", "end": "2019-05-06 05:10:35.533852", "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2019-05-06 05:10:35.417489", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP ******************************************************************************************************************************
aio1                       : ok=170  changed=5    unreachable=0    failed=1

Trying

 aria2c --max-connection-per-server=4 --allow-overwrite=true --dir=/tmp --out=centos-7-docker.tar.xz --check-certificate=true https://github.com/CentOS/sig-cloud-instance-images/raw/CentOS-7/docker/centos-7-docker.tar.xz

it doesn't work. The URL seems OK, but it looks like a problem with aria2c here is a snippet from the log:

2019-05-06 05:58:55.447175 [NOTICE] [Context.cc:311] Downloading 1 item(s)
2019-05-06 05:58:55.447284 [DEBUG] [Platform.cc:86] GnuTLS: <2> Initializing PKCS #11 modules
2019-05-06 05:58:55.448079 [DEBUG] [Platform.cc:86] GnuTLS: <2> p11: Initializing module: p11-kit-trust
2019-05-06 05:58:55.448101 [DEBUG] [Platform.cc:86] GnuTLS: <3> ASSERT: pkcs11.c:665
2019-05-06 05:58:55.448289 [DEBUG] [Platform.cc:86] GnuTLS: <2> p11: No login requested.
2019-05-06 05:58:55.448641 [DEBUG] [Platform.cc:86] GnuTLS: <2> p11: No login requested.
2019-05-06 05:58:55.523480 [DEBUG] [Platform.cc:86] GnuTLS: <3> ASSERT: pkcs11.c:2664
2019-05-06 05:58:55.523548 [DEBUG] [Platform.cc:86] GnuTLS: <3> ASSERT: pkcs11.c:2993

WGET works! aria2c does not. a) Where can I modify the playbook to use wget?

edit retag flag offensive close merge delete

Comments

Anyone available to answer this? Where can I modify the playbook to use wget?

ARatcliff gravatar imageARatcliff ( 2019-05-08 18:50:37 -0500 )edit