Add some debugging

This commit is contained in:
Joshua Boniface 2018-06-12 21:49:46 -04:00
parent 80bd9771f3
commit 85c8ced3f9
1 changed files with 1 additions and 0 deletions

View File

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