| Summary: | virt-v2v should fail which a much better error message. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Allie DeVolder <adevolder> |
| Component: | virt-v2v | Assignee: | Matthew Booth <mbooth> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.6 | CC: | mbooth, mkenneth, rjones, rwu, tzheng, whuang, yupzhang |
| Target Milestone: | rc | Flags: | tzheng:
needinfo?
(mbooth) |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-07 10:15:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Allie DeVolder
2011-06-27 20:17:19 UTC
I tested this issue on el5 and el6. 1.Add "serial -unit=0 -speed=115200 terminal -timeout=5 serial console " to guest grub. 2.Convert it with virt-v2v #virt-v2v -ic qemu+ssh://10.66.5.10/system -os default -b breth0 kvm-rhel5.7-x86_64-qcow2 root.5.10's password: root.5.10's password: virt-v2v: Transferring storage volume rhel5u7-64b.qcow2: 5413437440 bytes Got signal 15 from pid 22460 aug_get: aug_get: Augeas returned NULL match at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/GuestfsHandle.pm line 191. at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Converter/RedHat.pm line 425 3.If add "serial --unit=0 --speed=115200 terminal --timeout=5 serial console",then convert the guest,it will be converted successfully 4.And also I have tested with "serial -unit=0 -speed=115200",then convert it: # virt-v2v -ic qemu+ssh://10.66.5.10/system -os default -b breth0 kvm-rhel5.7-x86_64-qcow2 root.5.10's password: root.5.10's password: virt-v2v: Transferring storage volume rhel5u7-64b.qcow2: 5413896192 bytes Got signal 15 from pid 22633 virt-v2v: The connected hypervisor does not support a machine type of rhel6.1.0. It will be set to the current default. virt-v2v: kvm-rhel5.7-x86_64-qcow2 configured with virtio driver 5.Additionally,from Description,the version is virt-v2v-0.7.1-4.el6.x86_64,but the bug report version is 5.6.So installed virt-v2v-0.7.1-4.el6.x86_64 on rhel 5? This issue is fixed on the virt-v2v side in upstream commit 3b9191d9178a18a6639e9acbd2aa8a79511d54ee. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. Hi,matthew I tried this issue on rhel6 and rhel7,the problem still exists,I think it is trivial,need I clone the bug to rhel6/rhel7,thanks. steps: 1.Add "serial -unit=0 -speed=115200 terminal -timeout=5 serial console " to guest grub. 2.Use virt-v2v to convert the guest,the error is still not so clearly and friendly. # virt-v2v -ic qemu+ssh://10.66.72.24/system -os default test-sparse-wl -on grubtest test-sparse-wl.img: 100% [=============================================================================]D 0h02m55s aug_get: aug_get: Augeas returned NULL match at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 201. at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 176. |