whhan91 876681ca55 Fix gluster ci failure
- An 'all: commands failed' error occurs when executing tempest
with 'tox -eall' command. Change to 'tempest run' command.
- In post_test_hook.sh, $GLUSTERFS_MANILA_DRIVER_TYPE is not set
properly. To fix this, update post_test_hook to accept arguements.
- add capability_create_share_from_snapshot_support true
- add force option when start the volume

Change-Id: Idaabd5077e3c491071d5cd7b6b68d00049a174a9
2019-08-07 13:42:33 +00:00
2019-08-07 13:42:33 +00:00
2019-08-07 13:42:33 +00:00
2015-02-10 14:46:20 +05:30
2019-04-19 19:51:54 +00:00
2015-02-10 14:46:20 +05:30
2015-01-08 11:30:20 +05:30
2015-12-23 20:43:49 +05:30

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-nfs OR glusterfs-native]

  • Then run "stack.sh"

Description
DevStack plugin to configure GlusterFS backend.
Readme 872 KiB
Languages
Shell 72.5%
Python 27.5%