From 7abac806a7f889fc87120c9e2c3a61b3a35f6458 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 25 Feb 2021 12:09:30 +0100 Subject: [PATCH] devstack: a safeguard for disabled tempurls Change-Id: Id5fcd4cc1f73b80e8a9e9d2c50e2e4e1667c01cb --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 50eedcb683..8399aa9afd 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1447,7 +1447,7 @@ function configure_ironic { # FIXME(dtantsur): configdrive downloading code does not respect IPA TLS # configuration, not even ipa-insecure. - if is_service_enabled swift && ! is_service_enabled tls-proxy; then + if is_service_enabled swift && [[ "$SWIFT_ENABLE_TEMPURLS" == "True" ]] && ! is_service_enabled tls-proxy; then iniset $IRONIC_CONF_FILE deploy configdrive_use_object_store True fi