Fix ceph gates

Cinder removed some parameters from the API.
Openstack client is not updated yet and failing.

Revert this change once is fixed.

Change-Id: Ie8feb03e9a07a6486a8b375d3304c9e6f1f8b890
This commit is contained in:
Eduardo Gonzalez 2018-08-01 12:20:27 +02:00
parent 7008eb39ba
commit 8998877021
1 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,9 @@ 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
openstack volume create --size 2 test_volume
#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 server add volume kolla_boot_test test_volume --device /dev/vdb
fi
}