From 83ae4f83e43d70e01035de06c882a5bb7696c46d Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Sat, 24 Jan 2015 18:24:36 +0100 Subject: [PATCH] labs: fix setup_cinder_volumes.sh, again The recently introduced AUTH variable does not get correctly set in setup_cinder_volumes.sh. This wouldn't get noticed for installations via ssh (because the path in AUTH incorrectly expanding to "config//admin-openstackrc.sh" happens to work via ssh), but it breaks installations using VirtualBox shared folders. Change-Id: Ic4308b9736b5d79ca06683dd6c96d7479fdf8a67 --- labs/scripts/setup_cinder_volumes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/scripts/setup_cinder_volumes.sh b/labs/scripts/setup_cinder_volumes.sh index a60c7fa5..5c15bb0d 100755 --- a/labs/scripts/setup_cinder_volumes.sh +++ b/labs/scripts/setup_cinder_volumes.sh @@ -103,7 +103,7 @@ sudo service tgt restart echo "Verifying Block Storage installation on controller node." echo "Waiting for cinder to start." -AUTH='source config/$CONFIG_DIR/admin-openstackrc.sh' +AUTH="source $CONFIG_DIR/admin-openstackrc.sh" until node_ssh controller-mgmt "$AUTH; cinder list" >/dev/null 2>&1; do sleep 1 done