Revert "Increase timeout for ironic power-on and power-off operations"
This reverts commit 60a8ad834f
.
Reason for revert: timeout parameter is not supported by the OSP-13 Undercloud Ironic API service.
Change-Id: I46321d2a337da89742c80fdfe94fab770bded191
This commit is contained in:
parent
60a8ad834f
commit
05fee43ea7
@ -76,7 +76,7 @@ def power_on_overcloud_node(server: typing.Union[nova.ServerType]):
|
||||
if node_id is not None:
|
||||
client = ironic.get_ironic_client(session=session)
|
||||
try:
|
||||
ironic.power_on_node(client=client, node=node_id, timeout=60)
|
||||
ironic.power_on_node(client=client, node=node_id)
|
||||
return
|
||||
except ironic.WaitForNodePowerStateError:
|
||||
LOG.exception(f"Failed powering on Ironic node: '{node_id}'")
|
||||
@ -93,7 +93,7 @@ def power_off_overcloud_node(server: typing.Union[nova.ServerType]) \
|
||||
if node_id is not None:
|
||||
client = ironic.get_ironic_client(session=session)
|
||||
try:
|
||||
ironic.power_off_node(client=client, node=node_id, timeout=60)
|
||||
ironic.power_off_node(client=client, node=node_id)
|
||||
return
|
||||
except ironic.WaitForNodePowerStateError:
|
||||
LOG.exception(f"Failed powering off Ironic node: '{node_id}'")
|
||||
|
Loading…
Reference in New Issue
Block a user