devstack install trio2o service endpoint with port 19996

1. what is the problem?
    trio2o endpoint with port 19996 not create
    https://bugs.launchpad.net/trio2o/+bug/1793517

2. What is the solution to the problem?

   fix the bug in devstack plugin.sh create_trio2o_accounts script  

3. What the features to be implemented in the Trio2o to realize the solution?

   none

   Signed-off-by: zhangchi <zhangchi@szzt.com.cn>
   co-Authored-By: tangzhuo <ztang@hnu.edu.cn>

Change-Id: Ic71debedbf14e4f94a346d5fbca5ca5617040c1a
This commit is contained in:
BruceChiZhang 2018-09-20 20:33:43 +08:00 committed by chzhang8
parent 974c08d081
commit 3ea5c24e99

View File

@ -17,7 +17,6 @@ function create_trio2o_accounts {
if [[ "$ENABLED_SERVICES" =~ "t-oapi" ]]; then if [[ "$ENABLED_SERVICES" =~ "t-oapi" ]]; then
create_service_user "trio2o" create_service_user "trio2o"
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
local trio2o_api=$(get_or_create_service "trio2o" \ local trio2o_api=$(get_or_create_service "trio2o" \
"Cascading" "OpenStack Cascading Service") "Cascading" "OpenStack Cascading Service")
get_or_create_endpoint $trio2o_api \ get_or_create_endpoint $trio2o_api \
@ -25,7 +24,7 @@ function create_trio2o_accounts {
"$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0" \ "$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0" \
"$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0" \ "$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0" \
"$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0" "$SERVICE_PROTOCOL://$TRIO2O_API_HOST:$TRIO2O_API_PORT/v1.0"
fi
fi fi
} }