[lxc-users] LXC create behind the proxy server
Gandhi, Ibha (HP Software)
ibhag at hp.com
Thu Jan 9 14:48:44 UTC 2014
Hi,
I am creating lxc container and have access to the internet through proxy.
When I try to deploy the application using juju I get this error:
agent-state-info: '(error: error executing "lxc-create": + ''['' amd64 == i686
'']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64 -a amd64 ''!='' armhf
-a amd64 ''!='' armel '']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64
-a amd64 ''!='' armhf -a amd64 ''!='' armel '']''; + ''['' amd64 = amd64 -a
amd64 ''!='' amd64 -a amd64 ''!='' i386 '']''; + ''['' amd64 = i386 -a amd64
''!='' i386 '']''; + ''['' amd64 = armhf -o amd64 = armel '']''; + ''['' released
''!='' daily -a released ''!='' released '']''; + ''['' -n /var/lib/juju/containers/root-local-machine-1/cloud-init
'']''; + ''['' ''!'' -f /var/lib/juju/containers/root-local-machine-1/cloud-init
'']''; ++ readlink -f /var/lib/juju/containers/root-local-machine-1/cloud-init;
+ userdata=/var/lib/juju/containers/root-local-machine-1/cloud-init; + ''[''
-n '''' '']''; + ''['' -z /var/lib/lxc/root-local-machine-1 '']''; ++ id -u;
+ ''['' 0 ''!='' 0 '']''; + config=/var/lib/lxc/root-local-machine-1/config;
+ grep -q ''^lxc.rootfs'' /var/lib/lxc/root-local-machine-1/config; + rootfs=/var/lib/lxc/root-local-machine-1/rootfs;
+ type ubuntu-cloudimg-query; ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query;
+ type wget; wget is /usr/bin/wget; + cache=/var/cache/lxc/cloud-precise; +
mkdir -p /var/cache/lxc/cloud-precise; + ''['' -n '''' '']''; ++ ubuntu-cloudimg-query
precise released amd64 --format ''%{url}\n''; failed to get https://cloud-images.ubuntu.com/query/precise/server/released-dl.current.txt;
+ url1=; failed to execute template ''ubuntu-cloud''; aborted)'
I tried to directly wget from https://cloud-images.ubuntu.com/query/precise/server/released-dl.current.txt and was successful.
Please let me know if I have missed some configuration.
Thanks,
Ibha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140109/3946c74f/attachment.html>
More information about the lxc-users
mailing list