View Issue Details

IDProjectCategoryView StatusLast Update
0008403CentOS-7libvirtpublic2015-04-06 16:21
Reporterdocent.net 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentosOS Version7.0.1406 (Core)
Product Version7.0-1406 
Target VersionFixed in Version 
Summary0008403: Upgrading libvirt-daemon-driver-storage breaks devmapper compatibility
DescriptionToday I've installed libguestfs-tools-c; that action caused dependencies also to be installed (or upgraded). One of the upgraded deps was libvirt-daemon-driver-storage-1.1.1-29.el7_0.7.x86_64 (upgraded to 1.2.8-16.el7_1.2.x86_64).

Attached full yum history log to see whole list of upgraded packages (update.txt).

Afterwards 'virsh list --all' returned empty list of VMs.

'systemctl status libvirtd' returned error:

Apr 06 17:01:42 host1.somedomain.com libvirtd[6254]: failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so /usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so: symbol dm_task_get_info_wit
h_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
Apr 06 17:01:42 host1.somedomain.com libvirtd[6254]: failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so: undefined symbol: virStorageFileC
reate

VMs were running but virsh was not seeing those.

Finally I've updated device-mapper-7:1.02.84-14.el7.x86_64 to the version 7:1.02.93-3.el7.x86_64, restarted libvirtd and virsh started working like a charm
TagsNo tags attached.
abrt_hash
URL

Activities

docent.net

docent.net

2015-04-06 15:27

reporter  

update.txt (8,629 bytes)
Loaded plugins: fastestmirror
Transaction ID : 15
Begin time     : Mon Apr  6 15:43:43 2015
Begin rpmdb    : 501:132b672ad5195d16b773a9ab8aff384901d1074c
End time       :            15:43:56 2015 (13 seconds)
End rpmdb      : 568:1e7953bf66f45e9dcc4b1a1cca159996a6a40b4a
User           :  <ansible>
Return-Code    : Success
Command Line   : install libguestfs-tools-c
Transaction performed with:
    Installed     rpm-4.11.1-18.el7_0.x86_64                      @updates
    Updated       yum-3.4.3-118.el7.centos.noarch                 @anaconda
    Installed     yum-plugin-fastestmirror-1.1.31-25.el7_0.noarch @updates
Packages Altered:
    Dep-Install attr-2.4.46-12.el7.x86_64                               @base
    Updated     augeas-libs-1.1.0-12.el7_0.1.x86_64                     @updates
    Update                  1.1.0-17.el7.x86_64                         @base
    Dep-Install cryptsetup-1.6.6-3.el7.x86_64                           @base
    Updated     cryptsetup-libs-1.6.3-2.el7.x86_64                      @anaconda
    Update                      1.6.6-3.el7.x86_64                      @base
    Dep-Install dosfstools-3.0.20-9.el7.x86_64                          @base
    Dep-Install fuse-2.9.2-5.el7.x86_64                                 @base
    Dep-Install gdisk-0.8.6-5.el7.x86_64                                @base
    Dep-Install genisoimage-1.1.11-22.el7.x86_64                        @base
    Dep-Install ghostscript-9.07-18.el7.x86_64                          @base
    Dep-Install ghostscript-fonts-5.50-32.el7.noarch                    @base
    Dep-Install hexedit-1.2.13-5.el7.x86_64                             @base
    Dep-Install hivex-1.3.10-5.7.el7.x86_64                             @base
    Dep-Install icoutils-0.31.0-3.el7.x86_64                            @base
    Dep-Install libXfont-1.4.7-2.el7_0.x86_64                           @base
    Dep-Install libXt-1.1.4-6.1.el7.x86_64                              @base
    Dep-Install libconfig-1.4.9-5.el7.x86_64                            @base
    Dep-Install libfontenc-1.1.1-5.el7.x86_64                           @base
    Dep-Install libguestfs-1:1.28.1-1.18.el7.x86_64                     @base
    Install     libguestfs-tools-c-1:1.28.1-1.18.el7.x86_64             @base
    Dep-Install libicu-50.1.2-11.el7.x86_64                             @base
    Dep-Install libosinfo-0.2.11-4.el7.x86_64                           @base
    Dep-Install libreport-filesystem-2.1.11-21.el7.centos.0.4.x86_64    @base
    Dep-Install libusal-1.1.11-22.el7.x86_64                            @base
    Updated     libvirt-1.1.1-29.el7_0.7.x86_64                         @updates
    Update              1.2.8-16.el7_1.2.x86_64                         @updates
    Updated     libvirt-client-1.1.1-29.el7_0.7.x86_64                  @updates
    Update                     1.2.8-16.el7_1.2.x86_64                  @updates
    Updated     libvirt-daemon-1.1.1-29.el7_0.7.x86_64                  @updates
    Update                     1.2.8-16.el7_1.2.x86_64                  @updates
    Updated     libvirt-daemon-config-network-1.1.1-29.el7_0.7.x86_64   @updates
    Update                                    1.2.8-16.el7_1.2.x86_64   @updates
    Updated     libvirt-daemon-config-nwfilter-1.1.1-29.el7_0.7.x86_64  @updates
    Update                                     1.2.8-16.el7_1.2.x86_64  @updates
    Updated     libvirt-daemon-driver-interface-1.1.1-29.el7_0.7.x86_64 @updates
    Update                                      1.2.8-16.el7_1.2.x86_64 @updates
    Updated     libvirt-daemon-driver-lxc-1.1.1-29.el7_0.7.x86_64       @updates
    Update                                1.2.8-16.el7_1.2.x86_64       @updates
    Updated     libvirt-daemon-driver-network-1.1.1-29.el7_0.7.x86_64   @updates
    Update                                    1.2.8-16.el7_1.2.x86_64   @updates
    Updated     libvirt-daemon-driver-nodedev-1.1.1-29.el7_0.7.x86_64   @updates
    Update                                    1.2.8-16.el7_1.2.x86_64   @updates
    Updated     libvirt-daemon-driver-nwfilter-1.1.1-29.el7_0.7.x86_64  @updates
    Update                                     1.2.8-16.el7_1.2.x86_64  @updates
    Updated     libvirt-daemon-driver-qemu-1.1.1-29.el7_0.7.x86_64      @updates
    Update                                 1.2.8-16.el7_1.2.x86_64      @updates
    Updated     libvirt-daemon-driver-secret-1.1.1-29.el7_0.7.x86_64    @updates
    Update                                   1.2.8-16.el7_1.2.x86_64    @updates
    Updated     libvirt-daemon-driver-storage-1.1.1-29.el7_0.7.x86_64   @updates
    Update                                    1.2.8-16.el7_1.2.x86_64   @updates
    Dep-Install libvirt-daemon-kvm-1.2.8-16.el7_1.2.x86_64              @updates
    Updated     libvirt-python-1.1.1-29.el7_0.7.x86_64                  @updates
    Update                     1.2.8-7.el7_1.1.x86_64                   @updates
    Dep-Install lsscsi-0.27-3.el7.x86_64                                @base
    Dep-Install mailcap-2.1.41-2.el7.noarch                             @base
    Dep-Install mdadm-3.3.2-2.el7.x86_64                                @base
    Dep-Install mtools-4.0.18-5.el7.x86_64                              @base
    Dep-Install netpbm-10.61.02-9.el7.x86_64                            @base
    Dep-Install netpbm-progs-10.61.02-9.el7.x86_64                      @base
    Dep-Install perl-Business-ISBN-2.06-2.el7.noarch                    @base
    Dep-Install perl-Business-ISBN-Data-20120719.001-2.el7.noarch       @base
    Dep-Install perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64              @base
    Dep-Install perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64             @base
    Dep-Install perl-Data-Dumper-2.145-3.el7.x86_64                     @base
    Dep-Install perl-Digest-1.17-245.el7.noarch                         @base
    Dep-Install perl-Digest-MD5-2.52-3.el7.x86_64                       @base
    Dep-Install perl-Encode-Locale-1.03-5.el7.noarch                    @base
    Dep-Install perl-File-Listing-6.04-7.el7.noarch                     @base
    Dep-Install perl-HTML-Parser-3.71-4.el7.x86_64                      @base
    Dep-Install perl-HTML-Tagset-3.20-15.el7.noarch                     @base
    Dep-Install perl-HTTP-Cookies-6.01-5.el7.noarch                     @base
    Dep-Install perl-HTTP-Daemon-6.01-5.el7.noarch                      @base
    Dep-Install perl-HTTP-Date-6.02-8.el7.noarch                        @base
    Dep-Install perl-HTTP-Message-6.06-6.el7.noarch                     @base
    Dep-Install perl-HTTP-Negotiate-6.01-5.el7.noarch                   @base
    Dep-Install perl-IO-Compress-2.061-2.el7.noarch                     @base
    Dep-Install perl-IO-HTML-1.00-2.el7.noarch                          @base
    Dep-Install perl-IO-Socket-IP-0.21-4.el7.noarch                     @base
    Dep-Install perl-IO-Socket-SSL-1.94-3.el7.noarch                    @base
    Dep-Install perl-LWP-MediaTypes-6.02-2.el7.noarch                   @base
    Dep-Install perl-Net-HTTP-6.06-2.el7.noarch                         @base
    Dep-Install perl-Net-LibIDN-0.12-15.el7.x86_64                      @base
    Dep-Install perl-Net-SSLeay-1.55-3.el7.x86_64                       @base
    Dep-Install perl-TimeDate-1:2.30-2.el7.noarch                       @base
    Dep-Install perl-URI-1.60-9.el7.noarch                              @base
    Dep-Install perl-WWW-RobotRules-6.02-5.el7.noarch                   @base
    Dep-Install perl-hivex-1.3.10-5.7.el7.x86_64                        @base
    Dep-Install perl-libwww-perl-6.05-2.el7.noarch                      @base
    Dep-Install poppler-data-0.4.6-3.el7.noarch                         @base
    Dep-Install python-chardet-2.0.1-7.el7.noarch                       @base
    Dep-Install python-kitchen-1.1.1-5.el7.noarch                       @base
    Dep-Install scrub-2.5.2-5.el7.x86_64                                @base
    Dep-Install supermin5-5.1.10-1.2.el7.x86_64                         @base
    Dep-Install syslinux-4.05-12.el7.x86_64                             @base
    Dep-Install syslinux-extlinux-4.05-12.el7.x86_64                    @base
    Dep-Install urw-fonts-2.4-16.el7.noarch                             @base
    Dep-Install xorg-x11-font-utils-1:7.5-18.1.el7.x86_64               @base
    Updated     yum-3.4.3-118.el7.centos.noarch                         @anaconda
    Update          3.4.3-125.el7.centos.noarch                         @base
    Dep-Install yum-utils-1.1.31-29.el7.noarch                          @base
history info
update.txt (8,629 bytes)
tigalch

tigalch

2015-04-06 15:42

manager   ~0022677

Sounds like you had a version compatability problem. Installing libguestfs-tools-c pulled in other packages (with their most current version). I guess you allready had device-mapper installed, but not updated. Thus version incompatiability between the new packages that got pulled in and the packages that were allready installed. Updating all packages seems to have solved this. Do we need to keep this bug opened or did I miss something?
docent.net

docent.net

2015-04-06 15:51

reporter   ~0022678

If it's ok to keep device-mapper upgrade not mandatory while uprading libvirt then you can close it.

But honestly it can cause mindfscks. Today scenario was quite normal (installing some package) and this brought major functionality of virsh down.
tigalch

tigalch

2015-04-06 16:14

manager   ~0022680

Well you are right that the depending minimum version should be in the spec file. You can try to raise a bug about this at https://bugzilla.redhat.com. None the less an updated system (for all packages) is generally advised.
docent.net

docent.net

2015-04-06 16:21

reporter   ~0022681

Sure, thx tigalch, reported in RHEL https://bugzilla.redhat.com/show_bug.cgi?id=1209193

Cheers

Issue History

Date Modified Username Field Change
2015-04-06 15:27 docent.net New Issue
2015-04-06 15:27 docent.net File Added: update.txt
2015-04-06 15:42 tigalch Note Added: 0022677
2015-04-06 15:51 docent.net Note Added: 0022678
2015-04-06 16:14 tigalch Note Added: 0022680
2015-04-06 16:21 docent.net Note Added: 0022681