Merge lp:~gmb/maas/bug-1274912 into lp:~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: | 1874 |
Proposed branch: | lp:~gmb/maas/bug-1274912 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
86 lines (+30/-5) 2 files modified
src/maasserver/models/node.py (+16/-4) src/maasserver/models/tests/test_node.py (+14/-1) |
To merge this branch: | bzr merge lp:~gmb/maas/bug-1274912 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Raphaël Badin (community) | Approve | ||
Review via email: mp+204234@code.launchpad.net |
Commit message
Trying to stop a node which has no power type configured will no longer result in an unhandled ValueError.
Description of the change
This branch fixes bug 1274912 by correctly handling ValueErrors from get_effective_
To post a comment you must log in.
[0]
11 + except ValueError:
12 + continue
It's worth a warning. (Let's also add one in start_nodes please.)