From 70dfcd434ffc676c57e40c208bff0c5111a535ed Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 17 Nov 2020 12:57:37 -0500 Subject: [PATCH] Ensure inmigrate is cleared on failure --- node-daemon/pvcnoded/VMInstance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/node-daemon/pvcnoded/VMInstance.py b/node-daemon/pvcnoded/VMInstance.py index e1032f0e..56713418 100644 --- a/node-daemon/pvcnoded/VMInstance.py +++ b/node-daemon/pvcnoded/VMInstance.py @@ -381,6 +381,7 @@ class VMInstance(object): }) migrate_lock_node.release() migrate_lock_state.release() + self.inmigrate = False self.logger.out('Aborted migration: {}'.format(reason), state='i', prefix='Domain {}'.format(self.domuuid)) # Acquire exclusive lock on the domain node key