Commit Graph

48 Commits

Author SHA1 Message Date
Dr. Jens Harbott 8e6e5f174c Update zuul tempest job definitions
All old branches up to Ussuri are EOLed now and can be removed.

The stable/yoga branch has been replaced by unmaintained/yoga. The
corresponding job is currently failing, make it non-voting for now.

Change-Id: Ieac7fe872a8f9feb76feea114ff925e38bba8dce
2024-02-26 17:51:58 +01:00
jskunda 82d8af6b24 Switch to bobcat testing runtime
Updating the testing template to Bobcat testing runtime:
https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ibec9e3a0c251ab9571fc1e9e0244ef4dde0a80d7
2023-05-30 21:05:00 +02:00
Zuul 845a5fda2c Merge "Fix the condition for volume revert tests" 2023-04-26 11:07:00 +00:00
Ade Lee c6744e6515 Add fips job
Change-Id: Ic58f94510bdf63db64e8421f6a7bedbe0831ff13
2023-03-29 23:58:31 +02:00
Luigi Toscano ceed8a4491 Fix pre-wallaby branches: force an older tempest env
Since Id02221df0d6180519751c63e890851bd59fdafa0, in order to fix
lp#2004780, the job which all jobs defined here inherit from
uses the 'integrated-full' tox environment, which doesn't exist
on older branches. Those should use the 'full' tox environment
instead.

As this devstack plugin is not branched, as long as there are
jobs which use it on older branches, we should make sure
to not break them.

This broke a few other jobs, so use those fixes as examples:
(see I5f1c4de0e7ec0cc6d7f6ba7d7aa78aabc931d23e )

Related-Bug: #2007986
Change-Id: Iec4f5adc5bebb811e1ef44208a98d7403d1e8c01
2023-03-29 16:26:10 +02:00
Zuul f4ad926bda Merge "Add zed and yoga jobs" 2023-01-26 13:37:53 +00:00
Martin Kopec 9f8f5f9596 Add zed and yoga jobs
The patch adds stable/yoga and stable/zed jobs to test the
latest stable branches.

Change-Id: I5a9866c4d84a08d2b451e9b5b5596f59ea3c3581
2023-01-24 09:30:06 +01: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
Zuul dd12367f90 Merge "Enable volume revert to snapshot NFS tests" 2022-04-12 17:58:24 +00: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
Zuul a7b1314a2d Merge "remove unicode from code" 2022-03-29 09:55:22 +00:00
Luigi Toscano 32e7587bf8 Disable horizon from basic tempest tests
The parent jobs of the basic tempest jobs defined here enabled
horizon since the merge of tempest-horizon into tempest (see
Id2ced856a41548a0b49e594ee5fed6ed28785f24).

But horizon is not really needed here, as the default list of
tests does not incldue any horizon test. Disabling it helps
freeing up a bit of resources for the job and also helps
the ongoing effort of testing FIPS, which would otherwise
require a patched django at this point.

A similar change was applied to devstack-plugin-ceph, see
review ID I05ea7f675aafb85eb54427ca95167b4c8f0eabdf

Change-Id: I6f074ea0096b26da9a87b6df366c11c6f30ee48f
2022-03-22 21:42:39 +01:00
Zuul e99e678616 Merge "Bump min tox version to 3.18.0" 2021-11-25 20:03:09 +00:00
Zuul 5392ecdee7 Merge "Update the branch-specific jobs (+v, +w, +x, -s, -t)" 2021-11-25 20:00:24 +00:00
Martin Kopec 81b63f427f Bump min tox version to 3.18.0
Let's bump minimal tox version so that we can rename
whitelist_externals option to allowlist_externals one.

https: //tox.wiki/en/latest/changelog.html#v3-18-0-2020-07-23
Change-Id: I4b79e36b5ee3aefc59d262abe443271ad0dec100
2021-11-25 14:26:33 +00:00
Luigi Toscano 130c558ac7 Update the branch-specific jobs (+v, +w, +x, -s, -t)
- victoria, wallaby and xena have been out for a while
  and need to be tested;
- stein and train are EM and other plugins dropped
  their testing;
- temporarily disable the ussuri job until the related
  bug is solved, otherwise no changes can be merged
  in any of the active branches. It may take a while
  for that to be solved, or the ussuri branch may move
  out of support before that (it's already EM).

Related-Bug: #1916750
Change-Id: I379fe59b2fbf4888edfa8e6dd6fe1478c6c06497
2021-11-25 14:52:21 +01:00
Ghanshyam Mann 8b80d890ad Update IRC network to OFTC
Change-Id: I13ebe1a07012e8d5293b76cf15f2755c714f0898
2021-05-31 15:07:05 -05:00
liyou01 793cf08ea2 remove unicode from code
Change-Id: I4a0ca10ef66d53645249246926adc8212ea36a01
2021-01-07 10:58:26 +08:00
Ghanshyam Mann 8313334259 Migrate devstack-plugin-nfs jobs to focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

devstack-plugin-nfs jobs will be migrate automatically to Focal
once devstack base job start running on Focal(Depends-On).

stable jobs testing stable branch needs to keep running on their supported
distro version which is bionic from stein till ussuri.


[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: Ia65c0739f9e8454e7bc8ada7cc076f42c68fe7ce
2020-07-26 22:24:55 +00:00
Zuul ca363ffe1f Merge "Clean up NFS unmount during unstack" 2020-06-25 00:49:21 +00:00
Zuul a299cef494 Merge "Cleanup the tested releases" 2020-06-24 21:04:42 +00:00
Eric Harney 60452a6db1 Remove outdated comment
This is no longer accurate.

Change-Id: I8c5a27630ae384d4e16396327b28161293ecea33
2020-06-16 12:19:43 -04:00
Luigi Toscano a056ea229c Cleanup the tested releases
Remove the older releases which requires Python 2 (rocky and stein)
and add ussuri.

Change-Id: I7e18041856af16148f5af6ef27ec2a800d313c8b
2020-06-10 15:01:46 +02:00
Andreas Jaeger 1bdabe9066 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I4f371ec10b03aeff2ee0af7dab60403359cf69b0
2020-06-02 14:24:41 +02:00
Ghanshyam Mann ac68b45917 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: I1c5e5ae8c734ab051bb889588dfd0fa908ee4ff3
2020-05-05 15:30:47 +00:00
Ghanshyam Mann 80c812d9bd Set up the doc infra and add doc job
devstack-plugins-nfs does not have the doc infra set
up and no doc publish job.

This is need to add the contributor doc as per the ussuri
community goal.

Change-Id: Ie091ebd4dc35ef429d60c41d74a9344b3f083718
2020-04-27 00:12:43 +00:00
Andreas Jaeger 78bfd45d63 Update .gitreview and .zuul.yaml after rename
The repo got moved from x/devstack-plugin-nfs to
openstack/devstack-plugin-nfs, update .gitreview and jobs
for this.

Change-Id: I510655dabea6886a27bec52e83a3cc86bd7ebd15
2020-03-20 16:39:59 +01:00
Ghanshyam Mann 1f9393cd20 Migrate gate job to py3
gate jobs are modified to run on py2 on stable
branch and on py3 on ussuri onwards.

Change-Id: Ie6e287d134523931418256180dc5c55fd32f0db6
2020-02-18 22:08:13 -06:00
Luigi Toscano ab0a128d86 New Zuul v3 devstack-plugin-nfs-tempest-full job
This is meant to replace legacy-tempest-dsvm-full-devstack-plugin-nfs
in both cinder and nova.

Check the plugin against all the supported branches
(but ocata) to prevent regressions.

Change-Id: I86be2db18685f36fb3f67be03271608637c79151
2019-12-03 19:20:05 +01: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
OpenDev Sysadmins 73b8b0842e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:57 +00: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
OpenStack Project Creator e5c041f63a Added .gitreview 2016-03-23 08:24:27 +00:00