teemtee / tmt

Test Management Tool
MIT License
80 stars 122 forks source link

Enable shared disks in specification #1133

Open misacek007 opened 2 years ago

misacek007 commented 2 years ago

This issue as about allowing specification of shared disks as a requirement. Currently it is only possible to specify local disks.

This is hard requirement for tests relying on shared storage. Shared storage is block device that can be seen and accessed on multiple systems under the same uuid. Typically this is directly connected storage array or iSCSI block device.

As an example of components having this requirements is pacemaker cluster or gfs2 filesystem. These components would not be able to use tmt to automate tests without having the possibility to ask for shared device available on multiple test nodes.

Proposed change would be to keep disk spec as it is but allow differentiation of local and shared disk.

The following example would describe the requirement to have two local disks (any size) and two shared disks where one would have the size bigger than 100GB.

- disk:
  - size: >= 100GiB
    shared: True
  - shared: True
  - shared: False
  - shared: False
thrix commented 2 years ago

Hmm, I think we will need to dive into details her, note that we support different infrastructure providers

We need to understand what does the provisioning of shared storage mean in their context?