juju 1.24.5 no-proxy does not work as expected.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Expired
|
High
|
Unassigned |
Bug Description
I tried to deploy a charm to nodes managed by maas in environment that is behind a firewall (like 1ss). I set http/s-proxy and no-proxy but juju deploy from charm store fails. I was able to bootstrap with the yaml below but deploying charm from charmstore fails, I was expecting that http/s-proxy and no-proxy will take care of that. I would rather not punch a hole in the firewall to get to the charmstore.
==== environment.yaml ====
maas:
type: maas
# maas-server specifies the location of the MAAS server. It must
# specify the base path.
#
# maas-oauth holds the OAuth credentials from MAAS.
#
maas-oauth: 'L3...removed for sanity..pyZ'
http-proxy: http://
no-proxy: localhost,
# maas-server bootstrap ssh connection options
#
# bootstrap-timeout time to wait contacting a state server, in seconds.
========
==== juju status ====
environment: maas
machines:
"0":
agent-state: started
agent-version: 1.24.5
dns-name: ms10-02-avaton.1ss
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=8 mem=32768M tags=myhardware
state-
services: {}
=========
==== juju deploy mysql =====
ubuntu@
2015-09-15 20:47:12 DEBUG juju.api api.go:168 trying cached API connection settings - endpoints [10.229.
2015-09-15 20:47:12 INFO juju.api api.go:280 connecting to API addresses: [10.229.
2015-09-15 20:47:12 INFO juju.api apiclient.go:331 dialing "wss://
2015-09-15 20:47:12 INFO juju.api apiclient.go:263 connection established to "wss://
2015-09-15 20:47:12 DEBUG juju.api api.go:482 API hostnames changed from [ms10-02-
2015-09-15 20:47:12 DEBUG juju.api api.go:513 API addresses unchanged
2015-09-15 20:47:12 DEBUG juju.api api.go:522 cacheChangedAPI
2015-09-15 20:47:12 DEBUG httpbakery client.go:224 client do GET https:/
2015-09-15 20:49:20 DEBUG httpbakery client.go:226 } -> error &url.Error{
2015-09-15 20:49:20 ERROR juju.cmd supercommand.go:430 cannot resolve charm URL "cs:mysql": cannot get "/mysql/
=========
tags: | added: proxy |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.25-beta1 |
Changed in juju-core: | |
milestone: | 1.25-beta1 → 1.25-beta2 |
Changed in juju-core: | |
milestone: | 1.25-beta2 → 1.26-alpha1 |
Changed in juju-core: | |
milestone: | 1.26-alpha1 → 1.26-alpha2 |
Changed in juju-core: | |
milestone: | 1.26-alpha2 → 1.26-beta1 |
Changed in juju-core: | |
milestone: | 1.26-beta1 → 2.0-alpha2 |
Changed in juju-core: | |
milestone: | 2.0-alpha2 → 2.0-beta1 |
Changed in juju-core: | |
milestone: | 2.0-beta1 → 2.0-beta2 |
Changed in juju-core: | |
milestone: | 2.0-beta2 → 2.0-beta3 |
Changed in juju-core: | |
milestone: | 2.0-beta3 → 2.0-beta4 |
Changed in juju-core: | |
milestone: | 2.0-beta4 → none |
This looks like a client side issue. The HTTPS request that's failing is being made by the client, not the server. Juju's proxy configuration options are for the Juju server and aren't used by the client.
Can you check that http-proxy, https-proxy and no-proxy are correctly set up on the client?