Skip to content

Releases: linux-system-roles/storage

tag tests that use NVME and SCSI

03 Aug 22:30
fb5b374
Compare
Choose a tag to compare

tag tests that use NVME and SCSI

some test environments like the basic smoke test do not have access to NVME
or SCSI devices. We need to be able to skip these tests.

omit unnecessary conditional - deadcode reported by static scanner

29 Jul 21:31
35fe83d
Compare
Choose a tag to compare

omit unnecessary conditional - deadcode reported by static scanner

The list comprehension does not need the conditional evaluation since
the condition is already checked by the if clause. This code
triggers a warning by a static code checker.

Also adds the scsi and nvme tests for tests_lvm_percent_size
which was added by an earlier commit.

Support percentage-based volume sizes; test NVME and SCSI

28 Jul 21:19
4eb9661
Compare
Choose a tag to compare

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.

Fixed volume relabeling

15 Jul 21:01
9bebbd4
Compare
Choose a tag to compare

Fixed volume relabeling

  • modifying volume label no longer causes test failure
  • added forced udev update which should fix occasional test failures
  • added test

Fixes #99

LVMVDO support

07 Jul 23:26
ec5f2ab
Compare
Choose a tag to compare

LVMVDO support (#181)

  • LVMVDO support
  • added support for LVM VDO
  • new accepted pool options:
    • vdo_compression
    • vdo_deduplication
    • vdo_size
  • added tests for LVM VDO
  • added support for COPR repositories

Several bug fixes; fix lint issues; support EL 9

26 May 20:50
b3b4561
Compare
Choose a tag to compare

Capture inherited volume type in return value.

Be smarter in choosing expected partition name.

Automatically reduce volume size as needed to fit in pool.

Work around udev race by triggering change uevent after create actions.

Look up disks as needed for partition pool device lookup.

Allow lookup of pool by name only.

Fix lint issues

Changes to default parameter handling; other fixes

23 Feb 16:08
485de47
Compare
Choose a tag to compare

Previously, when you did not specify parameters when using the role, the role always used the parameters from defaults/main.yml.
Beginning with version 1.3.0, the role interprets unspecified parameters differently depending on the state of pools and volumes that you operate on:

  • When creating new pools and volumes, unspecified parameters use the default value from defaults/main.yml.
  • When modifying existing pools and volumes, unspecified parameters do not change the settings of the pool or volume. Therefore, to modify an existing pool or volume, you must explicitly specify parameters in the role variables.

Only expect to find LUKS metadata on encrypted volumes.

Fix crash checking for duplicate names when pool has no volumes.

Add empty disk list to pool and volume defaults.

Updated exception message

Confusing error message fix

Non-existent pool removal fix

Changes to support conversion to collections

19 Nov 20:16
e990c1f
Compare
Choose a tag to compare

This contains changes to support conversion to collection as well as some tox/travis fixes. No functionality changes.

Toggling encryption forbidden in safe mode

24 Sep 18:08
15ed304
Compare
Choose a tag to compare

As documented, toggling encryption on a pool or volume is a destructive operation. With this release, it becomes forbidden in safe mode (on by default), because it could lead to an unexpected loss of data.

Support for LUKS, RAID, ext4 resize, swap devices

28 Aug 00:48
81f30ab
Compare
Choose a tag to compare

Support for LUKS encryption management
Support for RAID
Support for ext4 resize
Support for swap device management