juju bootstrap does not honor https_proxy in environment when fetching tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Tim Penhey | ||
juju-core (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When trying to run 'juju bootstrap', it failed with the following:
$ juju bootstrap
WARNING no tools available, attempting to retrieve from https:/
ERROR Get https:/
This subnet does not have access to the outside world except through a proxy. Specifying the proxy as follows did not solve the problem:
export https_proxy="http://
However, wget worked after that - so wget honors the proxy but juju does not.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: juju-core 1.16.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Tue Oct 15 22:32:15 2013
Dependencies:
gcc-4.8-base 4.8.1-10ubuntu8
libc6 2.17-93ubuntu4
libgcc1 1:4.8.1-10ubuntu8
multiarch-support 2.17-93ubuntu4
MarkForUpload: True
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in juju-core (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: cts-cloud-review |
Changed in juju-core: | |
assignee: | nobody → Tim Penhey (thumper) |
status: | Triaged → Fix Released |
Changed in juju-core: | |
milestone: | 1.18.0 → 1.17.3 |
You should be able to just set http_proxy, and have that work. Go will honour http_proxy, and do the usual CONNECT method. But, depends on whether you specifically don't want to proxy HTTP traffic.
We'll need to make changes to our code to support both http_proxy and https_proxy, or wait for Go to support it. /code.google. com/p/go/ issues/ detail? id=6181
https:/