Cloud-archive selection widget is obsolete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
The Preferences page lets users enter Ubuntu archive URLs. But those URLs no longer have any meaning for the import script.
The import_boot_images Celery task copies these settings into environment variables MAIN_ARCHIVE, PORTS_ARCHIVE, and CLOUD_IMAGES_
We do need new settings for the Simplestreams sources, of course, but that's not a simple matter of re-purposing these widgets. The Simplestreams sources are not tied to a fixed number or fixed roles, and each needs image selections associated with it.
The existence of the dysfunctional settings has already led people into trouble with the Trusty beta.
Related branches
- Gavin Panella (community): Approve
-
Diff: 208 lines (+12/-69)7 files modifiedsrc/maasserver/forms.py (+0/-1)
src/maasserver/forms_settings.py (+4/-19)
src/maasserver/models/config.py (+1/-5)
src/maasserver/models/nodegroup.py (+6/-12)
src/maasserver/models/tests/test_nodegroup.py (+0/-26)
src/maasserver/views/tests/test_settings.py (+0/-4)
src/provisioningserver/tasks.py (+1/-2)
summary: |
- Archive selection widgets obsolete + Cloud-archive selection widget obsolete |
summary: |
- Cloud-archive selection widget obsolete + Cloud-archive selection widget is obsolete |
description: | updated |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Getting more and more confused. The cloud_images_ archive setting is documented as being used by the nodes, for downloading ephemeral images. But the nodes obtain their ephemeral images from their cluster controllers, and I don't see anything passing that setting to the nodes, nor anything on the node side that makes use of it.
Conversely, the ports archive is documented as being for use by the cluster controller, but the setting does seem to be passed on to, and used by, the nodes.