Merge lp:~ltrager/maas/delete_rack into lp:~maas-committers/maas/trunk
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5002 |
Proposed branch: | lp:~ltrager/maas/delete_rack |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
130 lines (+38/-13) 6 files modified
src/maasserver/models/node.py (+13/-1) src/maasserver/models/tests/test_node.py (+14/-0) src/maasserver/models/tests/test_vlan.py (+4/-0) src/maasserver/models/vlan.py (+3/-1) src/maasserver/static/partials/node-details.html (+1/-9) src/maasserver/websockets/handlers/node.py (+3/-2) |
To merge this branch: | bzr merge lp:~ltrager/maas/delete_rack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Approve | ||
Andres Rodriguez (community) | Approve | ||
Jeffrey C Jones (community) | Approve | ||
Review via email: mp+292330@code.launchpad.net |
Commit message
Allow deleting a rack controller from the UI and provide more descriptive error messages when unable to delete.
Description of the change
This add the ability to delete rack controllers in the UI. I added more descriptive error messages which are shown in both the UI and API when unable to delete a rack controller due to being attached to a VLAN. If a rack controller is unable to be deleted due to it being set as a secondary rack controller the UI will ask the user if they want to unlink the rack controller from all VLANs and try to delete again.
Deleting a rack controller still deletes the node object. Let me know if we want to have it convert back to a machine.
To post a comment you must log in.
Not a full review, just on the messaging.