mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user