| - job: |
| name: cinder-storpool-tempest |
| parent: tempest-full |
| pre-run: playbooks/sp-init.yaml |
| run: playbooks/tempest-and-cinderlib-run.yaml |
| post-run: playbooks/sp-cleanup.yaml |
| required-projects: |
| - opendev.org/openstack/cinderlib |
| - opendev.org/openstack/os-brick |
| - opendev.org/openstack/tempest |
| - opendev.org/openstack/cinder-tempest-plugin |
| # - config |
| - sp-osci |
| timeout: 10800 |
| vars: |
| devstack_localrc: |
| CINDER_ENABLED_BACKENDS: storpool:storpool |
| # CINDER_ISCSI_HELPER: tgtadm |
| ENABLE_FILE_INJECTION: false |
| TEMPEST_CONCURRENCY: 2 |
| TEMPEST_EXTEND_ATTACHED_VOLUME: true |
| TEMPEST_PLUGINS: cinder-tempest-plugin |
| TEMPEST_RUN_VALIDATION: false |
| TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true |
| TEMPEST_VOLUME_VENDOR: StorPool |
| # cfg: block |
| # TEMPEST_STORAGE_PROTOCOL: storpool |
| # ENABLE_VOLUME_MULTIATTACH: true |
| # cfg: iscsi |
| TEMPEST_STORAGE_PROTOCOL: iscsi |
| ENABLE_VOLUME_MULTIATTACH: false |
| USE_PYTHON3: True |
| # PYTHON3_VERSION: 3.6 |
| devstack_local_conf: |
| post-config: |
| $CINDER_CONF: |
| storpool: |
| volume_backend_name: storpool |
| volume_driver: cinder.volume.drivers.storpool.StorPoolDriver |
| storpool_template: virtual |
| # enable_unsupported_driver: true |
| # cfg: iscsi |
| iscsi_export_to: "\\\\*" |
| iscsi_portal_group: pg |
| tox_envlist: all |
| tempest_test_regex: | |
| ^cinder_tempest_plugin |
| # (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin)) |
| |
| - project: |
| name: openstack/cinder |
| experimental: |
| jobs: |
| - cinder-storpool-tempest: |
| branches: master |