Browse Source

[manila][ci] Disable tempest opt for snapshot cloning

CephFS drivers don't support cloning snapshots
into shares. Manila's tempest tests need to be
told this explicitly. So, update the gate hooks
that control tempest configuration.

This affects all legacy style CephFS jobs that
use devstack-gate. These jobs will go away soon,
and be replaced with Zuulv3 native style job
definitions and this patch is a stop-gap,
because devstack-plugin-ceph is a branchless
devstack plugin, and we need to support legacy
style jobs for a while.

Change-Id: I885ff78586540d01590f98cca2a00d55161dbe04
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
changes/93/739893/1
Goutham Pacha Ravi 12 months ago
parent
commit
9036cca285
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      manila/post_test_hook.sh

+ 5
- 0
manila/post_test_hook.sh View File

@ -43,6 +43,11 @@ MANILA_CEPH_DRIVER=${MANILA_CEPH_DRIVER:-cephfsnative}
MANILA_TEST_TYPE=$3
MANILA_TEST_TYPE=${MANILA_TEST_TYPE:-api}
# Manila drivers don't support creating shares from snapshots even if
# snapshots themselves are supported. Let's turn off this capability
# in tempest.conf
iniset $TEMPEST_CONFIG share capability_create_share_from_snapshot_support False
if [[ $MANILA_CEPH_DRIVER == 'cephfsnative' ]]; then
export BACKEND_NAME="CEPHFSNATIVE1"
iniset $TEMPEST_CONFIG share enable_protocols cephfs


Loading…
Cancel
Save