Missing ADMIN_USER in sample_data.sh
When moving from keystone to openstack client, the initialization of the ADMIN_USER variable was removed, making the script to fail. Change-Id: Iee2d5b1cbed6c93e335a4b4dbad3034a2f8e29ed
This commit is contained in:
parent
e614b29940
commit
6cd2e5eccd
@ -232,6 +232,7 @@ if [[ -z "$DISABLE_ENDPOINTS" ]]; then
|
||||
fi
|
||||
|
||||
# create ec2 creds and parse the secret and access key returned
|
||||
ADMIN_USER=$(get_id openstack user show admin)
|
||||
RESULT=$(openstack ec2 credentials create --project service --user $ADMIN_USER)
|
||||
ADMIN_ACCESS=`echo "$RESULT" | grep access | awk '{print $4}'`
|
||||
ADMIN_SECRET=`echo "$RESULT" | grep secret | awk '{print $4}'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user