FS#56677 - [libvirt] Add glusterfs support

Attached to Project: Community Packages
Opened by Henrik Juul Pedersen (henrikjuul) - Monday, 11 December 2017, 12:46 GMT
Last edited by Christian Rebischke (Shibumi) - Wednesday, 07 March 2018, 19:53 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Add libvirt glusterfs support.

I've attached a solution using a split package (like used in Fedora/RHEL for storage backend drivers).
It is possible to just add glusterfs support to configure, but then load of the shared object will add an error to the log when loading without glusterfs installed:
error : virDriverLoadModuleFile:58 : failed to load module /usr/lib/libvirt/storage-backend/libvirt_storage_backend_gluster.so libgfapi.so.0: cannot open shared object file: No such file or directory

As I see the RPM spec file for libvirt, the other backends can be added in the same matter.

Whether the optional dependency to qemu-block-gluster should be there I don't know, but having the qemu package as optdepends will probably save some users from a goosechase when it won't work due to missing QEMU support.
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Wednesday, 07 March 2018, 19:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Please checkout 4.1.0-1 in testing!
Comment by Henrik Juul Pedersen (henrikjuul) - Monday, 11 December 2017, 12:51 GMT
I can see, that I forgot to add libvirt-glusterfs as an optional dependency to libvirt.
Comment by Christian Rebischke (Shibumi) - Saturday, 27 January 2018, 02:53 GMT
Hello,
Thanks for your patch and sorry for the delay. I will have a look on it the next days.

Loading...