Bug 868073
| Summary: | Convert windows guest fail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | yuping zhang <yupzhang> | ||||
| Component: | virt-v2v | Assignee: | Matthew Booth <mbooth> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.4 | CC: | dyasny, lcui, mzhan, rjones, rwu, tzheng | ||||
| Target Milestone: | rc | Keywords: | TestBlocker | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Windows | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | virt-v2v-0.8.9-2.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Documentation not required. This bug did not appear in RHEL.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-21 10:59:30 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: | |||||||
| Attachments: |
|
||||||
|
Description
yuping zhang
2012-10-19 03:06:56 UTC
I think it maybe a libguestfs bug. This issue still reproduce on virt-v2v-0.8.7-6.el6.x86_64 after upgrade libguestfs to libguestfs-1.16.32-2.el6.x86_64. Set TestBlocker Keywords as it blocks all windows guests. The v2v code in question hasn't changed recently and looks correct, so at first glance I suspect a change in libguestfs. Could you please supply the output of the v2v run with LIBGUESTFS_DEBUG=1 and LIBGUESTFS_TRACE=1? Created attachment 629875 [details]
libguestfs debug and trace log
# LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 virt-v2v -ic xen+ssh://10.66.72.23/ -os default xen-hvm-winxp-i386 > debug.log 2>&1
root.72.23's password:
root.72.23's password:
Attached the log.
(This is upstream, but I'll assume the code is
similar in RHEL).
In lib/Sys/VirtConvert/Converter/Windows.pm:
eval { $path = $g->case_sensitive_path($path) };
# case_sensitive_path will fail if the path doesn't exist
if ($@) {
$g->mkdir($path);
}
The assumption there is not correct since we made the
following change in libguestfs to fix bug 840115:
https://github.com/libguestfs/libguestfs/commit/973581780d8a006f336684fef6762801402d775d
Small patch to follow ...
I've tested the patch and it works fine. Verified this issue with: virt-v2v-0.8.9-2.el6.x86_64 libvirt-0.10.2-5.el6.x86_64 libguestfs-1.16.32-2.el6.x86_64 # virt-v2v -ic qemu+ssh://10.66.72.24/system -os default kvm-win7-x86_64 root.72.24's password: root.72.24's password: kvm-win7-x86_64.img: 100% [==========================================]D 0h03m49s virt-v2v: WARNING: The connected hypervisor does not support feature pae. virt-v2v: WARNING: No mapping found for bridge interface breth0 in config file. The converted guest may not start until its network interface is updated. virt-v2v: kvm-win7-x86_64 configured with virtio drivers. So change the bug status 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. http://rhn.redhat.com/errata/RHBA-2013-0477.html |