MAAS 1.9 CentOS image names and Juju streams disagree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
High
|
Unassigned | ||
MAAS |
Fix Released
|
Critical
|
Lee Trager | ||
maas-images |
Invalid
|
Undecided
|
Unassigned |
Bug Description
MAAS 1.9 can import centos images when 'Boot Images' is set to 'http://
jenkins@finfolk:~$ maas env19 boot-resources read | grep name
"name": "centos/centos66",
"name": "centos/centos70",
"name": "ubuntu/trusty",
"name": "ubuntu/trusty",
"name": "ubuntu/trusty",
"name": "ubuntu/trusty",
"name": "ubuntu/trusty",
"name": "ubuntu/trusty",
Juju expects 'centos7' which can be seen at the following URL:
https:/
Reproduce as follows:
1. With MAAS 1.9 (storage set to "flat layout; bug 1499558)
2. Set 'Boot Images' to 'http://
3. Bootstrap with a Juju 1.24.7 client (required to avoid bug 1494476)
4. juju add-machine --series centos7
This issue can be worked around by re-adding the centos images downloaded by MAAS, as a custom image.
Image location: /var/lib/
'maas <profile-name> boot-resources create title=centos7 name=centos7 architecture=
The error message reported by MAAS when requesting 'centos7' can be seen in the juju status machine output:
"3":
agent-
["''centos7'' is not a valid distro_series. It should be one of: '''', ''centos/
'
instance-id: pending
series: centos7
Trying to pass 'add-machine' --series centos70 will result is an error that can be seen in Juju's machine logs:
machine-0: 2015-10-18 17:58:08 ERROR juju.worker runner.go:223 exited "environ-
Related branches
- Blake Rouse (community): Approve
- Andres Rodriguez (community): Needs Fixing
-
Diff: 90 lines (+57/-1)2 files modifiedsrc/maasserver/forms.py (+27/-1)
src/maasserver/tests/test_forms_node.py (+30/-0)
Changed in maas: | |
importance: | High → Critical |
summary: |
- MAAS 1.9 image names and Juju streams disagree + MAAS 1.9 CentOS image names and Juju streams disagree |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
importance: | Critical → High |
Changed in maas-images: | |
status: | New → Invalid |
Changed in maas: | |
status: | Fix Committed → Fix Released |
tags: | added: simplestreams |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.1.0 |
no longer affects: | juju-core |
no longer affects: | juju-core/1.24 |
Changed in juju: | |
status: | Triaged → Invalid |
Hi all,
So I think in MAAS we can easily assume that if centos7/centos8 is specified by Juju, it means centos70 internally. However, provided that other centos releases are 65, 66, etc. should we also assume centos would be 70, 80 across the board?