Bug 1314230

Summary: libvirt fails with undefined symbol
Product: [Fedora] Fedora Reporter: Mairi Dulaney <jdulaney>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: agedosier, berrange, clalancette, crobinso, dyuan, itamar, jdulaney, jdulaney, jforbes, jtomko, kparal, laine, libvirt-maint, robatino, veillard, virt-maint, zhwang
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-10 15:11:33 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:
Bug Depends On:    
Bug Blocks: 1230433    

Description Mairi Dulaney 2016-03-03 09:08:53 UTC
Description of problem:
libvirt starts, but the qemu module fails to load.  systemctl status gives me:

failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so: undefined symbol: virStorageFileCreate

Version-Release number of selected component (if applicable):
1.3.2-1

How reproducible:
Always

Steps to Reproduce:
1.  Upgrade libvirt stack to this release
2.  restart libvirtd
3.  failure

Actual results:
Failure; virt no work

Expected results:
Lack of failure; virt work

Comment 1 Fedora Blocker Bugs Application 2016-03-03 09:11:18 UTC
Proposed as a Blocker for 24-beta by Fedora user jdulaney using the blocker tracking app because:

 The release must be able host virtual guest instances of the same release. 

As the default virt stack is kvm/qemu/libvirt, and the bits between libvirt and qemu are failing due to an undefined symbol, virt doesn't work, thus hitting this criteria.

Comment 2 Ján Tomko 2016-03-03 16:19:02 UTC
This looks like bug 1164773 which was solved by a device-mapper update.

Do you see any other errors in the log?
$ journalctl -u libvirtd --since=yesterday -p err

Comment 3 Mairi Dulaney 2016-03-03 18:21:11 UTC
No other errors of note.

With my update this morning, qemu and libvirt were both updated.  Device mapper was not changed, and prior to this update, qemu/libvirt was working just fine.  The bug you reference points the blame at devicemapper, but I fail to see how that could be the culprit in htis case.

Comment 4 Mairi Dulaney 2016-03-04 20:14:09 UTC
Okay, I downgraded to 1.3.1-2, and the issue went away, strongly suggesting that this is an issue with the latest release of libvirt.  I'm going to do a rebuild right quick just to see if something went weird.

Comment 5 Mairi Dulaney 2016-03-04 21:53:55 UTC
Okay, just rebuilding seems to have corrected this issue.  Looks like something got weird in the build process.  If I reinstall the 'official' build, problem comes back.  Would it be possible to get a rebuild of libvirt?

Comment 6 Kamil Páral 2016-03-07 17:34:37 UTC
Discussed at today's blocker review meeting [1]. Accepted as a Beta blocker -  as described this sounds like a clear violation of Beta criterion "The release must be able host virtual guest instances of the same release." (with footnote describing the supported virt stack, including libvirt)

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-03-07/

Comment 7 Cole Robinson 2016-03-09 15:21:40 UTC
I can't reproduce this on f24 with libvirt-1.3.2-1, using fully updated f24

John, is your machine fully updated? Can you still reproduce this? What version of device-mapper-libs is installed? Mine is:

# rpm -q device-mapper-libs
device-mapper-libs-1.02.117-4.fc24.x86_64

Comment 8 Mairi Dulaney 2016-03-10 15:11:33 UTC
Okay, since it seems that the cause of this has gone away, I'm going to go ahead and close this here ticket.

Comment 9 Kamil Páral 2016-03-10 15:24:33 UTC
John, does it work for you now? What changed?

Comment 10 Mairi Dulaney 2016-03-10 16:00:47 UTC
Yes, it's working for me now.  What changed is I just ran an update, pulled in the new libvirt build.