blob: afe54915b39e10cc849a79c3b2ba40fff9179431 [file] [log] [blame]
Peter Pentchev8e3d2952022-11-10 18:31:17 +02001- job:
Peter Pentchev251b1f52022-11-18 10:52:30 +02002 name: cinder-storpool-tempest
Peter Pentchev83bbdce2022-11-22 14:45:07 +02003 parent: tempest-full
Peter Pentchev8e3d2952022-11-10 18:31:17 +02004 pre-run: playbooks/sp-init.yaml
5 run: playbooks/tempest-and-cinderlib-run.yaml
6 post-run: playbooks/sp-cleanup.yaml
7 required-projects:
Peter Pentchev1e7ec642022-11-22 14:25:21 +02008 - opendev.org/openstack/cinderlib
9 - opendev.org/openstack/os-brick
10 - opendev.org/openstack/tempest
11 - opendev.org/openstack/cinder-tempest-plugin
12 # - config
Peter Pentchev251b1f52022-11-18 10:52:30 +020013 - sp-osci
Peter Pentchev130ab072022-12-12 23:03:50 +020014 timeout: 10800
Biser Milanov3c8e02d2023-03-14 17:52:51 +020015 secrets:
16 - name: OPENSTACK_DATA
17 secret: OPENSTACK_DATA
Peter Pentchev83bbdce2022-11-22 14:45:07 +020018 vars:
19 devstack_localrc:
20 CINDER_ENABLED_BACKENDS: storpool:storpool
21 # CINDER_ISCSI_HELPER: tgtadm
22 ENABLE_FILE_INJECTION: false
Peter Pentchev83bbdce2022-11-22 14:45:07 +020023 TEMPEST_CONCURRENCY: 2
24 TEMPEST_EXTEND_ATTACHED_VOLUME: true
25 TEMPEST_PLUGINS: cinder-tempest-plugin
26 TEMPEST_RUN_VALIDATION: false
27 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
28 TEMPEST_VOLUME_VENDOR: StorPool
Peter Pentchev83bbdce2022-11-22 14:45:07 +020029 USE_PYTHON3: True
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020030 # cfg: block
31 TEMPEST_STORAGE_PROTOCOL: storpool
32 ENABLE_VOLUME_MULTIATTACH: true
Peter Pentchev83bbdce2022-11-22 14:45:07 +020033 devstack_local_conf:
34 post-config:
35 $CINDER_CONF:
36 storpool:
37 volume_backend_name: storpool
38 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
39 storpool_template: virtual
40 # enable_unsupported_driver: true
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020041 tox_envlist: all
42 tempest_test_regex: |
43 volume
44# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
45
46- job:
47 name: cinder-storpool-tempest-iscsi
48 parent: cinder-storpool-tempest
49 vars:
Peter Pentchev5e96b242023-01-13 14:19:07 +020050 sp_experimental: true
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020051 devstack_localrc:
52 # cfg: iscsi
53 TEMPEST_STORAGE_PROTOCOL: iscsi
54 ENABLE_VOLUME_MULTIATTACH: false
55 devstack_local_conf:
56 post-config:
57 $CINDER_CONF:
58 storpool:
Peter Pentcheve1881c82023-01-03 17:08:23 +020059 # cfg: iscsi
60 iscsi_export_to: "\\\\*"
61 iscsi_portal_group: pg
Peter Pentchev7d277ec2023-02-08 15:21:47 +020062 use_multipath_for_image_xfer: True
63 $NOVA_CONF:
64 libvirt:
65 # cfg: iscsi
66 volume_use_multipath: True
Peter Pentchev61dd8632022-12-12 13:53:14 +020067 tempest_test_regex: |
Peter Pentcheva5783c72023-01-24 08:30:02 +020068 volume|^cinder_tempest_plugin
69# ^cinder_tempest_plugin
Peter Pentchev3dbe2482023-01-03 14:58:00 +020070# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
Peter Pentcheve6834902022-11-10 18:37:29 +020071
Peter Pentchev822af3f2022-12-08 14:51:58 +020072- project:
73 name: openstack/cinder
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020074 check:
Peter Pentchev822af3f2022-12-08 14:51:58 +020075 jobs:
76 - cinder-storpool-tempest:
77 branches: master
Peter Pentchevf95d3ff2023-01-10 01:04:09 +020078 experimental:
79 jobs:
80 - cinder-storpool-tempest-iscsi:
81 branches: master