Bug 1218440

Summary: Unreasonable dependencies again
Product: [Fedora] Fedora Reporter: Yanko Kaneti <yaneti>
Component: glusterfsAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: barumuga, humble.devassy, joe, jonathansteffan, kkeithle, lmohanty, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-08 13:02:50 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: 1195947    
Bug Blocks:    

Description Yanko Kaneti 2015-05-04 22:29:06 UTC
Description of problem:
glusterfs-3.7.0-0.1.beta1.fc23 has an unreasonable dependency chain leading to having to have glusterfs-server installed in order to have libvirt or qemu

# yum-deprecated remove glusterfs-server
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

Loaded plugins: auto-update-debuginfo, changelog, copr, langpacks
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-server.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
--> Processing Dependency: libgfdb.so.0()(64bit) for package: glusterfs-3.7.0-0.1.beta1.fc23.x86_64
--> Running transaction check
---> Package glusterfs.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
--> Processing Dependency: glusterfs = 3.7.0-0.1.beta1.fc23 for package: glusterfs-api-devel-3.7.0-0.1.beta1.fc23.x86_64
--> Processing Dependency: glusterfs = 3.7.0-0.1.beta1.fc23 for package: glusterfs-fuse-3.7.0-0.1.beta1.fc23.x86_64
--> Processing Dependency: glusterfs = 3.7.0-0.1.beta1.fc23 for package: glusterfs-devel-3.7.0-0.1.beta1.fc23.x86_64
--> Processing Dependency: glusterfs = 3.7.0-0.1.beta1.fc23 for package: glusterfs-api-3.7.0-0.1.beta1.fc23.x86_64
--> Running transaction check
---> Package glusterfs-api.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
--> Processing Dependency: glusterfs-api = 3.7.0-0.1.beta1.fc23 for package: glusterfs-extra-xlators-3.7.0-0.1.beta1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-xtensa-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-lm32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-img-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-alpha-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-m68k-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-sh4-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-microblaze-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-sparc-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-unicore32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-moxie-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: libvirt-daemon-driver-storage-1.2.14-2.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-tricore-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-or32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-arm-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-s390x-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-mips-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-aarch64-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-cris-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-x86-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-system-ppc-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-xtensa-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-lm32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-img-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-alpha-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-sparc-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-sh4-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-microblaze-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-or32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-unicore32-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-arm-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-moxie-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: libvirt-daemon-driver-storage-1.2.14-2.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-tricore-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-m68k-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-s390x-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-mips-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-aarch64-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-cris-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-x86-2.3.0-1.fc23.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: 2:qemu-system-ppc-2.3.0-1.fc23.x86_64
---> Package glusterfs-api-devel.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
---> Package glusterfs-devel.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
---> Package glusterfs-fuse.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
--> Running transaction check
---> Package glusterfs-extra-xlators.x86_64 0:3.7.0-0.1.beta1.fc23 will be erased
---> Package libvirt-daemon-driver-storage.x86_64 0:1.2.14-2.fc23 will be erased
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-daemon-vbox-1.2.14-2.fc23.x86_64
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-daemon-lxc-1.2.14-2.fc23.x86_64
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-daemon-uml-1.2.14-2.fc23.x86_64
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-1.2.14-2.fc23.x86_64
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-daemon-qemu-1.2.14-2.fc23.x86_64
--> Processing Dependency: libvirt-daemon-driver-storage = 1.2.14-2.fc23 for package: libvirt-daemon-kvm-1.2.14-2.fc23.x86_64
---> Package qemu-img.x86_64 2:2.3.0-1.fc23 will be erased
--> Processing Dependency: qemu-img = 2:2.3.0-1.fc23 for package: 2:qemu-2.3.0-1.fc23.x86_64
---> Package qemu-system-aarch64.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-alpha.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-arm.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-cris.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-lm32.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-m68k.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-microblaze.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-mips.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-moxie.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-or32.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-ppc.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-s390x.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-sh4.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-sparc.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-tricore.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-unicore32.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-system-x86.x86_64 2:2.3.0-1.fc23 will be erased
--> Processing Dependency: qemu-system-x86 = 2:2.3.0-1.fc23 for package: 2:qemu-kvm-2.3.0-1.fc23.x86_64
---> Package qemu-system-xtensa.x86_64 2:2.3.0-1.fc23 will be erased
--> Running transaction check
---> Package libvirt.x86_64 0:1.2.14-2.fc23 will be erased
---> Package libvirt-daemon-kvm.x86_64 0:1.2.14-2.fc23 will be erased
--> Processing Dependency: libvirt-daemon-kvm for package: gnome-boxes-3.17.1-1.fc23.x86_64
---> Package libvirt-daemon-lxc.x86_64 0:1.2.14-2.fc23 will be erased
---> Package libvirt-daemon-qemu.x86_64 0:1.2.14-2.fc23 will be erased
---> Package libvirt-daemon-uml.x86_64 0:1.2.14-2.fc23 will be erased
---> Package libvirt-daemon-vbox.x86_64 0:1.2.14-2.fc23 will be erased
---> Package qemu.x86_64 2:2.3.0-1.fc23 will be erased
---> Package qemu-kvm.x86_64 2:2.3.0-1.fc23 will be erased
--> Running transaction check
---> Package gnome-boxes.x86_64 0:3.17.1-1.fc23 will be erased
--> Processing Dependency: /usr/bin/qemu-img for package: libvirt-daemon-driver-qemu-1.2.14-2.fc23.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libvirt-daemon-driver-qemu.x86_64 0:1.2.14-2.fc23 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================
 Package                                      Arch                  Version                              Repository                Size
========================================================================================================================================
Removing:
 glusterfs-server                             x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 2.6 M
Removing for dependencies:
 glusterfs                                    x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 6.0 M
 glusterfs-api                                x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 125 k
 glusterfs-api-devel                          x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                  36 k
 glusterfs-devel                              x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 730 k
 glusterfs-extra-xlators                      x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 149 k
 glusterfs-fuse                               x86_64                3.7.0-0.1.beta1.fc23                 @rawhide                 225 k
 gnome-boxes                                  x86_64                3.17.1-1.fc23                        installed                4.6 M
 libvirt                                      x86_64                1.2.14-2.fc23                        installed                0.0  
 libvirt-daemon-driver-qemu                   x86_64                1.2.14-2.fc23                        installed                1.2 M
 libvirt-daemon-driver-storage                x86_64                1.2.14-2.fc23                        installed                544 k
 libvirt-daemon-kvm                           x86_64                1.2.14-2.fc23                        installed                0.0  
 libvirt-daemon-lxc                           x86_64                1.2.14-2.fc23                        installed                0.0  
 libvirt-daemon-qemu                          x86_64                1.2.14-2.fc23                        installed                0.0  
 libvirt-daemon-uml                           x86_64                1.2.14-2.fc23                        installed                0.0  
 libvirt-daemon-vbox                          x86_64                1.2.14-2.fc23                        installed                0.0  
 qemu                                         x86_64                2:2.3.0-1.fc23                       installed                0.0  
 qemu-img                                     x86_64                2:2.3.0-1.fc23                       installed                2.9 M
 qemu-kvm                                     x86_64                2:2.3.0-1.fc23                       installed                0.0  
 qemu-system-aarch64                          x86_64                2:2.3.0-1.fc23                       installed                7.2 M
 qemu-system-alpha                            x86_64                2:2.3.0-1.fc23                       installed                5.8 M
 qemu-system-arm                              x86_64                2:2.3.0-1.fc23                       installed                7.0 M
 qemu-system-cris                             x86_64                2:2.3.0-1.fc23                       installed                3.7 M
 qemu-system-lm32                             x86_64                2:2.3.0-1.fc23                       installed                3.7 M
 qemu-system-m68k                             x86_64                2:2.3.0-1.fc23                       installed                5.6 M
 qemu-system-microblaze                       x86_64                2:2.3.0-1.fc23                       installed                7.5 M
 qemu-system-mips                             x86_64                2:2.3.0-1.fc23                       installed                 27 M
 qemu-system-moxie                            x86_64                2:2.3.0-1.fc23                       installed                3.6 M
 qemu-system-or32                             x86_64                2:2.3.0-1.fc23                       installed                3.6 M
 qemu-system-ppc                              x86_64                2:2.3.0-1.fc23                       installed                 23 M
 qemu-system-s390x                            x86_64                2:2.3.0-1.fc23                       installed                4.4 M
 qemu-system-sh4                              x86_64                2:2.3.0-1.fc23                       installed                 11 M
 qemu-system-sparc                            x86_64                2:2.3.0-1.fc23                       installed                9.9 M
 qemu-system-tricore                          x86_64                2:2.3.0-1.fc23                       installed                3.8 M
 qemu-system-unicore32                        x86_64                2:2.3.0-1.fc23                       installed                3.6 M
 qemu-system-x86                              x86_64                2:2.3.0-1.fc23                       installed                 13 M
 qemu-system-xtensa                           x86_64                2:2.3.0-1.fc23                       installed                9.4 M

Transaction Summary
========================================================================================================================================
Remove  1 Package (+36 Dependent packages)

Comment 1 Niels de Vos 2015-05-05 07:57:20 UTC
This got introduced because the "glusterfs" package has a dependency on libgfdb. libgfdb (in glusterfs-server) was added as a new library to support Date Tiering.

Upstream glusterfs-3.8 dynamically loads the library, but only for processes on the server-side. This change needs to get included in 3.7 if it is not there yet.

Also, the dependencies are revisited for bug 1195947. Further splitting is done as discussed in http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10643

Comment 2 Kaleb KEITHLEY 2015-05-08 13:02:50 UTC
glusterfs-3.7.0-0.4.beta1.fc23 to address this