mirror of https://github.com/apache/cloudstack.git
Summary: KVM - double migration can fail
Detail: Undefine VM after migration. Lingering domain definitions cause migrations back to the original host to fail, since domain already exists. BUG-ID: CLOUDSTACK-2640 Bugfix-for: 4.1.0,4.2.0 Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369285950 -0600
This commit is contained in:
parent
4786420986
commit
795fd803da
|
|
@ -2728,6 +2728,9 @@ ServerResource {
|
|||
} finally {
|
||||
try {
|
||||
if (dm != null) {
|
||||
if (dm.isPersistent() == 1) {
|
||||
dm.undefine();
|
||||
}
|
||||
dm.free();
|
||||
}
|
||||
if (dconn != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue