Fix the Keystone authentication URL used by RadosGW

Simply use $KEYSTONE_SERVICE_URI, which is the value also
exported through OS_* variables.

Change-Id: I07296379fa691fed20ed5b1c53b335b2442a6c4e
This commit is contained in:
Luigi Toscano 2018-06-20 19:17:28 +02:00
parent 20cad2d3b5
commit 21de8038dd
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ function _configure_rgw_ceph_section {
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw print continue" "false"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw frontends" "civetweb port=${CEPH_RGW_PORT}"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw keystone url" "http://${SERVICE_HOST}:35357"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw keystone url" "$KEYSTONE_SERVICE_URI"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw s3 auth use keystone" "true"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw keystone admin user" "radosgw"
iniset -sudo ${CEPH_CONF_FILE} ${key} "rgw keystone admin password" "$SERVICE_PASSWORD"