Bug 2216279

Summary: lvm_import_vdo fails with vdo command not found
Product: Red Hat Enterprise Linux 9 Reporter: Charles Timko <ctimko>
Component: lvm2Assignee: LVM Team <lvm-team>
lvm2 sub component: VDO QA Contact: cluster-qe <cluster-qe>
Status: NEW --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: agk, awalsh, bstinson, heinzm, jbrassow, jwboyer, prajnoha, zkabelac
Version: CentOS Stream   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Charles Timko 2023-06-20 17:32:37 UTC
Description of problem:
Running on an upgrade from CS8 to CS9, and I'm running into an issue with my VDO disk import. It appears that the script `lvm_import_vdo` relies on the `vdo` script but it is was deprecated and removed.

Version-Release number of selected component (if applicable):
2.03.21-1

How reproducible:
Run lvm_import_vdo and observe error.

Steps to Reproduce:
1. `# lvm_import_vdo --dry-run <known-vdo-volume-created-in-CS8>`

Actual results:

[root@core ~]# lvm_import_vdo --dry-run /dev/md1
lvm_import_vdo: Checked whether device /dev/md1 is already LV (0).
lvm_import_vdo: Getting YAML VDO configuration.
/sbin/lvm_import_vdo: line 278: vdo: command not found


Expected results:

Successful import.

Additional info:

Comment 1 Zdenek Kabelac 2023-06-20 17:39:38 UTC
Yep -  'lvm_import_vdo' is only working on RHEL8 -  and ATM is currently not usable on RHEL9 - as this distribution no longer provides 'vdo' manager.

Users of RHEL8 are supposed to upgrade their VDO volumes *before* they switch to RHEL9.


Packaging of lvm2 likely should be complaint and not package this conversion script for RHEL9 package.

Comment 3 Charles Timko 2023-06-20 17:49:14 UTC
[removed-accidental double submission]