Bug 1778031
Summary: | RuntimeError: direct upload to host not supported | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Xiaodai Wang <xiaodwan> | ||||
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.2 | CC: | jsuchane, juzhou, mxie, mzhan, nsoffer, ptoscano, rjones, tzheng, virt-bugs, zili | ||||
Target Milestone: | rc | Keywords: | Automation, Upstream | ||||
Target Release: | 8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | V2V | ||||||
Fixed In Version: | libguestfs-1.40.2-21.module+el8.2.0+5851+8d6a931b | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1778029 | Environment: | |||||
Last Closed: | 2020-05-05 09:51:23 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: | 1778029 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Xiaodai Wang
2019-11-29 04:23:51 UTC
Fixed by Nir yesterday in: https://www.redhat.com/archives/libguestfs/2019-November/msg00319.html Created attachment 1640809 [details]
ovirt log
Fixed upstream in: commit 40e1844827e4d096b1919a2159f9effc41915a73 Author: Nir Soffer <nsoffer> Date: Thu Nov 28 20:36:32 2019 +0200 rhv-upload: Fix waiting for transfer Notes to self: this will most probably need also 9863044f5e825e4e29bea0310b1da0e40add579e 8816c5db220f518ef70beec7ac543290e3d5c0c7 d4ca9b6ca42d4ad3c717f5c59402ca6ff5d322bb Verify bug with builds: virt-v2v-1.40.2-21.module+el8.2.0+5851+8d6a931b.x86_64 libguestfs-1.40.2-21.module+el8.2.0+5851+8d6a931b.x86_64 libvirt-6.0.0-5.module+el8.2.0+5765+64816f89.x86_64 qemu-kvm-4.2.0-10.module+el8.2.0+5740+c3dff59e.x86_64 nbdkit-1.16.2-2.module+el8.2.0+5664+dd92f997.x86_64 Steps: 1.Use virt-v2v to convert a guest to rhv with parameter "-oo rhv-direct" # virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-rhel7.6-multi-network --password-file /tmp/passwd -o rhv-upload -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -os nfs_data -op /home/rhvpasswd -oo rhv-cafile=/home/ca.pem -oo rhv-direct=true -oo rhv-cluster=Default [ 0.4] Opening the source -i libvirt -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-rhel7.6-multi-network [ 2.2] Creating an overlay to protect the source from being modified [ 2.7] Opening the overlay [ 25.0] Inspecting the overlay [ 199.5] Checking for sufficient free disk space in the guest [ 199.5] Estimating space required on target for each disk [ 199.5] Converting Red Hat Enterprise Linux Server 7.6 (Maipo) to run on KVM virt-v2v: warning: guest tools directory ‘linux/el7’ is missing from the virtio-win directory or ISO. Guest tools are only provided in the RHV Guest Tools ISO, so this can happen if you are using the version of virtio-win which contains just the virtio drivers. In this case only virtio drivers can be installed in the guest, and installation of Guest Tools will be skipped. virt-v2v: This guest has virtio drivers installed. [1754.9] Mapping filesystem data to avoid copying unused and blank areas [1757.2] Closing the overlay [1757.3] Assigning disks to buses [1757.3] Checking if the guest needs BIOS or UEFI to boot [1757.3] Initializing the target -o rhv-upload -oc https://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/api -op /home/rhvpasswd -os nfs_data [1759.2] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.0RoCqS/nbdkit0.sock", "file.export": "/" } (raw) (100.00/100%) [2811.2] Creating output metadata [2812.7] Finishing off Result:Conversion can be finished successfully and the guests can pass all checkpoints.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-2020:2017 |