Merge ~blake-rouse/maas:fix-1841807 into maas:master
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | ee25f48bffd2a7f9a71c0631f65c25af47059c0b |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~blake-rouse/maas:fix-1841807 |
Merge into: | maas:master |
Diff against target: |
67 lines (+20/-4) 2 files modified
src/maasserver/models/node.py (+6/-3) src/maasserver/models/tests/test_node.py (+14/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+372546@code.launchpad.net |
Commit message
Fixes LP: #1841807 - Handle the case where the RPC connection can be lost in a list-boot-images API call.
There is a case where the RPC connection can be lost for multiple reasons during an RPC call to a rack controller. The error path was not handling this case, but was handling other cases. This updates that error path to handle the connection lost case so the API output is consistent and not an improper error or API return code.
To post a comment you must log in.
UNIT TESTS
-b fix-1841807 lp:~blake-rouse/maas/+git/maas into -b master lp:~maas-committers/maas
STATUS: SUCCESS 9a71c0631f65c25 af47059c0b
COMMIT: ee25f48bffd2a7f