Merge ~newell-jensen/maas:lp1788910 into maas:master
Proposed by
Newell Jensen
Status: | Merged |
---|---|
Approved by: | Newell Jensen |
Approved revision: | 71ad7c8995b6424af7ac581772b645ad5cc7f965 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~newell-jensen/maas:lp1788910 |
Merge into: | maas:master |
Diff against target: |
148 lines (+64/-0) 2 files modified
src/provisioningserver/drivers/pod/tests/test_virsh.py (+43/-0) src/provisioningserver/drivers/pod/virsh.py (+21/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Lander | Approve | ||
Mike Pontillo (community) | Approve | ||
Review via email: mp+353899@code.launchpad.net |
Commit message
LP: #1788910 -- check that a newly composed vm can startup properly. If it can't, it is deleted, otherwise, it is turned off and composition can proceed.
To post a comment you must log in.
Thanks for the fix. This is a nice improvement that could save people a lot of time when composing machines. If an error occurs while Juju is attempting to allocate, this will also fail much faster, which is great.
I've got one comment below about the docstring, but I won't block you on it.