Commit Graph

19 Commits

Author SHA1 Message Date
Woohyung Han 2cd720e448 CI Changes
- define a .zuul.yaml file with the jobs that need
  to run against this repo
- post_test_hook is working fine without any problems,
  however as options are added over time the script is
  hard to understand. Make clean post_test_hook.sh
- Set min and max API versions for testing in the
  post_test_hook, since it's being used for stable
  branch testing against manila
- deprecate the pre and post test hooks since
  these aren't used by the zuulv3 native jobs run
  against this repo. They're however needed by manila
  jobs on stable branches.

Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: Ieee0be4e94f237c81529e6e664f0edf9d47297fc
2020-09-16 14:54:56 -07:00
Woohyung Han 025858423b Run manila snapshot tests for glusterfs-native driver
Change-Id: I2619526d91ac83174a943b4fda6679f1661fe600
2019-10-08 23:47:02 +09:00
Woohyung Han 65966ffb5d Enable extend/shrink test on the glusterfs-nfs driver
This patch enables extend/shrink test on the glusterfs-nfs drvier
by adding post_test_hook.

Depends-On: https://review.opendev.org/#/c/672202/
Change-Id: Iefa6e367a83df8433b21d40943ea535f3d258547
2019-08-14 02:14:04 +00:00
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
Raissa Sarmento fec9fd78a0 Change manila post_test_hook to use plugin repo
Fix in order for the tempest jobs run manila's
tempest plugin from the new plugin repository.

Change-Id: I4ba8711a155dc90790657245d34e58382b99737e
2017-10-23 17:24:00 +01:00
Raissa Sarmento 658c7a6847 Use generic user for zuul v3
The manila post_test_hook.sh script still
uses jenkins as user, but with zuulv3 that
should be zuul. $USER solves that issue.

Change-Id: I23299a15249be292e3a60450db2adea0abab64bb
2017-10-17 10:18:02 +01:00
Csaba Henk 1d46d65cf3 clean up dispatches over GLUSTERFS_MANILA_DRIVER_TYPE and os release
Change-Id: Ib8664c5aa71ff4efb64fd95262295fcf322e5a4e
2016-09-08 15:54:28 +02:00
vponomaryov d35a217dfb Fix devstack hooks for manila CI jobs
Replace not available anymore "JOB_NAME" env var with
"GLUSTERFS_MANILA_DRIVER_TYPE" one in devstack hooks to unblock
CI jobs.

Change-Id: Ice8395325d20060df511b9de82c944200ceea2aa
2016-07-05 18:42:55 +03:00
Csaba Henk 5d698eda71 Work around log file upload EPERM issue
The log files created during the Tempest run
get scp-d to their final location via Ansible.
Some root-owned log files are not readable
for the Ansible process and that results in
getting an EPERM and thus the gateway job
is qualified as UNSTABLE.

We don't have a hook in between the gluster
invocations creating those log files and the
call to the Ansible upload job, so we are not
able to chmod the logs as needed.

Instead we apply the following hack: we create
and mount a VFAT file system onto the log directory
where the trouble strikes; and VFAT does not implement
POSIX file permissions therefore all files within it
qualify as world readable.

Change-Id: I9a85888166b5b9c28a049e7c17335e2082a61f92
2016-05-02 11:22:30 +02:00
Ramana Raja 658d3cc5eb manila: disable ro access level tests for the two drivers
The two manila gluster drivers, glusterfs and glusterfs native do
not yet support 'ro' access level. So disable 'ro' access level
tempest tests for the two drivers by making the CI post hook
script modify the tempest config file appropriately.

Change-Id: I32f255eafe4938196c54108a45d7ddb48eceb8bf
2016-03-15 14:48:04 +05:30
Csaba Henk 701ce2bb77 add a glusterfs driver + heketi layout backend variant
Change-Id: I4bd7abc83605687fc5d990b54e728a113b4f37fe
2016-03-03 12:46:26 +01:00
Ramana Raja 2cfbc1db61 Fix Manila CI Tempest authentication issue
With the change [1] to DevStack project, preconfigured creds for Tempest,
required by Manila, cannot be used anymore. And for now, latest Tempest
interfaces do not allow use of preconfigured creds due to bug #1524717.
So, until this bug is fixed, workaround Devstack changes by setting legacy
options explicitly.

This workaround fix was carried over from the change [2] in the Manila
project.

[1] I65b56ff681d6c27094380693c953fbc3664eceb0
[2] I516a6c9ab4396b14e3984d5f810210e4fcf7ec85

Change-Id: I09df56aa611ba755c282c575f712261c48385fe9
Related-Bug: #1531049
2016-01-07 15:22:29 +05:30
Ramana Raja 8f92d69980 manila-CI: Use 'capability_snapshot_support' opt
The newly introduced Tempest config option,
'capability_snapshot_support' allows glusterfs_native driver
that can support snapshot support to run with snapshot Tempest tests
disabled. Set this option to True to let the glusterfs_native driver
CI not run snapshot tests - the present status-quo of the
glusterfs_native driver CI, and yet succeed to run.

Change-Id: I7e605502a9d6d3a42a26313a7c3bbb53ec08d8bc
2015-09-23 20:33:27 +05:30
Ramana Raja 7f3e7268a3 Manila-CI: Fix tempest config option
The tempest config option, "storage_protocol" for glusterfs_native
driver CI needs to be "glusterfs" instead of "GLUSTERFS", as the
glusterfs_native driver reports its storage_protocol to be
"glusterfs" using update_share_stats share driver method.

Closes-Bug: #1498624
Change-Id: I1031cfaeab629b5aab316e611e9aae1833cf857b
2015-09-23 00:33:14 +05:30
Ramana Raja 3ae156a6de Manila: fix access rule type for gluster_native CI
Disable Tempest configuration that creates "ip" access type
rules for Manila CI using "glusterfs_native" driver.

Change-Id: I14061af63c3fddec5ec727f24c3aebba76080e11
Closes-Bug: #1498313
2015-09-22 12:18:03 +05:30
Ramana Raja 77c6200a86 Manila: Disable consistency group tests
The two glusterfs drivers in Manila do not yet support consistency
groups feature. So disable the related Tempest tests during the
CI runs of the two drivers.

Change-Id: I07e860971451c4aa875272a34ebf845603f9f0be
Closes-Bug: #1498101
2015-09-21 22:51:44 +05:30
Bharat Kumar Kobagana fd30ab5d2e Manila-GlusterFS: Use Tempest plugin interface
This patch modifies the pre_, post_ test_hook.sh scripts to use
new tempest plugin interface as per below patch:
https://review.openstack.org/#/c/201955/

Closes-Bug: #1493802
Change-Id: I267fd14eb6324e533b32ae0bea2f3ecafac6fbc4
2015-09-12 08:55:29 +05:30
Ramana Raja 4467692d96 manila: add missing tempest config option
Set missing tempest config option for glusterfs_native driver.

Change-Id: I137d2a90bca3c92a57ef0cdbf3f5f8d05c12d392
2015-08-20 02:30:02 +05:30
Ramana Raja 858b2443f1 Manila: add pre_, post_ test_hook scripts for CI
Add pre_test_hook and post_test_hook scripts that enables Manila to
be setup with one of the GlusterFS based drivers as the backend
share_drive, and allows Tempest test cases to run with the Manila
setup.

Change-Id: I60c715350b8e53a7e19667574ce0e5ef02e51f22
2015-08-17 16:38:01 +05:30