Pass region and service when reconfiguring keystone endpoints for ha

This commit is contained in:
James Page 2013-02-07 11:40:41 +00:00
parent a560bc3d69
commit 9cd464f423
1 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,8 @@ function ha_relation_changed() {
port=$(($port + 10000))
local url="http://$(config-get vip):$port/v1/\$(tenant_id)s"
for r_id in `relation-ids identity-service`; do
relation-set -r $r_id \
relation-set -r $r_id service="cinder" \
region="$(config-get region)" \
public_url="$url" admin_url="$url" internal_url="$url"
done
fi