RAID configuration form keeps state

Bug #1946203 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

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.create_raid",
 "type": 0,
 "params": {
  "level": "raid-0",
  "name": "md0",
  "system_id": "dy3sse",
  "tags": [],
  "block_devices": [
   179,
   180,
   181
  ],
  "spare_devices": [
   177,
   178
  ]
 },
 "request_id": 12
}

Tags: ui
Changed in maas-ui:
importance: Undecided → Unknown
Changed in maas-ui:
status: New → Fix Released
Changed in maas:
status: New → Fix Committed
Bill Wear (billwear)
Changed in maas:
milestone: next → 3.1.0-beta3
Bill Wear (billwear)
Changed in maas:
status: Fix Committed → 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.