deployed container in maas provider does not honor maas proxy settings

Bug #1541228 reported by Nobuto Murata
This bug report is a duplicate of:  Bug #1490480: juju apt proxy vs MaaS. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

In maas provider, deployed physical nodes will have apt proxy settings as the maas-proxy in maas or value specified in `maas profile maas get-config name=http_proxy`. However containers created by juju in maas provider will have empty value for apt proxy by default.

Containers created by juju should have the same value with physical nodes by default in the same maas provider unless apt-http-proxy is explicitly specified by `juju set-env`.

$ juju get-env | grep http-proxy
<empty>

[physical node]
$ juju run --machine 0 'apt-config dump | grep -i proxy'
Acquire::http::Proxy "http://192.168.88.8:8000/";

[container]
$ juju run --machine 0/lxc/0 'apt-config dump | grep -i proxy'
<empty>

Revision history for this message
Nobuto Murata (nobuto) wrote :

Forgot to mention that I checked it with maas 1.9.0+bzr4533-0ubuntu1 and juju-core 1.25.3-trusty-amd64.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.0
no longer affects: juju-core
Changed in juju:
assignee: nobody → Richard Harding (rharding)
Revision history for this message
Richard Harding (rharding) wrote :

For now you have to set the config on the models to be respected. Some notes on the model config work here and the apt-http-proxy settings.

https://jujucharms.com/docs/2.0/temp-release-notes#shared-model-config

We do want to pull those from provisioned machines in MAAS but that will not be completed until a later release.

Changed in juju:
milestone: 2.0.0 → 2.1.0
Changed in juju:
assignee: Richard Harding (rharding) → nobody
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I think this is a duplicate of bug # 1490480. Marking it as such.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.