Red Hat Bugzilla – Bug 1155518
qemu-kvm: undefined symbol: glfs_discard_async
Last modified: 2015-03-05 03:12:51 EST
Description of problem: Because of the old glusterfs api, QEMU will quit with error message: symbol lookup error: /usr/libexec/qemu-kvm: undefined symbol: glfs_discard_async so need to specify the requirement of 'glusterfs-api'. I just tested following packages: glusterfs-api-3.4.0.59rhs-1.el7.x86_64 FAILED glusterfs-api-3.6.0.29-2.el7.x86_64 PASSED Version-Release number of selected component (if applicable): qemu-kvm-1.5.3-76.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. launch QEMU # /usr/libexec/qemu-kvm Actual results: # /usr/libexec/qemu-kvm /usr/libexec/qemu-kvm: symbol lookup error: /usr/libexec/qemu-kvm: undefined symbol: glfs_discard_async Expected results: no quits Additional info:
You need to update glusterfs-libs, and then it should work well. the gluster doesn't have API symbol versioning, please refer to bug 1096654.
Fix included in qemu-kvm-1.5.3-78.el7
Reproduce this bug with qemu-kvm-1.5.3-75.el7. Steps: # rpm -qa |grep gluster glusterfs-3.4.0.70rhs-1.el7.x86_64 glusterfs-api-3.4.0.70rhs-1.el7.x86_64 glusterfs-libs-3.4.0.70rhs-1.el7.x86_64 # rpm -ivh qemu-kvm-1.5.3-75.el7.x86_64.rpm qemu-img-1.5.3-75.el7.x86_64.rpm qemu-kvm-common-1.5.3-75.el7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:qemu-kvm-common-10:1.5.3-75.el7 ################################# [ 33%] 2:qemu-img-10:1.5.3-75.el7 ################################# [ 67%] 3:qemu-kvm-10:1.5.3-75.el7 ################################# [100%] qemu-kvm install complete without error. Verify this bug on qemu-kvm-1.5.3-79.el7.x86_64 # rpm -qa |grep gluster glusterfs-3.4.0.70rhs-1.el7.x86_64 glusterfs-api-3.4.0.70rhs-1.el7.x86_64 glusterfs-libs-3.4.0.70rhs-1.el7.x86_64 # rpm -ivh qemu-img-1.5.3-79.el7.x86_64.rpm qemu-kvm-1.5.3-79.el7.x86_64.rpm qemu-kvm-common-1.5.3-79.el7.x86_64.rpm error: Failed dependencies: glusterfs-api >= 3.6.0 is needed by qemu-kvm-10:1.5.3-79.el7.x86_64 Can not install qemu-kvm with glusterfs-api-3.4.0.70rhs-1.el7.x86_64, must upgrade glusterfs-api>=3.6.0. After upgrade to glusterfs-api-3.6.0.29-2.el7.x86_64, install successful. So this bug has been fixed.
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/RHSA-2015-0349.html