Browse Source

manila: disable ro access level tests for the two drivers

The two manila gluster drivers, glusterfs and glusterfs native do
not yet support 'ro' access level. So disable 'ro' access level
tempest tests for the two drivers by making the CI post hook
script modify the tempest config file appropriately.

Change-Id: I32f255eafe4938196c54108a45d7ddb48eceb8bf
Ramana Raja 3 years ago
parent
commit
658d3cc5eb
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      manila/post_test_hook.sh

+ 4
- 0
manila/post_test_hook.sh View File

@@ -34,6 +34,8 @@ if [[ "$JOB_NAME" =~ "glusterfs-native" ]]; then
34 34
     iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols
35 35
     iniset $TEMPEST_CONFIG share enable_cert_rules_for_protocols glusterfs
36 36
     iniset $TEMPEST_CONFIG share capability_snapshot_support True
37
+    # ro access_level is not supported by the driver.
38
+    iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols
37 39
 else
38 40
     if [[ "$JOB_NAME" =~ "glusterfs-heketi" ]]; then
39 41
         local BACKEND_NAME="GLUSTERFSHEKETI"
@@ -43,6 +45,8 @@ else
43 45
     iniset $TEMPEST_CONFIG share enable_protocols nfs
44 46
     iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols nfs
45 47
     iniset $TEMPEST_CONFIG share storage_protocol NFS
48
+    # ro access_level is not supported by the driver.
49
+    iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols
46 50
 fi
47 51
 
48 52
 

Loading…
Cancel
Save