github linux-system-roles/storage 1.5.0
Support percentage-based volume sizes; test NVME and SCSI

latest releases: 1.18.7, 1.18.6, 1.18.5...
3 years ago

Added support for NVME and SCSI HW test setup

This change serves to cover the gap in testing until CI rework is complete.
CI currently does not support creation of multiple VMs to run the tests
with different hardware settings. To overcome this, provision.fmf will now create
single VM with triple the amount of disks - additional disks will use NVME and SCSI respectively.
find_unused_disk will filter its results by specified interface.

New script generate_tests.py was added. It automatically generates new test playbooks based
on discovered tests_*.yml files.

Two additional scripts in /tests/scripts directory pre-commit and post-commit are prepared
git hooks that ensure that tests are properly generated and added to each new commit.

However these two scripts have to be manually copied to <storage_role_repo>/.git/hooks/ and made
executable for the hook to work.

skip vdo test if kernel module is not loadable

The vdo kernel module is an "out of tree" module which means that it
may not be available if the vdo module version does not match the
current kernel version. In that case, skip the vdo test so that we
don't get a false positive test result.

Add support for percentage-based volume sizes.

Volume sizes of the form 'XX%' (where 'XX' is an integer no greater
than 100) will be intepreted as a percentage of the size of the pool
that will contain the volume.

Simplify conditionals in volume size verification routines.

Handle int sizes such as default of 0 for a disk size.

Allow a tolerance of up to 1% when verifying volume size in tests.

Don't miss a new storage release

NewReleases is sending notifications on new releases.