Merge "Moves cinder tests to cidner_volues script"

This commit is contained in:
Jenkins 2014-09-15 17:17:11 +00:00 committed by Gerrit Code Review
commit fa39b63721
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