Browse Source

devstack-plugin-glusterfs: Changing gluster volume names

This patch changes the name(s) of gluster volume(s), required for
cinder to store cinder volumes.

Change-Id: I95ac68a1bba53d1831903596c43650a8b4b045bc
Bharat Kumar Kobagana 3 years ago
parent
commit
f0e403da25
2 changed files with 2 additions and 3 deletions
  1. 1
    1
      devstack/plugin.sh
  2. 1
    2
      devstack/settings

+ 1
- 1
devstack/plugin.sh View File

@@ -36,7 +36,7 @@ GLUSTERFS_LOOPBACK_DISK_SIZE=${GLUSTERFS_LOOPBACK_DISK_SIZE:-4G}
36 36
 # Devstack will create GlusterFS shares to store Cinder volumes.
37 37
 # Those shares can be configured by seting CINDER_GLUSTERFS_SHARES.
38 38
 # By default CINDER_GLUSTERFS_SHARES="127.0.0.1:/vol1"
39
-CINDER_GLUSTERFS_SHARES=${CINDER_GLUSTERFS_SHARES:-"127.0.0.1:/vol1"}
39
+CINDER_GLUSTERFS_SHARES=${CINDER_GLUSTERFS_SHARES:-"127.0.0.1:/cinder-vol"}
40 40
 
41 41
 # Adding GlusterFS repo to CentOS / RHEL 7 platform.
42 42
 GLUSTERFS_CENTOS_REPO=${GLUSTERFS_CENTOS_REPO:-"http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo"}

+ 1
- 2
devstack/settings View File

@@ -10,5 +10,4 @@ ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False
10 10
 # Below are GlusterFS specific settings, with their defaults
11 11
 TEMPEST_STORAGE_PROTOCOL=glusterfs
12 12
 GLUSTERFS_LOOPBACK_DISK_SIZE=${GLUSTERFS_LOOPBACK_DISK_SIZE:-8G}
13
-CINDER_GLUSTERFS_SHARES=${CINDER_GLUSTERFS_SHARES:-"127.0.0.1:/vol1;127.0.0.1:/vol2"}
14
-GLUSTERFS_VOLUME_PROV_TYPE=${GLUSTERFS_VOLUME_PROV_TYPE:-"thick"}
13
+CINDER_GLUSTERFS_SHARES=${CINDER_GLUSTERFS_SHARES:-"127.0.0.1:/cinder-vol1;127.0.0.1:/cinder-vol2"}

Loading…
Cancel
Save