Merge ~andersson123/utah:make_sure_vm_dead_before_undefine into utah:master
Proposed by
Tim Andersson
Status: | Rejected |
---|---|
Rejected by: | Paride Legovini |
Proposed branch: | ~andersson123/utah:make_sure_vm_dead_before_undefine |
Merge into: | utah:master |
Diff against target: |
16 lines (+4/-1) 1 file modified
utah/provisioning/vm.py (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paride Legovini | Needs Information | ||
Review via email: mp+444642@code.launchpad.net |
Commit message
add check for vm shutoff before undefine
Description of the change
add check for vm shutoff before undefine
To post a comment you must log in.
I am not convinced. UTAH leaks VMs in running state:
Id Name State ------- ------- ------- ------- ------- ------- --- mantic- amd64 running mantic- amd64 running mantic- amd64 running mantic- amd64 running jammy-amd64 running jammy-amd64 running jammy-amd64 running jammy-amd64 running mantic- amd64 running mantic- amd64 running jammy-amd64 running jammy-amd64 running mantic- amd64 running jammy-amd64 running jammy-amd64 running jammy-amd64 running jammy-amd64 running
-------
75 utah-129602-
82 utah-129604-
86 utah-129606-
130 utah-129626-
139 utah-129630-
143 utah-129632-
151 utah-129633-
195 utah-129654-
232 utah-129672-
252 utah-129679-
261 utah-129683-
269 utah-129686-
311 utah-129707-
323 utah-129712-
327 utah-129713-
330 utah-129714-
374 utah-129735-
which means that destroy() is never reached, I believe. Let's fix this traceback, which maybe it getting in the way of the cleanup:
Traceback (most recent call last): run_utah_ tests.py" , line 129, in <module> stderr. write(' UTAH timeout: {}\n'.format( exception. message) )
File "/usr/bin/
sys.
AttributeError: 'UTAHTimeout' object has no attribute 'message'