Remove the usage of KEYSTONE_CATALOG_BACKEND

It was removed from DevStack before the Ocata release, see
https://review.openstack.org/#/c/391380/

The support for the only alternative (templated catalog) was
removed even earlier, before Mitaka:
https://review.openstack.org/#/c/278333/

This means that the entry points for Swift can always be
configured when RadosGW is enabled.

Change-Id: I25c1f963665fab1dc77db40a2742dc29a9c1ee0b
This commit is contained in:
Luigi Toscano 2018-05-21 10:33:10 +02:00
parent 1731d2364c
commit 6d1ef658c9
1 changed files with 1 additions and 3 deletions

View File

@ -609,9 +609,7 @@ function configure_ceph_embedded_rgw_paths {
function configure_ceph_embedded_rgw {
configure_ceph_embedded_rgw_paths
# keystone endpoint for radosgw
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
_create_swift_endpoint
fi
_create_swift_endpoint
# Create radosgw service user with admin privileges
create_service_user "radosgw" "admin"