From 4222cc9796d559bd6cd2bd17c7e9d7e89d87a1b7 Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Wed, 22 May 2019 22:58:51 +0100 Subject: [PATCH] Fixing role attribution in Keystone Corrects a bug in the init script that would not assign the role Change-Id: I08e1f3a17b285faeccdd6d3b70f3ab6e1260310f Signed-off-by: Eduardo Sousa --- docker/Keystone/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Keystone/scripts/start.sh b/docker/Keystone/scripts/start.sh index dafb23b3..8dd61ad6 100755 --- a/docker/Keystone/scripts/start.sh +++ b/docker/Keystone/scripts/start.sh @@ -119,7 +119,7 @@ source setup_env if [ -z $DB_EXISTS ] || [ -z $DB_NOT_EMPTY ]; then openstack user create --domain default --password "$SERVICE_PASSWORD" "$SERVICE_USERNAME" openstack project create --domain default --description "Service Project" "$SERVICE_PROJECT" - openstack role add --project "$SERVICE_PROJECT" --user "$SERVICE_USER" admin + openstack role add --project "$SERVICE_PROJECT" --user "$SERVICE_USERNAME" admin openstack role delete _member_ fi -- 2.25.1