This commit is contained in:
Joshua Boniface 2018-06-16 23:29:28 -04:00
parent 7dac0df58a
commit eee45eb89d
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ def fenceNode(node_name, zk):
ipmi_hostname = zk.get('/nodes/{}/ipmihostname'.format(node_name))[0].decode('ascii')
ipmi_username = zk.get('/nodes/{}/ipmiusername'.format(node_name))[0].decode('ascii')
ipmi_password = zk.get('/nodes/{}/ipmipassword'.format(node_name))[0].decode('ascii')
rebootViaIPMI(ipmi_hostname, ipmi_user, ipmi_password)
rebootViaIPMI(ipmi_hostname, ipmi_username, ipmi_password)
ansiiprint.echo('Moving VMs from dead hypervisor "{}" to new hosts'.format(node_name), '', 'i')
dead_node_running_domains = zk.get('/nodes/{}/runningdomains'.format(node_name))[0].decode('ascii').split()