This commit is contained in:
Joshua Boniface 2018-06-02 00:47:38 -04:00
parent 8e90c8a847
commit 1db1c80f0b
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class VMInstance:
if dom == None:
try:
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii'))
except:
print("Problem with zookeeper con %s" % self.zk)
except Error as e:
print("Problem %s with zookeeper con %s" % (e, self.zk))
return None
if not self.domuuid in self.thishypervisor.domain_list: