diff --git a/deployment/ironic/ironic-conductor-container-puppet.yaml b/deployment/ironic/ironic-conductor-container-puppet.yaml index 177d08f1b4..eba5740689 100644 --- a/deployment/ironic/ironic-conductor-container-puppet.yaml +++ b/deployment/ironic/ironic-conductor-container-puppet.yaml @@ -193,6 +193,13 @@ parameters: default: 60 description: iPXE timeout in second. Set to 0 for infinite timeout. type: string + IronicPowerStateChangeTimeout: + default: 60 + description: Number of seconds to wait for power operations to + complete, i.e., so that a baremetal node is in the + desired power state. If timed out, the power operation + is considered a failure. + type: string IronicPassword: description: The password for the Ironic service and db account, used by the Ironic services type: string @@ -303,7 +310,6 @@ outputs: if: - enable_architecture_ppc64le - ironic::pxe::enable_ppc64le: true - ironic::conductor::power_state_change_timeout: 60 ironic::drivers::ipmi::command_retry_timeout: 120 ironic::drivers::ipmi::min_command_interval: 15 - {} @@ -316,6 +322,7 @@ outputs: ironic::conductor::enabled_hardware_types: {get_param: IronicEnabledHardwareTypes} ironic::conductor::force_power_state_during_sync: {get_param: IronicForcePowerStateDuringSync} ironic::conductor::allow_provisioning_in_maintenance: false + ironic::conductor::power_state_change_timeout: {get_param: IronicPowerStateChangeTimeout} # We need an endpoint containing a real IP, not a VIP here ironic_conductor_http_host: str_replace: diff --git a/releasenotes/notes/power_state-457f12af30b9e341.yaml b/releasenotes/notes/power_state-457f12af30b9e341.yaml new file mode 100644 index 0000000000..eb12e68db6 --- /dev/null +++ b/releasenotes/notes/power_state-457f12af30b9e341.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + A heat parameter ``IronicPowerStateChangeTimeout`` has been added which sets + the number of seconds to wait for power operations to complete, i.e., so + that a baremetal node is in the desired power state. If timed out, the power + operation is considered a failure. The default is 60 seconds, which is the + same as the current Ironic default.