Ensure migration method is updated on state changes
This commit is contained in:
parent
7d2a3b5361
commit
2928d695c9
|
@ -722,6 +722,7 @@ class VMInstance(object):
|
||||||
self.state = self.zkhandler.read(('domain.state', self.domuuid))
|
self.state = self.zkhandler.read(('domain.state', self.domuuid))
|
||||||
self.node = self.zkhandler.read(('domain.node', self.domuuid))
|
self.node = self.zkhandler.read(('domain.node', self.domuuid))
|
||||||
self.lastnode = self.zkhandler.read(('domain.last_node', self.domuuid))
|
self.lastnode = self.zkhandler.read(('domain.last_node', self.domuuid))
|
||||||
|
self.migration_method = self.zkhandler.read(('domain.meta.migrate_method', self.domuuid))
|
||||||
|
|
||||||
# Check the current state of the VM
|
# Check the current state of the VM
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue