UI allowed to configure an ssd into a cache set while node is allocated
Bug #1578347 reported by
Francis Ginther
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned | ||
1.9 |
Invalid
|
High
|
Unassigned |
Bug Description
This was seen with maas 1.9.1+bzr4543-
I have a node with and ssd that I wanted to use with bcache. I allocated the node as my user so that no one would grab it, then as admin, tried to create a cache set. I could select the ssd device and was given the option to create a cache set, but when I clicked it, the ssd disappeared.
We found this backtrace: https:/
After releasing the node, we were able to create the cache set and proceed with setting up bcache.
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
Hi Francis,
As part of a requirement we, you can't and should not be able to create BCache sets (or raids for example) while the node is allocated. In fact, MAAS 1.9+ doesn't allow you to configure the underlying disk configuration while the node it is allocated.
What you can do while the node is allocate, is filesystem level only (create filesystems, mountpoints, etc).
The underlying configuration of the disk is to be done only while the node is 'Ready'.