diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2019-02-08 20:26:41 -0800 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2019-03-14 10:34:31 -0700 |
commit | 3f734c8728f0cf436921d57ce6b2389687684221 (patch) | |
tree | c29529e4e956e8211d53fab8ffb0242ad6840d04 /devstack | |
parent | 9625b8aa71896bbf626971f8bbabe48d0d34b39e (diff) | |
download | ironic-3f734c8728f0cf436921d57ce6b2389687684221.tar.gz |
fast tracked deployment support
Provides a facility to minimize the power state changes of
a baremetal node to save critical time during deployment
operations.
Story: #2004965
Task: #29408
Depends-On: https://review.openstack.org/636778
Change-Id: I7ebbaddb33b38c87246c10165339ac4bac0ac6fc
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/ironic | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 178129b18..690bc00e4 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -449,6 +449,8 @@ IRONIC_DEPLOY_LOGS_STORAGE_BACKEND=${IRONIC_DEPLOY_LOGS_STORAGE_BACKEND:-local} # The path to the directory where Ironic should put the logs when IRONIC_DEPLOY_LOGS_STORAGE_BACKEND is set to "local" IRONIC_DEPLOY_LOGS_LOCAL_PATH=${IRONIC_DEPLOY_LOGS_LOCAL_PATH:-$IRONIC_VM_LOG_DIR/deploy_logs} +# Fast track option +IRONIC_DEPLOY_FAST_TRACK=${IRONIC_DEPLOY_FAST_TRACK:-False} # Define baremetal min_microversion in tempest config. Default value None is picked from tempest. TEMPEST_BAREMETAL_MIN_MICROVERSION=${TEMPEST_BAREMETAL_MIN_MICROVERSION:-} @@ -1115,6 +1117,9 @@ function configure_ironic { iniset $IRONIC_CONF_FILE DEFAULT rpc_transport $IRONIC_RPC_TRANSPORT iniset $IRONIC_CONF_FILE json_rpc port $IRONIC_JSON_RPC_PORT + # Set fast track options + iniset $IRONIC_CONF_FILE deploy fast_track $IRONIC_DEPLOY_FAST_TRACK + # Configure Ironic conductor, if it was enabled. if is_service_enabled ir-cond; then configure_ironic_conductor @@ -2553,6 +2558,8 @@ function ironic_configure_tempest { # Enabled features iniset $TEMPEST_CONFIG baremetal_feature_enabled ipxe_enabled $IRONIC_IPXE_ENABLED + iniset $TEMPEST_CONFIG baremetal_feature_enabled fast_track_discovery $IRONIC_DEPLOY_FAST_TRACK + } function get_ironic_node_prefix { |