Explicitly clear the runningdomains list after a flush

This commit is contained in:
Joshua Boniface 2018-06-13 12:01:55 -04:00
parent c54a51aa95
commit 7bb72dc732
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class NodeInstance():
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
transaction.commit()
self.zk.set('/nodes/{}/runningdomains'.format(self.name), ''.encode('ascii'))
self.zk.set('/nodes/{}/domainstate'.format(self.name), 'flushed'.encode('ascii'))
self.inflush = False