From 8e66aa029a4e093a9c3cb4a11aa9e50e3da86c9c Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Tue, 10 Jan 2017 21:43:20 +0000 Subject: [PATCH] Fix default share type setting 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 --- devstack/settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/settings b/devstack/settings index ec12b2b..e525d33 100644 --- a/devstack/settings +++ b/devstack/settings @@ -9,7 +9,7 @@ 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_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