diff --git a/pvc/NodeInstance.py b/pvc/NodeInstance.py index d6ae8a50..0b0a30bc 100644 --- a/pvc/NodeInstance.py +++ b/pvc/NodeInstance.py @@ -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()