Remove identity stuff in devstack

Change-Id: Id06f11e972fb076d617b945b9e3bd5c187345fd8
This commit is contained in:
okozachenko 2020-08-08 04:42:40 +03:00
parent cf8da0c2b1
commit e8559e01c4
3 changed files with 6 additions and 18 deletions

View File

@ -120,6 +120,12 @@ function configure_glance {
fi
}
# create_glance_accounts() - Set up common required glance accounts
function create_glance_accounts {
create_service_user "glance"
}
export -f create_glance_accounts
# init_glance()
function init_glance {
# Delete existing images

View File

@ -272,17 +272,6 @@ function create_heat_accounts {
heat_cfn_api_service_url="$SERVICE_PROTOCOL://$HEAT_API_CFN_HOST/heat-api-cfn/v1"
create_service_user "heat" "admin"
get_or_create_service "heat" "orchestration" "Heat Orchestration Service"
get_or_create_endpoint \
"orchestration" \
"$REGION_NAME" \
"$heat_api_service_url"
get_or_create_service "heat-cfn" "cloudformation" "Heat CloudFormation Service"
get_or_create_endpoint \
"cloudformation" \
"$REGION_NAME" \
"$heat_cfn_api_service_url"
# heat_stack_user role is for users created by Heat
get_or_create_role "heat_stack_user"

View File

@ -113,13 +113,6 @@ function create_magnum_accounts {
create_service_user "magnum" "admin"
get_or_create_service "magnum" "container-infra" "Container Infrastructure Management Service"
get_or_create_endpoint "container-infra" \
"$REGION_NAME" \
"$MAGNUM_SERVICE_PROTOCOL://$MAGNUM_SERVICE_HOST/magnum-api/v1" \
"$MAGNUM_SERVICE_PROTOCOL://$MAGNUM_SERVICE_HOST/magnum-api/v1" \
"$MAGNUM_SERVICE_PROTOCOL://$MAGNUM_SERVICE_HOST/magnum-api/v1"
# Create for Kubernetes Keystone auth
get_or_create_role k8s_admin
get_or_create_role k8s_developer