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
In Change-ID I8db34f31d35375dc9656d53ac7af644c28a3d3fe we updated
api-ref samples, but functional tests didn't run so we didn't detect
that those samples changes broke our functional tests.
This patch fixes the functional tests, updates remaining cases of
key_size, and enables functional tests for api-ref changes to prevent
this from happening again.
Change-Id: I2a1f3121458c2db5e389dbcf31b34d412ffcd561
- set the parent job to the multinode variant of the base
devstack-plugin-ceph tempest job. This way the nodeset
is set automatically based on what devstack supports
(currently focal, instead of the replaced bionic);
- set the devstack variable TEMPEST_VOLUME_REVERT_TO_SNAPSHOT
(available since stein) instead of directly setting
the tempest configuration.
Change-Id: Ic32d56b2f3a2c3f1f3345ba49f7b82b6c344f9f4
cinder-plugin-ceph-tempest-mn-aa had no irrelevant-files definition,
while cinder-tempest-plugin-lvm-lio-barbican used the list
meant for functional tests.
Both need to use the same definition shared by the other devstack
jobs (gate-irrelevant-files).
Change-Id: I83d358554ed1f1f38bef41d2375a79fe45151718
As per victoria cycle testing runtime and community goal,
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Bump lower constraints to make testing work for Focal.
Co-Author: tushargite96 <tushargite96@gmail.com>
Story: #2007865
Task: #40179
Change-Id: I5f37fb5611362e550610e2094d9cb3778548bf47
l-c job template moved the l-c jobs running on Focal
and currently fails on many constraints.
Let's keep running l-c job on bionic as it was before and we
can move it to Focal once issues are identified and fixed.
Change-Id: I90ff9ad59f27b6ed064a7472e79d9257b11d54d3
Specialize the grenade-multinode job and test the variations
on upgrade where a few services are available on the subnode only
(c-bak only, c-bak+c-vol, c-bak+c-sch+c-vol).
Also, use grenade instead of grenade-py3. The former is now used
(after Iea355514ec7cc2a52ed5e88c356bcb1cdeadd639) in
integrated-gate-storage instead of the latter, which means
that we need to change it in order to apply the value of
irrelevant-files.
Depends-On: https://review.opendev.org/548936
Change-Id: I3eac1afcbb69e25e9b2a916910caf3291aa7c1fe
As part of Victoria, the highest python version to support is now Python
3.8. See [0] for full details of the expected runtimes to support.
This switches over functional testing to use 3.8 and updates the
projects metadata to declare 3.8 as a supported runtime.
[0] https://governance.openstack.org/tc/reference/runtimes/victoria.html
Change-Id: Ica2dade49a65e749acc701bc16127809a7f079d6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
We note here that although this operation is implemented in the
Ceph backend, the Ceph docs indicate that it is inefficient and the
preferred method of returning to a known previous state is to clone
from a snapshot. However, this is properly a backend operation, and
it does not make sense to try to do it better in the driver than it
can be done on the backend.
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
Implements: bp rbd-revert-to-snapshot
Change-Id: If8a5eb3a03e18f9043ff29f7648234c9b46376a0