2 #----------------------
3 # Testing cinder-volume
4 #----------------------
6 apt-get install -y cinder-volume cinder-backup 2>&1 > /dev/null
7 DAEMONS=('cinder-volume' 'cinder-backup')
9 for daemon in "${DAEMONS[@]}"; do
10 if pidof -x $daemon > /dev/null; then
13 echo "ERROR: ${daemon} IS NOT RUNNING"
17 apt-get remove -y cinder-volume cinder-backup 2>&1 > /dev/null