parent
5d2031d99e
commit
b9e5b14f94
|
@ -375,6 +375,7 @@ class VMInstance(object):
|
||||||
# Don't try to migrate a node to itself, set back to start
|
# Don't try to migrate a node to itself, set back to start
|
||||||
if self.node == self.lastnode:
|
if self.node == self.lastnode:
|
||||||
zkhandler.writedata(self.zk_conn, { '/domains/{}/state'.format(self.domuuid): 'start' })
|
zkhandler.writedata(self.zk_conn, { '/domains/{}/state'.format(self.domuuid): 'start' })
|
||||||
|
zkhandler.writedata(self.zk_conn, { '/domains/{}/lastnode'.format(self.domuuid): '' })
|
||||||
return
|
return
|
||||||
|
|
||||||
self.inmigrate = True
|
self.inmigrate = True
|
||||||
|
|
Loading…
Reference in New Issue