[2.1b3,5] juju deploy ignoring proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Christian Muirhead | ||
2.1 |
Fix Released
|
High
|
Christian Muirhead |
Bug Description
TL;DR
13:06:08 ERROR cmd supercommand.go:458 storing charm for URL "cs:ubuntu-10": cannot retrieve charm "cs:ubuntu-10": cannot get archive: Get https:/
I have two 2.1b3 controllers on MAAS 2.1.3.
There is a mandatory proxy on "squid.vmwarestack" (10.245.200.27)
First one was bootstrapped with this config:
$ juju show-cloud vmwarestack-maas2
defined: local
type: maas
description: Metal As A Service
auth-types: [oauth1]
endpoint: http://
config:
bootstrap-
default-series: xenial
http-proxy: http://
https-proxy: http://
no-proxy: localhost,
Then I switched to the controller model, so as to not waste a maas node, and deployed my first workload there. This is the juju status (attachment juju-status-
$ juju status
Model Controller Cloud/Region Version
controller vmwarestack-maas2 vmwarestack-maas2 2.1-beta3
App Version Status Scale Charm Store Rev OS Notes
haproxy unknown 1 haproxy jujucharms 40 ubuntu exposed
landscape-server active 1 landscape-server jujucharms 3 ubuntu
postgresql 9.5.5 active 1 postgresql jujucharms 110 ubuntu
rabbitmq-server 3.5.7 active 1 rabbitmq-server jujucharms 57 ubuntu
Unit Workload Agent Machine Public address Ports Message
haproxy/0* unknown idle 0/lxd/0 10.245.200.116 80/tcp,
landscape-server/0* active idle 0/lxd/1 10.245.200.117
postgresql/0* active idle 0/lxd/2 10.245.200.23 5432/tcp Live master (9.5.5)
rabbitmq-server/0* active idle 0/lxd/3 10.245.200.24 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ
0 started 10.245.202.66 4y3h8d xenial bucharest
0/lxd/0 started 10.245.200.116 juju-f53d84-0-lxd-0 xenial
0/lxd/1 started 10.245.200.117 juju-f53d84-0-lxd-1 xenial
0/lxd/2 started 10.245.200.23 juju-f53d84-0-lxd-2 xenial
0/lxd/3 started 10.245.200.24 juju-f53d84-0-lxd-3 xenial
Relation Provides Consumes Type
peer haproxy haproxy peer
website haproxy landscape-server regular
db-admin landscape-server postgresql regular
amqp landscape-server rabbitmq-server regular
replication postgresql postgresql peer
cluster rabbitmq-server rabbitmq-server peer
Landscape then did a cloud deployment. It does that by bootstrapping again on the same MAAS provider, then also switching to the controller model, and then it starts deploying applications.
Landscape used the same proxy settings. This was the bootstrap config it used (attached as inner-bootstrap
{apt-http-proxy: 'http://
http-proxy: 'http://
no-proxy: 'localhost,
provisioner-
All charms failed to be added to this inner controller, though. The error from landscape was:
Jan 6 15:34:59 job-handler-1 INFO Traceback (failure with no frames): <class 'txjuju.
I tried to deploy the ubuntu charm via the command line, into that inner model. It also failed (http://
landscape@
(...)
13:06:08 ERROR cmd supercommand.go:458 storing charm for URL "cs:ubuntu-10": cannot retrieve charm "cs:ubuntu-10": cannot get archive: Get https:/
13:06:08 DEBUG cmd supercommand.go:459 (error details: [{github.
I'm now going to attach several files: command outputs, juju model configs, and a tarball of the inner controller (the one where deployments are not working).
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 2.1.0 |
tags: | added: eda |
Changed in juju: | |
assignee: | nobody → Menno Smits (menno.smits) |
Changed in juju: | |
milestone: | 2.1.0 → 2.1-rc1 |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.1-rc1 → 2.2.0-alpha1 |
assignee: | Menno Smits (menno.smits) → nobody |
importance: | Critical → High |
status: | In Progress → Triaged |
summary: |
- [2.1b3] juju deploy ignoring proxy + [2.1b3,5] juju deploy ignoring proxy |
Changed in juju: | |
status: | Fix Committed → Fix Released |
machine-0 logs from the inner environment. This is where deployments are failing because the proxy is being ignored.