[Wishlist] Copy storage/network layout between nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
Customers sometimes ask for Cloud expansions (ie. add more compute or storage nodes). Generally, the process is:
1) Enlist new nodes automatically
2) Rename "New" nodes by parsing mac addresses, and complete power parameters
3) Commission the nodes
4) Manually copy storage/network layouts (clicking around in MaaS UI) and add the same tags
5) Deploy the "Ready" nodes via Juju (ie. juju add-unit)
If the process requires to add tens of nodes, we will spend some time writing a script to come with the same storage/network layouts as already deployed nodes.
I think it would be very useful to have an option (in UI or maascli) to "copy" such layouts from a Ready or Deployed node into another "Ready" node (or a list of nodes in "Ready" state). In order to work, new nodes should have the same amount of discovered drives and interfaces (or more than the ones being copied).
Related branches
- Mike Pontillo (community): Approve
- MAAS Lander: Approve
-
Diff: 383 lines (+331/-0)5 files modifiedsrc/maasserver/api/machines.py (+40/-0)
src/maasserver/api/tests/test_machines.py (+36/-0)
src/maasserver/fields.py (+10/-0)
src/maasserver/forms/clone.py (+113/-0)
src/maasserver/forms/tests/test_clone.py (+132/-0)
- Mike Pontillo (community): Approve
- MAAS Lander: Approve
-
Diff: 1006 lines (+898/-1)3 files modifiedsrc/maasserver/models/node.py (+260/-0)
src/maasserver/models/tests/test_node.py (+629/-0)
src/maasserver/tests/test_preseed_storage.py (+9/-1)
Changed in maas: | |
milestone: | none → 2.6.0 |
assignee: | nobody → Blake Rouse (blake-rouse) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.6.0 → 2.6.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This is to some extent similar to a feature request I filed a while ago: https:/ /bugs.launchpad .net/maas/ +bug/1793310