From 2928d695c992317d7625a414110ca71487061735 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 22 Jun 2021 03:20:15 -0400 Subject: [PATCH] Ensure migration method is updated on state changes --- 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 dd0f3d0e..e9758e5c 100644 --- a/node-daemon/pvcnoded/VMInstance.py +++ b/node-daemon/pvcnoded/VMInstance.py @@ -722,6 +722,7 @@ class VMInstance(object): self.state = self.zkhandler.read(('domain.state', self.domuuid)) self.node = self.zkhandler.read(('domain.node', self.domuuid)) self.lastnode = self.zkhandler.read(('domain.last_node', self.domuuid)) + self.migration_method = self.zkhandler.read(('domain.meta.migrate_method', self.domuuid)) # Check the current state of the VM try: