lueschem/edi-raspbian

Setup of raspbian jessie cross container fails behind proxy.

Closed this issue · 0 comments

The setup of a cross compilation container fails behind a proxy:

Environment:
ansible: 2.3.1.0
lxc: 2.15
edi: 0.6.1

$ sudo edi -v lxc configure raspbian-jessie-cross-3 jessie-cross.yml

...

TASK [multiarch_support : Update apt cache.] **********************************************************************************************
changed: [raspbian-jessie-cross-3]

TASK [development_tools : Install specific version of native linux-libc-dev.] *************************************************************
changed: [raspbian-jessie-cross-3]

TASK [development_tools : Download corresponding armhf version of linux-libc-dev.] ********************************************************
fatal: [raspbian-jessie-cross-3]: FAILED! => {"changed": false, "dest": "/tmp/linux-libc-dev_3.16.7-ckt25-2_armhf.deb", "failed": true, "msg": "Request failed: <urlopen error [Errno 101] Network is unreachable>", "state": "absent", "url": "http://ftp.ch.debian.org/debian/pool/main/l/linux//linux-libc-dev_3.16.7-ckt25-2_armhf.deb"}
	to retry, use: --limit @/home/lueschm1/workspace/edi-raspbian/plugins/playbooks/development_setup/main.retry

PLAY RECAP ********************************************************************************************************************************
raspbian-jessie-cross-3    : ok=11   changed=10   unreachable=0    failed=1   

Error: Command '['sudo', '-u', 'lueschm1', 'ansible-playbook', '--connection', 'lxd', '--inventory', '/home/lueschm1/workspace/edi-raspbian/tmpiadj8xfl/inventory', '--extra-vars', '@/home/lueschm1/workspace/edi-raspbian/tmpiadj8xfl/extra_vars_050_development_setup', '/home/lueschm1/workspace/edi-raspbian/plugins/playbooks/development_setup/main.yml']' returned non-zero exit status 2
For more information increase the log level.