From 6cd2e5eccdad0005c4a69d85aa6918cfc33062c5 Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Sat, 1 Aug 2015 05:16:28 +0200 Subject: 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 --- tools/sample_data.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/sample_data.sh') diff --git a/tools/sample_data.sh b/tools/sample_data.sh index 4646b40ee..bb1eada8e 100755 --- a/tools/sample_data.sh +++ b/tools/sample_data.sh @@ -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}'` -- cgit v1.2.1