Commit Graph

21 Commits

Author SHA1 Message Date
Zuul 845a5fda2c Merge "Fix the condition for volume revert tests" 2023-04-26 11:07:00 +00:00
Zuul b7d8f52e0c Merge "Remove outdated comment" 2023-01-23 18:26:41 +00:00
Luigi Toscano bf49f00d51 Fix the condition for volume revert tests
They were fixed in master a few months ago, and the fix is in zed.
The fix is now being backported to older branches.
Also, fix the regexp used for matching.

Depends-On: https://review.opendev.org/c/openstack/cinder/+/859839
Depends-On: https://review.opendev.org/c/openstack/cinder/+/859840
Depends-On: https://review.opendev.org/c/openstack/cinder/+/859841
Change-Id: I3ea117c2bf36334ba38fda90d4493276d7308db5
2022-09-29 14:57:16 +02:00
Sofia Enriquez 5d731a49a9 Enable volume revert to snapshot NFS tests
Since Id1e40fd42b88c63dbbba2aaae77c40660ddac4c7 we need to enable revert
to snapshot  tests in order to check that bugfix and possibly discover
new failures on the driver.

Partial-Bug: #1946059
Change-Id: If84fad2e6c0218fce2285a2638843b01c4e4bae7
2022-03-31 12:59:37 +00:00
Eric Harney 60452a6db1 Remove outdated comment
This is no longer accurate.

Change-Id: I8c5a27630ae384d4e16396327b28161293ecea33
2020-06-16 12:19:43 -04:00
Eric Harney 0151149833 Clean up NFS unmount during unstack
Don't run umount run if no shares are mounted, which
reduces umount noise.

Change-Id: Ib062afbdbc2ae0ff773741e29402eb13a925d40e
2019-10-11 11:05:14 -04:00
Eric Harney 48fa9b12b7 Don't disable xtrace
This unnecessarily hides debugging info from CI runs.

Change-Id: Ie3a71b7bf021da232e22f0247b4bd91db37a8de8
2018-10-18 15:13:46 -04:00
Eric Harney ac2618ae8f Be cleaner when unstacking a failed deployment
This prevents an error from "find" due to the
dir not existing.

Change-Id: I679f42ee88f1e8ae6d656195f5377a8b06f1cee9
2018-10-12 12:00:10 -04:00
Eric Harney 6d01740e27 Enable cloning
Test volume clone.

Change-Id: I3317d816ba95f64540b2f7783da737cc97b3fda0
2018-02-13 19:48:30 +00:00
Eric Harney 65ebbb0b2a Disable attach encrypted volume
This is not currently supported for NFS.

Change-Id: Ifc85b6d4d9ad4cbc0b526f718f919d7e4d75a533
2017-05-22 11:35:19 -04:00
Eric Harney e0e6d0ee67 Switch to nas_host/nas_share_path options
Use the new config format instead of writing
/etc/cinder/nfs-shares.conf

Change-Id: Icc504027a8d6301e0acf4ebc53edd8d0a89b1baa
2017-04-20 14:44:08 -04:00
Eric Harney 152c732861 Enable NFS snapshots
Test NFS snapshots.

Change-Id: Ie746d854f70726e8bc22c48ca34e8a8880a86cac
2017-02-23 11:36:51 -05:00
Eric Harney 376f4c1ecc Use Nova's publicURL
See Cinder commit 95550a50.  Nova is no longer using
adminURL:  https://review.openstack.org/#/c/433289/

Change-Id: I3a647d61b5e6070f48d33286a4203b7569adf5ea
2017-02-23 11:36:51 -05:00
Eric Harney 0eec0f167e Disable manage_snapshot tempest test
This is not supported by the NFS driver.

Change-Id: I00080b21bf2f1360e6639d74f5ceeabbb451dfca
2017-01-19 13:51:36 +00:00
Erlon R. Cruz fade5da51b Allow multiple devstack Cinder plugins
This commit allows this plugin to be run in parallel with other devstack plugins
like glusterfs, ceph, etc. This is needed to allow gate jobs that test
multibackend features.

Change-Id: I79c5ee753607953ffad7e78b96ffea506d84fc21
2016-11-28 15:25:26 -02:00
Matt Riedemann fc041321ae Don't run volume snapshot/clone tests in Tempest
The Cinder NFS backend doesn't yet support snapshot, clone
or backup operations, so they should be disabled when
running Tempest.

We also have to explicitly disable the image cache in
cinder because that relies on volume cloning which the NFS
volume backend doesn't support.

Depends-On: I5ad578a78d6cfd4186a8230ad472d4a7b92445c9
Change-Id: I8fb421276005f9ba9cbc6c55ba8b6089349fdb69
2016-11-17 00:15:36 +00:00
Eric Harney ebf915c8bf Set nfs_snapshot_support in cinder.conf
The current work at [1] makes this feature
opt-in only.

[1] https://review.openstack.org/#/c/147186/20

Change-Id: I5b3df4212251f08dd269963cc3821fd09728bcc4
2016-04-14 14:49:37 -04:00
Eric Harney 4727ada457 Set tempest storage_protocol to 'nfs'
Change-Id: Idb43e6b47da5adca435da2adad8ef7454d509496
2016-04-07 11:37:29 -04:00
Eric Harney 448e760ed3 Configure nova catalog info in Cinder
Cinder's defaults don't match what devstack creates.

Change-Id: I570c7da9ff5b54ce36240a9375fbbfdcffc1b906
2016-04-06 18:33:22 -04:00
Eric Harney b8aa9d32e4 Chown NFS export dir to $STACK_USER
Cinder expects to be able to write here.

Change-Id: I5b014e9d1770286c1099dfdaa1477ec66886b996
2016-04-06 12:25:15 -04:00
Eric Harney 217010a78a Initial import
Import from github/eharney/devstack-plugin-nfs @ 9106b37
+ rename override_defaults -> override-defaults
+ remove xtrace from override-defaults
+ restart NFS service after config
+ add .exports suffix to /etc/exports.d/ config
+ no_root_squash
+ is_suse

Change-Id: I6b9dcd55bcbb28a0567bf5bf279eac4dbb21ef22
2016-03-30 09:06:44 -04:00