From 10c72abbac26c64fb269e471e56b65fe0c7c956c Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 18 Jun 2018 00:53:19 -0400 Subject: [PATCH] Actually don't set state when receiving migrate --- pvcd/VMInstance.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pvcd/VMInstance.py b/pvcd/VMInstance.py index 1d0840bd..f0d0f17c 100644 --- a/pvcd/VMInstance.py +++ b/pvcd/VMInstance.py @@ -259,10 +259,8 @@ class VMInstance: if not self.domuuid in self.thishypervisor.domain_list: self.thishypervisor.domain_list.append(self.domuuid) ansiiprint.echo('Successfully received migrated VM', '{}:'.format(self.domuuid), 'o') - self.zk_conn.set('/domains/{}/state'.format(self.domuuid), 'start'.encode('ascii')) else: ansiiprint.echo('Failed to receive migrated VM', '{}:'.format(self.domuuid), 'e') - self.zk_conn.set('/domains/{}/state'.format(self.domuuid), 'start'.encode('ascii')) self.inreceive = False