[2.x, enhacement] Deleting a controller should not block on it being the primary rack controller
Bug #1769445 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
I am unable to delete a controller because 'It is the primary controller on VLAN foo.bar'. That makes no sense, since controllers are HA, and there is another controller on the same VLAN, so services will/should continue without interruption.
While it is useful to have a sense of controllers which are well-connected to a fabric, it makes no sense to manually "lock" a controller to a fabric. So I would say that a fabric summary page should show:
* which controllers can see that fabric and therefor provide HA services
* if there is a ranking of controllers
Any ranking could be represented with a number between 1 and 5 with 1 being preferred over 2 etc.
Related branches
~blake-rouse/maas:fix-1769445
- Mike Pontillo (community): Approve
- Andres Rodriguez (community): Approve
-
Diff: 358 lines (+238/-11)6 files modifiedsrc/maasserver/api/rackcontrollers.py (+27/-1)
src/maasserver/api/tests/test_rackcontroller.py (+28/-0)
src/maasserver/models/node.py (+79/-8)
src/maasserver/models/tests/test_node.py (+79/-2)
src/maasserver/models/tests/test_vlan.py (+8/-0)
src/maasserver/models/vlan.py (+17/-0)
Changed in maas: | |
milestone: | none → 2.5.0alpha2 |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: track |
summary: |
- Unable to delete controller for no good reason + Deleting a controller should not block on it being the primary rack + controller |
summary: |
- Deleting a controller should not block on it being the primary rack - controller + [2.x, enhacement] Deleting a controller should not block on it being the + primary rack controller |
Changed in maas: | |
milestone: | 2.5.0alpha2 → 2.5.0beta1 |
tags: | added: rack-proxy |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
milestone: | 2.5.0beta1 → 2.5.0beta2 |
tags: | added: sprint |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Any comment on this bug, please? I need to replace the controller and cannot delete the old one.