Explicitly clear the runningdomains list after a flush
This commit is contained in:
parent
c54a51aa95
commit
7bb72dc732
|
@ -157,6 +157,7 @@ class NodeInstance():
|
||||||
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
|
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
|
||||||
transaction.commit()
|
transaction.commit()
|
||||||
|
|
||||||
|
self.zk.set('/nodes/{}/runningdomains'.format(self.name), ''.encode('ascii'))
|
||||||
self.zk.set('/nodes/{}/domainstate'.format(self.name), 'flushed'.encode('ascii'))
|
self.zk.set('/nodes/{}/domainstate'.format(self.name), 'flushed'.encode('ascii'))
|
||||||
self.inflush = False
|
self.inflush = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue