Codebase list cinder-tempest-plugin / 8bf7f0b
Merge "zuul: new LVM/nvmet job (relevant scenario)" Zuul authored 3 years ago Gerrit Code Review committed 3 years ago
2 changed file(s) with 58 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1414 voting: false
1515 - cinder-tempest-plugin-lvm-lio-barbican-fips:
1616 voting: false
17 - cinder-tempest-plugin-lvm-nvmet-barbican
1718 - nova-ceph-multistore:
1819 voting: false
1920 - cinder-tempest-plugin-cbak-ceph
3031 gate:
3132 jobs:
3233 - cinder-tempest-plugin-lvm-lio-barbican
34 - cinder-tempest-plugin-lvm-nvmet-barbican
3335 # FIXME: no sense running a non-voting gate job. See comment above.
3436 # - cinder-tempest-plugin-lvm-tgt-barbican
3537 - cinder-tempest-plugin-cbak-ceph
324326 tempest_exclude_regex: 'test_encrypted_cinder_volumes_cryptsetup'
325327
326328 - job:
329 name: cinder-tempest-plugin-lvm-nvmet-barbican
330 description: |
331 This jobs configures Cinder with LVM, nvmet, barbican and
332 runs tempest tests and cinderlib tests. nvmet is
333 configured to use the new connection information format,
334 NVMe-oF native multipathing, and sharing the NVMe-oF
335 namespace for all the connections to the same node.
336 # TODO: switch to cinder-tempest-plugin-lvm-barbican-base
337 # when cinderlib support for NVMe is fixed
338 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
339 pre-run: playbooks/install-multipath.yaml
340 vars:
341 devstack_localrc:
342 CINDER_TARGET_HELPER: nvmet
343 CINDER_TARGET_PROTOCOL: nvmet_tcp
344 TEMPEST_STORAGE_PROTOCOL: nvmeof
345 devstack_local_conf:
346 test-config:
347 $TEMPEST_CONFIG:
348 volume-feature-enabled:
349 # NotImplementedError: Revert volume to snapshot not implemented for thin LVM.
350 volume_revert: False
351 post-config:
352 $NOVA_CONF:
353 libvirt:
354 volume_use_multipath: true
355 $CINDER_CONF:
356 lvmdriver-1:
357 nvmeof_conn_info_version: 2
358 lvm_share_target: true
359 target_secondary_ip_addresses: 127.0.0.1
360 use_multipath_for_image_xfer: true
361
362 - job:
327363 name: cinder-tempest-plugin-lvm-tgt-barbican
328364 description: |
329365 This jobs configures Cinder with LVM, tgt, barbican and
0 - hosts: tempest
1 vars:
2 mpath_package: "{{ 'device-mapper-multipath' if ansible_os_family == 'RedHat' else 'multipath-tools' }}"
3 tasks:
4 - name: Install multipath package on RedHat systems
5 package:
6 name: "{{ mpath_package }}"
7 state: present
8 become: yes
9
10 - name: Create configuration
11 command: mpathconf --enable --with_multipathd y --user_friendly_names n --find_multipaths y
12 args:
13 creates: /etc/multipath.conf
14 become: yes
15
16 - name: Start and enable on boot the multipath daemon
17 service:
18 name: multipathd
19 state: started
20 enabled: yes
21 become: yes