Enable multi-backends
Change-Id: Ia38b28eb78304797c6ea00fc698548987a7e91dc
This commit is contained in:
parent
1fe2296fec
commit
82ebbc1ba2
@ -6,13 +6,21 @@ enable_service hdfs
|
||||
# enable manila HDFS backend
|
||||
ENABLED_SHARE_PROTOCOLS="HDFS"
|
||||
MANILA_DEFAULT_SHARE_TYPE=hdfs_share
|
||||
MANILA_ENABLED_BACKENDS=hdfs1
|
||||
MANILA_CONFIGURE_GROUPS=hdfs1
|
||||
|
||||
MANILA_ENABLED_BACKENDS=hdfs1,hdfs2
|
||||
MANILA_CONFIGURE_GROUPS=hdfs1,hdfs2
|
||||
|
||||
MANILA_OPTGROUP_hdfs1_share_driver=manila.share.drivers.hdfs.hdfs_native.HDFSNativeShareDriver
|
||||
MANILA_OPTGROUP_hdfs1_hdfs_namenode_ip=127.0.0.1
|
||||
MANILA_OPTGROUP_hdfs1_hdfs_namenode_port=9000
|
||||
MANILA_OPTGROUP_hdfs1_driver_handles_share_servers=False
|
||||
MANILA_OPTGROUP_hdfs1_share_backend_name=HDFS1
|
||||
|
||||
MANILA_OPTGROUP_hdfs2_share_driver=manila.share.drivers.hdfs.hdfs_native.HDFSNativeShareDriver
|
||||
MANILA_OPTGROUP_hdfs2_hdfs_namenode_ip=127.0.0.1
|
||||
MANILA_OPTGROUP_hdfs2_hdfs_namenode_port=9000
|
||||
MANILA_OPTGROUP_hdfs2_driver_handles_share_servers=False
|
||||
MANILA_OPTGROUP_hdfs2_share_backend_name=HDFS2
|
||||
|
||||
# Below are HDFS specific settings, with their defaults
|
||||
HADOOP_VERSION=${HADOOP_VERSION:2.7.1}
|
||||
HADOOP_VERSION=${HADOOP_VERSION:-2.7.1}
|
||||
|
@ -37,9 +37,10 @@ iniset $BASE/new/tempest/etc/tempest.conf share share_creation_retry_number 2
|
||||
SUPPRESS_ERRORS=${SUPPRESS_ERRORS_IN_CLEANUP:-True}
|
||||
iniset $BASE/new/tempest/etc/tempest.conf share suppress_errors_in_cleanup $SUPPRESS_ERRORS
|
||||
|
||||
# Disable multi_backend tests
|
||||
RUN_MANILA_MULTI_BACKEND_TESTS=${RUN_MANILA_MULTI_BACKEND_TESTS:-False}
|
||||
# Enable multi_backend tests
|
||||
RUN_MANILA_MULTI_BACKEND_TESTS=${RUN_MANILA_MULTI_BACKEND_TESTS:-True}
|
||||
iniset $BASE/new/tempest/etc/tempest.conf share multi_backend $RUN_MANILA_MULTI_BACKEND_TESTS
|
||||
iniset $BASE/new/tempest/etc/tempest.conf share backend_names $MANILA_ENABLED_BACKENDS
|
||||
|
||||
# Disable manage/unmanage tests
|
||||
RUN_MANILA_MANAGE_TESTS=${RUN_MANILA_MANAGE_TESTS:-False}
|
||||
|
@ -21,8 +21,6 @@ echo "TEMPEST_SERVICES+=,manila" >> $localrc_path
|
||||
|
||||
echo "MANILA_USE_DOWNGRADE_MIGRATIONS=True" >> $localrc_path
|
||||
|
||||
echo "MANILA_MULTI_BACKEND=False" >> $localrc_path
|
||||
|
||||
# Enabling isolated metadata in Neutron is required because
|
||||
# Tempest creates isolated networks and created vm's in scenario tests don't
|
||||
# have access to Nova Metadata service. This leads to unavailability of
|
||||
|
Loading…
x
Reference in New Issue
Block a user