MAAS "Images" page seems to imply that i386/20.04 is available, but it's not
Bug #1877585 reported by
Rod Smith
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Lee Trager | ||
2.8 |
Fix Released
|
Medium
|
Adam Collard |
Bug Description
The MAAS web UI's "Images" page, when both "i386" and "20.04 LTS" are selected as options, shows "Selected for download" as the "Status" for the 20.04 LTS i386 combination (see attached screen shot), but it never downloads, presumably because i386 has been dropped as an architecture for 20.04. This happens with both MAAS 2.4 and MAAS 2.6.
I recommend changing the "Status" message to "Unavailable combination" or something similar to clarify the matter. "Selected for download" may lead the user to mistakenly believe there's been a network error or other problem with downloading the images.
Related branches
~adam-collard/maas:2.8-1877575
- Adam Collard (community): Approve
-
Diff: 170 lines (+48/-58)2 files modifiedsrc/maasserver/websockets/handlers/bootresource.py (+16/-24)
src/maasserver/websockets/handlers/tests/test_bootresource.py (+32/-34)
~ltrager/maas:lp1877585
Merged
into
maas:master
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 170 lines (+48/-58)2 files modifiedsrc/maasserver/websockets/handlers/bootresource.py (+16/-24)
src/maasserver/websockets/handlers/tests/test_bootresource.py (+32/-34)
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
importance: | Undecided → Medium |
Changed in maas: | |
milestone: | none → 2.8.0rc1 |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
assignee: | Caleb Ellis (caleb-ellis) → Lee Trager (ltrager) |
Changed in maas: | |
milestone: | 2.8.0rc1 → 2.8.0 |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 2.8.0 → 2.9.0b1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Up until 20.04 every version of Ubuntu was supported on every architecture. The UI was built upon this assumption. As such the websocket currently only sends the list of available Ubuntu versions. Architectures are only sent once the image has been downloaded.
One of the things I noticed when I reproduced this is while the API gives an error when you try to download 20.04 i386 the websocket silently ignores i386 missing. This is a UI bug but will require some backend work as well.
@design - What do you need from the backend to fix this? Should MAAS include the architectures for each image a user can select to download? Should MAAS send an error when an architecture is unavailable? Both?