From 766ae34261a33fbf7661e63f30b227dd9177bd71 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Thu, 22 Nov 2012 20:04:02 +0900 Subject: [PATCH] Creates nova endpoint when n-api is enabled. Fixes bug 1081975 Nova endpoint in keystone was registered if n-cpu is enabled. However it is a usual case where n-cpu runs on a different host in multi-node setup and it results in no endpoint for nova. n-api is a better condition since nova-api and keystone usually run on a same host. Change-Id: Ic097e1c3bd30798d9d3c5fb76023fbdb3ae189d9 --- files/keystone_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/keystone_data.sh b/files/keystone_data.sh index 71994a816f..f75d24a6c3 100755 --- a/files/keystone_data.sh +++ b/files/keystone_data.sh @@ -106,7 +106,7 @@ if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then fi # Nova -if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then +if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then NOVA_USER=$(get_id keystone user-create \ --name=nova \ --pass="$SERVICE_PASSWORD" \