container-inherit-properties=apt-primary,apt-security,apt-sources doesn't work on MAAS provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips |
Bug Description
According to:
https:/
Juju can inherit apt sources.list from the host to containers basically.
However it doesn't work at least on MAAS provider.
juju: 2.5.0-bionic-amd64
maas: 2.5.0-7442-
$ maas root package-
...
{
"name": "main_archive",
"url": "http://
"arches": [
"amd64"
],
"key": "",
"enabled": true,
"id": 1,
}
$ juju model-config container-
apt-primary,
$ juju deploy --series bionic --bind oam-space ubuntu
$ juju add-unit ubuntu --to lxd:0
[/etc/apt/
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
# deb-src http://
[/etc/apt/
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_
## or do the same in user-data
## b.) add sources in /etc/apt/
## c.) make changes to template file /etc/cloud/
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
...
^^^ expected URL is http://
Changed in juju: | |
assignee: | nobody → Joseph Phillips (manadart) |
status: | New → Triaged |
Changed in juju: | |
milestone: | none → 2.5.2 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Subscribing ~field-high since
1. documented behavior doesn't work
2. changing the default archive URL is required for a customer delivery as the env doesn't have connectivity to archive.ubuntu.com