UI allowed to configure an ssd into a cache set while node is allocated

Bug #1578347 reported by Francis Ginther
6
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-0ubuntu2 (trusty1).

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://pastebin.canonical.com/155801/

After releasing the node, we were able to create the cache set and proceed with setting up bcache.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

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'.

Changed in maas:
status: New → Invalid
status: Invalid → New
no longer affects: maas/2.0
Changed in maas:
milestone: none → 2.0.0
summary: - Can't configure an ssd into a cache set while node is allocated
+ UI allowed to configure an ssd into a cache set while node is allocated
Changed in maas:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Andres Rodriguez (andreserl) wrote :

We believe this is no longer an issue in the latest releases of MAAS. Please upgrade to the latest version of MAAS, and If you believe this issue is still present, please re-open this bug report or file a new one.

Changed in maas:
status: Triaged → Invalid
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.