Files
3ece1cd96d983e3fd321a1d4555221efc1be1e5b
ghanshyam
9763645b0c
Fix *-ceph-* job for manage snapshot tests failure
There is no snapshot manage feature on ceph backend and tests for the same should be skipped on ceph jobs. There is devstack variable to do so. Currently gate-tempest-dsvm-full-ceph-plugin-src-glance_store-ubuntu-xenial is failing and blocking glance-store Details: http://lists.openstack.org/pipermail/openstack-dev/2017-January/110257.html This commit sets TEMPEST_VOLUME_MANAGE_SNAPSHOT to False for ceph jobs. Change-Id: Ie3eca6db5c76153d46e4dfbe9b552e4025347d31
44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
# Devstack settings
# CEPH_PLUGIN_DIR contains the path to devstack-plugin-ceph/devstack directory
CEPH_PLUGIN_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]}))
# Add ceph plugin specific settings
# NOTE: Currently these are redundant since ceph
# plugin job defn defines them already, but
# once DEVSTACK_GATE_CEPH is removed, these
# won't be redundant, so its ok to have these
# anyways.
TEMPEST_STORAGE_PROTOCOL=ceph
# 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}
CEPH_LOOPBACK_DISK_SIZE=${CEPH_LOOPBACK_DISK_SIZE:-$VOLUME_BACKING_FILE_SIZE}
# Disable manage/unmanage snapshot tests on Tempest
TEMPEST_VOLUME_MANAGE_SNAPSHOT=False
# Source plugin's lib/ceph
source $CEPH_PLUGIN_DIR/lib/ceph
# Set Manila related global variables used by Manila's DevStack plugin.
if (is_ceph_enabled_for_service manila) && \
[[ $MANILA_CEPH_DRIVER == 'cephfsnative' ]]; then
MANILA_DHSS=$(trueorfalse False MANILA_DHSS)
MANILA_ENABLED_SHARE_PROTOCOLS=CEPHFS
MANILA_DEFAULT_SHARE_TYPE=cephfstype
# CephFSNative Driver does not yet support creation of shares from
# snapshot.
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=False'
MANILA_ENABLED_BACKENDS=cephfsnative1
MANILA_CONFIGURE_GROUPS=cephfsnative1
MANILA_OPTGROUP_cephfsnative1_share_driver=manila.share.drivers.cephfs.cephfs_native.CephFSNativeDriver
MANILA_OPTGROUP_cephfsnative1_driver_handles_share_servers=$MANILA_DHSS
MANILA_OPTGROUP_cephfsnative1_share_backend_name=CEPHFSNATIVE1
MANILA_OPTGROUP_cephfsnative1_cephfs_conf_path=${CEPH_CONF_FILE}
MANILA_OPTGROUP_cephfsnative1_cephfs_auth_id=${MANILA_CEPH_USER}
fi