Fix devstack plugin
As the sake of devstack project changing, karbor service will not be added to keystone sercies successfully, fullstack will be failed. Change-Id: I0825ea29abbc807b9a7b7fb2a263afd87a70551c
This commit is contained in:
parent
7e6aa8dfdc
commit
f217f6f0c6
|
@ -26,14 +26,11 @@ function create_karbor_accounts {
|
|||
|
||||
create_service_user "$KARBOR_SERVICE_NAME" "admin"
|
||||
|
||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||
|
||||
get_or_create_service "$KARBOR_SERVICE_NAME" "$KARBOR_SERVICE_TYPE" "Application Data Protection Service"
|
||||
get_or_create_endpoint "$KARBOR_SERVICE_TYPE" "$REGION_NAME" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s"
|
||||
fi
|
||||
get_or_create_service "$KARBOR_SERVICE_NAME" "$KARBOR_SERVICE_TYPE" "Application Data Protection Service"
|
||||
get_or_create_endpoint "$KARBOR_SERVICE_TYPE" "$REGION_NAME" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s" \
|
||||
"$KARBOR_API_PROTOCOL://$KARBOR_API_HOST:$KARBOR_API_PORT/v1/\$(tenant_id)s"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue