Debug output

This commit is contained in:
Joshua Boniface 2018-06-11 03:05:02 -04:00
parent 217d5810b1
commit 6d8825ef57
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ class NodeInstance():
for hypervisor in hypervisor_list: for hypervisor in hypervisor_list:
daemon_state = self.zk.get('/nodes/{}/daemonstate'.format(hypervisor))[0].decode('ascii') daemon_state = self.zk.get('/nodes/{}/daemonstate'.format(hypervisor))[0].decode('ascii')
domain_state = self.zk.get('/nodes/{}/domainstate'.format(hypervisor))[0].decode('ascii') domain_state = self.zk.get('/nodes/{}/domainstate'.format(hypervisor))[0].decode('ascii')
print(hypervisor)
print(daemon_state)
print(domain_state)
if hypervisor == current_hypervisor: if hypervisor == current_hypervisor:
continue continue