8e66aa029a
Change [1] correctly attempted to set the default share type for HDFS to include ``create_share_from_snapshot_support=True`,` but there is a syntax issue when devstack attempts to set this extra-spec in the share type so that results in the server considering the request to be malformed [2]. Remove the extra quotation marks that cause this issue. Closes-Bug: #1655495 [1] I8f1670439d6d0aa92378b3b3f13a4cdb2e628a21 [2] http://logs.openstack.org/03/395003/1/check/gate-manila-tempest-dsvm-hdfs-ubuntu-xenial-nv/827d7a4/logs/devstacklog.txt.gz#_2017-01-04_21_28_24_052 Change-Id: Ib82a9280c86042ffc0692b7106de11dc6b9ed028
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# Devstack settings
|
|
|
|
# We have to add hdfs to enabled services for screen_it to work
|
|
enable_service hdfs
|
|
|
|
# enable manila HDFS backend
|
|
MANILA_ENABLED_SHARE_PROTOCOLS="HDFS"
|
|
MANILA_DEFAULT_SHARE_TYPE=hdfs_share
|
|
|
|
MANILA_ENABLED_BACKENDS=hdfs1,hdfs2
|
|
MANILA_CONFIGURE_GROUPS=hdfs1,hdfs2
|
|
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS="snapshot_support=True create_share_from_snapshot_support=True"
|
|
|
|
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}
|