Updates:
- run py311 func job in gate (was py310)
- add py312 testenvs to tox.ini
- did not remove py38 testenvs from tox.ini
- removed py38 classifier from setup.cfg, but did not change
python_requires (currently it's >=3.8)
Python 3.12 unit tests will run non-voting in the gate as part of the
openstack-python3-jobs template. Python 3.10 coverage is being handled
by tempest running in Ubuntu 22.04.
Change-Id: I72ec22780d36ea3e56386ae2bd74bf5b9806731c
The stable/victoria and stable/wallaby branches have been deleted,
so reno can't find their release notes. Use the victoria-eom and
wallaby-eom tags to indicate the end of the
Cinder project's maintenance of these series.
Also fix our override for the reno closed_branch_tag_re to include
the -eom tags. Add the changed reno.yaml file to all relevant
irrelevant-files lists.
This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09
Change-Id: I505b7cc12888d2373a0550b40bb945d75bb11067
This patch adds the cinder-tempest-plugin-protection-functional test to
the gate check. The test itself is defined in cinder-tempest-plugin.
This test enables Consistent and Secure Default RBAC (SRBAC) [1] on both
Keystone and Cinder to ensure that integration with Keystone and Cinder
functionality is working correctly when both services are enforcing
scope in RBAC.
Currently no other tests in the Cinder gate have this option enabled.
Moving forward, this job will help ensure that new changes to Cinder
will work in environments where SRBAC is enabled. This job will also
help as we continue to implement the next phases of the SRBAC community
goal.
[1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html
Depends-On: https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/906153
Change-Id: I590eb954203ccd2fc564117addfcf5d2dac5bd74
The cinderlib project has been deprecated and is no longer being
developed, so remove cinderlib tests from cinder CI jobs.
Depends-on: Ib186ac5830e5920e264d79be946995e63e960426
Change-Id: I1143e5e5ccf8103e386fe1ce614a554e7f152d9a
Instead of our custom tox-py311 job, use the openstack-wide job
that was added by change I725b94bee6601a and added to the testing
template by I3b22ff95ab7b83a.
Since the openstack-tox-py311 job uses a debian bookworm nodeset,
follow change I736ecb2a18d3 in adjusting cinder's bindep.txt.
Change-Id: I3b22ff95ab7b83ae6e0e12f0d2bf645cc87424d2
To avoid wasting resources, our gate-irrelevant-files list is a
bit aggressive. Use a less aggressive list on one job,
cinder-tempest-plugin-lvm-lio-barbican, to act as a canary.
Change-Id: Ia70b46f4fd4caadeed6fc80fcc849d04694976b0
Based on the python runtimes for 2023.2 [0], we should be running
functional jobs on python 3.9 and python 3.10.
This patch does not remove the ability to run the functional jobs
locally on python 3.8, as it may be useful to test changes that
are intended to be backported.
[0] https://governance.openstack.org/tc/reference/runtimes/2023.2.html
Change-Id: I5e12a7555b465a5fd8510d5a9b80d5caa30ce507
Added a note to the two CI jobs that increase host memory about
a recently added devstack option [0] so that we don't forget about
it.
[0] I7b223391d3de
Change-Id: Ifb52819ddc4db22507805c77c5562ca3e3600e1a
Since e222cc976918a331bacff150e84069fda8f4960a, it is possible to set
the minimum client version. The goal of this patch is to enable the
*mimic* client version for the current cinder-plugin-ceph-tempest job.
As a result, we will be able to ensure that snapshots can be deleted
when a volume is cloned from them.
Change-Id: I8ffb0c1130b30a19f336a98a9efef05905786af2
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I444aa9cff84ef9d1e46d3d00ce034583aa8c2fb6
Recent Cinder and Tempest changes broke the NFS CI jobs.
We should ensure the NFS job passes to prevent this
in the future.
Change-Id: Ib96d65783607f36e115b6b80af6967d463090fdc
This is to address issues in the cinder-plugin-ceph-tempest* jobs
where a significant number of builds are failing. Symptoms are a
lot of server fault errors, identity error: unexpected status
code 500, and db connection errors in the tempest log. On these
jobs, syslog shows multiple
oom_reaper: reaped process xxxxxxx (mysqld)
lines. Occasionally ceph-osd or ceph-mons are also reaped, but
it's pretty consistently mysqld.
Default swap size is currently 1G. Increase to 4GB was determined
experimentally. (See other patches on topic: increase-swap.)
Change-Id: I3c08f363f5b74e1fe7900f4398bd2cb6df3a80d7
In Zed cycle testing runtime, we are targetting to drop the
python 3.6 support, project started adding python 3.8 as minimum,
example nova:
- 56b5aed08c/setup.cfg (L13)
Change-Id: I1e0d0a43cd166e6cfd4be7ca0f426e9fc3625a28
Port the legacy legacy-tempest-dsvm-multibackend-matrix job to the
native Zuul v3 syntax, and rename it following the guidelines
(cinder-multibackend-matrix-migration).
This job tests the migration between two different backends
specified through the volume.backend_names configuration
key in tempest.conf.
Now the job leverages the existing zuul code, namely the
run-tempest role, which is called multiple times with all
the possible combinations of the 3 tested backends
(lvm, ceph, nfs) where the source and the destination differ.
The final JUnitXML output summarizes the test results
for each of the tested combinations.
Change-Id: I34e7e48ee63c4c269f82ae178a7118ed402cad6d
Configure a gate job for glance using a cinder glance_store
with cinder configured to clone image data directly in the backend
instead of transferring data through glance.
Change-Id: I8a193b1cd6002e11db78c8eebceaa2fbc86a90bc
With cinderv2 API removal, openstacksdk-functional-devstack
was broken(depends-on) which was running the v2 test. Having
this job running in cinder gate like Nova and other project
will help to find such issue in future especially about client side
impact on any code change.
Change-Id: I81c1e0a9dbc5b9e3d1c4e945756b268cfc562895
In this patch:
- adjusted VersionsController to return only v3
- removed cinder.api.v2.router
- adjustments to cinder.tests.unit.api.contrib to use /v3 only
- moved cinder.api.v2.snapshot_metadata (and tests) to cinder.api.v3
- moved cinder.api.v2.types (and view, tests) to cinder.api.v3
- updated versions response in api-ref
- removed unnecessary config option
- updated various sample config files
- removed experimental tempest-cinder-v2-api job
- updated some docs
- updated non-voting rally job config
Some cinder.api.v2 modules are left because the v3 classes depend on
them, but with the v2 router removed, these are unreachable via the
/v2 path.
Depends-on: https://review.opendev.org/c/openstack/rally-openstack/+/794891
(changes rally to use Block Storage API v3)
Depends-on: https://review.opendev.org/c/openstack/requirements/+/794894
(corrects regression in upper-constraint on Sphinx)
Change-Id: I2093d77db9beec7543c7524d2cd273e79dd5fd5d