Merge "CI: increase cleaning timeout and tie it to PXE boot timeout"
This commit is contained in:
commit
09e246294b
@ -97,7 +97,7 @@ IRONIC_CALLBACK_TIMEOUT=${IRONIC_CALLBACK_TIMEOUT:-}
|
||||
|
||||
# Timeout before retrying PXE boot. Set low to help the CI.
|
||||
if [[ "$IRONIC_IS_HARDWARE" == False ]]; then
|
||||
IRONIC_PXE_BOOT_RETRY_TIMEOUT=${IRONIC_PXE_BOOT_RETRY_TIMEOUT:-600}
|
||||
IRONIC_PXE_BOOT_RETRY_TIMEOUT=${IRONIC_PXE_BOOT_RETRY_TIMEOUT:-900}
|
||||
else
|
||||
IRONIC_PXE_BOOT_RETRY_TIMEOUT=${IRONIC_PXE_BOOT_RETRY_TIMEOUT:-}
|
||||
fi
|
||||
@ -665,9 +665,13 @@ fi
|
||||
|
||||
# Timeout for "manage" action. 2 minutes is more than enough.
|
||||
IRONIC_MANAGE_TIMEOUT=${IRONIC_MANAGE_TIMEOUT:-120}
|
||||
# Timeout for "provide" action. This involves cleaning. Generally, 15 minutes
|
||||
# should be enough, but real hardware may need more.
|
||||
IRONIC_CLEANING_TIMEOUT=${IRONIC_CLEANING_TIMEOUT:-1200}
|
||||
# Timeout for "provide" action. This involves cleaning.
|
||||
if [[ -n "$IRONIC_PXE_BOOT_RETRY_TIMEOUT" ]]; then
|
||||
IRONIC_DEFAULT_CLEANING_TIMEOUT=$(( $IRONIC_PXE_BOOT_RETRY_TIMEOUT * 2 ))
|
||||
else
|
||||
IRONIC_DEFAULT_CLEANING_TIMEOUT=1800
|
||||
fi
|
||||
IRONIC_CLEANING_TIMEOUT=${IRONIC_CLEANING_TIMEOUT:-$IRONIC_DEFAULT_CLEANING_TIMEOUT}
|
||||
|
||||
IRONIC_CLEANING_DELAY=10
|
||||
IRONIC_CLEANING_ATTEMPTS=$(( $IRONIC_CLEANING_TIMEOUT / $IRONIC_CLEANING_DELAY ))
|
||||
|
@ -39,7 +39,6 @@
|
||||
IRONIC_BAREMETAL_BASIC_OPS: True
|
||||
IRONIC_BUILD_DEPLOY_RAMDISK: False
|
||||
IRONIC_CALLBACK_TIMEOUT: 1800
|
||||
IRONIC_PXE_BOOT_RETRY_TIMEOUT: 900
|
||||
IRONIC_DEPLOY_DRIVER: ipmi
|
||||
IRONIC_INSPECTOR_BUILD_RAMDISK: False
|
||||
IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT: 1200
|
||||
|
Loading…
x
Reference in New Issue
Block a user