From cbc70e2ef813df822b7bf1b6494e5ae3c1dee709 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Fri, 7 Dec 2018 12:36:53 -0500 Subject: [PATCH] Use correct IPMItool command to start server --- node-daemon/pvcd/fencing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcd/fencing.py b/node-daemon/pvcd/fencing.py index ff1db69d..5d20574c 100644 --- a/node-daemon/pvcd/fencing.py +++ b/node-daemon/pvcd/fencing.py @@ -113,7 +113,7 @@ def rebootViaIPMI(ipmi_hostname, ipmi_user, ipmi_password, logger): # Trigger a power start if needed if ipmi_status_stdout != "Chassis Power is on": - ipmi_command_start = '/usr/bin/ipmitool -I lanplus -H {} -U {} -P {} chassis power start'.format( + ipmi_command_start = '/usr/bin/ipmitool -I lanplus -H {} -U {} -P {} chassis power on'.format( ipmi_hostname, ipmi_user, ipmi_password ) ipmi_start_retcode, ipmi_start_stdout, ipmi_start_stderr = common.run_os_command(ipmi_command_start)