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
This commit is contained in:
parent
9bfdea87a6
commit
7d0a0f7d48
@ -258,7 +258,7 @@ function configure_cinder {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if is_service_enabled swift; then
|
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
|
fi
|
||||||
|
|
||||||
if is_service_enabled ceilometer; then
|
if is_service_enabled ceilometer; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user