Bug 2004999

Summary: [RFE] Create a tool to convert native VDO volumes to LVM-managed VDO volumes [rhel-8.6.0]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
lvm2 sub component: VDO QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: urgent CC: agk, awalsh, cmarthal, heinzm, jbrassow, jshimkus, lmiksik, mcsontos, prajnoha, zkabelac
Version: 8.0Keywords: FutureFeature, Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.03.14-1.el8 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1930261 Environment:
Last Closed: 2022-05-10 15:21:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1930261    
Bug Blocks:    

Comment 1 Zdenek Kabelac 2021-09-22 14:36:18 UTC
Fixed upstream 2.03.14

Comment 3 Corey Marthaler 2021-11-09 15:40:56 UTC
Marking Verified:Tested based on the completion of the following regression scenarios.

kernel-4.18.0-348.4.el8.kpq0    BUILT: Wed Oct 27 15:00:32 CDT 2021
lvm2-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
lvm2-libs-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
vdo-6.2.5.74-14.el8    BUILT: Fri Aug 20 17:56:40 CDT 2021
kmod-kvdo-6.2.5.72-81.8_6.el8    BUILT: Tue Oct 12 10:43:50 CDT 2021


SCENARIO - [attempt_non_existence_device_conversion]
Test the conversion attempt of a non existent device

SCENARIO - [attempt_existent_non_vdo_device_conversion]
Test the conversion attempt of an existent but non vdo device

SCENARIO - [basic_vdo_create_and_convert_to_lvm]
Test the basic conversion of an existent vdo volume to lvm2 using the device name

SCENARIO - [basic_already_stopped_vdo_create_and_convert_to_lvm]
Test the basic conversion of an existent, but stopped vdo volume to lvm2 using the device name

SCENARIO - [xfs_io_vdo_create_and_convert_to_lvm]
Test the data populated conversion of an xfs + vdo volume to lvm

SCENARIO - [ext3_io_vdo_create_and_convert_to_lvm]
Test the data populated conversion of an ext3 + vdo volume to lvm

SCENARIO - [ext4_io_vdo_create_and_convert_to_lvm]
Test the basic conversion of an existent vdo volume to lvm2 using the device name

SCENARIO - [gfs2_io_vdo_create_and_convert_to_lvm]
Test the data populated conversion of an gfs2 + vdo volume to lvm

SCENARIO - [vdo_create_and_convert_to_lvm_full_vdoconf_path]
Test the conversion of an existent vdo volume to lvm2 using the full device path listed in vdoconf.yml

SCENARIO - [vdo_convert_to_lvm_with_given_vg_and_lv_name]
Test the conversion of an existent vdo volume to lvm using a specified (non default) vg and lv name

SCENARIO - [attempt_no_flag_answer_to_lvm_import_vdo_convert]
Test the proceedure for answering no to the lvm_import_vdo conversion question midway through the process (1988504)

SCENARIO - [multiple_vdo_create_and_convert_with_named_vg_operations]
Test the conversion of an existent vdo volume to lvm2 while supplying a vg name to use

SCENARIO - [attempt_in_use_vdovg_name_lvm_import_vdo_convert]
Test the proceedure for converting a second vdo volume when the default name is already in use (1986915)

SCENARIO - [attempt_in_use_lv_name_lvm_import_vdo_convert]
Test the proceedure for converting a vdo volume when the default lv names are already in use (1986915)

SCENARIO - [multi_device_lvm_raid_lvm_import_vdo_convert_default_name]
Test the conversion of a vdo stack on a multi device lvm raid volume (1987024)

SCENARIO - [lvm_linear_lvm_import_vdo_convert_non_default_name]
Test the conversion of a non default name vdo stack on a multi device lvm linear volume

SCENARIO - [vdo_convert_dry_run]
Test the various dry-run conversion options of an existent vdo volume to lvm (bug 1989650)

SCENARIO - [vdo_convert_dry_run_failure_attempts]
Test the various dry-run conversion options in given invalid devices

SCENARIO - [multi_device_md_raid_lvm_import_vdo_convert]
Test the conversion of a vdo stack on a multi device md raid volume

SCENARIO - [crypt_device_lvm_import_vdo_convert]
Test the conversion of a vdo stack on a luks volume

SCENARIO - [large_vdo_logical_size_convert_to_lvm]
Test the basic conversion of a large (4t) logical sized existent vdo volume to lvm (1996227)

SCENARIO - [small_vdo_logical_size_convert_to_lvm]
Test the basic conversion of a small (3k, 8k, 10k) logical sized existent vdo volume to lvm (1996227|2005006)

SCENARIO - [in_use_vdo_conversion_attempt]
Attempt to convert an in-use mounted vdo volume to lvm (bug 2005449)

Comment 7 Corey Marthaler 2021-12-01 19:44:31 UTC
Marking verified based on the completion of the above regression scenarios on the latest kernel.

kernel-4.18.0-353.el8    BUILT: Thu Nov 25 15:02:09 CST 2021
lvm2-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
lvm2-libs-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021

Comment 9 errata-xmlrpc 2022-05-10 15:21:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (lvm2 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2038