container-inherit-properties doesn't support apt-http-proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
By default with MAAS provider, Juju nodes as physical hosts have a maas hostname as a apt-http-proxy through curtin.
$ apt-config dump | grep Acquire:
Acquire:
Acquire:
Acquire:
Acquire:
$ cat /etc/apt/
Acquire:
However, Juju created LXD containers do not have those inherited. So those containers would not get a benefit of cached packages in MAAS squid to speed up the deployment process.
[container] $ apt-config dump | grep Acquire:
Acquire:
Acquire:
Acquire:
Acquire:
It would be nice if container-
$ juju version
2.6.10-bionic-amd64
$ juju model-config container-
ERROR container-
$ juju model-config container-
ERROR container-
A workaround is to set apt-http-proxy in a model or model-defaults by hand explicitly. So both physical hosts and LXD containers will use the same value by the overridden model config/default.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.