Set Ceph ISCSI tempest storage protocol to "iSCSI"

We are using iSCSI protocol to operate the volume, instead of ceph
in that case. The storage protocol ceph is used as Ceph RBD.

Change-Id: I288b08279311991a79fdad25e43a51366de7876d
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
This commit is contained in:
Kevin Zhao 2020-07-27 14:55:22 +08:00
parent 4ca64cd718
commit fd628e4530
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ CEPH_PLUGIN_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
# won't be redundant, so its ok to have these
# anyways.
TEMPEST_STORAGE_PROTOCOL=ceph
if [ "$ENABLE_CEPH_ISCSI" = "True" ]; then
TEMPEST_STORAGE_PROTOCOL=iSCSI
else
TEMPEST_STORAGE_PROTOCOL=ceph
fi
# VOLUME_BACKING_FILE_SIZE should be sourced from devstack/stackrc but define
# a default here if not set already.
VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-8GB}