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
This commit is contained in:
Ramana Raja 2016-03-15 14:46:51 +05:30
parent 701ce2bb77
commit 658d3cc5eb
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,8 @@ if [[ "$JOB_NAME" =~ "glusterfs-native" ]]; then
iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols
iniset $TEMPEST_CONFIG share enable_cert_rules_for_protocols glusterfs
iniset $TEMPEST_CONFIG share capability_snapshot_support True
# ro access_level is not supported by the driver.
iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols
else
if [[ "$JOB_NAME" =~ "glusterfs-heketi" ]]; then
local BACKEND_NAME="GLUSTERFSHEKETI"
@ -43,6 +45,8 @@ else
iniset $TEMPEST_CONFIG share enable_protocols nfs
iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols nfs
iniset $TEMPEST_CONFIG share storage_protocol NFS
# ro access_level is not supported by the driver.
iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols
fi