Merge "Revert commit of fixing ceph gates"

This commit is contained in:
Zuul 2018-10-15 08:39:06 +00:00 committed by Gerrit Code Review
commit 453fca37ad
1 changed files with 1 additions and 3 deletions

View File

@ -132,9 +132,7 @@ function sanity_check {
# If the status is not ACTIVE, print info and exit 1
nova --debug show kolla_boot_test | awk '{buf=buf"\n"$0} $2=="status" && $4!="ACTIVE" {failed="yes"}; END {if (failed=="yes") {print buf; exit 1}}'
if echo $ACTION | grep -q "ceph"; then
#TODO(egonzalez): Recover openstack cli command once volume calls are fixed.
# openstack volume create --size 2 test_volume
cinder create --name test_volume 2
openstack volume create --size 2 test_volume
openstack server add volume kolla_boot_test test_volume --device /dev/vdb
fi
}