devstack-plugin-glusterfs: Changing 'volume_prov_type' parameter name

As per the patch https://review.openstack.org/#/c/164527/ we are
introducing new configuration parameter 'volume_prov_type' instead
of 'glusterfs_volume_prov_type'.

So this patch modifies plugin code to configure 'volume_prov_type'
instead of 'glusterfs_volume_prov_type'.

Change-Id: If7670fd6e88637d1cc25137e1fd9a4b162dd6273
This commit is contained in:
root 2015-06-11 06:42:23 +05:30 committed by Bharat Kumar Kobagana
parent 3a9360c3f5
commit a9596a5625
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ function configure_cinder_backend_glusterfs {
iniset $CINDER_CONF $be_name volume_backend_name $be_name
iniset $CINDER_CONF $be_name volume_driver "cinder.volume.drivers.glusterfs.GlusterfsDriver"
iniset $CINDER_CONF $be_name glusterfs_shares_config "$CINDER_CONF_DIR/glusterfs-shares-$be_name.conf"
iniset $CINDER_CONF $be_name glusterfs_volume_prov_type $GLUSTERFS_VOLUME_PROV_TYPE
iniset $CINDER_CONF $be_name volume_prov_type $GLUSTERFS_VOLUME_PROV_TYPE
if [[ -n "$CINDER_GLUSTERFS_SHARES" ]]; then
CINDER_GLUSTERFS_SHARES=$(echo $CINDER_GLUSTERFS_SHARES | tr ";" "\n")