Modify ks-user member role creation

This change reverts the member role handling to pre-refactor for
the htk ks-user.sh script.

Change-Id: I5d239be3e14d8b1ea428cae9c0014eb92202932b
This commit is contained in:
Gage Hugo 2020-03-12 12:04:54 -05:00
parent e60437bc9d
commit 6f9f579b04

View File

@ -98,7 +98,9 @@ for SERVICE_OS_ROLE in ${SERVICE_OS_ROLES}; do
ks_assign_user_role
done
# Manage member role for keystone pre-rocky
SERVICE_OS_ROLE="member"
# Manage user member role
: ${MEMBER_OS_ROLE:="member"}
export USER_ROLE_ID=$(openstack role create --or-show -f value -c id \
"${MEMBER_OS_ROLE}");
ks_assign_user_role
{{- end }}