From 1e808b7ec7f6a5bcdaa16407ad79d392c981b09f Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Fri, 2 Jun 2017 04:16:11 -0400 Subject: [PATCH] Set share enable_protocols for cephfsnfs driver for tempest configuration in manila post test hook to "nfs" so that CIFS tempest tests will be skipped. Its default value is ["nfs", "cifs"]. Change-Id: I96a5f6bfd5364740689538538bac8bb59187b9b6 --- manila/post_test_hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/manila/post_test_hook.sh b/manila/post_test_hook.sh index 93f43e4..c373ad3 100644 --- a/manila/post_test_hook.sh +++ b/manila/post_test_hook.sh @@ -61,6 +61,7 @@ if [[ $MANILA_CEPH_DRIVER == 'cephfsnative' ]]; then RUN_MANILA_MANAGE_TESTS=${RUN_MANILA_MANAGE_TESTS:-False} iniset $TEMPEST_CONFIG share run_manage_unmanage_tests $RUN_MANILA_MANAGE_TESTS elif [[ $MANILA_CEPH_DRIVER == 'cephfsnfs' ]]; then + iniset $TEMPEST_CONFIG share enable_protocols nfs iniset $TEMPEST_CONFIG share capability_storage_protocol NFS iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols nfs fi