Peter Pentchev | 8e3d295 | 2022-11-10 18:31:17 +0200 | [diff] [blame] | 1 | - job: |
Peter Pentchev | 251b1f5 | 2022-11-18 10:52:30 +0200 | [diff] [blame] | 2 | name: cinder-storpool-tempest |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 3 | parent: tempest-full |
Peter Pentchev | 8e3d295 | 2022-11-10 18:31:17 +0200 | [diff] [blame] | 4 | 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 Pentchev | 1e7ec64 | 2022-11-22 14:25:21 +0200 | [diff] [blame] | 8 | - 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 Pentchev | 251b1f5 | 2022-11-18 10:52:30 +0200 | [diff] [blame] | 13 | - sp-osci |
Peter Pentchev | 130ab07 | 2022-12-12 23:03:50 +0200 | [diff] [blame] | 14 | timeout: 10800 |
Biser Milanov | 3c8e02d | 2023-03-14 17:52:51 +0200 | [diff] [blame] | 15 | secrets: |
| 16 | - name: OPENSTACK_DATA |
| 17 | secret: OPENSTACK_DATA |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 18 | vars: |
Biser Milanov | fb3a5d5 | 2023-05-12 17:28:03 +0300 | [diff] [blame] | 19 | do_storprep: true |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 20 | devstack_localrc: |
| 21 | CINDER_ENABLED_BACKENDS: storpool:storpool |
| 22 | # CINDER_ISCSI_HELPER: tgtadm |
| 23 | ENABLE_FILE_INJECTION: false |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 24 | TEMPEST_CONCURRENCY: 2 |
| 25 | TEMPEST_EXTEND_ATTACHED_VOLUME: true |
| 26 | TEMPEST_PLUGINS: cinder-tempest-plugin |
| 27 | TEMPEST_RUN_VALIDATION: false |
| 28 | TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true |
| 29 | TEMPEST_VOLUME_VENDOR: StorPool |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 30 | USE_PYTHON3: True |
Peter Pentchev | f95d3ff | 2023-01-10 01:04:09 +0200 | [diff] [blame] | 31 | # cfg: block |
| 32 | TEMPEST_STORAGE_PROTOCOL: storpool |
| 33 | ENABLE_VOLUME_MULTIATTACH: true |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 34 | devstack_local_conf: |
Biser Milanov | 6309b04 | 2023-06-27 16:02:34 +0300 | [diff] [blame] | 35 | test-config: |
Biser Milanov | b3ff519 | 2023-06-27 17:01:14 +0300 | [diff] [blame] | 36 | $TEMPEST_CONFIG: |
| 37 | validation: |
| 38 | run_validation: true |
Peter Pentchev | 83bbdce | 2022-11-22 14:45:07 +0200 | [diff] [blame] | 39 | post-config: |
| 40 | $CINDER_CONF: |
| 41 | storpool: |
| 42 | volume_backend_name: storpool |
| 43 | volume_driver: cinder.volume.drivers.storpool.StorPoolDriver |
| 44 | storpool_template: virtual |
| 45 | # enable_unsupported_driver: true |
Peter Pentchev | f95d3ff | 2023-01-10 01:04:09 +0200 | [diff] [blame] | 46 | tox_envlist: all |
| 47 | tempest_test_regex: | |
| 48 | volume |
| 49 | # (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin)) |
| 50 | |
| 51 | - job: |
Biser Milanov | be5ddba | 2023-06-02 09:15:21 +0300 | [diff] [blame] | 52 | name: cinder-storpool-tempest-experimental |
| 53 | parent: cinder-storpool-tempest |
| 54 | vars: |
| 55 | sp_experimental: true |
| 56 | |
| 57 | - job: |
Peter Pentchev | f95d3ff | 2023-01-10 01:04:09 +0200 | [diff] [blame] | 58 | name: cinder-storpool-tempest-iscsi |
| 59 | parent: cinder-storpool-tempest |
| 60 | vars: |
Peter Pentchev | 5e96b24 | 2023-01-13 14:19:07 +0200 | [diff] [blame] | 61 | sp_experimental: true |
Biser Milanov | fb3a5d5 | 2023-05-12 17:28:03 +0300 | [diff] [blame] | 62 | do_storprep: true |
Peter Pentchev | f95d3ff | 2023-01-10 01:04:09 +0200 | [diff] [blame] | 63 | devstack_localrc: |
| 64 | # cfg: iscsi |
| 65 | TEMPEST_STORAGE_PROTOCOL: iscsi |
| 66 | ENABLE_VOLUME_MULTIATTACH: false |
| 67 | devstack_local_conf: |
| 68 | post-config: |
| 69 | $CINDER_CONF: |
| 70 | storpool: |
Peter Pentchev | e1881c8 | 2023-01-03 17:08:23 +0200 | [diff] [blame] | 71 | # cfg: iscsi |
| 72 | iscsi_export_to: "\\\\*" |
| 73 | iscsi_portal_group: pg |
Peter Pentchev | 7d277ec | 2023-02-08 15:21:47 +0200 | [diff] [blame] | 74 | use_multipath_for_image_xfer: True |
| 75 | $NOVA_CONF: |
| 76 | libvirt: |
| 77 | # cfg: iscsi |
| 78 | volume_use_multipath: True |
Peter Pentchev | 61dd863 | 2022-12-12 13:53:14 +0200 | [diff] [blame] | 79 | tempest_test_regex: | |
Peter Pentchev | a5783c7 | 2023-01-24 08:30:02 +0200 | [diff] [blame] | 80 | volume|^cinder_tempest_plugin |
| 81 | # ^cinder_tempest_plugin |
Peter Pentchev | 3dbe248 | 2023-01-03 14:58:00 +0200 | [diff] [blame] | 82 | # (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin)) |
Peter Pentchev | e683490 | 2022-11-10 18:37:29 +0200 | [diff] [blame] | 83 | |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 84 | - nodeset: |
Biser Milanov | 7ff8de9 | 2023-08-03 22:17:30 +0300 | [diff] [blame] | 85 | name: ubuntu2004-openstack-multi-node-mixed |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 86 | nodes: |
| 87 | - name: controller |
| 88 | label: os-ubuntu2004-large |
| 89 | - name: undercloud-client |
| 90 | label: os-ubuntu2004-small |
| 91 | - name: lab-sp-a1 |
| 92 | label: os-ubuntu2004-large |
| 93 | groups: |
| 94 | - name: tempest |
| 95 | nodes: |
| 96 | - controller |
| 97 | |
Biser Milanov | 7e9fbe6 | 2023-08-03 22:20:43 +0300 | [diff] [blame] | 98 | - nodeset: |
| 99 | name: ubuntu2204-openstack-multi-node-mixed |
| 100 | nodes: |
| 101 | - name: controller |
| 102 | label: os-ubuntu2204-large |
| 103 | - name: undercloud-client |
| 104 | label: os-ubuntu2204-small |
| 105 | - name: lab-sp-a1 |
| 106 | label: os-ubuntu2204-large |
| 107 | groups: |
| 108 | - name: tempest |
| 109 | nodes: |
| 110 | - controller |
| 111 | |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 112 | - job: |
| 113 | name: cinder-storpool-tempest-iscsi-multipath-parent |
| 114 | parent: tempest-full |
| 115 | pre-run: |
| 116 | - playbooks/sp-init.yaml |
| 117 | - playbooks/setup-openstack-client/pre.yaml |
| 118 | - playbooks/setup-openstack-iscsi-multipath/pre.yaml |
| 119 | - playbooks/setup-openstack-iscsi-multipath-storpool/pre.yaml |
| 120 | run: playbooks/tempest-and-cinderlib-run.yaml |
Biser Milanov | 5c41820 | 2023-08-31 11:37:54 +0300 | [diff] [blame] | 121 | cleanup-run: |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 122 | - playbooks/setup-openstack-iscsi-multipath-storpool/post.yaml |
| 123 | - playbooks/setup-openstack-iscsi-multipath/post.yaml |
| 124 | - playbooks/setup-openstack-client/post.yaml |
| 125 | - playbooks/sp-cleanup.yaml |
| 126 | required-projects: |
| 127 | - opendev.org/openstack/cinderlib |
| 128 | - opendev.org/openstack/os-brick |
| 129 | - opendev.org/openstack/tempest |
| 130 | - opendev.org/openstack/cinder-tempest-plugin |
| 131 | # - config |
| 132 | - sp-osci |
| 133 | timeout: 10800 |
Biser Milanov | 4cf8033 | 2023-09-04 13:54:28 +0300 | [diff] [blame^] | 134 | nodeset: ubuntu2204-openstack-multi-node-mixed |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 135 | attempts: 1 |
| 136 | secrets: |
| 137 | # openstack-client |
| 138 | - name: OPENSTACK_DATA |
| 139 | secret: OPENSTACK_DATA |
| 140 | - name: RESOLVED_DATA |
| 141 | secret: RESOLVED_DATA |
| 142 | |
| 143 | # openstack-iscsi-multipath-storpool |
| 144 | - name: STORPOOL_DEPLOY_KEY |
| 145 | secret: STORPOOL_DEPLOY_KEY |
| 146 | - name: STORPOOL_DEPLOY_KEY_PUB |
| 147 | secret: STORPOOL_DEPLOY_KEY_PUB |
| 148 | - name: STORPOOL_INVENTORY |
| 149 | secret: STORPOOL_INVENTORY |
| 150 | - name: STORPOOL_NETPLAN |
| 151 | secret: STORPOOL_NETPLAN |
| 152 | - name: STORPOOL_NETPLAN_SERVICE |
| 153 | secret: STORPOOL_NETPLAN_SERVICE |
| 154 | - name: STORPOOL_CONF |
| 155 | secret: STORPOOL_CONF |
| 156 | - name: STORPOOL_CONF_ISCSI_NODE |
| 157 | secret: STORPOOL_CONF_ISCSI_NODE |
| 158 | - name: ISCSI_NODE_SYSTEMD_NETWORKD |
| 159 | secret: ISCSI_NODE_SYSTEMD_NETWORKD |
| 160 | |
| 161 | vars: |
| 162 | os_venv: "~/sp-venv-openstack" |
Biser Milanov | d33c46e | 2023-06-28 10:29:29 +0300 | [diff] [blame] | 163 | zuul_copy_output: |
| 164 | /etc/multipath.conf: logs_txt |
| 165 | /etc/iscsi/iscsid.conf: logs_txt |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 166 | devstack_localrc: |
| 167 | CINDER_ENABLED_BACKENDS: storpool:storpool |
| 168 | # CINDER_ISCSI_HELPER: tgtadm |
| 169 | ENABLE_FILE_INJECTION: false |
| 170 | TEMPEST_CONCURRENCY: 2 |
| 171 | TEMPEST_EXTEND_ATTACHED_VOLUME: true |
| 172 | TEMPEST_PLUGINS: cinder-tempest-plugin |
| 173 | TEMPEST_RUN_VALIDATION: false |
| 174 | TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true |
| 175 | TEMPEST_VOLUME_VENDOR: StorPool |
| 176 | USE_PYTHON3: True |
| 177 | # cfg: block |
| 178 | TEMPEST_STORAGE_PROTOCOL: storpool |
| 179 | ENABLE_VOLUME_MULTIATTACH: true |
| 180 | devstack_local_conf: |
Biser Milanov | 2cbee02 | 2023-06-28 00:27:09 +0300 | [diff] [blame] | 181 | test-config: |
| 182 | $TEMPEST_CONFIG: |
| 183 | validation: |
| 184 | run_validation: true |
Biser Milanov | dd597bc | 2023-05-12 17:42:11 +0300 | [diff] [blame] | 185 | post-config: |
| 186 | $CINDER_CONF: |
| 187 | storpool: |
| 188 | volume_backend_name: storpool |
| 189 | volume_driver: cinder.volume.drivers.storpool.StorPoolDriver |
| 190 | storpool_template: virtual |
| 191 | # enable_unsupported_driver: true |
| 192 | tox_envlist: all |
| 193 | tempest_test_regex: | |
| 194 | volume |
| 195 | # (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin)) |
| 196 | |
| 197 | - job: |
| 198 | name: cinder-storpool-tempest-iscsi-multipath |
| 199 | parent: cinder-storpool-tempest-iscsi-multipath-parent |
| 200 | vars: |
| 201 | sp_experimental: true |
| 202 | devstack_localrc: |
| 203 | # cfg: iscsi |
| 204 | TEMPEST_STORAGE_PROTOCOL: iscsi |
| 205 | ENABLE_VOLUME_MULTIATTACH: false |
| 206 | devstack_local_conf: |
| 207 | post-config: |
| 208 | $CINDER_CONF: |
| 209 | storpool: |
| 210 | # cfg: iscsi |
| 211 | iscsi_export_to: "\\\\*" |
| 212 | iscsi_portal_group: pg |
| 213 | use_multipath_for_image_xfer: True |
| 214 | $NOVA_CONF: |
| 215 | libvirt: |
| 216 | # cfg: iscsi |
| 217 | volume_use_multipath: True |
| 218 | tempest_test_regex: | |
| 219 | volume|^cinder_tempest_plugin |
| 220 | # ^cinder_tempest_plugin |
| 221 | # (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin)) |
| 222 | |
Biser Milanov | 7118bb4 | 2023-08-03 10:54:45 +0300 | [diff] [blame] | 223 | - job: |
| 224 | name: kolla-cinder-storpool-tempest-iscsi-multipath |
| 225 | pre-run: |
| 226 | - playbooks/setup-openstack-client/pre.yaml |
| 227 | - playbooks/setup-openstack-iscsi-multipath/pre.yaml |
| 228 | - playbooks/setup-openstack-iscsi-multipath-storpool/pre.yaml |
| 229 | - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/pre.yaml |
Biser Milanov | 5482b62 | 2023-08-04 10:12:15 +0300 | [diff] [blame] | 230 | run: playbooks/kolla-setup-openstack-iscsi-multipath-storpool/run.yaml |
Biser Milanov | 5c41820 | 2023-08-31 11:37:54 +0300 | [diff] [blame] | 231 | cleanup-run: |
Biser Milanov | 7118bb4 | 2023-08-03 10:54:45 +0300 | [diff] [blame] | 232 | - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/post.yaml |
| 233 | - playbooks/setup-openstack-iscsi-multipath-storpool/post.yaml |
| 234 | - playbooks/setup-openstack-iscsi-multipath/post.yaml |
| 235 | - playbooks/setup-openstack-client/post.yaml |
| 236 | required-projects: |
| 237 | - opendev.org/openstack/tempest |
| 238 | timeout: 10800 |
Biser Milanov | 6a53ec8 | 2023-08-03 22:27:52 +0300 | [diff] [blame] | 239 | nodeset: ubuntu2204-openstack-multi-node-mixed |
Biser Milanov | 7118bb4 | 2023-08-03 10:54:45 +0300 | [diff] [blame] | 240 | attempts: 1 |
| 241 | secrets: |
| 242 | # openstack-client |
| 243 | - name: OPENSTACK_DATA |
| 244 | secret: OPENSTACK_DATA |
| 245 | - name: RESOLVED_DATA |
| 246 | secret: RESOLVED_DATA |
| 247 | |
| 248 | # openstack-iscsi-multipath-storpool |
| 249 | - name: STORPOOL_DEPLOY_KEY |
| 250 | secret: STORPOOL_DEPLOY_KEY |
| 251 | - name: STORPOOL_DEPLOY_KEY_PUB |
| 252 | secret: STORPOOL_DEPLOY_KEY_PUB |
| 253 | - name: STORPOOL_INVENTORY |
| 254 | secret: STORPOOL_INVENTORY |
| 255 | - name: STORPOOL_NETPLAN |
| 256 | secret: STORPOOL_NETPLAN |
| 257 | - name: STORPOOL_NETPLAN_SERVICE |
| 258 | secret: STORPOOL_NETPLAN_SERVICE |
| 259 | - name: STORPOOL_CONF |
| 260 | secret: STORPOOL_CONF |
| 261 | - name: STORPOOL_CONF_ISCSI_NODE |
| 262 | secret: STORPOOL_CONF_ISCSI_NODE |
| 263 | - name: ISCSI_NODE_SYSTEMD_NETWORKD |
| 264 | secret: ISCSI_NODE_SYSTEMD_NETWORKD |
| 265 | vars: |
| 266 | os_venv: "~/sp-venv-openstack" |
| 267 | zuul_copy_output: |
| 268 | /etc/multipath.conf: logs_txt |
| 269 | /etc/iscsi/iscsid.conf: logs_txt |
Biser Milanov | 434036a | 2023-08-04 17:22:28 +0300 | [diff] [blame] | 270 | kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy-pre-release" |
| 271 | kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy-pre-release" |
Biser Milanov | 7118bb4 | 2023-08-03 10:54:45 +0300 | [diff] [blame] | 272 | tempest_test_regex: volume |
| 273 | |
Biser Milanov | 3b71c7c | 2023-09-04 09:58:40 +0300 | [diff] [blame] | 274 | #- project: |
| 275 | # name: openstack/cinder |
| 276 | # check: |
| 277 | # jobs: |
| 278 | # - cinder-storpool-tempest: |
| 279 | # branches: master |
| 280 | # - cinder-storpool-tempest-iscsi-multipath: |
| 281 | # branches: master |
Biser Milanov | 7fb0734 | 2023-08-03 11:58:09 +0300 | [diff] [blame] | 282 | # experimental: |
| 283 | # jobs: |
| 284 | # #- cinder-storpool-tempest-experimental: |
| 285 | # # branches: master |
| 286 | # #- cinder-storpool-tempest-iscsi: |
| 287 | # # branches: master |
Biser Milanov | fd89033 | 2023-07-04 10:05:22 +0300 | [diff] [blame] | 288 | |
| 289 | - project: |
| 290 | name: openstack/os-brick |
| 291 | check: |
| 292 | jobs: |
Biser Milanov | 46d2873 | 2023-09-04 09:57:27 +0300 | [diff] [blame] | 293 | - cinder-storpool-tempest-iscsi-multipath: |
Biser Milanov | fd89033 | 2023-07-04 10:05:22 +0300 | [diff] [blame] | 294 | branches: master |
Biser Milanov | 7fb0734 | 2023-08-03 11:58:09 +0300 | [diff] [blame] | 295 | |
| 296 | - project: |
| 297 | name: kolla-experiments |
| 298 | check: |
| 299 | jobs: |
| 300 | - kolla-cinder-storpool-tempest-iscsi-multipath: |
| 301 | branches: master |