UI: Allow to create a machine as deployed from the UI

Bug #1940909 reported by Alberto Donato
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

As part of the brownfield work, it is now possible to create machines in maas that are marked as "deployed" even if they haven't been deployed from maas.

This is done by passing deployed=True in the create method (both in the API and the UI).

The UI should provide a way to pass the flag. Currently this is the only change needed in the create form, all other constraints/validation stay the same.

Tags: ui
Changed in maas-ui:
importance: Undecided → Unknown
Alberto Donato (ack)
Changed in maas:
milestone: next → 3.1.0
Revision history for this message
Caleb Ellis (caleb-ellis) wrote :

Is this a must-have for 3.1.0? We have an existing LP bug for including all the options when adding a machine, but it looks like it still needs some UX. This looks like an extension of that work, but if it's a separate concern we can just add a checkbox for now and handle the rest later.

https://bugs.launchpad.net/maas/+bug/1887699

Revision history for this message
Alberto Donato (ack) wrote :

I think we could postpone this until the add machine form is reworked.

To use the brownfield feature, users have to run the script on the target machine anyway, and they can use that to create the machine, so having UI for it isn't that critical.

Revision history for this message
Anton Smith (anton5mith) wrote :

let's wait for the machine form to be reworked.

Alberto Donato (ack)
Changed in maas:
milestone: 3.1.0 → next
Bill Wear (billwear)
summary: - Allow to create a machine as deployed from the UI
+ UI: Allow to create a machine as deployed from the UI
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Targeted for resolution in MAAS 3.3

Changed in maas:
importance: Undecided → Medium
milestone: next → 3.3.0
status: New → Triaged
Changed in maas-ui:
status: New → Fix Released
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
milestone: 3.3.0 → 3.3.0-beta1
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.