From 7d0a0f7d48222369f36a1a5a27a39c45430c9615 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 17 Nov 2014 00:03:47 -0500 Subject: [PATCH] Remove hardcoded protocol from backup_swift_url Use SWIFT_SERVICE_PROTOCOL when configuring backup_swift_url for cinder configuration. Change-Id: I09de62e8deca86b473cee969ba2c5919d4f9892d Closes-Bug: #1393554 --- lib/cinder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cinder b/lib/cinder index eb3cbe86cf..611e1ca5d9 100644 --- a/lib/cinder +++ b/lib/cinder @@ -258,7 +258,7 @@ function configure_cinder { fi if is_service_enabled swift; then - iniset $CINDER_CONF DEFAULT backup_swift_url "http://$SERVICE_HOST:8080/v1/AUTH_" + iniset $CINDER_CONF DEFAULT backup_swift_url "$SWIFT_SERVICE_PROTOCOL://$SERVICE_HOST:8080/v1/AUTH_" fi if is_service_enabled ceilometer; then