DevStack plugin to configure GlusterFS backend.
Go to file
Bharat Kumar Kobagana f53859f89e Refactoring devstack-plugin-glusterfs code
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
2015-10-21 15:04:48 +05:30
devstack Refactoring devstack-plugin-glusterfs code 2015-10-21 15:04:48 +05:30
manila manila-CI: Use 'capability_snapshot_support' opt 2015-09-23 20:33:27 +05:30
.gitignore Adding settings to GlusterFS plugin 2015-02-10 14:46:20 +05:30
.gitreview Update .gitreview for new namespace 2015-10-17 22:06:33 +00:00
LICENSE Adding settings to GlusterFS plugin 2015-02-10 14:46:20 +05:30
LICENSE.md Devstack GlusterFS Plugin 2015-01-08 11:30:20 +05:30
README.md Refactoring devstack-plugin-glusterfs code 2015-10-21 15:04:48 +05:30
tox.ini Adding settings to GlusterFS plugin 2015-02-10 14:46:20 +05:30

README.md

Devstack GlusterFS Plugin

Goals

As part of "stack.sh":

  • To install Glusterfs (client and server) packages
  • By default all Gluster-[Glance|Nova|Cinder|Manila] integrations disabled. Look at "How to use" section, to know how to enable.
  • Configures Glusterfs as a backend for Glance, Nova, Cinder and Manila as per localrc configuration
  • Creates Gluster volumes to provide them as storage to Glance, Nova, Cinder or Manila

As part of "unstack.sh":

  • Also cleans up the Gluster volumes and data related to Gluster
  • Uninstalls the Gluster packages when we run "unstack.sh"

How to use (localrc configuration)

  • Enable devstack-plugin-glusterfs plugin: local enable_plugin devstack-plugin-glusterfs https://github.com/stackforge/devstack-plugin-glusterfs

  • To enable Gluster as a backend for Glance: CONFIGURE_GLUSTERFS_GLANCE=True

  • To enable Gluster as a backend for Nova: CONFIGURE_GLUSTERFS_NOVA=True

  • To enable Gluster as a backend for Cinder: CONFIGURE_GLUSTERFS_CINDER=True Also we can enable/disable glusterfs as a backend for Cinder Backup (c-bak) driver:

    By default set to True when CONFIGURE_GLUSTERFS_CINDER=True

    enable_service c-bak CONFIGURE_GLUSTERFS_CINDER_BACKUP=[True OR False]

  • To enable Gluster as a backend for Manila: CONFIGURE_GLUSTERFS_MANILA=True Also select specific gluster backend type for manila, default is "glusterfs": GLUSTERFS_MANILA_DRIVER_TYPE=[glusterfs OR glusterfs-native]

  • Then run "stack.sh"