This patch does the following:
* Moved variable setting part from plugin.sh to settings file.
* By default all Gluster-[Glance|Nova|Cinder|Manila] integrations
disabled. Look at README file to know how to enable.
* Keeping CINDER_ENABLED_BACKENDS intact when
CONFIGURE_GLUSTERFS_CINDER=False (Bug #1500381)
* Renamed CONFIGURE_GLUSTERFS_BACKUP to
CONFIGURE_GLUSTERFS_CINDER_BACKUP
* Avoid setting unnecessary variable when speicific configuraiton
is disabled.
* Documented the steps to enable in README.md file of this project.
Closes-Bug: #1500381
Depends-On: Id6967499729dfaa12d8a338d8f72471ebc90fb0d
Change-Id: I36f35f8af8e3491c8b0cffb40ba3980b7beab5df
This patch modifies devstack-plugin-glusterfs code to install
glusterfs 3.7 for manila specific jobs.
Change-Id: Ica4a44cd8dfe65a2330f65a1dcbb69a24fb2c805
This patch avoids creation of zero sized glusterfs log files by
changing the file permissions from 600 to 755.
Change-Id: I2c88781052f5cb334de21ffe1f98f13240820fa5
This patch allows devstack-plugin-glusterfs to configure GlusterFS
as Cinder backup target. Below are the new configuration options
added:
* CONFIGURE_GLUSTERFS_BACKUP (Set it to True to enable glusterfs backup)
* CINDER_GLUSTERFS_BACKUP_SHARE (ex: 127.0.0.1:/backup_vol)
Depends-On: I4f0c36cdaa7cc417cb26bc1e908c6d107a71da35
Change-Id: I03f1daa0c32fda20dc1900ed73e6ad586aee37a7
This patch enables GlusterFS as a backend for Manila. This
patch also introduces two new configuration parameters:
* CONFIGURE_GLUSTERFS_MANILA - set to 'True', to enable GlusterFS
as a backend for Manila.
* GLUSTERFS_MANILA_DRIVER_TYPE - set Manila GlusterFS backend type
to either 'glusterfs' or 'glusterfs-native'.
Change-Id: I53e5b9e88b6ebc131c64dabc421875c06a3fafd4
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
This patch enables GlusterFS as a backend for Glance. This
patch introduces two new configuration parameters:
* CONFIGURE_GLUSTERFS_GLANCE - set to 'True', to enable GlusterFS
as a backend for Glance. By default set to True.
* GLANCE_GLUSTERFS_SHARE - which specifies the GlusterFS share
to store glance images.
Change-Id: I613e4c7a3e359235f5d54abc820df95b521b8697
This patch introduces a new configuration parameter (knob)
CONFIGURE_GLUSTERFS_CINDER to enable/disable glusterfs as a
backend for Cinder. And added below error conditions:
* glusterfs plugin enabled but CONFIGURE_GLUSTERFS_CINDER set to
False
* CONFIGURE_GLUSTERFS_CINDER set to True, but CINDER_ENABLED_BACKENDS
doesn't have at least one backend of type glusterfs.
Change-Id: Ic802a2f2bbbdc1af04fd1220d2055be1e853fef8
This patch modifies the plugin code into more reusable manner.
Also adds a new file "devstack/gluster-functions.sh", which
contains gluster specific functions.
Change-Id: Ibe1231d5f2244ea7e9b7e7a5e1b138192e372206
As the patch "Using 'fallocate' instead of 'dd' to create raw
volumes" [1] still in WIP, setting 'volume_prov_type' doesn't make
any sense and creates confusion too.
This patch modifies plugin code to not set 'volume_prov_type'.
[1] https://review.openstack.org/#/c/164527/
Change-Id: I5938d5ac833f0b18e41a8d4f9ad35860eaec8abd
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 patch avoids creation of zero sized glusterfs log files by
changing the file permissions from 600 to 755.
Closes-Bug: #1455951
Change-Id: I2adfcab9c4a7ae0953dce93dc21821b571c9a04e
devstack with commit 38bee18a2c440b01bd1c2187cb2a62a841e3b7ae
added support for configuring os_privileged_user_* params so
we don't need to do it in our plugin code.
Change-Id: I4827d92acba4f4e960177bc76524d94ce0b58095
In localrc file, when OFFLINE set to true, cleanup process should
not uninstall glusterfs packages.
Closes-Bug: 1435303
Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: Iecbea7ed8d79fc4c30fcc7af952f1d755b52f101
This patch configures cinder to use privileged user credentials
while creating/deleting nova assisted snapshots.
Change-Id: I324b1f7f6009793fdd68a6a9a0ef656c9f677233
This patch removes the code, that changes the nova policy rules.
As this might be the reason for glusterfs experimental job failure.
Change-Id: I9b01e7292184d236091d17d606cc69d5ca3943c2
This patch removes the "rule:admin_api" in nova policy.json file
to allow user(admin or demo) to create/delete assisted snapshots.
Change-Id: I717dbdd8a2a2feb57c4ff983ecaea45395504339
This patch adds the configure_cinder_backend_glusterfs method
to devstack external glusterfs plugin repository, which configures
cinder with glusterfs backend.
Change-Id: I171253d186dcaa297c30397825af3b41573c28a0