-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.7
-
None
-
No
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
None
-
False
-
-
None
-
None
-
None
-
None
-
-
x86_64
-
None
Description of problem:
Improve the error info when virt-customize options are used for incompatible guest OS
Version-Release number of selected component (if applicable):
virt-v2v-2.7.1-1.el9.x86_64
libguestfs-1.54.0-3.el9.x86_64
guestfs-tools-1.52.2-2.el9.x86_64
nbdkit-1.38.5-1.el9.x86_64
libnbd-1.20.3-1.el9.x86_64
virtio-win-1.9.43-0.el9_5.noarch
libvirt-libs-10.9.0-1.el9.x86_64
qemu-img-9.1.0-2.el9.x86_64
How reproducible:
100%
Steps:
1. Virt-customize option can't be used for incompatible guest OS, for example --run related option can't be used for windows guests, convert the guest from VMware by v2v and use --run to configure static IPs for windows guest
# virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-win11-efi-contains-scirpt --run /home/2500-0006-network-configure.bat -on esx8.0-win11-efi-contains-scirpt-run-option --mac 00:50:56:a0:b5:f5:network:default [ 0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk esx8.0-win11-efi-contains-scirpt [ 1.9] Opening the source [ 7.2] Inspecting the source [ 11.0] Checking for sufficient free disk space in the guest [ 11.0] Converting Windows 10 Enterprise (win11) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 20.3] Setting a random seed virt-v2v: warning: random seed could not be set for this type of guest [ 20.4] Running: /home/2500-0006-network-configure.bat virt-v2v: warning: log file /builder.log: Guestfs.Error("download: /builder.log: No such file or directory") (ignored) virt-v2v: error: /home/2500-0006-network-configure.bat: command exited with an error If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...]
Actual Result:
The error info is not clear when when virt-customize options are used for incompatible guest OS
Excepted Result:
The error info should be improved when virt-customize options are used for incompatible guest OS
- is cloned by
-
RHEL-67565 Improve the error info when virt-customize options are used for incompatible guest OS [rhel-10.1]
- Planning