Bug 1592061
| Summary: | virt-v2v convert rhel5.3 failure when executing rpm -ql kernel-2.6.18-128.el5 command | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Haigang <lihaigang1995> | ||||||
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | unspecified | CC: | lihaigang1995, ptoscano, rbalakri | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2018-06-21 14:15: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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Haigang
2018-06-16 15:50:01 UTC
sorry,I mistyped here ,g.command(['rpm','-qa','kernel-2.6.18-128.el5']) should be g.command(['rpm','-ql','kernel-2.6.18-128.el5']) , Please can you attach the complete output from the virt-v2v -v -x command which fails. (In reply to Richard W.M. Jones from comment #2) > Please can you attach the complete output from the virt-v2v -v -x > command which fails. Created attachment 1452300 [details]
virt-v2v.log
(In reply to Richard W.M. Jones from comment #2) > Please can you attach the complete output from the virt-v2v -v -x > command which fails. I put the complete output in the attachment The error is: [ 11.951943] rpmq[335] vsyscall attempted with vsyscall=none ip:ffffffffff600000 cs:33 sp:7ffcfffadcc8 ax:ffffffffff600000 si:0 di:7ffcfffadce0 [ 11.962530] rpmq[335]: segfault at ffffffffff600000 ip ffffffffff600000 sp 00007ffcfffadcc8 error 15 The RPM binary from RHEL 5 is very old and doesn't run with the Debian kernel you are using. However it may be possible to make it work by setting: export LIBGUESTFS_APPEND="vsyscall=emulate" before running the virt-v2v command. I'm interested to know if that works. See also: https://einsteinathome.org/content/vsyscall-now-disabled-latest-linux-distros I'm so sorry, I made a wrong analysis. Is indeed this issue. I setting: export LIBGUESTFS_APPEND="vsyscall=emulate" Virt-v2v tool completes disk convert successfully! Thank you very much! Documentation patch posted: https://www.redhat.com/archives/libguestfs/2018-June/msg00073.html Although it's only a documentation fix, that is now upstream in libguestfs >= 1.39.6 and >= 1.38.3: https://github.com/libguestfs/libguestfs/commit/8c3375d47c524b391617ab64f7f533ec66f532ec |