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
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users