RFE: unable to deploy machine charm with a base other than ubuntu when using metadata v2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned |
Bug Description
It seems that machine charms using metadata v2 can only deploy where some variant of Ubuntu is specified as a base.
There is a simple charm for demonstration here: https:/
If you follow the README and deploy the charm as is, it will deploy a LXC container running on Ubuntu 20.04.
If you edit the generated "machine-
```
bases:
- architectures:
- amd64
channel: "7"
name: centos
charmcraft-
charmcraft-version: 1.0.0
```
The charm will then fail to deploy with the error:
```
ERROR series not specified and charm does not define any
```
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.9.2 |
Changed in juju: | |
milestone: | 2.9.2 → 2.9.3 |
Changed in juju: | |
milestone: | 2.9.3 → 2.9.4 |
Changed in juju: | |
milestone: | 2.9.4 → 2.9.5 |
Changed in juju: | |
milestone: | 2.9.5 → 2.9.6 |
Changed in juju: | |
milestone: | 2.9.6 → 2.9.7 |
Changed in juju: | |
assignee: | nobody → Heather Lanigan (hmlanigan) |
The current workaround for this is that `channel: "centos7"`.