Accepting request 980557 from filesystems:ceph:pacific
OBS-URL: https://build.opensuse.org/request/show/980557 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=322
This commit is contained in:
parent
a6c12d699d
commit
b0655892e1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65ed0ea886d55dccab0a4f1a6d75e68d9e9c2cefc40e053557a6403421794b36
|
||||
size 128518298
|
3
ceph-16.2.9-58-ge2e5cb80063.tar.bz2
Normal file
3
ceph-16.2.9-58-ge2e5cb80063.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:220dd24963cc56f4b7d9c697fa7eca09fac81e16f1e1200dca0df908791b54d0
|
||||
size 155168025
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 20:57:56 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
|
||||
|
||||
- Update to ceph-16.2.9-58-ge2e5cb80063:
|
||||
+ (bsc#1200064, pr#480) Remove last vestiges of docker.io image paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 23:56:57 UTC 2022 - Michael Fritch <michael.fritch@suse.com>
|
||||
|
||||
- Update to 16.2.9.50-g7d9f12156fb:
|
||||
+ (jsc#SES-2515) High-availability NFS export
|
||||
+ (bsc#1196044) cephadm: prometheus: The generatorURL in alerts is only using hostname
|
||||
+ (bsc#1196785) cephadm: avoid crashing on expected non-zero exit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 21:15:33 UTC 2022 - Michael Fritch <michael.fritch@suse.com>
|
||||
|
||||
- Update to 16.2.7-969-g6195a460d89
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 17:09:16 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
|
||||
|
||||
|
108
ceph-test.spec
108
ceph-test.spec
@ -1,24 +1,25 @@
|
||||
#
|
||||
# spec file for package ceph-test
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
|
||||
# at the top-level directory of this distribution and at
|
||||
# https://github.com/ceph/ceph/blob/master/COPYING
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# upon.
|
||||
#
|
||||
# This file is under the GNU Lesser General Public License, version 2.1
|
||||
#
|
||||
# Please submit bugfixes or comments via http://tracker.ceph.com/
|
||||
#
|
||||
|
||||
|
||||
#################################################################################
|
||||
# conditional build section
|
||||
#
|
||||
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
|
||||
# bcond syntax!
|
||||
#################################################################################
|
||||
%bcond_with make_check
|
||||
%bcond_with zbd
|
||||
%bcond_with cmake_verbose_logging
|
||||
@ -124,7 +125,7 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph-test
|
||||
Version: 16.2.7.654+gd5a90ff46f0
|
||||
Version: 16.2.9.58+ge2e5cb80063
|
||||
Release: 0%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 2
|
||||
@ -135,12 +136,12 @@ Epoch: 2
|
||||
%global _epoch_prefix %{?epoch:%{epoch}:}
|
||||
|
||||
Summary: Ceph benchmarks and test tools
|
||||
License: BSD-3-Clause AND BSL-1.0 AND CC-BY-SA-3.0 AND LGPL-2.1-only AND LGPL-3.0-only AND GPL-2.0-only AND MIT
|
||||
License: LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
URL: http://ceph.com/
|
||||
Source0: %{?_remote_tarball_prefix}ceph-16.2.7-654-gd5a90ff46f0.tar.bz2
|
||||
Source0: %{?_remote_tarball_prefix}ceph-16.2.9-58-ge2e5cb80063.tar.bz2
|
||||
%if 0%{?suse_version}
|
||||
Source94: ceph-rpmlintrc
|
||||
Source95: checkin.sh
|
||||
@ -155,10 +156,13 @@ ExclusiveArch: x86_64
|
||||
# dependencies that apply across all distro families
|
||||
#################################################################################
|
||||
|
||||
|
||||
|
||||
|
||||
Requires: ceph-common
|
||||
Requires: xmlstarlet
|
||||
Requires: jq
|
||||
Requires: socat
|
||||
Requires: xmlstarlet
|
||||
Requires(post): binutils
|
||||
%if 0%{with cephfs_java}
|
||||
BuildRequires: java-devel
|
||||
@ -168,10 +172,10 @@ BuildRequires: sharutils
|
||||
BuildRequires: checkpolicy
|
||||
BuildRequires: selinux-policy-devel
|
||||
%endif
|
||||
BuildRequires: gperf
|
||||
BuildRequires: cmake > 3.5
|
||||
BuildRequires: cryptsetup
|
||||
BuildRequires: fuse-devel
|
||||
BuildRequires: gperf
|
||||
%if 0%{with seastar}
|
||||
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
|
||||
%else
|
||||
@ -189,22 +193,21 @@ BuildRequires: gperftools-devel >= 2.6.1
|
||||
BuildRequires: gperftools-devel >= 2.4
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: cryptsetup-devel
|
||||
BuildRequires: fmt-devel >= 5.2.1
|
||||
BuildRequires: leveldb-devel > 1.2
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libblkid-devel >= 2.17
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: cryptsetup-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: fmt-devel >= 5.2.1
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: liboath-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: nasm
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: parted
|
||||
BuildRequires: patch
|
||||
BuildRequires: perl
|
||||
@ -215,14 +218,15 @@ BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: sudo
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: util-linux
|
||||
BuildRequires: valgrind-devel
|
||||
BuildRequires: which
|
||||
BuildRequires: xfsprogs
|
||||
BuildRequires: xfsprogs-devel
|
||||
BuildRequires: xmlstarlet
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: nasm
|
||||
BuildRequires: lua-devel
|
||||
%if 0%{with amqp_endpoint}
|
||||
BuildRequires: librabbitmq-devel
|
||||
%endif
|
||||
@ -236,12 +240,11 @@ BuildRequires: %{luarocks_package_name}
|
||||
BuildRequires: jq
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: python%{python3_pkgversion}-bcrypt
|
||||
BuildRequires: python%{python3_pkgversion}-coverage
|
||||
BuildRequires: python%{python3_pkgversion}-dateutil
|
||||
BuildRequires: python%{python3_pkgversion}-nose
|
||||
BuildRequires: python%{python3_pkgversion}-pecan
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: python%{python3_pkgversion}-requests
|
||||
BuildRequires: python%{python3_pkgversion}-dateutil
|
||||
BuildRequires: python%{python3_pkgversion}-coverage
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: socat
|
||||
%endif
|
||||
%if 0%{with zbd}
|
||||
@ -274,85 +277,84 @@ BuildRequires: ragel
|
||||
BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: yaml-cpp-devel
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: libubsan
|
||||
BuildRequires: libasan
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: libubsan
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: gcc-toolset-9-annobin
|
||||
BuildRequires: gcc-toolset-9-libubsan-devel
|
||||
BuildRequires: gcc-toolset-9-libasan-devel
|
||||
BuildRequires: gcc-toolset-9-libatomic-devel
|
||||
BuildRequires: gcc-toolset-9-libubsan-devel
|
||||
%endif
|
||||
%endif
|
||||
#################################################################################
|
||||
# distro-conditional dependencies
|
||||
#################################################################################
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%{?systemd_requires}
|
||||
PreReq: %fillup_prereq
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: keyutils-devel
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: net-tools
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: keyutils-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: openldap2-devel
|
||||
#BuildRequires: krb5
|
||||
#BuildRequires: krb5-devel
|
||||
BuildRequires: cunit-devel
|
||||
BuildRequires: liblz4-devel >= 1.7
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-PrettyTable
|
||||
BuildRequires: python%{python3_pkgversion}-Sphinx
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: rdma-core-devel
|
||||
BuildRequires: liblz4-devel >= 1.7
|
||||
# for prometheus-alerts
|
||||
BuildRequires: golang-github-prometheus-prometheus
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
|
||||
BuildRequires: boost-random
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: keyutils-libs-devel
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: librdmacm-devel
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: openldap-devel
|
||||
#BuildRequires: krb5-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: CUnit-devel
|
||||
BuildRequires: lz4-devel >= 1.7
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-prettytable
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-prettytable
|
||||
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||
BuildRequires: lz4-devel >= 1.7
|
||||
%endif
|
||||
# distro-conditional make check dependencies
|
||||
%if 0%{with make_check}
|
||||
BuildRequires: golang
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: golang-github-prometheus
|
||||
BuildRequires: jsonnet
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
BuildRequires: xmlsec1
|
||||
BuildRequires: xmlsec1-devel
|
||||
%ifarch x86_64
|
||||
BuildRequires: xmlsec1-nss
|
||||
%endif
|
||||
BuildRequires: xmlsec1-openssl
|
||||
BuildRequires: xmlsec1-openssl-devel
|
||||
BuildRequires: python%{python3_pkgversion}-cherrypy
|
||||
BuildRequires: python%{python3_pkgversion}-jwt
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: python%{python3_pkgversion}-routes
|
||||
BuildRequires: python%{python3_pkgversion}-scipy
|
||||
BuildRequires: python%{python3_pkgversion}-werkzeug
|
||||
BuildRequires: xmlsec1-openssl
|
||||
BuildRequires: xmlsec1-openssl-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: golang-github-prometheus-prometheus
|
||||
BuildRequires: jsonnet
|
||||
BuildRequires: libxmlsec1-1
|
||||
BuildRequires: libxmlsec1-nss1
|
||||
BuildRequires: libxmlsec1-openssl1
|
||||
@ -368,12 +370,12 @@ BuildRequires: xmlsec1-openssl-devel
|
||||
# lttng and babeltrace for rbd-replay-prep
|
||||
%if %{with lttng}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: libbabeltrace-devel
|
||||
BuildRequires: lttng-ust-devel
|
||||
BuildRequires: libbabeltrace-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: babeltrace-devel
|
||||
BuildRequires: lttng-ust-devel
|
||||
BuildRequires: babeltrace-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
@ -581,9 +583,8 @@ This package contains Ceph benchmarks and test tools.
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n ceph-16.2.7-654-gd5a90ff46f0
|
||||
%autosetup -p1 -n ceph-16.2.9-58-ge2e5cb80063
|
||||
|
||||
%build
|
||||
# LTO can be enabled as soon as the following GCC bug is fixed:
|
||||
@ -729,6 +730,7 @@ cat ./CMakeFiles/CMakeError.log
|
||||
|
||||
make "$CEPH_MFLAGS_JOBS"
|
||||
|
||||
|
||||
%if 0%{with make_check}
|
||||
%check
|
||||
# run in-tree unittests
|
||||
@ -736,6 +738,7 @@ cd build
|
||||
ctest "$CEPH_MFLAGS_JOBS"
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
pushd build
|
||||
make DESTDIR=%{buildroot} install
|
||||
@ -809,7 +812,7 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
|
||||
|
||||
# prometheus alerts
|
||||
install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
|
||||
install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# create __pycache__ directories and their contents
|
||||
@ -1085,10 +1088,6 @@ rm -rf %{buildroot}%{_datadir}/selinux/packages/ceph.pp
|
||||
rm -rf %{buildroot}%{_datadir}/selinux/devel/include/contrib/ceph.if
|
||||
rm -rf %{buildroot}%{_mandir}/man8/ceph_selinux.8*
|
||||
rm -rf %{buildroot}%{_sysconfdir}/grafana/dashboards/ceph-dashboard/*
|
||||
rm -rf %{buildroot}%doc
|
||||
rm -rf %{buildroot}monitoring/grafana/dashboards/README
|
||||
rm -rf %{buildroot}%doc
|
||||
rm -rf %{buildroot}monitoring/grafana/README.md
|
||||
rm -rf %{buildroot}%{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
|
||||
|
||||
dirs=`find %{buildroot} -type d -empty`
|
||||
@ -1261,5 +1260,4 @@ rm -rf build
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
19
ceph.changes
19
ceph.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 20:57:56 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
|
||||
|
||||
- Update to ceph-16.2.9-58-ge2e5cb80063:
|
||||
+ (bsc#1200064, pr#480) Remove last vestiges of docker.io image paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 23:56:57 UTC 2022 - Michael Fritch <michael.fritch@suse.com>
|
||||
|
||||
- Update to 16.2.9.50-g7d9f12156fb:
|
||||
+ (jsc#SES-2515) High-availability NFS export
|
||||
+ (bsc#1196044) cephadm: prometheus: The generatorURL in alerts is only using hostname
|
||||
+ (bsc#1196785) cephadm: avoid crashing on expected non-zero exit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 21:15:33 UTC 2022 - Michael Fritch <michael.fritch@suse.com>
|
||||
|
||||
- Update to 16.2.7-969-g6195a460d89
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 17:09:16 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
|
||||
|
||||
|
208
ceph.spec
208
ceph.spec
@ -1,24 +1,25 @@
|
||||
#
|
||||
# spec file for package ceph
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
|
||||
# at the top-level directory of this distribution and at
|
||||
# https://github.com/ceph/ceph/blob/master/COPYING
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# upon.
|
||||
#
|
||||
# This file is under the GNU Lesser General Public License, version 2.1
|
||||
#
|
||||
# Please submit bugfixes or comments via http://tracker.ceph.com/
|
||||
#
|
||||
|
||||
|
||||
#################################################################################
|
||||
# conditional build section
|
||||
#
|
||||
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
|
||||
# bcond syntax!
|
||||
#################################################################################
|
||||
%bcond_with make_check
|
||||
%bcond_with zbd
|
||||
%bcond_with cmake_verbose_logging
|
||||
@ -124,7 +125,7 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph
|
||||
Version: 16.2.7.654+gd5a90ff46f0
|
||||
Version: 16.2.9.58+ge2e5cb80063
|
||||
Release: 0%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 2
|
||||
@ -135,12 +136,12 @@ Epoch: 2
|
||||
%global _epoch_prefix %{?epoch:%{epoch}:}
|
||||
|
||||
Summary: User space components of the Ceph file system
|
||||
License: BSD-3-Clause AND BSL-1.0 AND CC-BY-SA-3.0 AND LGPL-2.1-only AND LGPL-3.0-only AND GPL-2.0-only AND MIT
|
||||
License: LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
URL: http://ceph.com/
|
||||
Source0: %{?_remote_tarball_prefix}ceph-16.2.7-654-gd5a90ff46f0.tar.bz2
|
||||
Source0: %{?_remote_tarball_prefix}ceph-16.2.9-58-ge2e5cb80063.tar.bz2
|
||||
%if 0%{?suse_version}
|
||||
# _insert_obs_source_lines_here
|
||||
ExclusiveArch: x86_64 aarch64 ppc64le s390x
|
||||
@ -161,10 +162,10 @@ BuildRequires: sharutils
|
||||
BuildRequires: checkpolicy
|
||||
BuildRequires: selinux-policy-devel
|
||||
%endif
|
||||
BuildRequires: gperf
|
||||
BuildRequires: cmake > 3.5
|
||||
BuildRequires: cryptsetup
|
||||
BuildRequires: fuse-devel
|
||||
BuildRequires: gperf
|
||||
%if 0%{with seastar}
|
||||
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
|
||||
%else
|
||||
@ -182,22 +183,21 @@ BuildRequires: gperftools-devel >= 2.6.1
|
||||
BuildRequires: gperftools-devel >= 2.4
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: cryptsetup-devel
|
||||
BuildRequires: fmt-devel >= 5.2.1
|
||||
BuildRequires: leveldb-devel > 1.2
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libblkid-devel >= 2.17
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: cryptsetup-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: fmt-devel >= 5.2.1
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: liboath-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: nasm
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: parted
|
||||
BuildRequires: patch
|
||||
BuildRequires: perl
|
||||
@ -208,14 +208,15 @@ BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: sudo
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: util-linux
|
||||
BuildRequires: valgrind-devel
|
||||
BuildRequires: which
|
||||
BuildRequires: xfsprogs
|
||||
BuildRequires: xfsprogs-devel
|
||||
BuildRequires: xmlstarlet
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: nasm
|
||||
BuildRequires: lua-devel
|
||||
%if 0%{with amqp_endpoint}
|
||||
BuildRequires: librabbitmq-devel
|
||||
%endif
|
||||
@ -229,12 +230,11 @@ BuildRequires: %{luarocks_package_name}
|
||||
BuildRequires: jq
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: python%{python3_pkgversion}-bcrypt
|
||||
BuildRequires: python%{python3_pkgversion}-coverage
|
||||
BuildRequires: python%{python3_pkgversion}-dateutil
|
||||
BuildRequires: python%{python3_pkgversion}-nose
|
||||
BuildRequires: python%{python3_pkgversion}-pecan
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: python%{python3_pkgversion}-requests
|
||||
BuildRequires: python%{python3_pkgversion}-dateutil
|
||||
BuildRequires: python%{python3_pkgversion}-coverage
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: socat
|
||||
%endif
|
||||
%if 0%{with zbd}
|
||||
@ -267,85 +267,84 @@ BuildRequires: ragel
|
||||
BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: yaml-cpp-devel
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: libubsan
|
||||
BuildRequires: libasan
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: libubsan
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: gcc-toolset-9-annobin
|
||||
BuildRequires: gcc-toolset-9-libubsan-devel
|
||||
BuildRequires: gcc-toolset-9-libasan-devel
|
||||
BuildRequires: gcc-toolset-9-libatomic-devel
|
||||
BuildRequires: gcc-toolset-9-libubsan-devel
|
||||
%endif
|
||||
%endif
|
||||
#################################################################################
|
||||
# distro-conditional dependencies
|
||||
#################################################################################
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%{?systemd_requires}
|
||||
PreReq: %fillup_prereq
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: keyutils-devel
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: net-tools
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: keyutils-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: openldap2-devel
|
||||
#BuildRequires: krb5
|
||||
#BuildRequires: krb5-devel
|
||||
BuildRequires: cunit-devel
|
||||
BuildRequires: liblz4-devel >= 1.7
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-PrettyTable
|
||||
BuildRequires: python%{python3_pkgversion}-Sphinx
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: rdma-core-devel
|
||||
BuildRequires: liblz4-devel >= 1.7
|
||||
# for prometheus-alerts
|
||||
BuildRequires: golang-github-prometheus-prometheus
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: systemd
|
||||
BuildRequires: boost-random
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: keyutils-libs-devel
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: librdmacm-devel
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: openldap-devel
|
||||
#BuildRequires: krb5-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: CUnit-devel
|
||||
BuildRequires: lz4-devel >= 1.7
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-prettytable
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-Cython
|
||||
BuildRequires: python%{python3_pkgversion}-prettytable
|
||||
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||
BuildRequires: lz4-devel >= 1.7
|
||||
%endif
|
||||
# distro-conditional make check dependencies
|
||||
%if 0%{with make_check}
|
||||
BuildRequires: golang
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: golang-github-prometheus
|
||||
BuildRequires: jsonnet
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
BuildRequires: xmlsec1
|
||||
BuildRequires: xmlsec1-devel
|
||||
%ifarch x86_64
|
||||
BuildRequires: xmlsec1-nss
|
||||
%endif
|
||||
BuildRequires: xmlsec1-openssl
|
||||
BuildRequires: xmlsec1-openssl-devel
|
||||
BuildRequires: python%{python3_pkgversion}-cherrypy
|
||||
BuildRequires: python%{python3_pkgversion}-jwt
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
BuildRequires: python%{python3_pkgversion}-routes
|
||||
BuildRequires: python%{python3_pkgversion}-scipy
|
||||
BuildRequires: python%{python3_pkgversion}-werkzeug
|
||||
BuildRequires: xmlsec1-openssl
|
||||
BuildRequires: xmlsec1-openssl-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: golang-github-prometheus-prometheus
|
||||
BuildRequires: jsonnet
|
||||
BuildRequires: libxmlsec1-1
|
||||
BuildRequires: libxmlsec1-nss1
|
||||
BuildRequires: libxmlsec1-openssl1
|
||||
@ -361,12 +360,12 @@ BuildRequires: xmlsec1-openssl-devel
|
||||
# lttng and babeltrace for rbd-replay-prep
|
||||
%if %{with lttng}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: libbabeltrace-devel
|
||||
BuildRequires: lttng-ust-devel
|
||||
BuildRequires: libbabeltrace-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: babeltrace-devel
|
||||
BuildRequires: lttng-ust-devel
|
||||
BuildRequires: babeltrace-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
@ -402,7 +401,6 @@ on commodity hardware and delivers object, block and file system storage.
|
||||
#################################################################################
|
||||
# subpackages
|
||||
#################################################################################
|
||||
|
||||
%package base
|
||||
Summary: Ceph Base Package
|
||||
%if 0%{?suse_version}
|
||||
@ -410,9 +408,9 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Provides: ceph-test:/usr/bin/ceph-kvstore-tool
|
||||
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{with selinux}
|
||||
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
|
||||
@ -426,8 +424,8 @@ Requires: parted
|
||||
Requires: psmisc
|
||||
Requires: python%{python3_pkgversion}-setuptools
|
||||
Requires: util-linux
|
||||
Requires: which
|
||||
Requires: xfsprogs
|
||||
Requires: which
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
# The following is necessary due to tracker 36508 and can be removed once the
|
||||
# associated upstream bugs are resolved.
|
||||
@ -444,7 +442,6 @@ Requires: smartmontools
|
||||
Recommends: smartmontools
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description base
|
||||
Base is the package that includes all the files shared amongst ceph servers
|
||||
|
||||
@ -456,7 +453,6 @@ Requires: python%{python3_pkgversion}
|
||||
%if 0%{?weak_deps}
|
||||
Recommends: podman >= 2.0.2
|
||||
%endif
|
||||
|
||||
%description -n cephadm
|
||||
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
|
||||
with systemd and podman.
|
||||
@ -466,15 +462,15 @@ Summary: Ceph Common
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-cephfs = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-rbd = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-cephfs = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-rgw = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{with jaeger}
|
||||
Requires: libjaeger = %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
@ -494,7 +490,6 @@ Obsoletes: libradosstriper1 <= %{_epoch_prefix}%{version}-%{release}
|
||||
PreReq: permissions
|
||||
Requires(pre): shadow
|
||||
%endif
|
||||
|
||||
%description -n ceph-common
|
||||
Common utilities to mount and interact with a ceph storage cluster.
|
||||
Comprised of files that are common to Ceph clients and servers.
|
||||
@ -505,7 +500,6 @@ Summary: Ceph Metadata Server Daemon
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description mds
|
||||
ceph-mds is the metadata server daemon for the Ceph distributed file system.
|
||||
One or more instances of ceph-mds collectively manage the file system
|
||||
@ -521,7 +515,6 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{with jaeger}
|
||||
Requires: libjaeger = %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description mon
|
||||
ceph-mon is the cluster monitor daemon for the Ceph distributed file
|
||||
system. One or more instances of ceph-mon form a Paxos part-time
|
||||
@ -537,13 +530,12 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{?weak_deps}
|
||||
Recommends: ceph-mgr-cephadm = %{_epoch_prefix}%{version}-%{release}
|
||||
Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
|
||||
Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
|
||||
Recommends: ceph-mgr-k8sevents = %{_epoch_prefix}%{version}-%{release}
|
||||
Recommends: ceph-mgr-cephadm = %{_epoch_prefix}%{version}-%{release}
|
||||
Recommends: python%{python3_pkgversion}-influxdb
|
||||
%endif
|
||||
|
||||
%description mgr
|
||||
ceph-mgr enables python modules that provide services (such as the REST
|
||||
module derived from Calamari) and expose CLI hooks. ceph-mgr gathers
|
||||
@ -556,8 +548,8 @@ BuildArch: noarch
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: python%{python3_pkgversion}-cherrypy
|
||||
@ -575,7 +567,6 @@ Requires: python%{python3_pkgversion}-Routes
|
||||
Requires: python%{python3_pkgversion}-Werkzeug
|
||||
Recommends: python%{python3_pkgversion}-python3-saml
|
||||
%endif
|
||||
|
||||
%description mgr-dashboard
|
||||
ceph-mgr-dashboard is a manager module, providing a web-based application
|
||||
to monitor and manage many aspects of a Ceph cluster and related components.
|
||||
@ -594,7 +585,6 @@ Requires: python%{python3_pkgversion}-numpy
|
||||
Requires: python%{python3_pkgversion}-scikit-learn
|
||||
%endif
|
||||
Requires: python3-scipy
|
||||
|
||||
%description mgr-diskprediction-local
|
||||
ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict
|
||||
disk failures using local algorithms and machine-learning databases.
|
||||
@ -606,10 +596,10 @@ BuildArch: noarch
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: python%{python3_pkgversion}-bcrypt
|
||||
Requires: python%{python3_pkgversion}-dateutil
|
||||
Requires: python%{python3_pkgversion}-pecan
|
||||
Requires: python%{python3_pkgversion}-pyOpenSSL
|
||||
Requires: python%{python3_pkgversion}-requests
|
||||
Requires: python%{python3_pkgversion}-dateutil
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
Requires: python%{python3_pkgversion}-cherrypy
|
||||
Requires: python%{python3_pkgversion}-pyyaml
|
||||
@ -623,7 +613,6 @@ Requires: python%{python3_pkgversion}-Werkzeug
|
||||
%if 0%{?weak_deps}
|
||||
Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description mgr-modules-core
|
||||
ceph-mgr-modules-core provides a set of modules which are always
|
||||
enabled by ceph-mgr.
|
||||
@ -635,9 +624,8 @@ Summary: Ceph Manager module for Rook-based orchestration
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-jsonpatch
|
||||
Requires: python%{python3_pkgversion}-kubernetes
|
||||
|
||||
Requires: python%{python3_pkgversion}-jsonpatch
|
||||
%description mgr-rook
|
||||
ceph-mgr-rook is a ceph-mgr module for orchestration functions using
|
||||
a Rook backend.
|
||||
@ -650,7 +638,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-kubernetes
|
||||
|
||||
%description mgr-k8sevents
|
||||
ceph-mgr-k8sevents is a ceph-mgr module that sends every ceph-events
|
||||
to kubernetes' events API
|
||||
@ -662,8 +649,8 @@ BuildArch: noarch
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: cephadm = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-remoto
|
||||
Requires: cephadm = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{?suse_version}
|
||||
Requires: openssh
|
||||
Requires: python%{python3_pkgversion}-Jinja2
|
||||
@ -672,7 +659,6 @@ Requires: python%{python3_pkgversion}-Jinja2
|
||||
Requires: openssh-clients
|
||||
Requires: python%{python3_pkgversion}-jinja2
|
||||
%endif
|
||||
|
||||
%description mgr-cephadm
|
||||
ceph-mgr-cephadm is a ceph-mgr module for orchestration functions using
|
||||
the integrated cephadm deployment tool management operations.
|
||||
@ -684,7 +670,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: fuse
|
||||
Requires: python%{python3_pkgversion}
|
||||
|
||||
%description fuse
|
||||
FUSE based client for Ceph distributed network file system
|
||||
|
||||
@ -694,9 +679,8 @@ Summary: Ceph daemon for mirroring CephFS snapshots
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
%description -n cephfs-mirror
|
||||
Daemon for mirroring CephFS snapshots between Ceph clusters.
|
||||
|
||||
@ -707,7 +691,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n rbd-fuse
|
||||
FUSE based client to map Ceph rbd images to files
|
||||
|
||||
@ -719,7 +702,6 @@ Group: System/Filesystems
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n rbd-mirror
|
||||
Daemon for mirroring RBD images between Ceph clusters, streaming
|
||||
changes asynchronously.
|
||||
@ -731,7 +713,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description immutable-object-cache
|
||||
Daemon for immutable object cache.
|
||||
|
||||
@ -742,7 +723,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n rbd-nbd
|
||||
NBD based client to map Ceph rbd images to local device
|
||||
|
||||
@ -763,7 +743,6 @@ Requires: mailcap
|
||||
%if 0%{?weak_deps}
|
||||
Recommends: gawk
|
||||
%endif
|
||||
|
||||
%description radosgw
|
||||
RADOS is a distributed object store used by the Ceph distributed
|
||||
storage system. This package provides a REST gateway to the
|
||||
@ -774,7 +753,6 @@ service as well as the OpenStack Object Storage ("Swift") API.
|
||||
Summary: top(1) like utility for Ceph Filesystem
|
||||
BuildArch: noarch
|
||||
Requires: python%{python3_pkgversion}-rados
|
||||
|
||||
%description -n cephfs-top
|
||||
This package provides a top(1) like utility to display Ceph Filesystem metrics
|
||||
in realtime.
|
||||
@ -787,7 +765,6 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}
|
||||
Requires: resource-agents
|
||||
|
||||
%description resource-agents
|
||||
Resource agents for monitoring and managing Ceph daemons
|
||||
under Open Cluster Framework (OCF) compliant resource
|
||||
@ -801,11 +778,10 @@ Group: System/Filesystems
|
||||
%endif
|
||||
Provides: ceph-test:/usr/bin/ceph-osdomap-tool
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libstoragemgmt
|
||||
Requires: lvm2
|
||||
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: sudo
|
||||
|
||||
Requires: libstoragemgmt
|
||||
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
%description osd
|
||||
ceph-osd is the object storage daemon for the Ceph distributed file
|
||||
system. It is responsible for storing objects on a local file system
|
||||
@ -818,7 +794,6 @@ Summary: Ceph Object Storage Daemon (crimson)
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description crimson-osd
|
||||
crimson-osd is the object storage daemon for the Ceph distributed file
|
||||
system. It is responsible for storing objects on a local file system
|
||||
@ -833,7 +808,6 @@ Group: System/Libraries
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description -n librados2
|
||||
RADOS is a reliable, autonomic distributed object storage cluster
|
||||
developed as part of the Ceph distributed storage system. This is a
|
||||
@ -849,7 +823,6 @@ Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n librados-devel
|
||||
This package contains C libraries and headers needed to develop programs
|
||||
that use RADOS object store.
|
||||
@ -859,9 +832,8 @@ Summary: RADOS headers
|
||||
%if 0%{?suse_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
%endif
|
||||
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
%description -n libradospp-devel
|
||||
This package contains C++ libraries and headers needed to develop programs
|
||||
that use RADOS object store.
|
||||
@ -872,7 +844,6 @@ Summary: RADOS gateway client library
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n librgw2
|
||||
This package provides a library implementation of the RADOS gateway
|
||||
(distributed object store with S3 and Swift personalities).
|
||||
@ -886,7 +857,6 @@ Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: librgw2-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: librgw2-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n librgw-devel
|
||||
This package contains libraries and headers needed to develop programs
|
||||
that use RADOS gateway client library.
|
||||
@ -901,7 +871,6 @@ Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-rgw}
|
||||
Provides: python-rgw = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: python-rgw < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n python%{python3_pkgversion}-rgw
|
||||
This package contains Python 3 libraries for interacting with Ceph RADOS
|
||||
gateway.
|
||||
@ -911,12 +880,11 @@ Summary: Python 3 libraries for the RADOS object store
|
||||
%if 0%{?suse_version}
|
||||
Group: Development/Libraries/Python
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-rados}
|
||||
Provides: python-rados = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: python-rados < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n python%{python3_pkgversion}-rados
|
||||
This package contains Python 3 libraries for interacting with Ceph RADOS
|
||||
object store.
|
||||
@ -927,7 +895,6 @@ Summary: SQLite3 VFS for Ceph
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libcephsqlite
|
||||
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
|
||||
distributed object store.
|
||||
@ -937,14 +904,13 @@ Summary: SQLite3 VFS for Ceph headers
|
||||
%if 0%{?suse_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
%endif
|
||||
Requires: sqlite-devel
|
||||
Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: sqlite-devel
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libcephsqlite-devel
|
||||
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
|
||||
distributed object store.
|
||||
@ -956,7 +922,6 @@ Summary: RADOS striping interface
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libradosstriper1
|
||||
Striping interface built on top of the rados library, allowing
|
||||
to stripe bigger objects onto several standard rados objects using
|
||||
@ -967,13 +932,12 @@ Summary: RADOS striping interface headers
|
||||
%if 0%{?suse_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
%endif
|
||||
Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libradosstriper-devel
|
||||
This package contains libraries and headers needed to develop programs
|
||||
that use RADOS striping interface.
|
||||
@ -991,7 +955,6 @@ Requires(post): coreutils
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description -n librbd1
|
||||
RBD is a block device striped across multiple distributed objects in
|
||||
RADOS, a reliable, autonomic distributed object storage cluster
|
||||
@ -1003,13 +966,12 @@ Summary: RADOS block device headers
|
||||
%if 0%{?suse_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
%endif
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: librbd1-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: librbd1-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n librbd-devel
|
||||
This package contains libraries and headers needed to develop programs
|
||||
that use RADOS block device.
|
||||
@ -1024,7 +986,6 @@ Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-rbd}
|
||||
Provides: python-rbd = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: python-rbd < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n python%{python3_pkgversion}-rbd
|
||||
This package contains Python 3 libraries for interacting with Ceph RADOS
|
||||
block device.
|
||||
@ -1036,10 +997,9 @@ Group: System/Libraries
|
||||
%endif
|
||||
Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Obsoletes: ceph-libcephfs
|
||||
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-libcephfs
|
||||
%endif
|
||||
|
||||
%description -n libcephfs2
|
||||
Ceph is a distributed network file system designed to provide excellent
|
||||
performance, reliability, and scalability. This is a shared library
|
||||
@ -1056,7 +1016,6 @@ Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libcephfs-devel
|
||||
This package contains libraries and headers needed to develop programs
|
||||
that use Ceph distributed file system.
|
||||
@ -1070,7 +1029,6 @@ Group: System/Libraries
|
||||
Provides: libjaegertracing.so.0()(64bit)
|
||||
Provides: libopentracing.so.1()(64bit)
|
||||
Provides: libthrift.so.0.13.0()(64bit)
|
||||
|
||||
%description -n libjaeger
|
||||
This package contains libraries needed to provide distributed
|
||||
tracing for Ceph.
|
||||
@ -1082,12 +1040,11 @@ Summary: Python 3 libraries for Ceph distributed file system
|
||||
Group: Development/Libraries/Python
|
||||
%endif
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-cephfs}
|
||||
Provides: python-cephfs = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: python-cephfs < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n python%{python3_pkgversion}-cephfs
|
||||
This package contains Python 3 libraries for interacting with Ceph distributed
|
||||
file system.
|
||||
@ -1098,7 +1055,6 @@ Summary: Python 3 utility libraries for Ceph CLI
|
||||
Group: Development/Libraries/Python
|
||||
%endif
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-argparse}
|
||||
|
||||
%description -n python%{python3_pkgversion}-ceph-argparse
|
||||
This package contains types and routines for Python 3 used by the Ceph CLI as
|
||||
well as the RESTful interface. These have to do with querying the daemons for
|
||||
@ -1117,7 +1073,6 @@ Requires: python%{python3_pkgversion}-PyYAML
|
||||
Group: Development/Libraries/Python
|
||||
%endif
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-common}
|
||||
|
||||
%description -n python%{python3_pkgversion}-ceph-common
|
||||
This package contains data structures, classes and functions used by Ceph.
|
||||
It also contains utilities used for the cephadm orchestrator.
|
||||
@ -1125,10 +1080,9 @@ It also contains utilities used for the cephadm orchestrator.
|
||||
%if 0%{with cephfs_shell}
|
||||
%package -n cephfs-shell
|
||||
Summary: Interactive shell for Ceph file system
|
||||
Requires: python%{python3_pkgversion}-cephfs
|
||||
Requires: python%{python3_pkgversion}-cmd2
|
||||
Requires: python%{python3_pkgversion}-colorama
|
||||
|
||||
Requires: python%{python3_pkgversion}-cephfs
|
||||
%description -n cephfs-shell
|
||||
This package contains an interactive tool that allows accessing a Ceph
|
||||
file system without mounting it by providing a nice pseudo-shell which
|
||||
@ -1142,10 +1096,9 @@ Summary: Ceph benchmarks and test tools
|
||||
Group: System/Benchmark
|
||||
%endif
|
||||
Requires: ceph-common
|
||||
Requires: xmlstarlet
|
||||
Requires: jq
|
||||
Requires: socat
|
||||
Requires: xmlstarlet
|
||||
|
||||
%description -n ceph-test
|
||||
This package contains Ceph benchmarks and test tools.
|
||||
%endif
|
||||
@ -1159,7 +1112,6 @@ Group: System/Libraries
|
||||
%endif
|
||||
Requires: java
|
||||
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libcephfs_jni1
|
||||
This package contains the Java Native Interface library for CephFS Java
|
||||
bindings.
|
||||
@ -1174,7 +1126,6 @@ Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
Provides: libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
Obsoletes: libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n libcephfs_jni-devel
|
||||
This package contains the development files for CephFS Java Native Interface
|
||||
library.
|
||||
@ -1185,10 +1136,9 @@ Summary: Java libraries for the Ceph File System
|
||||
Group: System/Libraries
|
||||
%endif
|
||||
Requires: java
|
||||
Requires: junit
|
||||
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: junit
|
||||
BuildRequires: junit
|
||||
|
||||
%description -n cephfs-java
|
||||
This package contains the Java libraries for the Ceph File System.
|
||||
|
||||
@ -1200,7 +1150,6 @@ Summary: RADOS object class development kit
|
||||
Group: Development/Libraries/C and C++
|
||||
%endif
|
||||
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
|
||||
|
||||
%description -n rados-objclass-devel
|
||||
This package contains libraries and headers needed to develop RADOS object
|
||||
class plugins.
|
||||
@ -1213,12 +1162,10 @@ Summary: SELinux support for Ceph MON, OSD and MDS
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: libselinux-utils
|
||||
Requires: policycoreutils
|
||||
Requires: policycoreutils, libselinux-utils
|
||||
Requires(post): ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
|
||||
Requires(postun): policycoreutils
|
||||
|
||||
%description selinux
|
||||
This package contains SELinux support for Ceph MON, OSD and MDS. The package
|
||||
also performs file-system relabelling which can take a long time on heavily
|
||||
@ -1232,7 +1179,6 @@ BuildArch: noarch
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
|
||||
%description grafana-dashboards
|
||||
This package provides a set of Grafana dashboards for monitoring of
|
||||
Ceph clusters. The dashboards require a Prometheus server setup
|
||||
@ -1244,16 +1190,14 @@ integrated with the Ceph Manager Dashboard web UI.
|
||||
Summary: Prometheus alerts for a Ceph deployment
|
||||
BuildArch: noarch
|
||||
Group: System/Monitoring
|
||||
|
||||
%description prometheus-alerts
|
||||
This package provides Ceph default alerts for Prometheus.
|
||||
|
||||
#################################################################################
|
||||
# common
|
||||
#################################################################################
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n ceph-16.2.7-654-gd5a90ff46f0
|
||||
%autosetup -p1 -n ceph-16.2.9-58-ge2e5cb80063
|
||||
|
||||
%build
|
||||
# LTO can be enabled as soon as the following GCC bug is fixed:
|
||||
@ -1399,6 +1343,7 @@ cat ./CMakeFiles/CMakeError.log
|
||||
|
||||
make "$CEPH_MFLAGS_JOBS"
|
||||
|
||||
|
||||
%if 0%{with make_check}
|
||||
%check
|
||||
# run in-tree unittests
|
||||
@ -1406,6 +1351,7 @@ cd build
|
||||
ctest "$CEPH_MFLAGS_JOBS"
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
pushd build
|
||||
make DESTDIR=%{buildroot} install
|
||||
@ -1479,7 +1425,7 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
|
||||
|
||||
# prometheus alerts
|
||||
install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
|
||||
install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# create __pycache__ directories and their contents
|
||||
@ -2525,8 +2471,6 @@ exit 0
|
||||
%endif
|
||||
%attr(0755,root,root) %dir %{_sysconfdir}/grafana/dashboards/ceph-dashboard
|
||||
%config %{_sysconfdir}/grafana/dashboards/ceph-dashboard/*
|
||||
%doc monitoring/grafana/dashboards/README
|
||||
%doc monitoring/grafana/README.md
|
||||
|
||||
%files prometheus-alerts
|
||||
%if 0%{?suse_version}
|
||||
|
@ -104,7 +104,7 @@ if [ -z "$TMPDIR" ] ; then
|
||||
rm -rf *.bz2
|
||||
fi
|
||||
echo "Running make-dist inside clone"
|
||||
# export DASHBOARD_FRONTEND_LANGS="ALL"
|
||||
export DASHBOARD_FRONTEND_LANGS="ALL"
|
||||
./make-dist
|
||||
popd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user