2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

[merge-LXCA] (138083) [ipmi] Restart Normally and Power off Normally job failed with the message Ensure that the endpoint is reachable on the network from LXCA

Details:
Revision: d02e5b653f764aeca44efd108acaabc8b173b482
Author: Zhou Guangjun <zhougj4@lenovo.com>
Date: 2018/10/17 17:26:39
This commit is contained in:
Zhou Guangjun 2021-05-11 16:27:20 +08:00
parent 51dece94ab
commit 32db72e38f

View File

@ -1368,7 +1368,7 @@ class IpmiHandler(object):
oldpower = self.ipmicmd.get_power()
if 'powerstate' in oldpower:
oldpower = oldpower['powerstate']
self.ipmicmd.set_power(powerstate, wait=30)
self.ipmicmd.set_power(powerstate, wait=True)
if powerstate == 'boot' and oldpower == 'on':
power = {'powerstate': 'reset'}
else: