From 1ab3145a76f2a740a80649145c2398f1adf992e6 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 11 Jun 2018 17:35:57 -0400 Subject: [PATCH] More debug --- VMInstance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VMInstance.py b/VMInstance.py index 6e33b9bc..20ef206e 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -45,6 +45,7 @@ class VMInstance: # Watch for changes to the hypervisor field in Zookeeper @zk.DataWatch('/domains/{}/hypervisor'.format(self.domuuid)) def watch_hypervisor(data, stat, event=""): + print(data.decode('ascii')) try: self.hypervisor = data.decode('ascii') except: @@ -54,6 +55,7 @@ class VMInstance: # Watch for changes to the state field in Zookeeper @zk.DataWatch('/domains/{}/state'.format(self.domuuid)) def watch_state(data, stat, event=""): + print(data.decode('ascii')) try: self.state = data.decode('ascii') except: