fallback from specific to generic subarch broken
Bug #1307779 reported by
Michael Hudson-Doyle
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
I think this is basically bug 1294131 but trying to commission a midway node fails, unless you undertake massive hacking (edit database, file system paths, tgt config) to pretend that the armhf-generic images you imported were armhf-highbank images.
Related branches
lp:~julian-edwards/maas/pxeconfig-subarch
- Julian Edwards (community): Approve
-
Diff: 50 lines (+32/-0)2 files modifiedsrc/maasserver/api.py (+6/-0)
src/maasserver/tests/test_api_pxeconfig.py (+26/-0)
lp:~julian-edwards/maas/report-subarches-in-bootimage
- Jeroen T. Vermeulen (community): Approve
-
Diff: 424 lines (+275/-9)5 files modifiedsrc/provisioningserver/boot/tests/test_tftppath.py (+154/-1)
src/provisioningserver/boot/tftppath.py (+71/-8)
src/provisioningserver/import_images/boot_image_mapping.py (+27/-0)
src/provisioningserver/import_images/testing/factory.py (+9/-0)
src/provisioningserver/import_images/tests/test_boot_image_mapping.py (+14/-0)
lp:~julian-edwards/maas/subarches-in-metafile
- Julian Edwards (community): Approve
-
Diff: 27 lines (+4/-2)2 files modifiedsrc/provisioningserver/import_images/download_descriptions.py (+2/-1)
src/provisioningserver/import_images/tests/test_boot_resources.py (+2/-1)
lp:~julian-edwards/maas/supported-subarches-api
- Raphaël Badin (community): Approve
-
Diff: 183 lines (+42/-10)6 files modifiedsrc/maasserver/api.py (+7/-3)
src/maasserver/models/bootimage.py (+13/-4)
src/maasserver/models/tests/test_bootimage.py (+11/-0)
src/maasserver/testing/factory.py (+3/-1)
src/maasserver/tests/test_api_boot_images.py (+7/-2)
src/provisioningserver/testing/boot_images.py (+1/-0)
lp:~julian-edwards/maas/supported-subarches-model
- Raphaël Badin (community): Approve
-
Diff: 379 lines (+314/-3)4 files modifiedsrc/maasserver/migrations/0079_supported_subarches_for_bootimage.py (+265/-0)
src/maasserver/models/bootimage.py (+14/-1)
src/maasserver/models/tests/test_bootimage.py (+27/-0)
src/maasserver/testing/factory.py (+8/-2)
lp:~julian-edwards/maas/bootimage-pruning-fix
- Jeroen T. Vermeulen (community): Approve
-
Diff: 90 lines (+42/-5)4 files modifiedsrc/maasserver/api.py (+13/-3)
src/maasserver/models/bootimage.py (+4/-2)
src/maasserver/models/tests/test_bootimage.py (+11/-0)
src/maasserver/tests/test_api_boot_images.py (+14/-0)
Changed in maas: | |
status: | Triaged → In Progress |
milestone: | none → 1.6.0 |
assignee: | nobody → Julian Edwards (julian-edwards) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A better workaround is to hack pxeconfig in api.py to ignore the passed in subarch and always use generic.