This patch enables GlusterFS as a backend for Nova. This patch also introduces two new configuration parameters * CONFIGURE_GLUSTERFS_NOVA - set to 'True', to enable GlusterFS as a backend for Nova. * NOVA_GLUSTERFS_SHARE - which specifies the GlusterFS share to store compute instances. Change-Id: Iaebc0aff704d1203b91967af06b06bb08fde51bd
23 lines
884 B
Plaintext
23 lines
884 B
Plaintext
# Devstack settings
|
|
|
|
# We have to add glusterfs to enabled services for screen_it to work
|
|
enable_service glusterfs
|
|
|
|
# Cinder encrypted volume tests are not supported with a GlusterFS
|
|
# backend due to bug 1473363
|
|
ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False
|
|
|
|
# Below are GlusterFS specific settings, with their defaults
|
|
TEMPEST_STORAGE_PROTOCOL=glusterfs
|
|
GLUSTERFS_LOOPBACK_DISK_SIZE=${GLUSTERFS_LOOPBACK_DISK_SIZE:-8G}
|
|
CINDER_GLUSTERFS_SHARES=${CINDER_GLUSTERFS_SHARES:-"127.0.0.1:/cinder-vol1;127.0.0.1:/cinder-vol2"}
|
|
|
|
# Set default volume prov type to thick as we don't yet support backup for thin (qcow2) files
|
|
GLUSTERFS_VOLUME_PROV_TYPE=${GLUSTERFS_VOLUME_PROV_TYPE:-thick}
|
|
|
|
# Enabling GlusterFS as a backend for Glace
|
|
CONFIGURE_GLUSTERFS_GLANCE=${CONFIGURE_GLUSTERFS_GLANCE:-True}
|
|
|
|
# Enabling GlusterFS as a backend for Nova
|
|
CONFIGURE_GLUSTERFS_NOVA=${CONFIGURE_GLUSTERFS_NOVA:-True}
|