Merge lp://qastaging/~gmb/maas/commit-after-node-state-change-bug-1375664 into lp://qastaging/~maas-committers/maas/trunk
Proposed by
Graham Binns
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Graham Binns | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3258 | ||||
Proposed branch: | lp://qastaging/~gmb/maas/commit-after-node-state-change-bug-1375664 | ||||
Merge into: | lp://qastaging/~maas-committers/maas/trunk | ||||
Diff against target: |
81 lines (+32/-0) 2 files modified
src/maasserver/models/node.py (+12/-0) src/maasserver/models/tests/test_node.py (+20/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~gmb/maas/commit-after-node-state-change-bug-1375664 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Jason Hobbs (community) | Approve | ||
Review via email: mp+238489@code.qastaging.launchpad.net |
Commit message
Node.start_
Previously, they merely called node.save(), which was fine for individual node actions but unhelpful at best for bulk actions, because only some of the state changes got committed to the database. This should ensure that *all* state changes will be recorded properly.
To post a comment you must log in.
One comment inline below.