Deploy sometimes fails behind a proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Nate Finch |
Bug Description
2.0-beta15-
I can't seem to deploy apps or bundles with juju 2b15 behind a proxy, but bootstrap works.
Here I have switched to the controller model already:
andreas@
MODEL CONTROLLER CLOUD/REGION VERSION
controller vmwarestack-
APP VERSION STATUS EXPOSED ORIGIN CHARM REV OS
UNIT WORKLOAD AGENT MACHINE PUBLIC-ADDRESS PORTS MESSAGE
MACHINE STATE DNS INS-ID SERIES AZ
0 started 10.245.200.46 4y3h8n xenial default
andreas@
defined: local
type: maas
auth-types: [oauth1]
endpoint: http://
config:
default-series: xenial
http-proxy: http://
https-proxy: http://
no-proxy: localhost,
andreas@
2016-08-18 17:24:58 INFO juju.cmd supercommand.go:63 running juju [2.0-beta15 gc go1.6.2]
2016-08-18 17:24:58 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:24:58 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:00 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:00 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:00 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:25:00 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:01 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:01 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:02 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:25:02 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:04 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:04 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:04 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:25:04 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:05 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:05 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:05 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:25:05 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:07 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:07 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:07 INFO juju.juju api.go:74 connecting to API addresses: [10.245.
2016-08-18 17:25:07 INFO juju.api apiclient.go:537 dialing "wss://
2016-08-18 17:25:08 INFO juju.api apiclient.go:313 connection established to "wss://
2016-08-18 17:25:08 DEBUG juju.juju api.go:248 API hostnames unchanged - not resolving
2016-08-18 17:25:08 DEBUG httpbakery client.go:244 client do GET https:/
2016-08-18 17:25:09 DEBUG httpbakery client.go:246 } -> error <nil>
... stalls for a while ...
2016-08-18 17:29:24 DEBUG juju.api apiclient.go:588 health ping failed: connection is shut down
2016-08-18 17:29:24 DEBUG juju.api apiclient.go:588 health ping failed: connection is shut down
2016-08-18 17:29:24 ERROR cmd supercommand.go:458 cannot deploy bundle: cannot add charm "cs:trusty/
2016-08-18 17:29:24 DEBUG cmd supercommand.go:459 (error details: [{github.
In the meantime, on the bootstrap node:
tcp 0 1 10.245.200.46:35534 162.213.33.121:443 SYN_SENT 6275/jujud
tcp 0 1 10.245.200.46:35536 162.213.33.121:443 SYN_SENT 6275/jujud
root@node-1:~# cat /home/ubuntu/
export http_proxy=http://
export HTTP_PROXY=http://
export https_proxy=http://
export HTTPS_PROXY=http://
export no_proxy=
export NO_PROXY=
description: | updated |
tags: | removed: kanban-cross-team |
Changed in juju-core: | |
milestone: | none → 2.0-beta17 |
assignee: | nobody → Richard Harding (rharding) |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta17 → none |
milestone: | none → 2.0-beta17 |
Changed in juju: | |
importance: | Undecided → Critical |
Changed in juju: | |
milestone: | 2.0-beta17 → 2.0-beta18 |
Changed in juju: | |
assignee: | Richard Harding (rharding) → Nate Finch (natefinch) |
Changed in juju: | |
status: | Triaged → In Progress |
tags: | added: deploy proxy |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This doesn't happen consistently, I don't know why.