juju uses proxy to access bootstrap node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Cheryl Jennings | ||
1.22 |
Fix Released
|
High
|
Cheryl Jennings | ||
1.23 |
Fix Released
|
High
|
Cheryl Jennings | ||
1.24 |
Fix Released
|
High
|
Cheryl Jennings |
Bug Description
When using proxy in juju enviroment, juju uses this proxy to access bootstrap node and failed.
I added the following in ~/.juju/
http-proxy: http://
https-proxy: http://
no-proxy: localhost,
and got the following error:
"4":
agent-state: started
agent-version: 1.24.2
dns-name: hayward-35.oil
instance-id: /MAAS/api/
series: trusty
containers:
4/lxc/0:
creation failed: error executing "lxc-create": + ''['' amd64 = i686 '']'';
+ ''['' 0 = 0 '']''; + case "$hostarch:$arch" in; + :; + ''['' tryreleased
''!='' daily -a tryreleased ''!='' released -a tryreleased ''!='' tryreleased
'']''; + ''['' -z /var/lib/
+ ''['' 0 ''!='' 0 '']''; + config=
+ ''['' -z /var/lib/
is /tmp/wget084105
0 -eq 1 '']''; + mkdir -p /var/cache/
= tryreleased '']''; + stream=released; + ubuntu-
amd64; + ''['' -n https:/
'']''; + url2=https:/
++ basename https:/
+ filename=
'']''; + do_extract_rootfs; + cd /var/cache/
-eq 1 '']''; + trap wgetcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' ''!''
-f ubuntu-
to establish SSL connection.; + build_root_tgz ubuntu-
+ url=ubuntu-
-d -p .; + xdir=./
+ tarname=
+ trap buildcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' 0 -eq 1 -o ''!''
-f /var/cache/
'']''; + rm -f ubuntu-
cloud image from ubuntu-
cloud image from ubuntu-
Couldn''t find cloud image ubuntu-
+ exit 1; + buildcleanup; + cd /var/lib/
+ umount -l /var/cache/
not mounted; + true; + rm -rf /var/cache/
Error creating container juju-trusty-
series: trusty
hardware: arch=amd64 cpu-cores=8 mem=16384M tags=oil-
10.245.0.10 - maas server
10.245.0.117 - bootstrap node
Changed in juju-core: | |
assignee: | nobody → Cheryl Jennings (cherylj) |
status: | New → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
tags: | added: landscape |
Changed in juju-core: | |
milestone: | none → 1.25.0 |
importance: | Undecided → High |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Adding the bootstrap node to no-proxy list may work but this should be done automatically.