Debug output

This commit is contained in:
Joshua Boniface 2018-06-11 21:23:57 -04:00
parent 8db80fd3dc
commit 3c2bf4b996
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ class NodeInstance():
most_memfree = memfree
target_hypervisor = hypervisor
print('{} {} {} {}'.format(hypervisor, memfree, most_memfree, target_hypervisor))
print(target_hypervisor)
if target_hypervisor == None:
ansiiprint.echo('Failed to find migration target for VM "{}"; shutting down'.format(dom_uuid), '', 'e')
transaction = self.zk.transaction()