Libvirt-daemon-driver-storage-gluster: Unknown protocol gluster

Asked by Zorba

Hello everybody, I'm trying to run Qemu with libvirtd (KVM hypervisor) on a host with Ubuntu 20.04. It seems to work if I use a local qcow2 image as drive, but does not start if I specify an image stored on a GlusterFS server. The error I get is

2021-06-07T09:42:18.103888Z qemu-system-x86_64: -drive file=gluster://encoder.procne.it:24007/csprimary1/provaglFS,format=qcow2,if=none,id=drive-virtio-disk0,cache=none: Unknown protocol 'gluster'

I've already installed this package
libvirt-daemon-driver-storage-gluster
and I can see the file in
/usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_gluster.so
I've also seen that Gluster should be supported by qemu-block-drivers provided by qemu-system-commons (https://manpages.ubuntu.com/manpages/focal/man7/qemu-block-drivers.7.html).

Should I change something in the default configuration to force libvirtd to use the GlusterFS storage driver?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu libvirt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Zorba (zorbaproject) said :
#2

On Ubuntu 16.04 I'm using packages from https://launchpad.net/~monotek, but this repository does not have packages for Ubuntu 20.04. Is there some alternative, other than migrating to a RedHat-like os?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

If you need information about availability of packages in a PPA, then you have to contact the provider of the PPA.

Revision history for this message
Zorba (zorbaproject) said :
#4

I'm not asking for packages in a PPA, I'm asking about the package "libvirt-daemon-driver-storage-gluster", which seems to be in Universe (https://packages.ubuntu.com/bionic/admin/libvirt-daemon-driver-storage-gluster). I can't seem to understand what this packages does and how it works: apparently it should contain the library needed to use GlusterFS with Libvirt, and it does install the .so file, but when it's installed I still can't use gluster drives on virtual machines.
On my production environment I'm still using Ubuntu Xenial with that PPA, but now I would like to update to Ubuntu Focal with the official package from Universe. But it does not work: either the package is broken or some fundamental documentation is missing.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.