Merge lp://staging/~nuclearbob/utah/bug1178241 into lp://staging/utah
Proposed by
Max Brustkern
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 900 |
Merged at revision: | 901 |
Proposed branch: | lp://staging/~nuclearbob/utah/bug1178241 |
Merge into: | lp://staging/utah |
Diff against target: |
142 lines (+94/-14) 3 files modified
debian/changelog (+5/-1) tests/test_vm.py (+67/-0) utah/provisioning/vm.py (+22/-13) |
To merge this branch: | bzr merge lp://staging/~nuclearbob/utah/bug1178241 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Javier Collado (community) | Approve | ||
Review via email: mp+163180@code.staging.launchpad.net |
Description of the change
This branch cleans up the vm using a finally clause if an exception occurs during installation. It also adds destroy to the regular cleanup, since running undefine without destroy first seems to be unreliable. I test it using this as a config file:
{
"install_
{
}
]
}
I'm working on an actual test case, which I'll push once it's ready, but I'd like to get the bugfix reviewed while I'm working on that.
To post a comment you must log in.
so far so good