API doesn't allow Storage reconfiguration in allocated state

Bug #1959169 reported by Sam Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

Some API methods like update, delete raid volumes are blocked when the machine is not in Ready state when using the REST API.

e.g. https://github.com/maas/maas/blob/master/src/maasserver/api/raid.py#L304

However a machine's storage configuration can be modified using the GUI when in the Allocated state.

This is important for us as we Acquire a machine to prevent it being consumed by other users whilst we prepare the storage and network configuration prior to deployment.

This may be part of a broader issue which blocks certain API operations in the Allocated state as suggested by the frequency of use of this error message: https://github.com/maas/maas/search?q=machine+is+not+Ready.

Alberto Donato (ack)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → next
Revision history for this message
Sam Richards (smallsam) wrote :

Just spotted this appears to be a duplicate of https://bugs.launchpad.net/maas/+bug/1812377

In my opinion this is an API bug, storage reconfiguration should be allowed in the allocated state. The prior bug is labelled as a UI/RBAC bug which I think is incorrect.

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.