Moves cinder tests to cidner_volues script

As the installation of cinder volumes section is separated to another
node (compute node for now) which may not be the same node as the
node running controller side of cinder's services, the tests should
also be moved to the appropriate location.

Change-Id: I2c2e6e64807e026783881197d62243b4751f7f41
This commit is contained in:
Pranav Salunke 2014-09-15 15:32:07 +02:00
parent 3f1ef07fdd
commit 8521801016
2 changed files with 22 additions and 20 deletions

View File

@ -103,23 +103,3 @@ echo "Restarting cinder service."
sudo service cinder-scheduler restart
sudo service cinder-api restart
#------------------------------------------------------------------------------
# Verify the Block Storage installation
#------------------------------------------------------------------------------
echo "Waiting for cinder to start."
until cinder list >/dev/null 2>&1; do
sleep 1
done
echo "cinder create --display-name labsVolume 1"
cinder create --display-name labsVolume 1
echo "cinder list"
cinder list
echo "cinder delete labsVolume"
cinder delete labsVolume
echo "cinder list"
cinder list

View File

@ -79,3 +79,25 @@ iniset_sudo $conf DEFAULT glance_host controller-mgmt
echo "Restarting cinder service."
sudo service cinder-volume restart
sudo service tgt restart
#------------------------------------------------------------------------------
# Verify the Block Storage installation
#------------------------------------------------------------------------------
echo "Waiting for cinder to start."
until cinder list >/dev/null 2>&1; do
sleep 1
done
echo "cinder create --display-name labsVolume 1"
cinder create --display-name labsVolume 1
echo "cinder list"
cinder list
echo "cinder delete labsVolume"
cinder delete labsVolume
echo "cinder list"
cinder list