RAID configuration form keeps state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Undecided
|
Unassigned | ||
maas-ui |
Fix Released
|
Unknown
|
Bug Description
Trying to create a RAID from the UI, I ran into an issue where it seems the UI keeps state from previous selections in the creation form.
These are the steps I took:
- selected 5 empty disks from a machine storage tab
- select create raid
- select RAID 1 as level
- select a couple of disks as spare
- select RAID 0 as level
- apply
The following error message shows: "RAID level 0 must have at least 2 raid devices and no spares"
This is the message that gets sent:
{
"method": "machine.
"type": 0,
"params": {
"level": "raid-0",
"name": "md0",
"system_id": "dy3sse",
"tags": [],
"block_devices": [
179,
180,
181
],
"spare_devices": [
177,
178
]
},
"request_id": 12
}
Changed in maas-ui: | |
importance: | Undecided → Unknown |
Changed in maas-ui: | |
status: | New → Fix Released |
Changed in maas: | |
status: | New → Fix Committed |
Changed in maas: | |
milestone: | next → 3.1.0-beta3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |