There is no candidate for installation in Ubuntu Jammy, hence
the need for using a more recent version.
Closes-Bug: #1998493
Change-Id: I149ffa7e678a22bee4889b2cc2cef83e9523b7d7
- Switch from using "service" commands to systemd commands
- Fix a previously unhandled bashate error
Change-Id: Ia5907f566ebe65db083b80cedc047ba5a9031449
Glusterfs volume has AUTH_SSL_ALLOW option to authorize
access list. Manila try to find the access list by matching
with 'glusterfs-server' or 'manila-host'.
Fix up tls name to 'glusterfs-server1'.
Change-Id: I3a0b8bc25e6ab355f3e692e1804363be2efee10f
- 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
When running with the manila plugin on ubuntu Xenial,
devstack fails with a message when attempting to create
a logical volume within the glusterfs VG with a message
about insufficient allocatable extents [1].
Change the hard-coded number of extents supplied to
the lvcreate command to a percentage of the VG.
Closes-bug: #165238
Change-Id: Ia53f0e1b9b80ae0012d720a3f7b3696cadbd843c
Also took the opportunity to move to test_with_retry
instead of using a hand-rolled retry loop.
Closes-Bug: #1524656
Change-Id: I0fff95b434a6572efd2af3ac2ec89b5772459cd5
Some of the loop control variables are global. This as expected has
lead to corruption of their values, and produced undesired results.
Fix this issue by setting the scope of these variables to local.
Closes Bug: #1523348
Change-Id: I0f5676c5a0b97d3e027a1e7677b4b5a21470913b
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
The glusterfs (NFS) driver CI that currently uses directly mapped
layout sometimes fails since the backend GlusterFS volume within
which the driver creates shares does not have sufficient space to
allow Tempest to create shares for testing.
Closes-Bug: #1498792
Change-Id: If9ac508834637908bb91df55e856e08bca01e88f
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
Patch @ https://review.openstack.org/#/c/164527/14 changed the default
prov type to thin, which causes the volume backup tests in tempest
to fail, as we don't yet support backup for thin(qcow2) files.
This patch fixes the issue by making the default prov type as thick
for the CI job
Change-Id: I9edd0e0d0a82f08305b62951a87cf45b4df8d2f7
Closes-bug: #1483126
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