Allow selecting custom storage layout in UI

Bug #1949455 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

MAAS now allows to create a custom storage layout for a machine, by providing the configuration at commissioning time (from a custom commissioning script).

An additional "custom" storage layout is available, and selectable from the API.

It should be possible to apply the custom layout through the UI as well.

If the machine doesn't have custom layout configuration from commissioning, an error will be raised.

Tags: ui
Revision history for this message
Caleb Ellis (caleb-ellis) wrote :

To clarify, for this bug to be fixed should we just be adding an extra option to the "Change storage layout" dropdown for a "custom" storage layout? IIUC the commissioning form should not need to be changed.

Also is there any machine data that can be used to determine whether custom storage is possible or not ahead of time?

Revision history for this message
Alberto Donato (ack) wrote :

@Caleb,

correct, the easiest way to provide the option would be to just add an entry in the layouts list for "custom".

WRT knowing if a machine has a custom layout defined, it's possible (the information is stored as part of the machine resources output from commissioning scripts), but we'd have to add the extra info in the websocket handler since it's currently not there.

Revision history for this message
Anton Smith (anton5mith) wrote :

I think this would be a great feature to have in the UI as soon as we can. My vote is we try to bring it in, depending on impact on the release schedule, or release it as an update.

Alberto Donato (ack)
Changed in maas:
status: New → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.1.0 → 3.1.0-rc1
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
Changed in maas-ui:
importance: Undecided → Unknown
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.