-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.3.0
-
Normal
-
sst_virtualization
-
ssg_virtualization
-
5
-
False
-
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
Virt-v2v can't convert guest with LUKS and software RAID1
Version-Release number of selected component (if applicable):
virt-v2v-2.2.0-5.el9.x86_64
libguestfs-1.50.1-3.el9.x86_64
nbdkit-server-1.33.11-1.el9.x86_64
libnbd-1.15.12-1.el9.x86_64
libvirt-daemon-9.1.0-1.el9.x86_64
qemu-img-7.2.0-14.el9_2.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Prepare a linux guest with LUKS and RAID1 on VMware
- lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 16G 0 disk
├─sda1 8:1 0 14G 0 part
│ └─md127 9:127 0 14G 0 raid1
│ └─luks-f544246f-8e5a-4007-996b-373eb92068dc 253:2 0 13.9G 0 crypt /
├─sda2 8:2 0 1G 0 part
│ └─md126 9:126 0 1022M 0 raid1 /boot
└─sda3 8:3 0 1G 0 part
└─rhel_vm-212-143-swap 253:0 0 2G 0 lvm
└─luks-178f7943-a400-48b3-bd67-eca57b0ba62b 253:1 0 2G 0 crypt [SWAP]
sdb 8:16 0 16G 0 disk
├─sdb1 8:17 0 14G 0 part
│ └─md127 9:127 0 14G 0 raid1
│ └─luks-f544246f-8e5a-4007-996b-373eb92068dc 253:2 0 13.9G 0 crypt /
├─sdb2 8:18 0 1G 0 part
│ └─md126 9:126 0 1022M 0 raid1 /boot
└─sdb3 8:19 0 1G 0 part
└─rhel_vm-212-143-swap 253:0 0 2G 0 lvm
└─luks-178f7943-a400-48b3-bd67-eca57b0ba62b 253:1 0 2G 0 crypt [SWAP]
sr0
2.Use virt-v2v to convert the guest from VMware
- virt-v2v -ic vpx://root@10.73.212.149/data/10.73.212.36/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.0 -io vddk-thumbprint=D1:03:96:7E:11:3D:7C:4C:B6:50:28:1B:63:74:B5:40:5F:9D:9F:94 -ip /home/passwd -o rhv-upload -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data esx8.0-rhel9.2-raid1-with-luks-redhat123
[ 0.2] Setting up the source: -i libvirt -ic vpx://root@10.73.212.149/data/10.73.212.36/?no_verify=1 -it vddk esx8.0-rhel9.2-raid1-with-luks-redhat123
[ 3.2] Opening the source
Enter key or passphrase ("/dev/rhel_vm-212-143/swap"):
[ 25.3] Inspecting the source
virt-v2v: error: inspection could not detect the source guest (or physical
machine).
Assuming that you are running virt-v2v/virt-p2v on a source which is
supported (and not, for example, a blank disk), then this should not
happen.
No root device found in this operating system image.
If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:
virt-v2v -v -x [...]
Actual results:
As above description
Expected results:
Virt-v2v can convert guest with LUKS and software RAID1
Additional info:
- external trackers