SHA256
1
0
forked from pool/ceph

Accepting request 967132 from filesystems:ceph:pacific

- Update to v16.2.7-654-gd5a90ff46f0
  + (bsc#1196733) remove build directory during %clean 

- Update to v16.2.7-654-gd5a90ff46f0
  + (bsc#1196733) remove build directory during %clean

OBS-URL: https://build.opensuse.org/request/show/967132
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=320
This commit is contained in:
Stefen Allen 2022-04-05 19:52:03 +00:00 committed by Git OBS Bridge
parent 3f61e4ac76
commit a6c12d699d
7 changed files with 631 additions and 637 deletions

View File

@ -3,26 +3,31 @@
<sandbox>kvm</sandbox> <sandbox>kvm</sandbox>
<overwrite> <!--
<conditions>
<arch>x86_64</arch> 2022-03-31 - Tim Serong <tserong@suse.com>
<package>ceph</package>
</conditions> Builds of ceph 16.2.7 on IBS showed the following resource usage (in MB):
<hardware>
<disk> ceph aarch64 max disk: 41568 max mem: 13698 (on ibs-centriq-6:3 disk: 65536 mem: 18432)
<size unit="G">52</size> ceph x86_64 max disk: 41621 max mem: 9852 (on sheep74:2 disk: 51200 mem: 12500)
</disk> ceph ppc64le max disk: 42005 max mem: 8754 (on ibs-power9-10:1 disk: 61440 mem: 20480)
<physicalmemory> ceph s390x max disk: 40698 max mem: 8875 (on s390zl36:1 disk: 51200 mem: 10240)
<size unit="G">8</size> ceph-test x86_64 max disk: 51760 max mem: 16835 (on sheep94:2 disk: 112640 mem: 16384)
</physicalmemory>
</hardware> Based on the above (and to hopefully provide a little wiggle room for
</overwrite> the future while at the same time not being too demanding of workers)
I've set the disk constraints to 50GB for ceph and 60GB for ceph-test.
Memory requirements remain at 8GB and 10GB respectively as they were
previously - despite the memory usage shown above, AFAIK we haven't
run out of memory during builds, and this keeps the pool of possible
workers noticeably larger than it would be if we required 16GB.
Note to future hackers: please add comments here to describe any further
changes made. Thank you!
-->
<overwrite>
<conditions>
<arch>aarch64</arch>
<package>ceph</package>
</conditions>
<hardware> <hardware>
<disk> <disk>
<size unit="G">50</size> <size unit="G">50</size>
@ -31,46 +36,14 @@
<size unit="G">8</size> <size unit="G">8</size>
</physicalmemory> </physicalmemory>
</hardware> </hardware>
</overwrite>
<overwrite> <overwrite>
<conditions> <conditions>
<arch>ppc64le</arch>
<package>ceph</package>
</conditions>
<hardware>
<disk>
<size unit="G">50</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>s390x</arch>
<package>ceph</package>
</conditions>
<hardware>
<disk>
<size unit="G">42</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>x86_64</arch>
<package>ceph-test</package> <package>ceph-test</package>
</conditions> </conditions>
<hardware> <hardware>
<disk> <disk>
<size unit="G">64</size> <size unit="G">60</size>
</disk> </disk>
<physicalmemory> <physicalmemory>
<size unit="G">10</size> <size unit="G">10</size>
@ -78,49 +51,4 @@
</hardware> </hardware>
</overwrite> </overwrite>
<overwrite>
<conditions>
<arch>aarch64</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">42</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>ppc64le</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">28</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>s390x</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">42</size>
</disk>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
</constraints> </constraints>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05ee1afbf3c0e7b5ff32b534a973e0c90cb23c6c500ab5c88a4b3b363525b037
size 128471285

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65ed0ea886d55dccab0a4f1a6d75e68d9e9c2cefc40e053557a6403421794b36
size 128518298

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 31 17:09:16 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
- Update to v16.2.7-654-gd5a90ff46f0
+ (bsc#1196733) remove build directory during %clean
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 30 17:38:31 UTC 2022 - Stefen Allen <stefen.allen@suse.com> Wed Mar 30 17:38:31 UTC 2022 - Stefen Allen <stefen.allen@suse.com>

View File

@ -1,25 +1,24 @@
# #
# spec file for package ceph # spec file for package ceph-test
# #
# Copyright (c) 2022 SUSE LLC
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file # Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
# at the top-level directory of this distribution and at # at the top-level directory of this distribution and at
# https://github.com/ceph/ceph/blob/master/COPYING # https://github.com/ceph/ceph/blob/master/COPYING
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
# upon. # 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
# This file is under the GNU Lesser General Public License, version 2.1 # 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
# Please submit bugfixes or comments via http://tracker.ceph.com/ # 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/
# #
#################################################################################
# conditional build section
#
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
# bcond syntax!
#################################################################################
%bcond_with make_check %bcond_with make_check
%bcond_with zbd %bcond_with zbd
%bcond_with cmake_verbose_logging %bcond_with cmake_verbose_logging
@ -125,7 +124,7 @@
# main package definition # main package definition
################################################################################# #################################################################################
Name: ceph-test Name: ceph-test
Version: 16.2.7.652+gf5dc462fdb5 Version: 16.2.7.654+gd5a90ff46f0
Release: 0%{?dist} Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Epoch: 2 Epoch: 2
@ -136,12 +135,12 @@ Epoch: 2
%global _epoch_prefix %{?epoch:%{epoch}:} %global _epoch_prefix %{?epoch:%{epoch}:}
Summary: Ceph benchmarks and test tools Summary: Ceph benchmarks and test tools
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 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
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%endif %endif
URL: http://ceph.com/ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-16.2.7-652-gf5dc462fdb5.tar.bz2 Source0: %{?_remote_tarball_prefix}ceph-16.2.7-654-gd5a90ff46f0.tar.bz2
%if 0%{?suse_version} %if 0%{?suse_version}
Source94: ceph-rpmlintrc Source94: ceph-rpmlintrc
Source95: checkin.sh Source95: checkin.sh
@ -156,13 +155,10 @@ ExclusiveArch: x86_64
# dependencies that apply across all distro families # dependencies that apply across all distro families
################################################################################# #################################################################################
Requires: ceph-common Requires: ceph-common
Requires: xmlstarlet
Requires: jq Requires: jq
Requires: socat Requires: socat
Requires: xmlstarlet
Requires(post): binutils Requires(post): binutils
%if 0%{with cephfs_java} %if 0%{with cephfs_java}
BuildRequires: java-devel BuildRequires: java-devel
@ -172,10 +168,10 @@ BuildRequires: sharutils
BuildRequires: checkpolicy BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel BuildRequires: selinux-policy-devel
%endif %endif
BuildRequires: gperf
BuildRequires: cmake > 3.5 BuildRequires: cmake > 3.5
BuildRequires: cryptsetup BuildRequires: cryptsetup
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: gperf
%if 0%{with seastar} %if 0%{with seastar}
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3 BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
%else %else
@ -193,21 +189,22 @@ BuildRequires: gperftools-devel >= 2.6.1
BuildRequires: gperftools-devel >= 2.4 BuildRequires: gperftools-devel >= 2.4
%endif %endif
%endif %endif
BuildRequires: cryptsetup-devel
BuildRequires: fmt-devel >= 5.2.1
BuildRequires: leveldb-devel > 1.2 BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: cryptsetup-devel
BuildRequires: libcurl-devel
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
BuildRequires: fmt-devel >= 5.2.1 BuildRequires: libcurl-devel
BuildRequires: pkgconfig(libudev) BuildRequires: libicu-devel
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
BuildRequires: liboath-devel BuildRequires: liboath-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: lua-devel
BuildRequires: make BuildRequires: make
BuildRequires: nasm
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: libicu-devel
BuildRequires: parted BuildRequires: parted
BuildRequires: patch BuildRequires: patch
BuildRequires: perl BuildRequires: perl
@ -218,15 +215,14 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: snappy-devel BuildRequires: snappy-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: sudo BuildRequires: sudo
BuildRequires: pkgconfig(udev)
BuildRequires: util-linux BuildRequires: util-linux
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
BuildRequires: which BuildRequires: which
BuildRequires: xfsprogs BuildRequires: xfsprogs
BuildRequires: xfsprogs-devel BuildRequires: xfsprogs-devel
BuildRequires: xmlstarlet BuildRequires: xmlstarlet
BuildRequires: nasm BuildRequires: pkgconfig(libudev)
BuildRequires: lua-devel BuildRequires: pkgconfig(udev)
%if 0%{with amqp_endpoint} %if 0%{with amqp_endpoint}
BuildRequires: librabbitmq-devel BuildRequires: librabbitmq-devel
%endif %endif
@ -240,12 +236,12 @@ BuildRequires: %{luarocks_package_name}
BuildRequires: jq BuildRequires: jq
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: python%{python3_pkgversion}-bcrypt BuildRequires: python%{python3_pkgversion}-bcrypt
BuildRequires: python%{python3_pkgversion}-coverage
BuildRequires: python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-nose BuildRequires: python%{python3_pkgversion}-nose
BuildRequires: python%{python3_pkgversion}-pecan BuildRequires: python%{python3_pkgversion}-pecan
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-coverage
BuildRequires: python%{python3_pkgversion}-pyOpenSSL BuildRequires: python%{python3_pkgversion}-pyOpenSSL
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: socat BuildRequires: socat
%endif %endif
%if 0%{with zbd} %if 0%{with zbd}
@ -278,61 +274,61 @@ BuildRequires: ragel
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
BuildRequires: yaml-cpp-devel BuildRequires: yaml-cpp-devel
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: libubsan
BuildRequires: libasan BuildRequires: libasan
BuildRequires: libatomic BuildRequires: libatomic
BuildRequires: libubsan
%endif %endif
%if 0%{?rhel} %if 0%{?rhel}
BuildRequires: gcc-toolset-9-annobin BuildRequires: gcc-toolset-9-annobin
BuildRequires: gcc-toolset-9-libubsan-devel
BuildRequires: gcc-toolset-9-libasan-devel BuildRequires: gcc-toolset-9-libasan-devel
BuildRequires: gcc-toolset-9-libatomic-devel BuildRequires: gcc-toolset-9-libatomic-devel
BuildRequires: gcc-toolset-9-libubsan-devel
%endif %endif
%endif %endif
################################################################################# #################################################################################
# distro-conditional dependencies # distro-conditional dependencies
################################################################################# #################################################################################
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
%{?systemd_requires} %{?systemd_requires}
PreReq: %fillup_prereq PreReq: %fillup_prereq
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: net-tools
BuildRequires: libbz2-devel
BuildRequires: mozilla-nss-devel
BuildRequires: keyutils-devel BuildRequires: keyutils-devel
BuildRequires: libbz2-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: mozilla-nss-devel
BuildRequires: net-tools
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
#BuildRequires: krb5 #BuildRequires: krb5
#BuildRequires: krb5-devel #BuildRequires: krb5-devel
BuildRequires: cunit-devel BuildRequires: cunit-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: liblz4-devel >= 1.7
BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-Cython
BuildRequires: python%{python3_pkgversion}-PrettyTable BuildRequires: python%{python3_pkgversion}-PrettyTable
BuildRequires: python%{python3_pkgversion}-Sphinx BuildRequires: python%{python3_pkgversion}-Sphinx
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
BuildRequires: liblz4-devel >= 1.7
# for prometheus-alerts # for prometheus-alerts
BuildRequires: golang-github-prometheus-prometheus BuildRequires: golang-github-prometheus-prometheus
%endif %endif
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: boost-random BuildRequires: boost-random
BuildRequires: nss-devel
BuildRequires: keyutils-libs-devel BuildRequires: keyutils-libs-devel
BuildRequires: libibverbs-devel BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel BuildRequires: librdmacm-devel
BuildRequires: nss-devel
BuildRequires: openldap-devel BuildRequires: openldap-devel
#BuildRequires: krb5-devel #BuildRequires: krb5-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: CUnit-devel BuildRequires: CUnit-devel
BuildRequires: python%{python3_pkgversion}-devel
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 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}-sphinx
%endif %endif
# distro-conditional make check dependencies # distro-conditional make check dependencies
%if 0%{with make_check} %if 0%{with make_check}
@ -345,14 +341,14 @@ BuildRequires: xmlsec1-devel
%ifarch x86_64 %ifarch x86_64
BuildRequires: xmlsec1-nss BuildRequires: xmlsec1-nss
%endif %endif
BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
BuildRequires: python%{python3_pkgversion}-cherrypy BuildRequires: python%{python3_pkgversion}-cherrypy
BuildRequires: python%{python3_pkgversion}-jwt BuildRequires: python%{python3_pkgversion}-jwt
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
BuildRequires: python%{python3_pkgversion}-routes BuildRequires: python%{python3_pkgversion}-routes
BuildRequires: python%{python3_pkgversion}-scipy BuildRequires: python%{python3_pkgversion}-scipy
BuildRequires: python%{python3_pkgversion}-werkzeug BuildRequires: python%{python3_pkgversion}-werkzeug
BuildRequires: python%{python3_pkgversion}-pyOpenSSL BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: golang-github-prometheus-prometheus BuildRequires: golang-github-prometheus-prometheus
@ -372,12 +368,12 @@ BuildRequires: xmlsec1-openssl-devel
# lttng and babeltrace for rbd-replay-prep # lttng and babeltrace for rbd-replay-prep
%if %{with lttng} %if %{with lttng}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: lttng-ust-devel
BuildRequires: libbabeltrace-devel BuildRequires: libbabeltrace-devel
BuildRequires: lttng-ust-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: lttng-ust-devel
BuildRequires: babeltrace-devel BuildRequires: babeltrace-devel
BuildRequires: lttng-ust-devel
%endif %endif
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
@ -585,8 +581,9 @@ This package contains Ceph benchmarks and test tools.
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%prep %prep
%autosetup -p1 -n ceph-16.2.7-652-gf5dc462fdb5 %autosetup -p1 -n ceph-16.2.7-654-gd5a90ff46f0
%build %build
# LTO can be enabled as soon as the following GCC bug is fixed: # LTO can be enabled as soon as the following GCC bug is fixed:
@ -732,7 +729,6 @@ cat ./CMakeFiles/CMakeError.log
make "$CEPH_MFLAGS_JOBS" make "$CEPH_MFLAGS_JOBS"
%if 0%{with make_check} %if 0%{with make_check}
%check %check
# run in-tree unittests # run in-tree unittests
@ -740,7 +736,6 @@ cd build
ctest "$CEPH_MFLAGS_JOBS" ctest "$CEPH_MFLAGS_JOBS"
%endif %endif
%install %install
pushd build pushd build
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -1106,6 +1101,9 @@ done
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
# built binaries are no longer necessary at this point,
# but are consuming ~17GB of disk in the build environment
rm -rf build
################################################################################# #################################################################################
# files and systemd scriptlets # files and systemd scriptlets
@ -1263,4 +1261,5 @@ rm -rf %{buildroot}
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%changelog %changelog

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 31 17:09:16 UTC 2022 - Stefen Allen <stefen.allen@suse.com>
- Update to v16.2.7-654-gd5a90ff46f0
+ (bsc#1196733) remove build directory during %clean
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 30 17:38:31 UTC 2022 - Stefen Allen <stefen.allen@suse.com> Wed Mar 30 17:38:31 UTC 2022 - Stefen Allen <stefen.allen@suse.com>

207
ceph.spec
View File

@ -1,25 +1,24 @@
# #
# spec file for package ceph # spec file for package ceph
# #
# Copyright (c) 2022 SUSE LLC
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file # Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
# at the top-level directory of this distribution and at # at the top-level directory of this distribution and at
# https://github.com/ceph/ceph/blob/master/COPYING # https://github.com/ceph/ceph/blob/master/COPYING
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
# upon. # 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
# This file is under the GNU Lesser General Public License, version 2.1 # 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
# Please submit bugfixes or comments via http://tracker.ceph.com/ # 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/
# #
#################################################################################
# conditional build section
#
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
# bcond syntax!
#################################################################################
%bcond_with make_check %bcond_with make_check
%bcond_with zbd %bcond_with zbd
%bcond_with cmake_verbose_logging %bcond_with cmake_verbose_logging
@ -125,7 +124,7 @@
# main package definition # main package definition
################################################################################# #################################################################################
Name: ceph Name: ceph
Version: 16.2.7.652+gf5dc462fdb5 Version: 16.2.7.654+gd5a90ff46f0
Release: 0%{?dist} Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Epoch: 2 Epoch: 2
@ -136,12 +135,12 @@ Epoch: 2
%global _epoch_prefix %{?epoch:%{epoch}:} %global _epoch_prefix %{?epoch:%{epoch}:}
Summary: User space components of the Ceph file system Summary: User space components of the Ceph file system
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 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
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%endif %endif
URL: http://ceph.com/ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-16.2.7-652-gf5dc462fdb5.tar.bz2 Source0: %{?_remote_tarball_prefix}ceph-16.2.7-654-gd5a90ff46f0.tar.bz2
%if 0%{?suse_version} %if 0%{?suse_version}
# _insert_obs_source_lines_here # _insert_obs_source_lines_here
ExclusiveArch: x86_64 aarch64 ppc64le s390x ExclusiveArch: x86_64 aarch64 ppc64le s390x
@ -162,10 +161,10 @@ BuildRequires: sharutils
BuildRequires: checkpolicy BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel BuildRequires: selinux-policy-devel
%endif %endif
BuildRequires: gperf
BuildRequires: cmake > 3.5 BuildRequires: cmake > 3.5
BuildRequires: cryptsetup BuildRequires: cryptsetup
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: gperf
%if 0%{with seastar} %if 0%{with seastar}
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3 BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
%else %else
@ -183,21 +182,22 @@ BuildRequires: gperftools-devel >= 2.6.1
BuildRequires: gperftools-devel >= 2.4 BuildRequires: gperftools-devel >= 2.4
%endif %endif
%endif %endif
BuildRequires: cryptsetup-devel
BuildRequires: fmt-devel >= 5.2.1
BuildRequires: leveldb-devel > 1.2 BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: cryptsetup-devel
BuildRequires: libcurl-devel
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
BuildRequires: fmt-devel >= 5.2.1 BuildRequires: libcurl-devel
BuildRequires: pkgconfig(libudev) BuildRequires: libicu-devel
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
BuildRequires: liboath-devel BuildRequires: liboath-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: lua-devel
BuildRequires: make BuildRequires: make
BuildRequires: nasm
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: libicu-devel
BuildRequires: parted BuildRequires: parted
BuildRequires: patch BuildRequires: patch
BuildRequires: perl BuildRequires: perl
@ -208,15 +208,14 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: snappy-devel BuildRequires: snappy-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: sudo BuildRequires: sudo
BuildRequires: pkgconfig(udev)
BuildRequires: util-linux BuildRequires: util-linux
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
BuildRequires: which BuildRequires: which
BuildRequires: xfsprogs BuildRequires: xfsprogs
BuildRequires: xfsprogs-devel BuildRequires: xfsprogs-devel
BuildRequires: xmlstarlet BuildRequires: xmlstarlet
BuildRequires: nasm BuildRequires: pkgconfig(libudev)
BuildRequires: lua-devel BuildRequires: pkgconfig(udev)
%if 0%{with amqp_endpoint} %if 0%{with amqp_endpoint}
BuildRequires: librabbitmq-devel BuildRequires: librabbitmq-devel
%endif %endif
@ -230,12 +229,12 @@ BuildRequires: %{luarocks_package_name}
BuildRequires: jq BuildRequires: jq
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: python%{python3_pkgversion}-bcrypt BuildRequires: python%{python3_pkgversion}-bcrypt
BuildRequires: python%{python3_pkgversion}-coverage
BuildRequires: python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-nose BuildRequires: python%{python3_pkgversion}-nose
BuildRequires: python%{python3_pkgversion}-pecan BuildRequires: python%{python3_pkgversion}-pecan
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-coverage
BuildRequires: python%{python3_pkgversion}-pyOpenSSL BuildRequires: python%{python3_pkgversion}-pyOpenSSL
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: socat BuildRequires: socat
%endif %endif
%if 0%{with zbd} %if 0%{with zbd}
@ -268,61 +267,61 @@ BuildRequires: ragel
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
BuildRequires: yaml-cpp-devel BuildRequires: yaml-cpp-devel
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: libubsan
BuildRequires: libasan BuildRequires: libasan
BuildRequires: libatomic BuildRequires: libatomic
BuildRequires: libubsan
%endif %endif
%if 0%{?rhel} %if 0%{?rhel}
BuildRequires: gcc-toolset-9-annobin BuildRequires: gcc-toolset-9-annobin
BuildRequires: gcc-toolset-9-libubsan-devel
BuildRequires: gcc-toolset-9-libasan-devel BuildRequires: gcc-toolset-9-libasan-devel
BuildRequires: gcc-toolset-9-libatomic-devel BuildRequires: gcc-toolset-9-libatomic-devel
BuildRequires: gcc-toolset-9-libubsan-devel
%endif %endif
%endif %endif
################################################################################# #################################################################################
# distro-conditional dependencies # distro-conditional dependencies
################################################################################# #################################################################################
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
%{?systemd_requires} %{?systemd_requires}
PreReq: %fillup_prereq PreReq: %fillup_prereq
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: net-tools
BuildRequires: libbz2-devel
BuildRequires: mozilla-nss-devel
BuildRequires: keyutils-devel BuildRequires: keyutils-devel
BuildRequires: libbz2-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: mozilla-nss-devel
BuildRequires: net-tools
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
#BuildRequires: krb5 #BuildRequires: krb5
#BuildRequires: krb5-devel #BuildRequires: krb5-devel
BuildRequires: cunit-devel BuildRequires: cunit-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: liblz4-devel >= 1.7
BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-Cython
BuildRequires: python%{python3_pkgversion}-PrettyTable BuildRequires: python%{python3_pkgversion}-PrettyTable
BuildRequires: python%{python3_pkgversion}-Sphinx BuildRequires: python%{python3_pkgversion}-Sphinx
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
BuildRequires: liblz4-devel >= 1.7
# for prometheus-alerts # for prometheus-alerts
BuildRequires: golang-github-prometheus-prometheus BuildRequires: golang-github-prometheus-prometheus
%endif %endif
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: systemd Requires: systemd
BuildRequires: boost-random BuildRequires: boost-random
BuildRequires: nss-devel
BuildRequires: keyutils-libs-devel BuildRequires: keyutils-libs-devel
BuildRequires: libibverbs-devel BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel BuildRequires: librdmacm-devel
BuildRequires: nss-devel
BuildRequires: openldap-devel BuildRequires: openldap-devel
#BuildRequires: krb5-devel #BuildRequires: krb5-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: CUnit-devel BuildRequires: CUnit-devel
BuildRequires: python%{python3_pkgversion}-devel
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 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}-sphinx
%endif %endif
# distro-conditional make check dependencies # distro-conditional make check dependencies
%if 0%{with make_check} %if 0%{with make_check}
@ -335,14 +334,14 @@ BuildRequires: xmlsec1-devel
%ifarch x86_64 %ifarch x86_64
BuildRequires: xmlsec1-nss BuildRequires: xmlsec1-nss
%endif %endif
BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
BuildRequires: python%{python3_pkgversion}-cherrypy BuildRequires: python%{python3_pkgversion}-cherrypy
BuildRequires: python%{python3_pkgversion}-jwt BuildRequires: python%{python3_pkgversion}-jwt
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
BuildRequires: python%{python3_pkgversion}-routes BuildRequires: python%{python3_pkgversion}-routes
BuildRequires: python%{python3_pkgversion}-scipy BuildRequires: python%{python3_pkgversion}-scipy
BuildRequires: python%{python3_pkgversion}-werkzeug BuildRequires: python%{python3_pkgversion}-werkzeug
BuildRequires: python%{python3_pkgversion}-pyOpenSSL BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: golang-github-prometheus-prometheus BuildRequires: golang-github-prometheus-prometheus
@ -362,12 +361,12 @@ BuildRequires: xmlsec1-openssl-devel
# lttng and babeltrace for rbd-replay-prep # lttng and babeltrace for rbd-replay-prep
%if %{with lttng} %if %{with lttng}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: lttng-ust-devel
BuildRequires: libbabeltrace-devel BuildRequires: libbabeltrace-devel
BuildRequires: lttng-ust-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: lttng-ust-devel
BuildRequires: babeltrace-devel BuildRequires: babeltrace-devel
BuildRequires: lttng-ust-devel
%endif %endif
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
@ -403,6 +402,7 @@ on commodity hardware and delivers object, block and file system storage.
################################################################################# #################################################################################
# subpackages # subpackages
################################################################################# #################################################################################
%package base %package base
Summary: Ceph Base Package Summary: Ceph Base Package
%if 0%{?suse_version} %if 0%{?suse_version}
@ -410,9 +410,9 @@ Group: System/Filesystems
%endif %endif
Provides: ceph-test:/usr/bin/ceph-kvstore-tool Provides: ceph-test:/usr/bin/ceph-kvstore-tool
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux} %if 0%{with selinux}
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release} Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
@ -426,8 +426,8 @@ Requires: parted
Requires: psmisc Requires: psmisc
Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-setuptools
Requires: util-linux Requires: util-linux
Requires: xfsprogs
Requires: which Requires: which
Requires: xfsprogs
%if 0%{?rhel} && 0%{?rhel} < 8 %if 0%{?rhel} && 0%{?rhel} < 8
# The following is necessary due to tracker 36508 and can be removed once the # The following is necessary due to tracker 36508 and can be removed once the
# associated upstream bugs are resolved. # associated upstream bugs are resolved.
@ -444,6 +444,7 @@ Requires: smartmontools
Recommends: smartmontools Recommends: smartmontools
%endif %endif
%endif %endif
%description base %description base
Base is the package that includes all the files shared amongst ceph servers Base is the package that includes all the files shared amongst ceph servers
@ -455,6 +456,7 @@ Requires: python%{python3_pkgversion}
%if 0%{?weak_deps} %if 0%{?weak_deps}
Recommends: podman >= 2.0.2 Recommends: podman >= 2.0.2
%endif %endif
%description -n cephadm %description -n cephadm
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
with systemd and podman. with systemd and podman.
@ -464,15 +466,15 @@ Summary: Ceph Common
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rbd = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_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-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-cephfs = %{_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}-rgw = %{_epoch_prefix}%{version}-%{release}
%if 0%{with jaeger} %if 0%{with jaeger}
Requires: libjaeger = %{_epoch_prefix}%{version}-%{release} Requires: libjaeger = %{_epoch_prefix}%{version}-%{release}
%endif %endif
@ -492,6 +494,7 @@ Obsoletes: libradosstriper1 <= %{_epoch_prefix}%{version}-%{release}
PreReq: permissions PreReq: permissions
Requires(pre): shadow Requires(pre): shadow
%endif %endif
%description -n ceph-common %description -n ceph-common
Common utilities to mount and interact with a ceph storage cluster. Common utilities to mount and interact with a ceph storage cluster.
Comprised of files that are common to Ceph clients and servers. Comprised of files that are common to Ceph clients and servers.
@ -502,6 +505,7 @@ Summary: Ceph Metadata Server Daemon
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%description mds %description mds
ceph-mds is the metadata server daemon for the Ceph distributed file system. 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 One or more instances of ceph-mds collectively manage the file system
@ -517,6 +521,7 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%if 0%{with jaeger} %if 0%{with jaeger}
Requires: libjaeger = %{_epoch_prefix}%{version}-%{release} Requires: libjaeger = %{_epoch_prefix}%{version}-%{release}
%endif %endif
%description mon %description mon
ceph-mon is the cluster monitor daemon for the Ceph distributed file 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 system. One or more instances of ceph-mon form a Paxos part-time
@ -532,12 +537,13 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release}
Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release} Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
%if 0%{?weak_deps} %if 0%{?weak_deps}
Recommends: ceph-mgr-cephadm = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-k8sevents = %{_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 Recommends: python%{python3_pkgversion}-influxdb
%endif %endif
%description mgr %description mgr
ceph-mgr enables python modules that provide services (such as the REST ceph-mgr enables python modules that provide services (such as the REST
module derived from Calamari) and expose CLI hooks. ceph-mgr gathers module derived from Calamari) and expose CLI hooks. ceph-mgr gathers
@ -550,8 +556,8 @@ BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release} Requires: ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release} Requires: ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: python%{python3_pkgversion}-cherrypy Requires: python%{python3_pkgversion}-cherrypy
@ -569,6 +575,7 @@ Requires: python%{python3_pkgversion}-Routes
Requires: python%{python3_pkgversion}-Werkzeug Requires: python%{python3_pkgversion}-Werkzeug
Recommends: python%{python3_pkgversion}-python3-saml Recommends: python%{python3_pkgversion}-python3-saml
%endif %endif
%description mgr-dashboard %description mgr-dashboard
ceph-mgr-dashboard is a manager module, providing a web-based application 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. to monitor and manage many aspects of a Ceph cluster and related components.
@ -587,6 +594,7 @@ Requires: python%{python3_pkgversion}-numpy
Requires: python%{python3_pkgversion}-scikit-learn Requires: python%{python3_pkgversion}-scikit-learn
%endif %endif
Requires: python3-scipy Requires: python3-scipy
%description mgr-diskprediction-local %description mgr-diskprediction-local
ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict
disk failures using local algorithms and machine-learning databases. disk failures using local algorithms and machine-learning databases.
@ -598,10 +606,10 @@ BuildArch: noarch
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: python%{python3_pkgversion}-bcrypt Requires: python%{python3_pkgversion}-bcrypt
Requires: python%{python3_pkgversion}-dateutil
Requires: python%{python3_pkgversion}-pecan Requires: python%{python3_pkgversion}-pecan
Requires: python%{python3_pkgversion}-pyOpenSSL Requires: python%{python3_pkgversion}-pyOpenSSL
Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-dateutil
%if 0%{?fedora} || 0%{?rhel} >= 8 %if 0%{?fedora} || 0%{?rhel} >= 8
Requires: python%{python3_pkgversion}-cherrypy Requires: python%{python3_pkgversion}-cherrypy
Requires: python%{python3_pkgversion}-pyyaml Requires: python%{python3_pkgversion}-pyyaml
@ -615,6 +623,7 @@ Requires: python%{python3_pkgversion}-Werkzeug
%if 0%{?weak_deps} %if 0%{?weak_deps}
Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
%endif %endif
%description mgr-modules-core %description mgr-modules-core
ceph-mgr-modules-core provides a set of modules which are always ceph-mgr-modules-core provides a set of modules which are always
enabled by ceph-mgr. enabled by ceph-mgr.
@ -626,8 +635,9 @@ Summary: Ceph Manager module for Rook-based orchestration
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-kubernetes
Requires: python%{python3_pkgversion}-jsonpatch Requires: python%{python3_pkgversion}-jsonpatch
Requires: python%{python3_pkgversion}-kubernetes
%description mgr-rook %description mgr-rook
ceph-mgr-rook is a ceph-mgr module for orchestration functions using ceph-mgr-rook is a ceph-mgr module for orchestration functions using
a Rook backend. a Rook backend.
@ -640,6 +650,7 @@ Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-kubernetes Requires: python%{python3_pkgversion}-kubernetes
%description mgr-k8sevents %description mgr-k8sevents
ceph-mgr-k8sevents is a ceph-mgr module that sends every ceph-events ceph-mgr-k8sevents is a ceph-mgr module that sends every ceph-events
to kubernetes' events API to kubernetes' events API
@ -651,8 +662,8 @@ BuildArch: noarch
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-remoto
Requires: cephadm = %{_epoch_prefix}%{version}-%{release} Requires: cephadm = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-remoto
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: openssh Requires: openssh
Requires: python%{python3_pkgversion}-Jinja2 Requires: python%{python3_pkgversion}-Jinja2
@ -661,6 +672,7 @@ Requires: python%{python3_pkgversion}-Jinja2
Requires: openssh-clients Requires: openssh-clients
Requires: python%{python3_pkgversion}-jinja2 Requires: python%{python3_pkgversion}-jinja2
%endif %endif
%description mgr-cephadm %description mgr-cephadm
ceph-mgr-cephadm is a ceph-mgr module for orchestration functions using ceph-mgr-cephadm is a ceph-mgr module for orchestration functions using
the integrated cephadm deployment tool management operations. the integrated cephadm deployment tool management operations.
@ -672,6 +684,7 @@ Group: System/Filesystems
%endif %endif
Requires: fuse Requires: fuse
Requires: python%{python3_pkgversion} Requires: python%{python3_pkgversion}
%description fuse %description fuse
FUSE based client for Ceph distributed network file system FUSE based client for Ceph distributed network file system
@ -681,8 +694,9 @@ Summary: Ceph daemon for mirroring CephFS snapshots
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n cephfs-mirror %description -n cephfs-mirror
Daemon for mirroring CephFS snapshots between Ceph clusters. Daemon for mirroring CephFS snapshots between Ceph clusters.
@ -693,6 +707,7 @@ Group: System/Filesystems
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-fuse %description -n rbd-fuse
FUSE based client to map Ceph rbd images to files FUSE based client to map Ceph rbd images to files
@ -704,6 +719,7 @@ Group: System/Filesystems
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-mirror %description -n rbd-mirror
Daemon for mirroring RBD images between Ceph clusters, streaming Daemon for mirroring RBD images between Ceph clusters, streaming
changes asynchronously. changes asynchronously.
@ -715,6 +731,7 @@ Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description immutable-object-cache %description immutable-object-cache
Daemon for immutable object cache. Daemon for immutable object cache.
@ -725,6 +742,7 @@ Group: System/Filesystems
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-nbd %description -n rbd-nbd
NBD based client to map Ceph rbd images to local device NBD based client to map Ceph rbd images to local device
@ -745,6 +763,7 @@ Requires: mailcap
%if 0%{?weak_deps} %if 0%{?weak_deps}
Recommends: gawk Recommends: gawk
%endif %endif
%description radosgw %description radosgw
RADOS is a distributed object store used by the Ceph distributed RADOS is a distributed object store used by the Ceph distributed
storage system. This package provides a REST gateway to the storage system. This package provides a REST gateway to the
@ -755,6 +774,7 @@ service as well as the OpenStack Object Storage ("Swift") API.
Summary: top(1) like utility for Ceph Filesystem Summary: top(1) like utility for Ceph Filesystem
BuildArch: noarch BuildArch: noarch
Requires: python%{python3_pkgversion}-rados Requires: python%{python3_pkgversion}-rados
%description -n cephfs-top %description -n cephfs-top
This package provides a top(1) like utility to display Ceph Filesystem metrics This package provides a top(1) like utility to display Ceph Filesystem metrics
in realtime. in realtime.
@ -767,6 +787,7 @@ Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version} Requires: ceph-base = %{_epoch_prefix}%{version}
Requires: resource-agents Requires: resource-agents
%description resource-agents %description resource-agents
Resource agents for monitoring and managing Ceph daemons Resource agents for monitoring and managing Ceph daemons
under Open Cluster Framework (OCF) compliant resource under Open Cluster Framework (OCF) compliant resource
@ -780,10 +801,11 @@ Group: System/Filesystems
%endif %endif
Provides: ceph-test:/usr/bin/ceph-osdomap-tool Provides: ceph-test:/usr/bin/ceph-osdomap-tool
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: lvm2
Requires: sudo
Requires: libstoragemgmt Requires: libstoragemgmt
Requires: lvm2
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: sudo
%description osd %description osd
ceph-osd is the object storage daemon for the Ceph distributed file ceph-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system system. It is responsible for storing objects on a local file system
@ -796,6 +818,7 @@ Summary: Ceph Object Storage Daemon (crimson)
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release} Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
%description crimson-osd %description crimson-osd
crimson-osd is the object storage daemon for the Ceph distributed file crimson-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system system. It is responsible for storing objects on a local file system
@ -810,6 +833,7 @@ Group: System/Libraries
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
%endif %endif
%description -n librados2 %description -n librados2
RADOS is a reliable, autonomic distributed object storage cluster RADOS is a reliable, autonomic distributed object storage cluster
developed as part of the Ceph distributed storage system. This is a developed as part of the Ceph distributed storage system. This is a
@ -825,6 +849,7 @@ Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release} Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librados-devel %description -n librados-devel
This package contains C libraries and headers needed to develop programs This package contains C libraries and headers needed to develop programs
that use RADOS object store. that use RADOS object store.
@ -834,8 +859,9 @@ Summary: RADOS headers
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n libradospp-devel %description -n libradospp-devel
This package contains C++ libraries and headers needed to develop programs This package contains C++ libraries and headers needed to develop programs
that use RADOS object store. that use RADOS object store.
@ -846,6 +872,7 @@ Summary: RADOS gateway client library
Group: System/Libraries Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n librgw2 %description -n librgw2
This package provides a library implementation of the RADOS gateway This package provides a library implementation of the RADOS gateway
(distributed object store with S3 and Swift personalities). (distributed object store with S3 and Swift personalities).
@ -859,6 +886,7 @@ Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Provides: librgw2-devel = %{_epoch_prefix}%{version}-%{release} Provides: librgw2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librgw2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librgw2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librgw-devel %description -n librgw-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS gateway client library. that use RADOS gateway client library.
@ -873,6 +901,7 @@ Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{relea
%{?python_provide:%python_provide python%{python3_pkgversion}-rgw} %{?python_provide:%python_provide python%{python3_pkgversion}-rgw}
Provides: python-rgw = %{_epoch_prefix}%{version}-%{release} Provides: python-rgw = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-rgw < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-rgw < %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rgw %description -n python%{python3_pkgversion}-rgw
This package contains Python 3 libraries for interacting with Ceph RADOS This package contains Python 3 libraries for interacting with Ceph RADOS
gateway. gateway.
@ -882,11 +911,12 @@ Summary: Python 3 libraries for the RADOS object store
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%endif %endif
Requires: python%{python3_pkgversion}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}
%{?python_provide:%python_provide python%{python3_pkgversion}-rados} %{?python_provide:%python_provide python%{python3_pkgversion}-rados}
Provides: python-rados = %{_epoch_prefix}%{version}-%{release} Provides: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-rados < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-rados < %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rados %description -n python%{python3_pkgversion}-rados
This package contains Python 3 libraries for interacting with Ceph RADOS This package contains Python 3 libraries for interacting with Ceph RADOS
object store. object store.
@ -897,6 +927,7 @@ Summary: SQLite3 VFS for Ceph
Group: System/Libraries Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n libcephsqlite %description -n libcephsqlite
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
distributed object store. distributed object store.
@ -906,13 +937,14 @@ Summary: SQLite3 VFS for Ceph headers
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Requires: sqlite-devel
Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release} Requires: libcephsqlite = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release} Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
Requires: sqlite-devel
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release} Provides: libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libcephsqlite-devel %description -n libcephsqlite-devel
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
distributed object store. distributed object store.
@ -924,6 +956,7 @@ Summary: RADOS striping interface
Group: System/Libraries Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n libradosstriper1 %description -n libradosstriper1
Striping interface built on top of the rados library, allowing Striping interface built on top of the rados library, allowing
to stripe bigger objects onto several standard rados objects using to stripe bigger objects onto several standard rados objects using
@ -934,12 +967,13 @@ Summary: RADOS striping interface headers
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: libradospp-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} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release} Provides: libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libradosstriper-devel %description -n libradosstriper-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS striping interface. that use RADOS striping interface.
@ -957,6 +991,7 @@ Requires(post): coreutils
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
%endif %endif
%description -n librbd1 %description -n librbd1
RBD is a block device striped across multiple distributed objects in RBD is a block device striped across multiple distributed objects in
RADOS, a reliable, autonomic distributed object storage cluster RADOS, a reliable, autonomic distributed object storage cluster
@ -968,12 +1003,13 @@ Summary: RADOS block device headers
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: libradospp-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} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: librbd1-devel = %{_epoch_prefix}%{version}-%{release} Provides: librbd1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librbd1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librbd1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librbd-devel %description -n librbd-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS block device. that use RADOS block device.
@ -988,6 +1024,7 @@ Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{relea
%{?python_provide:%python_provide python%{python3_pkgversion}-rbd} %{?python_provide:%python_provide python%{python3_pkgversion}-rbd}
Provides: python-rbd = %{_epoch_prefix}%{version}-%{release} Provides: python-rbd = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-rbd < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-rbd < %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rbd %description -n python%{python3_pkgversion}-rbd
This package contains Python 3 libraries for interacting with Ceph RADOS This package contains Python 3 libraries for interacting with Ceph RADOS
block device. block device.
@ -999,9 +1036,10 @@ Group: System/Libraries
%endif %endif
Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release}
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-libcephfs Obsoletes: ceph-libcephfs
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
%endif %endif
%description -n libcephfs2 %description -n libcephfs2
Ceph is a distributed network file system designed to provide excellent Ceph is a distributed network file system designed to provide excellent
performance, reliability, and scalability. This is a shared library performance, reliability, and scalability. This is a shared library
@ -1018,6 +1056,7 @@ Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release} Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libcephfs2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs-devel %description -n libcephfs-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use Ceph distributed file system. that use Ceph distributed file system.
@ -1031,6 +1070,7 @@ Group: System/Libraries
Provides: libjaegertracing.so.0()(64bit) Provides: libjaegertracing.so.0()(64bit)
Provides: libopentracing.so.1()(64bit) Provides: libopentracing.so.1()(64bit)
Provides: libthrift.so.0.13.0()(64bit) Provides: libthrift.so.0.13.0()(64bit)
%description -n libjaeger %description -n libjaeger
This package contains libraries needed to provide distributed This package contains libraries needed to provide distributed
tracing for Ceph. tracing for Ceph.
@ -1042,11 +1082,12 @@ Summary: Python 3 libraries for Ceph distributed file system
Group: Development/Libraries/Python Group: Development/Libraries/Python
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-cephfs} %{?python_provide:%python_provide python%{python3_pkgversion}-cephfs}
Provides: python-cephfs = %{_epoch_prefix}%{version}-%{release} Provides: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-cephfs < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-cephfs < %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-cephfs %description -n python%{python3_pkgversion}-cephfs
This package contains Python 3 libraries for interacting with Ceph distributed This package contains Python 3 libraries for interacting with Ceph distributed
file system. file system.
@ -1057,6 +1098,7 @@ Summary: Python 3 utility libraries for Ceph CLI
Group: Development/Libraries/Python Group: Development/Libraries/Python
%endif %endif
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-argparse} %{?python_provide:%python_provide python%{python3_pkgversion}-ceph-argparse}
%description -n 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 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 well as the RESTful interface. These have to do with querying the daemons for
@ -1075,6 +1117,7 @@ Requires: python%{python3_pkgversion}-PyYAML
Group: Development/Libraries/Python Group: Development/Libraries/Python
%endif %endif
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-common} %{?python_provide:%python_provide python%{python3_pkgversion}-ceph-common}
%description -n python%{python3_pkgversion}-ceph-common %description -n python%{python3_pkgversion}-ceph-common
This package contains data structures, classes and functions used by Ceph. This package contains data structures, classes and functions used by Ceph.
It also contains utilities used for the cephadm orchestrator. It also contains utilities used for the cephadm orchestrator.
@ -1082,9 +1125,10 @@ It also contains utilities used for the cephadm orchestrator.
%if 0%{with cephfs_shell} %if 0%{with cephfs_shell}
%package -n cephfs-shell %package -n cephfs-shell
Summary: Interactive shell for Ceph file system Summary: Interactive shell for Ceph file system
Requires: python%{python3_pkgversion}-cephfs
Requires: python%{python3_pkgversion}-cmd2 Requires: python%{python3_pkgversion}-cmd2
Requires: python%{python3_pkgversion}-colorama Requires: python%{python3_pkgversion}-colorama
Requires: python%{python3_pkgversion}-cephfs
%description -n cephfs-shell %description -n cephfs-shell
This package contains an interactive tool that allows accessing a Ceph This package contains an interactive tool that allows accessing a Ceph
file system without mounting it by providing a nice pseudo-shell which file system without mounting it by providing a nice pseudo-shell which
@ -1098,9 +1142,10 @@ Summary: Ceph benchmarks and test tools
Group: System/Benchmark Group: System/Benchmark
%endif %endif
Requires: ceph-common Requires: ceph-common
Requires: xmlstarlet
Requires: jq Requires: jq
Requires: socat Requires: socat
Requires: xmlstarlet
%description -n ceph-test %description -n ceph-test
This package contains Ceph benchmarks and test tools. This package contains Ceph benchmarks and test tools.
%endif %endif
@ -1114,6 +1159,7 @@ Group: System/Libraries
%endif %endif
Requires: java Requires: java
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs_jni1 %description -n libcephfs_jni1
This package contains the Java Native Interface library for CephFS Java This package contains the Java Native Interface library for CephFS Java
bindings. bindings.
@ -1128,6 +1174,7 @@ Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release} Provides: libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs_jni-devel %description -n libcephfs_jni-devel
This package contains the development files for CephFS Java Native Interface This package contains the development files for CephFS Java Native Interface
library. library.
@ -1138,9 +1185,10 @@ Summary: Java libraries for the Ceph File System
Group: System/Libraries Group: System/Libraries
%endif %endif
Requires: java Requires: java
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
Requires: junit Requires: junit
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
BuildRequires: junit BuildRequires: junit
%description -n cephfs-java %description -n cephfs-java
This package contains the Java libraries for the Ceph File System. This package contains the Java libraries for the Ceph File System.
@ -1152,6 +1200,7 @@ Summary: RADOS object class development kit
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release} Requires: libradospp-devel = %{_epoch_prefix}%{version}-%{release}
%description -n rados-objclass-devel %description -n rados-objclass-devel
This package contains libraries and headers needed to develop RADOS object This package contains libraries and headers needed to develop RADOS object
class plugins. class plugins.
@ -1164,10 +1213,12 @@ Summary: SELinux support for Ceph MON, OSD and MDS
Group: System/Filesystems Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: policycoreutils, libselinux-utils Requires: libselinux-utils
Requires: policycoreutils
Requires(post): ceph-base = %{_epoch_prefix}%{version}-%{release} Requires(post): ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
Requires(postun):policycoreutils Requires(postun):policycoreutils
%description selinux %description selinux
This package contains SELinux support for Ceph MON, OSD and MDS. The package 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 also performs file-system relabelling which can take a long time on heavily
@ -1181,6 +1232,7 @@ BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%endif %endif
%description grafana-dashboards %description grafana-dashboards
This package provides a set of Grafana dashboards for monitoring of This package provides a set of Grafana dashboards for monitoring of
Ceph clusters. The dashboards require a Prometheus server setup Ceph clusters. The dashboards require a Prometheus server setup
@ -1192,14 +1244,16 @@ integrated with the Ceph Manager Dashboard web UI.
Summary: Prometheus alerts for a Ceph deployment Summary: Prometheus alerts for a Ceph deployment
BuildArch: noarch BuildArch: noarch
Group: System/Monitoring Group: System/Monitoring
%description prometheus-alerts %description prometheus-alerts
This package provides Ceph default alerts for Prometheus. This package provides Ceph default alerts for Prometheus.
################################################################################# #################################################################################
# common # common
################################################################################# #################################################################################
%prep %prep
%autosetup -p1 -n ceph-16.2.7-652-gf5dc462fdb5 %autosetup -p1 -n ceph-16.2.7-654-gd5a90ff46f0
%build %build
# LTO can be enabled as soon as the following GCC bug is fixed: # LTO can be enabled as soon as the following GCC bug is fixed:
@ -1345,7 +1399,6 @@ cat ./CMakeFiles/CMakeError.log
make "$CEPH_MFLAGS_JOBS" make "$CEPH_MFLAGS_JOBS"
%if 0%{with make_check} %if 0%{with make_check}
%check %check
# run in-tree unittests # run in-tree unittests
@ -1353,7 +1406,6 @@ cd build
ctest "$CEPH_MFLAGS_JOBS" ctest "$CEPH_MFLAGS_JOBS"
%endif %endif
%install %install
pushd build pushd build
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -1442,6 +1494,9 @@ install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml %{buildro
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
# built binaries are no longer necessary at this point,
# but are consuming ~17GB of disk in the build environment
rm -rf build
################################################################################# #################################################################################
# files and systemd scriptlets # files and systemd scriptlets