Bug 1151725
Summary: | virt-v2v: warning: /files/boot/grub/device.map/hd0 references unknown device "sda" when convert a guest with ide bus | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhoujunqin <juzhou> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | codong, dyuan, mbooth, mzhan, ptoscano, tzheng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | V2V | ||
Fixed In Version: | libguestfs-1.28.1-1.12.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 13:46:07 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: |
Description
zhoujunqin
2014-10-11 07:53:00 UTC
I believe the following mega-patch-series should fix this: https://github.com/libguestfs/libguestfs/commit/78f6d3aff59ab0a539b8f2a90b88a2b6f7c994f6 https://github.com/libguestfs/libguestfs/commit/9ebc12572317efe5c1ae83fcb61c7767dec40203 https://github.com/libguestfs/libguestfs/commit/4c7026fb7a7514838a01771abb4c7e62a4e4485f https://github.com/libguestfs/libguestfs/commit/e25f68c47efaab886ada330b7ab596681705b02b https://github.com/libguestfs/libguestfs/commit/b1053150a2da121b3cb8ddc197d0d8e49d930130 https://github.com/libguestfs/libguestfs/commit/467bbf72f74527ca00678cfea80b1785868cd842 I can reproduce this issue with package: libguestfs-1.28.1-1.11.el7.x86_64 virt-v2v-1.28.1-1.11.el7.x86_64 Then try to verify with new build: libguestfs-1.28.1-1.12.el7.x86_64 virt-v2v-1.28.1-1.12.el7.x86_64 Steps: 1. Prepare a guest with ide bus as Comment 0. 2. Use virt-v2v convert guest "rhel6.5-2" to rhevm server: # virt-v2v -o rhev -os 10.66.90.115:/vol/v2v_auto/nfs_export rhel6.5-2 --network rhevm -on juzhou-1151725 -of qcow2 [ 0.0] Opening the source -i libvirt rhel6.5-2 [ 0.0] Creating an overlay to protect the source from being modified [ 0.0] Opening the overlay [ 2.0] Initializing the target -o rhev -os 10.66.90.115:/vol/v2v_auto/nfs_export virt-v2v: warning: cannot write files to the NFS server as 36:36, even though we appear to be running as root. This probably means the NFS client or idmapd is not configured properly. You will have to chown the files that virt-v2v creates after the run, otherwise RHEV-M will not be able to import the VM. [ 2.0] Inspecting the overlay [ 9.0] Checking for sufficient free disk space in the guest [ 9.0] Estimating space required on target for each disk [ 9.0] Converting Red Hat Enterprise Linux Server release 6.5 (Santiago) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 43.0] Mapping filesystem data to avoid copying unused and blank areas [ 44.0] Closing the overlay [ 44.0] Copying disk 1/1 to /tmp/v2v.9uEYqP/594d0565-f687-4ab9-abb7-460daeb837a3/images/898a1271-2321-441e-8d8e-917525ec0d51/83320b8f-665e-4172-91f8-ef36e474dad2 (qcow2) (100.00/100%) [ 112.0] Creating output metadata [ 112.0] Finishing off Result: Conversion finished without warning message "virt-v2v: warning: /files/boot/grub/device.map/hd0 references unknown device "sda" showing. 3. Import guest on rhevm server. Result: guest can boot up with no error. # cat /boot/grub/device.map # this device map was generated by anaconda (hd0) /dev/vda So move this 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://rhn.redhat.com/errata/RHBA-2015-0303.html |