If start_nodes() fails, it doesn't clean up after itself.
Bug #1330765 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Graham Binns |
Bug Description
This method needs to start getting a bit better at deciding whether it's atomic or not. Currently, if it receives a StaticIPAddress
Related branches
lp://qastaging/~gmb/maas/add-node.start-bug-1330765
- Jeroen T. Vermeulen (community): Approve
-
Diff: 280 lines (+265/-0)2 files modifiedsrc/maasserver/models/node.py (+57/-0)
src/maasserver/models/tests/test_node.py (+208/-0)
lp://qastaging/~gmb/maas/use-node.start-instead-of-start_nodes-bug-1330765
- Julian Edwards (community): Approve
-
Diff: 497 lines (+106/-121)5 files modifiedsrc/maasserver/api/nodes.py (+8/-9)
src/maasserver/models/node.py (+10/-8)
src/maasserver/models/tests/test_node.py (+67/-82)
src/maasserver/node_action.py (+1/-1)
src/maasserver/tests/test_node_action.py (+20/-21)
lp://qastaging/~gmb/maas/add-node.stop-bug-1330765
- Jeroen T. Vermeulen (community): Approve
-
Diff: 154 lines (+139/-0)2 files modifiedsrc/maasserver/models/node.py (+34/-0)
src/maasserver/models/tests/test_node.py (+105/-0)
lp://qastaging/~gmb/maas/use-node.stop-instead-of-stop_nodes-bug-1330765
- Gavin Panella (community): Approve
-
Diff: 608 lines (+114/-175)6 files modifiedsrc/maasserver/api/nodes.py (+4/-5)
src/maasserver/api/tests/test_node.py (+11/-15)
src/maasserver/models/node.py (+8/-7)
src/maasserver/models/tests/test_node.py (+75/-119)
src/maasserver/node_action.py (+2/-5)
src/maasserver/tests/test_node_action.py (+14/-24)
lp://qastaging/~gmb/maas/remove-stop_nodes-and-start_nodes-bug-1330765
- Gavin Panella (community): Approve
-
Diff: 562 lines (+2/-511)3 files modifiedsrc/maasserver/api/tests/test_node.py (+1/-2)
src/maasserver/models/node.py (+0/-134)
src/maasserver/models/tests/test_node.py (+1/-375)
lp://qastaging/~gmb/maas/ensure-start-cleans-up-bug-1330765
- Julian Edwards (community): Approve
-
Diff: 76 lines (+44/-4)2 files modifiedsrc/maasserver/models/node.py (+15/-4)
src/maasserver/models/tests/test_node.py (+29/-0)
lp://qastaging/~gmb/maas/1.7-backport-bug-1330765
Rejected
for merging
into
lp://qastaging/maas/1.7
- Christian Reis (community): Disapprove
- Gavin Panella (community): Approve
-
Diff: 2061 lines (+708/-804)6 files modifiedsrc/maasserver/api/nodes.py (+12/-14)
src/maasserver/api/tests/test_node.py (+12/-17)
src/maasserver/models/node.py (+132/-147)
src/maasserver/models/tests/test_node.py (+516/-576)
src/maasserver/node_action.py (+3/-6)
src/maasserver/tests/test_node_action.py (+33/-44)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: robustness |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
milestone: | 1.7.0 → next |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Graham Binns (gmb) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 1.7.1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Agree with moving to next if this is just handling Static IP exhaustion (which is unfortunate but not a showstopper).