mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Remove support for building the sheepdog storage driver backend
The sheepdog project is unmaintained, with last commit in 2018 and numerous unanswered issues reported. Remove the libvirt storage driver support for it to follow the removal of the client support in qemu. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
9ac2bbcbbf
commit
d4f7850d5b
@ -1,4 +1,5 @@
|
|||||||
.. role:: since
|
.. role:: since
|
||||||
|
.. role:: removed
|
||||||
|
|
||||||
==================================
|
==================================
|
||||||
Storage pool and volume XML format
|
Storage pool and volume XML format
|
||||||
@ -17,8 +18,9 @@ volume size, or placement.
|
|||||||
The top level tag for a storage pool document is 'pool'. It has a single
|
The top level tag for a storage pool document is 'pool'. It has a single
|
||||||
attribute ``type``, which is one of ``dir``, ``fs``, ``netfs``, ``disk``,
|
attribute ``type``, which is one of ``dir``, ``fs``, ``netfs``, ``disk``,
|
||||||
``iscsi``, ``logical``, ``scsi`` (all :since:`since 0.4.1` ), ``mpath`` (
|
``iscsi``, ``logical``, ``scsi`` (all :since:`since 0.4.1` ), ``mpath`` (
|
||||||
:since:`since 0.7.1` ), ``rbd`` ( :since:`since 0.9.13` ), ``sheepdog`` (
|
:since:`since 0.7.1` ), ``rbd`` ( :since:`since 0.9.13` ),
|
||||||
:since:`since 0.10.0` ), ``gluster`` ( :since:`since 1.2.0` ), ``zfs`` (
|
``sheepdog`` (:since:`since 0.10.0`, :removed:`removed in 8.8.0` ),
|
||||||
|
``gluster`` ( :since:`since 1.2.0` ), ``zfs`` (
|
||||||
:since:`since 1.2.8` ), ``vstorage`` ( :since:`since 3.1.0` ), or
|
:since:`since 1.2.8` ), ``vstorage`` ( :since:`since 3.1.0` ), or
|
||||||
``iscsi-direct`` ( :since:`since 4.7.0` ). This corresponds to the storage
|
``iscsi-direct`` ( :since:`since 4.7.0` ). This corresponds to the storage
|
||||||
backend drivers listed further along in this document.
|
backend drivers listed further along in this document.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
.. role:: since
|
.. role:: since
|
||||||
|
.. role:: removed
|
||||||
|
|
||||||
==================
|
==================
|
||||||
Storage Management
|
Storage Management
|
||||||
@ -575,7 +576,7 @@ Sheepdog pool
|
|||||||
This provides a pool based on a Sheepdog Cluster. Sheepdog is a distributed
|
This provides a pool based on a Sheepdog Cluster. Sheepdog is a distributed
|
||||||
storage system for QEMU/KVM. It provides highly available block level storage
|
storage system for QEMU/KVM. It provides highly available block level storage
|
||||||
volumes that can be attached to QEMU/KVM virtual machines. The cluster must
|
volumes that can be attached to QEMU/KVM virtual machines. The cluster must
|
||||||
already be formatted. :since:`Since 0.9.13`
|
already be formatted. :since:`Introduced in 0.9.13` :removed:`removed in 8.8.0.`
|
||||||
|
|
||||||
Example Sheepdog pool input
|
Example Sheepdog pool input
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -1170,7 +1170,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec)
|
|||||||
-Dstorage_disk=enabled \
|
-Dstorage_disk=enabled \
|
||||||
-Dstorage_mpath=enabled \
|
-Dstorage_mpath=enabled \
|
||||||
%{?arg_storage_rbd} \
|
%{?arg_storage_rbd} \
|
||||||
-Dstorage_sheepdog=disabled \
|
|
||||||
%{?arg_storage_gluster} \
|
%{?arg_storage_gluster} \
|
||||||
%{?arg_storage_zfs} \
|
%{?arg_storage_zfs} \
|
||||||
-Dstorage_vstorage=disabled \
|
-Dstorage_vstorage=disabled \
|
||||||
@ -1282,7 +1281,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec)
|
|||||||
-Dstorage_mpath=disabled \
|
-Dstorage_mpath=disabled \
|
||||||
-Dstorage_rbd=disabled \
|
-Dstorage_rbd=disabled \
|
||||||
-Dstorage_scsi=disabled \
|
-Dstorage_scsi=disabled \
|
||||||
-Dstorage_sheepdog=disabled \
|
|
||||||
-Dstorage_vstorage=disabled \
|
-Dstorage_vstorage=disabled \
|
||||||
-Dstorage_zfs=disabled \
|
-Dstorage_zfs=disabled \
|
||||||
-Dsysctl_config=disabled \
|
-Dsysctl_config=disabled \
|
||||||
|
11
meson.build
11
meson.build
@ -1916,16 +1916,6 @@ if conf.has('WITH_LIBVIRTD')
|
|||||||
conf.set('WITH_STORAGE_SCSI', 1)
|
conf.set('WITH_STORAGE_SCSI', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('storage_sheepdog').disabled()
|
|
||||||
sheepdogcli_prog = find_program('dog', required: get_option('storage_sheepdog'), dirs: libvirt_sbin_path)
|
|
||||||
|
|
||||||
if sheepdogcli_prog.found()
|
|
||||||
use_storage = true
|
|
||||||
conf.set('WITH_STORAGE_SHEEPDOG', 1)
|
|
||||||
conf.set_quoted('SHEEPDOGCLI', sheepdogcli_prog.path())
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if not get_option('storage_vstorage').disabled()
|
if not get_option('storage_vstorage').disabled()
|
||||||
vstorage_enable = true
|
vstorage_enable = true
|
||||||
if host_machine.system() != 'linux'
|
if host_machine.system() != 'linux'
|
||||||
@ -2251,7 +2241,6 @@ storagedriver_summary = {
|
|||||||
'mpath': conf.has('WITH_STORAGE_MPATH'),
|
'mpath': conf.has('WITH_STORAGE_MPATH'),
|
||||||
'Disk': conf.has('WITH_STORAGE_DISK'),
|
'Disk': conf.has('WITH_STORAGE_DISK'),
|
||||||
'RBD': conf.has('WITH_STORAGE_RBD'),
|
'RBD': conf.has('WITH_STORAGE_RBD'),
|
||||||
'Sheepdog': conf.has('WITH_STORAGE_SHEEPDOG'),
|
|
||||||
'Gluster': conf.has('WITH_STORAGE_GLUSTER'),
|
'Gluster': conf.has('WITH_STORAGE_GLUSTER'),
|
||||||
'ZFS': conf.has('WITH_STORAGE_ZFS'),
|
'ZFS': conf.has('WITH_STORAGE_ZFS'),
|
||||||
'Virtuozzo storage': conf.has('WITH_STORAGE_VSTORAGE'),
|
'Virtuozzo storage': conf.has('WITH_STORAGE_VSTORAGE'),
|
||||||
|
@ -88,7 +88,6 @@ option('storage_lvm', type: 'feature', value: 'auto', description: 'LVM backend
|
|||||||
option('storage_mpath', type: 'feature', value: 'auto', description: 'mpath backend for the storage driver')
|
option('storage_mpath', type: 'feature', value: 'auto', description: 'mpath backend for the storage driver')
|
||||||
option('storage_rbd', type: 'feature', value: 'auto', description: 'RADOS Block Device backend for the storage driver')
|
option('storage_rbd', type: 'feature', value: 'auto', description: 'RADOS Block Device backend for the storage driver')
|
||||||
option('storage_scsi', type: 'feature', value: 'auto', description: 'SCSI backend for the storage driver')
|
option('storage_scsi', type: 'feature', value: 'auto', description: 'SCSI backend for the storage driver')
|
||||||
option('storage_sheepdog', type: 'feature', value: 'auto', description: 'Sheepdog backend for the storage driver')
|
|
||||||
option('storage_vstorage', type: 'feature', value: 'auto', description: 'Virtuozzo storage backend for the storage driver')
|
option('storage_vstorage', type: 'feature', value: 'auto', description: 'Virtuozzo storage backend for the storage driver')
|
||||||
option('storage_zfs', type: 'feature', value: 'auto', description: 'ZFS backend for the storage driver')
|
option('storage_zfs', type: 'feature', value: 'auto', description: 'ZFS backend for the storage driver')
|
||||||
|
|
||||||
|
@ -51,10 +51,6 @@ storage_backend_scsi_sources = [
|
|||||||
'storage_backend_scsi.c',
|
'storage_backend_scsi.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
storage_backend_sheepdog_sources = [
|
|
||||||
'storage_backend_sheepdog.c',
|
|
||||||
]
|
|
||||||
|
|
||||||
storage_backend_vstorage_sources = [
|
storage_backend_vstorage_sources = [
|
||||||
'storage_backend_vstorage.c',
|
'storage_backend_vstorage.c',
|
||||||
]
|
]
|
||||||
@ -239,27 +235,6 @@ if conf.has('WITH_STORAGE_SCSI')
|
|||||||
}
|
}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if conf.has('WITH_STORAGE_SHEEPDOG')
|
|
||||||
storage_backend_sheepdog_priv_lib = static_library(
|
|
||||||
'virt_storage_backend_sheepdog_priv',
|
|
||||||
storage_backend_sheepdog_sources,
|
|
||||||
dependencies: [
|
|
||||||
src_dep,
|
|
||||||
],
|
|
||||||
include_directories: [
|
|
||||||
conf_inc_dir,
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
||||||
virt_modules += {
|
|
||||||
'name': 'virt_storage_backend_sheepdog',
|
|
||||||
'link_whole': [
|
|
||||||
storage_backend_sheepdog_priv_lib,
|
|
||||||
],
|
|
||||||
'install_dir': storage_backend_install_dir,
|
|
||||||
}
|
|
||||||
endif
|
|
||||||
|
|
||||||
if conf.has('WITH_STORAGE_VSTORAGE')
|
if conf.has('WITH_STORAGE_VSTORAGE')
|
||||||
virt_modules += {
|
virt_modules += {
|
||||||
'name': 'virt_storage_backend_vstorage',
|
'name': 'virt_storage_backend_vstorage',
|
||||||
|
@ -55,9 +55,6 @@
|
|||||||
#if WITH_STORAGE_RBD
|
#if WITH_STORAGE_RBD
|
||||||
# include "storage_backend_rbd.h"
|
# include "storage_backend_rbd.h"
|
||||||
#endif
|
#endif
|
||||||
#if WITH_STORAGE_SHEEPDOG
|
|
||||||
# include "storage_backend_sheepdog.h"
|
|
||||||
#endif
|
|
||||||
#if WITH_STORAGE_GLUSTER
|
#if WITH_STORAGE_GLUSTER
|
||||||
# include "storage_backend_gluster.h"
|
# include "storage_backend_gluster.h"
|
||||||
#endif
|
#endif
|
||||||
@ -129,9 +126,6 @@ virStorageBackendDriversRegister(bool allbackends G_GNUC_UNUSED)
|
|||||||
#if WITH_STORAGE_RBD
|
#if WITH_STORAGE_RBD
|
||||||
VIR_STORAGE_BACKEND_REGISTER(virStorageBackendRBDRegister, "rbd");
|
VIR_STORAGE_BACKEND_REGISTER(virStorageBackendRBDRegister, "rbd");
|
||||||
#endif
|
#endif
|
||||||
#if WITH_STORAGE_SHEEPDOG
|
|
||||||
VIR_STORAGE_BACKEND_REGISTER(virStorageBackendSheepdogRegister, "sheepdog");
|
|
||||||
#endif
|
|
||||||
#if WITH_STORAGE_GLUSTER
|
#if WITH_STORAGE_GLUSTER
|
||||||
VIR_STORAGE_BACKEND_REGISTER(virStorageBackendGlusterRegister, "gluster");
|
VIR_STORAGE_BACKEND_REGISTER(virStorageBackendGlusterRegister, "gluster");
|
||||||
#endif
|
#endif
|
||||||
|
@ -579,9 +579,6 @@ virshShowVersion(vshControl *ctl G_GNUC_UNUSED)
|
|||||||
#ifdef WITH_STORAGE_RBD
|
#ifdef WITH_STORAGE_RBD
|
||||||
vshPrint(ctl, " RBD");
|
vshPrint(ctl, " RBD");
|
||||||
#endif
|
#endif
|
||||||
#ifdef WITH_STORAGE_SHEEPDOG
|
|
||||||
vshPrint(ctl, " Sheepdog");
|
|
||||||
#endif
|
|
||||||
#ifdef WITH_STORAGE_GLUSTER
|
#ifdef WITH_STORAGE_GLUSTER
|
||||||
vshPrint(ctl, " Gluster");
|
vshPrint(ctl, " Gluster");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user