proxy not used when launching lxc-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Tim Penhey |
Bug Description
I'm deploying juju on a local LXC environment behind a proxy. All my environment variables are well set (http_proxy, https_proxy, no_proxy).
After bootstrapping, when launching
juju deploy mysql
I get the following 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 '']''; + ''['' -z /var/lib/
'']''; ++ id -u; + ''['' 0 ''!='' 0 '']''; + config=
+ ''['' -z /usr/lib/
ubuntu-
/
+ ''['' -n '''' '']''; ++ ubuntu-
''%{url}\n''; failed to get https:/
+ url1=; lxc_container: container creation template for vagrant-
failed; lxc_container: Error creating container vagrant-
but if I run before lxc-create (that takes into account through wget the proxy settings)
sudo lxc-create -t ubuntu-cloud -n test
and then run again
juju deploy mysql
the command passes - as the previously downloaded lxc base is used.
tags: | added: precise |
tags: | added: local-provider lxc proxy |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.0 |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
milestone: | 2.0 → 1.17.5 |
assignee: | nobody → Tim Penhey (thumper) |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
do :
juju deploy cs:precise/mysql