RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1158812 - win7(x64) guest failed to boot after converted from esx server
Summary: win7(x64) guest failed to boot after converted from esx server
Keywords:
Status: CLOSED DUPLICATE of bug 1159258
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-30 09:57 UTC by zhoujunqin
Modified: 2014-11-05 10:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-05 10:03:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screeshot png (66.25 KB, image/png)
2014-10-30 09:57 UTC, zhoujunqin
no flags Details
right screenshot (67.25 KB, image/png)
2014-10-30 10:00 UTC, zhoujunqin
no flags Details
debug info for guest test-win7-x86_64 (233.18 KB, text/plain)
2014-10-30 10:01 UTC, zhoujunqin
no flags Details
debug info for guest test2-win2008 (it's win2008r2_x64) (225.46 KB, text/plain)
2014-10-30 10:02 UTC, zhoujunqin
no flags Details

Description zhoujunqin 2014-10-30 09:57:59 UTC
Created attachment 952042 [details]
screeshot png

Description of problem:
win7(x64) guest failed to boot after converted from esx server

Version-Release number of selected component (if applicable):
libguestfs-1.28.1-1.6.el7.x86_64
virt-v2v-1.28.1-1.6.el7.x86_64
libvirt-1.2.8-5.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Use virt-v2v convert a windows guest from esx server:
# virsh -c  vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1  list --all
Enter root's password for 10.66.111.25:
 Id    Name                           State
----------------------------------------------------
 35    vcenter5.5                     running
 -     test-rhel6                     shut off
 -     test-win2008                   shut off
 -     test-win7-x86_64               shut off
 -     test2-win2008                  shut off

# virt-v2v -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-win7-x86_64
[   0.0] Opening the source -i libvirt -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-win7-x86_64
Enter root's password for 10.66.111.25:
Enter host password for user 'root':
[  20.0] Creating an overlay to protect the source from being modified
[  21.0] Opening the overlay
[  29.0] Initializing the target -o libvirt -os default
[  29.0] Inspecting the overlay
[  88.0] Checking for sufficient free disk space in the guest
[  88.0] Estimating space required on target for each disk
[  88.0] Converting Windows 7 Ultimate to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 100.0] Mapping filesystem data to avoid copying unused and blank areas
[ 101.0] Closing the overlay
[ 101.0] Copying disk 1/1 to /var/lib/libvirt/images/test-win7-x86_64-sda (raw)
    (100.00/100%)
[ 564.0] Creating output metadata
Pool default refreshed

Domain test-win7-x86_64 defined from /tmp/v2vlibvirt8b9e31.xml

[ 564.0] Finishing off

2. Boot up guest test-win7-x86_64

Actual results:
Guest test-win7-x86_64 failed to boot up(See screenshot)

Expected results:
Guest test-win7-x86_64 can boot up successfully.

Additional info:
1. I will attach the detail debug info.
2. Can reproduce this issue with guest: win7(x64) win2008r2_64

Comment 1 zhoujunqin 2014-10-30 10:00:05 UTC
Created attachment 952045 [details]
right screenshot

Please ignore the first screenshot, this one is right, sorry for wrong attached.

Comment 2 zhoujunqin 2014-10-30 10:01:25 UTC
Created attachment 952047 [details]
debug info for guest test-win7-x86_64

Comment 3 zhoujunqin 2014-10-30 10:02:33 UTC
Created attachment 952048 [details]
debug info for guest test2-win2008 (it's win2008r2_x64)

Comment 5 Richard W.M. Jones 2014-10-31 16:26:52 UTC
Can I ask that you retry the failed conversion when the fix
for bug 1159258 is ready?  This guest lacks <features/> in its
libvirt XML, and that might affect booting somehow.

Comment 6 Richard W.M. Jones 2014-11-03 19:37:32 UTC
virt-v2v-1.28.1-1.7.el7.x86_64 is available in brew.  Could you
try the conversion with this?

Comment 7 zhoujunqin 2014-11-05 09:52:09 UTC
Hi rjones,

Tried with new build:
virt-v2v-1.28.1-1.7.el7.x86_64
libguestfs-1.28.1-1.7.el7.x86_64

steps:
1. Convert a win7-x86_64 guest from esx server:

# virt-v2v -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-win7-x86_64 
[   0.0] Opening the source -i libvirt -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-win7-x86_64
Enter root's password for 10.66.111.25: 
Enter host password for user 'root':
[  15.0] Creating an overlay to protect the source from being modified
[  15.0] Opening the overlay
[  25.0] Initializing the target -o libvirt -os default
[  25.0] Inspecting the overlay
[  79.0] Checking for sufficient free disk space in the guest
[  79.0] Estimating space required on target for each disk
[  79.0] Converting Windows 7 Ultimate to run on KVM
virt-v2v: This guest has virtio drivers installed.
[  91.0] Mapping filesystem data to avoid copying unused and blank areas
[  92.0] Closing the overlay
[  92.0] Copying disk 1/1 to /var/lib/libvirt/images/test-win7-x86_64-sda (raw)
    (100.00/100%)
[ 496.0] Creating output metadata
Pool default refreshed

Domain test-win7-x86_64 defined from /tmp/v2vlibvirt2ec2d5.xml

[ 496.0] Finishing off

Result: Conversion finished successfully and guest can boot up successfully.

2. Same with guest: win2008r2_64.

Comment 8 Richard W.M. Jones 2014-11-05 10:03:22 UTC
So .. probably .. this has the same root cause as bug 1159258.
Since it has now been fixed, I'm going to mark it as duplicate.

*** This bug has been marked as a duplicate of bug 1159258 ***


Note You need to log in before you can comment on or make changes to this bug.