API doesn't indicate whether a node is deployable

Bug #1540453 reported by Björn Tillenius
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned
1.9
Won't Fix
High
Unassigned

Bug Description

With MAAS 1.9, you can change disk layout, and if you for example mount a bcache partition on /, the UI will tell you that the node can't be deployed.

However, the API won't give you any indication that the node can't be deployed. This is a problem for the autopilot, since it should fail early rather than later. I don't think reimplementing the same logic as the MAAS UI uses would be a good idea. There should be a clear indication that the node can't be deployed.

A new status might be in order. IMHO a node shouldn't be consider READY if it can't be deployed.

Tags: landscape
tags: added: kanban-cross-team landscape
summary: - API doesn't indicate whether a node is "bootable"
+ API doesn't indicate whether a node is deployable
Changed in maas:
milestone: none → 1.9.1
milestone: 1.9.1 → none
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Adding a new status is not something we will do for 1.9 as it affects the life cycle of the machine and that falls outside of the support we are providing to it.

That being said, a machine becomes ready after it has been commissioned. The users makes the mistake and MAAS correctly tells the user that the machine, while has been made ready by MAAS, it is not deployable. Provided that MAAS provided a Ready, deployable machine, but the user made it not deployable, I believe the right approach, for 1.9, would be to provide an API state that will tell whether the machine is deployable or not, within the Ready state.

Changed in maas:
importance: Undecided → High
milestone: none → 1.9.1
milestone: 1.9.1 → 2.0.0
tags: removed: kanban-cross-team
Changed in maas:
status: New → Opinion
Revision history for this message
Andres Rodriguez (andreserl) wrote :

We believe that this is not longer an issue in the latest releases of MAAS. If you believe this is still an issue, please re-open this bug report and target it accordingly.

Changed in maas:
status: Opinion → Won't Fix
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.