This commit is contained in:
Joshua Boniface 2018-06-02 00:38:58 -04:00
parent 5db8ae6b7d
commit 95da7db7f9
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ class VMInstance:
print('Failed to create domain %s' % self.domuuid) print('Failed to create domain %s' % self.domuuid)
if dom == None: if dom == None:
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii')) try:
self.zk.set(self.zkey + '/status', 'stop'.encode('ascii'))
except:
pass
return None return None
if not self.domuuid in self.thishypervisor.domain_list: if not self.domuuid in self.thishypervisor.domain_list: