Bug 1177910
Summary: | Libguestfs fails to locate the qemu-kvm on POWER8(BE) host. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Hu Zhang <huzhan> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | leiwang, mbooth, ptoscano, rjones, wshi, yselkowi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.28.1-1.46.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 06:59:22 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
Hu Zhang
2014-12-31 09:31:58 UTC
(In reply to Hu Zhang from comment #0) > After add a symbolic link, it works well. Side note: you don't need to manually create symlinks, just set the environment variable QEMU_HV=/usr/libexec/qemu-kvm so libguestfs uses that as hypervisor. (In reply to Pino Toscano from comment #2) > (In reply to Hu Zhang from comment #0) > > After add a symbolic link, it works well. > > Side note: you don't need to manually create symlinks, just set the > environment variable > QEMU_HV=/usr/libexec/qemu-kvm > so libguestfs uses that as hypervisor. Sorry, the right environment variable name is: LIBGUESTFS_HV=/usr/libexec/qemu-kvm (thanks Rich for the notice) Sometimes doing two things at once is not a good idea... Yes, it looks like that workaround was added for: https://bugzilla.redhat.com/show_bug.cgi?id=1125575#c18 but this is wrong (and indeed I knew it was wrong when I added it). I can drop that, assuming that bug 1125575 is fixed. dev-acking this bug, but it's way too late for RHEL 7.1. Actually this cannot be fixed until there is a qemu-kvm for ppc64 available. It's not available in brew yet. An update to this is that libvirt-daemon-kvm on ppc64 no longer depends on qemu-kvm. See: http://post-office.corp.redhat.com/archives/rhvirt-patches/2015-May/thread.html#00171 I'm able to drop the first part of the workaround, but fundamentally libguestfs still requires a qemu binary in brew in order to build and so I cannot drop the second part of the workaround yet. The following packages work for me, so I'm declaring this bug as fixed: libguestfs-1.28.1-1.46.el7.ppc64le qemu-kvm-rhev-2.3.0-1.ael7b.ppc64le Bleah, sorry, BIG endian, not little endian. Do we really care about big endian ppc64 machines any more ...? On ppc64 (be) it's uninstallable with this error: Error: Package: 1:virt-v2v-1.28.1-1.46.el7.ppc64 (libguestfs-RHEL-7.2-preview) Requires: qemu-kvm >= 1.5.3-92.el7 Error: Package: 1:libguestfs-1.28.1-1.46.el7.ppc64 (libguestfs-RHEL-7.2-preview) Requires: qemu-kvm-rhev I was able to fix this by downloading and installing the qemu-kvm-rhev, gperftools and SLOF packages directly from brew. libguestfs-test-tool works (albeit without KVM). So I'm going to declare this bug as being fixed in: libguestfs-1.28.1-1.46.el7.ppc64 qemu-kvm-rhev-2.3.0-9.el7.ppc64 Verified with the packages: Verify steps: 1. # libguestfs-test-tool ... guestfsd: main_loop: proc 282 (internal_autosync) took 0.07 seconds libguestfs: calling virDomainDestroy "guestfs-qtfxhz6pcnuwxgkw" flags=VIR_DOMAIN_DESTROY_GRACEFUL libguestfs: closing guestfs handle 0x1002b3effd0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsVbYFtN ===== TEST FINISHED OK ===== 2. # yum remove libguestfs ... Dependencies Resolved ================================================================================================================== Package Arch Version Repository Size ================================================================================================================== Removing: libguestfs ppc64 1:1.28.1-1.52.el7 @/libguestfs-1.28.1-1.52.el7.ppc64 3.8 M Removing for dependencies: libguestfs-devel ppc64 1:1.28.1-1.52.el7 @/libguestfs-devel-1.28.1-1.52.el7.ppc64 1.1 M libguestfs-tools-c ppc64 1:1.28.1-1.52.el7 @/libguestfs-tools-c-1.28.1-1.52.el7.ppc64 13 M perl-Sys-Guestfs ppc64 1:1.28.1-1.52.el7 @/perl-Sys-Guestfs-1.28.1-1.52.el7.ppc64 1.3 M virt-v2v ppc64 1:1.28.1-1.52.el7 @/virt-v2v-1.28.1-1.52.el7.ppc64 15 M Transaction Summary ================================================================================================================== Remove 1 Package (+4 Dependent packages) ... Removed: libguestfs.ppc64 1:1.28.1-1.52.el7 Dependency Removed: libguestfs-devel.ppc64 1:1.28.1-1.52.el7 libguestfs-tools-c.ppc64 1:1.28.1-1.52.el7 perl-Sys-Guestfs.ppc64 1:1.28.1-1.52.el7 virt-v2v.ppc64 1:1.28.1-1.52.el7 Complete! So bug is verified. (In reply to Hu Zhang from comment #21) > Verified with the packages: libguestfs-1.28.1-1.52.el7.ppc64 qemu-kvm-rhev-2.3.0-22.el7.ppc64 > > > Verify steps: > 1. # libguestfs-test-tool > ... 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-2183.html |