Files
devstack-plugin-ceph/.zuul.yaml
Dr. Jens Harbott 41b6a8c227 Revert "Temporary pin the ceph jobs nodeset to Focal"
This reverts commit 863a01b032.

Partial revert only for the pin to focal, leaves the broken other jobs
commented out.

Update paste-deploy workaround to be used always.
Add qemu-block-extra and podman deps to the debs list.
Running on the newer ceph and distro causes some quite different
performance characteristics that cause tests that used to pass to fail
more often. This includes some performance optimizations to help
reduce the memory footprint, as well as depends on changes to
tempest tests to improve the reliability of those tests by enabling
validation via SSH.

This also moves the cephadm job to be the voting/gating job as that
seems to be the clear consensus about "the future" of how we deploy
ceph for testing.

Depends-On: https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/881764
Co-Authored-By: Dan Smith <dms@danplanet.com>
Change-Id: I899822fec863f43cd6c58b25cf4688c6a3ac1e9b
2023-05-03 12:06:27 -07:00

217 lines
7.6 KiB
YAML

- job:
name: devstack-plugin-ceph-tempest-py3-base
abstract: true
parent: tempest-full-py3
description: |
Base integration tests that runs with the ceph devstack plugin and py3.
Former names for this job where:
* legacy-tempest-dsvm-py35-full-devstack-plugin-ceph
* gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv
The original job included support for an un-used tempest-dsvm-ceph-rc
hosted at /opt/stack/new/nova/devstack/tempest-dsvm-ceph-rc.
required-projects:
- openstack/cinder-tempest-plugin
- openstack/devstack-plugin-ceph
irrelevant-files: &irrelevant-files
- ^.*\.rst$
- ^doc/.*$
- ^tox.ini$
timeout: 7200
vars:
configure_swap_size: 8192
tempest_concurrency: 3
devstack_localrc:
ENABLE_FILE_INJECTION: false
TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
ENABLE_VOLUME_MULTIATTACH: false
TEMPEST_RUN_VALIDATION: True
MYSQL_REDUCE_MEMORY: True
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
devstack_services:
# Disable horizon (inherited from the parent, not needed by the tests executed here)
horizon: false
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_skiplist.txt'
- job:
name: devstack-plugin-ceph-tempest-ubuntu
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin using ceph
packages from the distro.
This job enable the multiattach feature enable from stein on.
vars:
devstack_localrc:
ENABLE_VOLUME_MULTIATTACH: true
- job:
name: devstack-plugin-ceph-tempest-py3
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin using ceph
deployed using cephadm.
vars:
devstack_localrc:
DISABLE_CEPHADM_POST_DEPLOY: True
CEPHADM_DEPLOY: true
- job:
name: devstack-plugin-ceph-compute-local-ephemeral
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin and py3.
This job does not configure Nova to use rbd for ephemeral storage. It
also enables the direct download of images via rbd into the local
imagecache for Nova.
vars:
devstack_local_conf:
post-config:
$NOVA_CONF:
glance:
enable_rbd_download: True
rbd_user: glance
rbd_ceph_conf: /etc/ceph/ceph.conf
rbd_pool: images
libvirt:
images_type: default
- job:
name: devstack-plugin-ceph-cephfs-native
description: |
Runs manila tempest plugin tests with Native CephFS as a manila back
end (DHSS=False)
parent: manila-tempest-plugin-cephfs-native
- job:
name: devstack-plugin-ceph-cephfs-nfs
description: |
Runs manila tempest plugin tests with CephFS via NFS-Ganesha as a manila
back end (DHSS=False)
parent: manila-tempest-plugin-cephfs-nfs
nodeset: devstack-single-node-centos-9-stream
vars:
# TODO(gouthamr): some tests are disabled due to bugs
# IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
# snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
tempest_exclude_regex: "\
(^manila_tempest_tests.tests.scenario.*IPv6.*)|\
(^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
devstack_localrc:
MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
CEPH_RELEASE: "quincy"
MANILA_SETUP_IPV6: false
NEUTRON_CREATE_INITIAL_NETWORKS: true
IP_VERSION: 4
- job:
name: devstack-plugin-ceph-tempest-fedora-latest
parent: devstack-plugin-ceph-tempest-py3
description: |
Integration tests that runs with the ceph devstack plugin on Fedora.
nodeset: devstack-single-node-fedora-latest
voting: false
- job:
name: devstack-plugin-ceph-multinode-tempest-py3
parent: tempest-multinode-full-py3
description: |
Integration tests that runs the ceph device plugin across multiple
nodes on py3.
required-projects:
- openstack/cinder-tempest-plugin
- openstack/devstack-plugin-ceph
timeout: 10800
voting: false
vars:
devstack_localrc:
ENABLE_FILE_INJECTION: false
ENABLE_VOLUME_MULTIATTACH: true
TEMPEST_RUN_VALIDATION: false
CINDER_CEPH_UUID: d531d2d4-3937-429c-b0c2-658fe41e82aa
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
devstack_services:
# Disable horizon (inherited from the parent, not needed by the tests executed here)
horizon: false
tox_envlist: all
tempest_plugins:
- cinder-tempest-plugin
tempest_test_regex: |
(^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_skiplist_multinode.txt'
group-vars:
subnode:
devstack_localrc:
REMOTE_CEPH: true
CINDER_CEPH_UUID: d531d2d4-3937-429c-b0c2-658fe41e82aa
- job:
name: devstack-plugin-ceph-master-tempest
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin
using Ceph master as the backend.
branches: master
vars:
devstack_localrc:
TEST_MASTER: true
- job:
name: devstack-plugin-ceph-multinode-tempest-cephadm
parent: devstack-plugin-ceph-multinode-tempest-py3
description: |
Integration tests that runs the ceph device plugin across multiple
nodes on py3.
The ceph deployment strategy used by this job is cephadm.
vars:
devstack_localrc:
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: false
CEPHADM_DEPLOY: true
tempest_concurrency: 1
- project-template:
name: devstack-plugin-ceph-tempest-jobs
description: |
Runs devstack-plugin-ceph-tempest jobs.
check:
jobs:
- devstack-plugin-ceph-tempest-py3
- devstack-plugin-ceph-tempest-ubuntu:
voting: false
- devstack-plugin-ceph-cephfs-native:
irrelevant-files: *irrelevant-files
voting: false
- devstack-plugin-ceph-cephfs-nfs:
irrelevant-files: *irrelevant-files
voting: false
# - devstack-plugin-ceph-tempest-fedora-latest
# - devstack-plugin-ceph-multinode-tempest-py3
# - devstack-plugin-ceph-multinode-tempest-cephadm:
# voting: false
# - devstack-plugin-ceph-master-tempest:
# voting: false
gate:
jobs:
- devstack-plugin-ceph-tempest-py3
- project:
templates:
- devstack-plugin-ceph-tempest-jobs
- publish-openstack-docs-pti
check:
jobs:
- openstack-tox-bashate
gate:
jobs:
- openstack-tox-bashate
experimental:
jobs:
- devstack-plugin-ceph-compute-local-ephemeral