Fix devstack plugin compatibility
'KEYSTONE_CATALOG_BACKEND' was removed recently [1], so delete the reference in CloudKitty as it was done in devstack [2]. [1] https://review.openstack.org/#/c/391380/ [2] https://review.openstack.org/#/c/278333/ Change-Id: Ie6dbcc5a2a1e2958a9a3fa9e9f40f71ad57b5ebb Closes-Bug: #1644194
This commit is contained in:
parent
994c6f7951
commit
85920c9626
|
@ -48,15 +48,13 @@ fi
|
|||
function create_cloudkitty_accounts {
|
||||
create_service_user "cloudkitty"
|
||||
|
||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||
local cloudkitty_service=$(get_or_create_service "cloudkitty" \
|
||||
"rating" "OpenStack Rating")
|
||||
get_or_create_endpoint $cloudkitty_service \
|
||||
"$REGION_NAME" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/"
|
||||
fi
|
||||
local cloudkitty_service=$(get_or_create_service "cloudkitty" \
|
||||
"rating" "OpenStack Rating")
|
||||
get_or_create_endpoint $cloudkitty_service \
|
||||
"$REGION_NAME" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/" \
|
||||
"$CLOUDKITTY_SERVICE_PROTOCOL://$CLOUDKITTY_SERVICE_HOSTPORT/"
|
||||
|
||||
# Create the rating role
|
||||
get_or_create_role "rating"
|
||||
|
|
Loading…
Reference in New Issue