Bug 1741166
Summary: | Cannot pass block device as virtio-win ISO path | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Pino Toscano <ptoscano> | ||||
Component: | libguestfs | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.1 | CC: | knoel, mtessun, mxie, mzhan, ptoscano, rjones, tgolembi, tzheng, virt-bugs, xiaodwan, zili | ||||
Target Milestone: | rc | ||||||
Target Release: | 8.1 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | V2V | ||||||
Fixed In Version: | libguestfs-1.40.2-13.module+el8.1.0+3975+96069438 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1727164 | Environment: | |||||
Last Closed: | 2019-11-06 07:18:29 UTC | 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: | |||||||
Bug Depends On: | 1727164 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Pino Toscano
2019-08-14 11:57:25 UTC
Test bug with builds: virt-v2v-1.40.2-12.module+el8.1.0+3908+8a8c5ed4.x86_64 libguestfs-1.40.2-12.module+el8.1.0+3908+8a8c5ed4.x86_64 virtio-win-1.9.8-7.el8.noarch Steps: 1.Prepare a rhel8 conversion server,and create a block device as virtio-win ISO path. #losetup /dev/loop0 /usr/share/virtio-win/virtio-win.iso # ll /dev/loop0 brw-rw----. 1 root disk 7, 0 Aug 16 02:33 /dev/loop0 # blockdev --getsize64 /dev/loop0 258799616 # export VIRTIO_WIN=/dev/loop0 2.Use virt-v2v to convert a windows guest and check whether install virtio-drivers during the conversion. # virt-v2v -ic vpx://root.75.182/data/10.73.3.19/?no_verify=1 esx5.5-win2012-x86_64 -o null --password-file /home/passwd [ 0.0] Opening the source -i libvirt -ic vpx://root.75.182/data/10.73.3.19/?no_verify=1 esx5.5-win2012-x86_64 [ 29.8] Creating an overlay to protect the source from being modified [ 30.7] Opening the overlay [ 69.5] Inspecting the overlay [ 242.4] Checking for sufficient free disk space in the guest [ 242.4] Estimating space required on target for each disk [ 242.4] Converting Windows Server 2012 Datacenter to run on KVM virt-v2v: warning: /usr/share/virt-tools/pnp_wait.exe is missing. Firstboot scripts may conflict with PnP. virt-v2v: warning: there are no virtio drivers available for this version of Windows (6.2 x86_64 Server). virt-v2v looks for drivers in /dev/loop0 The guest will be configured to use slower emulated devices. virt-v2v: This guest does not have virtio drivers installed. ^C Result:virt-v2v cannot find drivers from block device. Hi,Pino This bug isn't fixed on rhel8.1 AV.maybe the bug only fixed on rhel7.8,please refer to bug1727164 zili: I would expect this to work. Do you have the full virt-v2v -v -x log? Created attachment 1605627 [details]
Conversion log
(In reply to liuzi from comment #2) > Test bug with builds: > virt-v2v-1.40.2-12.module+el8.1.0+3908+8a8c5ed4.x86_64 > libguestfs-1.40.2-12.module+el8.1.0+3908+8a8c5ed4.x86_64 This version does not have the fix -- you need at least virt-v2v-1.40.2-13 (see the Fixed-In field of this bug). Verify bug with builds: virt-v2v-1.40.2-13.module+el8.1.0+3975+96069438.x86_64 libguestfs-1.40.2-13.module+el8.1.0+3975+96069438.x86_64 virtio-win-1.9.8-7.el8.noarch Steps: 1.Prepare a rhel8 conversion server,and create a block device as virtio-win ISO path. #losetup /dev/loop0 /usr/share/virtio-win/virtio-win.iso # ll /dev/loop0 brw-rw----. 1 root disk 7, 0 Aug 21 23:29 /dev/loop0 # blockdev --getsize64 /dev/loop0 258799616 # export VIRTIO_WIN=/dev/loop0 2.Use virt-v2v to convert a windows guest and check whether install virtio-drivers during the conversion. # virt-v2v -ic vpx://root.75.182/data/10.73.3.19/?no_verify=1 esx5.5-win2012-x86_64 -o null --password-file /home/passwd [ 0.0] Opening the source -i libvirt -ic vpx://root.75.182/data/10.73.3.19/?no_verify=1 esx5.5-win2012-x86_64 [ 30.7] Creating an overlay to protect the source from being modified [ 31.6] Opening the overlay [ 71.2] Inspecting the overlay [ 251.8] Checking for sufficient free disk space in the guest [ 251.8] Estimating space required on target for each disk [ 251.8] Converting Windows Server 2012 Datacenter to run on KVM virt-v2v: warning: /usr/share/virt-tools/pnp_wait.exe is missing. Firstboot scripts may conflict with PnP. virt-v2v: warning: there is no QXL driver for this version of Windows (6.2 x86_64). virt-v2v looks for this driver in /dev/loop0 The guest will be configured to use a basic VGA display driver. virt-v2v: This guest has virtio drivers installed. ^C Result:virt-v2v can find drivers from block device.so change the bug from ON_QA to VERIFIED. 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, 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-2019:3723 |