|
|
|
@@ -20,15 +20,47 @@
|
|
|
|
|
# please read this for explanation of bcond syntax:
|
|
|
|
|
# https://rpm-software-management.github.io/rpm/manual/conditionalbuilds.html
|
|
|
|
|
#################################################################################
|
|
|
|
|
%bcond_with system_boost
|
|
|
|
|
%bcond_with server
|
|
|
|
|
|
|
|
|
|
%if %{without server}
|
|
|
|
|
|
|
|
|
|
%bcond_with make_check
|
|
|
|
|
%bcond_with cmake_verbose_logging
|
|
|
|
|
%bcond_with ceph_test_package
|
|
|
|
|
%bcond_with tcmalloc
|
|
|
|
|
%bcond_with radosgw
|
|
|
|
|
%bcond_with rbd_ssd_cache
|
|
|
|
|
%bcond_with rbd_rwl_cache
|
|
|
|
|
%bcond_with system_pmdk
|
|
|
|
|
%bcond_with selinux
|
|
|
|
|
%bcond_with amqp_endpoint
|
|
|
|
|
%bcond_with kafka_endpoint
|
|
|
|
|
%bcond_with lttng
|
|
|
|
|
%bcond_without libradosstriper
|
|
|
|
|
%bcond_with ocf
|
|
|
|
|
%global luarocks_package_name luarocks
|
|
|
|
|
%bcond_with lua_packages
|
|
|
|
|
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
|
|
|
|
|
%bcond_with seastar
|
|
|
|
|
%bcond_with jaeger
|
|
|
|
|
%bcond_with cephfs_java
|
|
|
|
|
%bcond_with cephfs_shell
|
|
|
|
|
%bcond_with system_arrow
|
|
|
|
|
%bcond_with system_utf8proc
|
|
|
|
|
%bcond_with grpc
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
|
|
%bcond_with make_check
|
|
|
|
|
%bcond_with zbd
|
|
|
|
|
%bcond_with cmake_verbose_logging
|
|
|
|
|
%bcond_without ceph_test_package
|
|
|
|
|
%ifarch s390
|
|
|
|
|
%bcond_with tcmalloc
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without tcmalloc
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_without radosgw
|
|
|
|
|
%bcond_without rbd_ssd_cache
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
%bcond_without rbd_rwl_cache
|
|
|
|
@@ -88,12 +120,13 @@
|
|
|
|
|
%bcond_with lua_packages
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_with crimson
|
|
|
|
|
%bcond_without crimson
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
%bcond_with jaeger
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without jaeger
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_without grpc
|
|
|
|
|
%if 0%{?fedora} || 0%{?suse_version} >= 1500 || 0%{?rhel}
|
|
|
|
|
# distros that ship cmd2 and/or colorama
|
|
|
|
|
%bcond_without cephfs_shell
|
|
|
|
@@ -125,6 +158,7 @@
|
|
|
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
|
|
|
|
%global weak_deps 1
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with selinux}
|
|
|
|
|
# get selinux policy version
|
|
|
|
|
# Force 0.0.0 policy version for centos builds to avoid repository sync issues between rhel and centos
|
|
|
|
@@ -157,16 +191,23 @@
|
|
|
|
|
%global _binary_payload w7T%{_smp_build_ncpus}.xzdio
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define smp_limit_mem_per_job() %( \
|
|
|
|
|
kb_per_job=%1 \
|
|
|
|
|
kb_total=$(head -3 /proc/meminfo | sed -n 's/MemAvailable:\\s*\\(.*\\) kB.*/\\1/p') \
|
|
|
|
|
jobs=$(( $kb_total / $kb_per_job )) \
|
|
|
|
|
[ $jobs -lt 1 ] && jobs=1 \
|
|
|
|
|
echo $jobs )
|
|
|
|
|
|
|
|
|
|
%if 0%{?_smp_ncpus_max} == 0
|
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
|
# 32-bit builds can use 3G memory max, which is not enough even for -j2
|
|
|
|
|
%global _smp_ncpus_max 1
|
|
|
|
|
%else
|
|
|
|
|
# 3.0 GiB mem per job
|
|
|
|
|
# SUSE distros still use limit_build in the place of _smp_tasksize_proc, please
|
|
|
|
|
# SUSE distros use limit_build in the place of smp_limit_mem_per_job, please
|
|
|
|
|
# be sure to update it (in the build section, below) as well when changing this
|
|
|
|
|
# number.
|
|
|
|
|
%global _smp_tasksize_proc 3000
|
|
|
|
|
%global _smp_ncpus_max %{smp_limit_mem_per_job 3000000}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -174,13 +215,16 @@
|
|
|
|
|
# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but
|
|
|
|
|
# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler.
|
|
|
|
|
%undefine _annotated_build
|
|
|
|
|
%if 0%{?rhel} == 8 && 0%{?enable_devtoolset11:1}
|
|
|
|
|
%enable_devtoolset11
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
#################################################################################
|
|
|
|
|
# main package definition
|
|
|
|
|
#################################################################################
|
|
|
|
|
Name: ceph
|
|
|
|
|
Version: 20.2.0
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
Epoch: 2
|
|
|
|
|
%endif
|
|
|
|
@@ -195,14 +239,14 @@ License: LGPL-2.1-or-later AND LGPL-3.0-only AND CC-BY-SA-3.0 AND GPL-2.0-only A
|
|
|
|
|
Group: System/Filesystems
|
|
|
|
|
%endif
|
|
|
|
|
URL: http://ceph.com/
|
|
|
|
|
Source: https://download.ceph.com/tarballs/ceph-%{version}.tar.gz
|
|
|
|
|
Source0: https://download.ceph.com/tarballs/ceph-%{version}.tar.gz
|
|
|
|
|
#Source0: https://1.chacra.ceph.com/r/ceph/tentacle/
|
|
|
|
|
Patch: 0001-src-common-crc32c_intel_fast.patch
|
|
|
|
|
Patch: 0003-src-common-bitstr.h.patch
|
|
|
|
|
Patch: 0010-CET-Add-CET-marker-to-crc32c_intel_fast_zero_asm.s.patch
|
|
|
|
|
Patch: 0011-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assembly-co.patch
|
|
|
|
|
Patch: 0012-spdk-isa-l-CET-Add-CET-marker-to-x86-64-crc32-assemb.patch
|
|
|
|
|
Patch: 0016-src-tracing.patch
|
|
|
|
|
Patch: 0016-src-tracing-patch
|
|
|
|
|
Patch: 0018-src-rgw-store-dbstore-CMakeLists.txt.patch
|
|
|
|
|
Patch: 0024-gcc-13.patch
|
|
|
|
|
Patch: 0032-cmake-modules-BuildBoost.cmake.patch
|
|
|
|
@@ -212,17 +256,8 @@ Patch: 0041-src-mgr-PyModule.cc.patch
|
|
|
|
|
Patch: 0043_src_common_crc32c_ppc_asm.S.patch
|
|
|
|
|
Patch: 0047-openssl-no-engine.patch
|
|
|
|
|
Patch: 0049-src-rocksdb-db-blob-blob_file_meta.h.patch
|
|
|
|
|
Patch: 0051-src-googletest-nosharedlibs.patch
|
|
|
|
|
Patch: 0052-src-tracing.patch
|
|
|
|
|
Patch: 0053-src-test-neorados-common_tests.h.patch
|
|
|
|
|
Patch: 0056-libarrow-20.0.0.patch
|
|
|
|
|
Patch: 0057-src-json_spirit-json_spirit_reader_template.h.patch
|
|
|
|
|
Patch: 0058-src-CMakeLists.txt.patch
|
|
|
|
|
Patch: 0059-iso646.patch
|
|
|
|
|
Patch: 0061-gcc-16.patch
|
|
|
|
|
Patch: 0062-src-rgw-driver-dbstore-CMakeLists.txt.patch
|
|
|
|
|
Patch: 0063-src-jaegertracing-opentelemetry-cpp-CMakeLists.txt.patch
|
|
|
|
|
Patch: 0064-src-rgw-rgw_lua_utils.cc.patch
|
|
|
|
|
|
|
|
|
|
# ceph 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787
|
|
|
|
|
ExcludeArch: i686 armv7hl
|
|
|
|
@@ -238,11 +273,6 @@ Requires: ceph-mds = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
Requires: ceph-mon = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
Requires(post): binutils
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
Requires(pre): /usr/sbin/useradd
|
|
|
|
|
Requires(pre): /usr/sbin/groupadd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with cephfs_java}
|
|
|
|
|
BuildRequires: java-devel
|
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
@@ -255,13 +285,17 @@ BuildRequires: selinux-policy-devel
|
|
|
|
|
BuildRequires: gperf
|
|
|
|
|
BuildRequires: cmake > 3.5
|
|
|
|
|
BuildRequires: fuse3-devel
|
|
|
|
|
%if 0%{with grpc}
|
|
|
|
|
BuildRequires: grpc-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
BuildRequires: libatomic
|
|
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
|
%bcond_with ld_mold
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with ld_mold
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_without ld_mold
|
|
|
|
|
%if 0%{with ld_mold}
|
|
|
|
|
BuildRequires: mold
|
|
|
|
|
%endif
|
|
|
|
@@ -282,14 +316,16 @@ BuildRequires: libcurl-devel
|
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
|
#BuildRequires: fmt-devel >= 6.2.1
|
|
|
|
|
#%if ( 0%%{?fedora} || 0%%{?rhel} >= 10 )
|
|
|
|
|
#BuildRequires: rocksdb-devel
|
|
|
|
|
#Requires: rocksdb
|
|
|
|
|
#%endif
|
|
|
|
|
%if ! (0%{?fedora} || 0%{?rhel} >= 10)
|
|
|
|
|
BuildRequires: rocksdb-devel
|
|
|
|
|
Requires: rocksdb
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: liburing-devel
|
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
|
BuildRequires: libnl3-devel
|
|
|
|
|
%if 0%{?with radosgw}
|
|
|
|
|
BuildRequires: liboath-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
@@ -342,12 +378,13 @@ BuildRequires: socat
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-asyncssh
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-natsort
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with jaeger} || 0%{with radosgw}
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
BuildRequires: libthrift-devel >= 0.13.0
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: thrift-devel >= 0.13.0
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: re2-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with jaeger}
|
|
|
|
|
BuildRequires: bison
|
|
|
|
|
BuildRequires: flex
|
|
|
|
@@ -373,8 +410,10 @@ BuildRequires: libpmemobj-devel >= 1.8
|
|
|
|
|
BuildRequires: libarrow-devel
|
|
|
|
|
BuildRequires: parquet-libs-devel
|
|
|
|
|
%else
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
BuildRequires: xsimd-devel
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with system_utf8proc}
|
|
|
|
|
BuildRequires: utf8proc-devel
|
|
|
|
|
%endif
|
|
|
|
@@ -426,10 +465,7 @@ BuildRequires: jsonnet
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
Requires: systemd
|
|
|
|
|
%if 0%{with system_boost}
|
|
|
|
|
BuildRequires: boost-random
|
|
|
|
|
BuildRequires: boost-url
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: nss-devel
|
|
|
|
|
BuildRequires: keyutils-libs-devel
|
|
|
|
|
BuildRequires: libatomic
|
|
|
|
@@ -518,6 +554,8 @@ on commodity hardware and delivers object, block and file system storage.
|
|
|
|
|
#################################################################################
|
|
|
|
|
# subpackages
|
|
|
|
|
#################################################################################
|
|
|
|
|
%if %{with server}
|
|
|
|
|
|
|
|
|
|
%package base
|
|
|
|
|
Summary: Ceph Base Package
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -579,6 +617,8 @@ Requires: python%{python3_pkgversion}-pyyaml
|
|
|
|
|
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
|
|
|
|
|
with systemd and podman.
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
|
Summary: Ceph Common
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -612,6 +652,8 @@ Provides: user(ceph)
|
|
|
|
|
Common utilities to mount and interact with a ceph storage cluster.
|
|
|
|
|
Comprised of files that are common to Ceph clients and servers.
|
|
|
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
|
|
|
|
|
%package mds
|
|
|
|
|
Summary: Ceph Metadata Server Daemon
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -962,12 +1004,15 @@ Requires: parted
|
|
|
|
|
Requires: util-linux
|
|
|
|
|
Requires: xfsprogs
|
|
|
|
|
Requires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
Requires: python%{python3_pkgversion}-packaging
|
|
|
|
|
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
%description volume
|
|
|
|
|
This package contains a tool to deploy OSD with different devices like
|
|
|
|
|
lvm or physical disks, and trying to follow a predictable, and robust
|
|
|
|
|
way of preparing, activating, and starting the deployed OSD.
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package -n librados2
|
|
|
|
|
Summary: RADOS distributed object store client library
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -1006,6 +1051,8 @@ Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
This package contains C++ libraries and headers needed to develop programs
|
|
|
|
|
that use RADOS object store.
|
|
|
|
|
|
|
|
|
|
%if %{with radosgw}
|
|
|
|
|
|
|
|
|
|
%package -n librgw2
|
|
|
|
|
Summary: RADOS gateway client library
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -1043,6 +1090,8 @@ Obsoletes: python-rgw < %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
This package contains Python 3 libraries for interacting with Ceph RADOS
|
|
|
|
|
gateway.
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-rados
|
|
|
|
|
Summary: Python 3 libraries for the RADOS object store
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -1275,8 +1324,6 @@ Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
|
|
|
|
|
Requires: xmlstarlet
|
|
|
|
|
Requires: jq
|
|
|
|
|
Requires: socat
|
|
|
|
|
BuildRequires: gtest-devel
|
|
|
|
|
BuildRequires: gmock-devel
|
|
|
|
|
%description -n ceph-test
|
|
|
|
|
This package contains Ceph benchmarks and test tools.
|
|
|
|
|
%endif
|
|
|
|
@@ -1351,6 +1398,8 @@ populated file-systems.
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
|
|
|
|
|
%package grafana-dashboards
|
|
|
|
|
Summary: The set of Grafana dashboards for monitoring purposes
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -1388,14 +1437,14 @@ Group: System/Monitoring
|
|
|
|
|
%endif
|
|
|
|
|
%description node-proxy
|
|
|
|
|
This package provides a Ceph hardware monitoring agent.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
#################################################################################
|
|
|
|
|
# common
|
|
|
|
|
#################################################################################
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
# Create two sysusers.d config files
|
|
|
|
|
# Create two sysusers.d config files
|
|
|
|
|
cat >ceph.sysusers.conf <<EOF
|
|
|
|
|
g ceph 167
|
|
|
|
|
u ceph 167 'Ceph storage service' %{_localstatedir}/lib/ceph -
|
|
|
|
@@ -1447,6 +1496,11 @@ env | sort
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
-DWITH_RADOSGW_SELECT_PARQUET:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?with grpc}
|
|
|
|
|
-DWITH_NVMEOF_GATEWAY_MONITOR_CLIENT:BOOL=ON \
|
|
|
|
|
%else
|
|
|
|
|
-DWITH_NVMEOF_GATEWAY_MONITOR_CLIENT:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{without ceph_test_package}
|
|
|
|
|
-DWITH_TESTS:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
@@ -1474,11 +1528,7 @@ env | sort
|
|
|
|
|
-DWITH_SYSTEM_ROCKSDB:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
-DWITH_SYSTEM_LIBURING:BOOL=ON \
|
|
|
|
|
%if 0%{with system_boost}
|
|
|
|
|
-DWITH_SYSTEM_BOOST:BOOL=ON \
|
|
|
|
|
%else
|
|
|
|
|
-DWITH_SYSTEM_BOOST:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with cephfs_shell}
|
|
|
|
|
-DWITH_CEPHFS_SHELL:BOOL=ON \
|
|
|
|
|
%endif
|
|
|
|
@@ -1487,6 +1537,9 @@ env | sort
|
|
|
|
|
%else
|
|
|
|
|
-DWITH_LIBRADOSSTRIPER:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{without radosgw}
|
|
|
|
|
-DWITH_RADOSGW:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with amqp_endpoint}
|
|
|
|
|
-DWITH_RADOSGW_AMQP_ENDPOINT:BOOL=ON \
|
|
|
|
|
%else
|
|
|
|
@@ -1515,19 +1568,16 @@ env | sort
|
|
|
|
|
%if 0%{without jaeger}
|
|
|
|
|
-DWITH_JAEGER:BOOL=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
-DBOOST_J:STRING=%{jobs} \
|
|
|
|
|
%else
|
|
|
|
|
-DBOOST_J:STRING=%{_smp_build_ncpus} \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
-DWITH_FMT_HEADER_ONLY:BOOL=ON \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with system_arrow}
|
|
|
|
|
-DWITH_SYSTEM_ARROW:BOOL=ON \
|
|
|
|
|
%else
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
-Dxsimd_SOURCE="SYSTEM" \
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with system_utf8proc}
|
|
|
|
|
-DWITH_SYSTEM_UTF8PROC:BOOL=ON \
|
|
|
|
|
%endif
|
|
|
|
@@ -1557,12 +1607,29 @@ env | sort
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with cephadm_bundling}
|
|
|
|
|
%if 0%{with cephadm_pip_deps}
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=pip
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=pip \
|
|
|
|
|
%else
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=rpm
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=rpm \
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=none
|
|
|
|
|
-DCEPHADM_BUNDLED_DEPENDENCIES=none \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
-DBOOST_J:STRING=%{jobs} \
|
|
|
|
|
%else
|
|
|
|
|
-DBOOST_J:STRING=%{_smp_build_ncpus} \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
-DWITH_GRAFANA:BOOL=ON
|
|
|
|
|
%else
|
|
|
|
|
-DWITH_MGR:BOOL=OFF \
|
|
|
|
|
-DWITH_EMBEDDED:BOOL=OFF \
|
|
|
|
|
-DWITH_SYSTEMD:BOOL=ON \
|
|
|
|
|
-DWITH_SPDK:BOOL=OFF \
|
|
|
|
|
-DWITH_PMEM:BOOL=OFF \
|
|
|
|
|
-DWITH_BOOST_CONTEXT:BOOL=OFF \
|
|
|
|
|
-DWITH_LEVELDB:BOOL=OFF \
|
|
|
|
|
-DWITH_GRAFANA:BOOL=OFF
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with cmake_verbose_logging}
|
|
|
|
@@ -1593,30 +1660,33 @@ install -m 0755 %{buildroot}%{_bindir}/crimson-osd %{buildroot}%{_bindir}/ceph-o
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
|
|
|
|
|
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
|
|
|
|
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
|
|
|
|
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
|
|
|
|
|
|
|
|
|
|
%if %{with server}
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
|
|
|
|
%endif
|
|
|
|
|
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
|
|
|
|
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_presetdir}/50-ceph.preset
|
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
|
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
|
|
|
|
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
|
|
|
|
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
|
|
|
|
|
install -m 0644 -D etc/sysctl/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
|
|
|
|
|
install -m 0755 -D src/tools/rbd_nbd/rbd-nbd_quiesce %{buildroot}%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
|
|
|
|
|
|
|
|
|
|
install -m 0644 -D ceph.sysusers.conf %{buildroot}%{_sysusersdir}/ceph.conf
|
|
|
|
|
install -m 0644 -D cephadm.sysusers.conf %{buildroot}%{_sysusersdir}/cephadm.conf
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
|
|
|
|
|
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
|
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
|
|
|
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
|
|
|
touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
|
|
|
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
install -m 0644 -D ceph.sysusers.conf %{buildroot}%{_sysusersdir}/ceph.conf
|
|
|
|
|
|
|
|
|
|
# firewall templates and /sbin/mount.ceph symlink
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
|
|
|
@@ -1627,8 +1697,10 @@ ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
|
|
|
|
|
# udev rules
|
|
|
|
|
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
# sudoers.d
|
|
|
|
|
install -m 0440 -D sudoers.d/ceph-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-smartctl
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%py3_shebang_fix %{buildroot}%{_bindir}/* %{buildroot}%{_sbindir}/*
|
|
|
|
|
|
|
|
|
@@ -1636,6 +1708,10 @@ install -m 0440 -D sudoers.d/ceph-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ceph
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
|
|
|
|
@@ -1660,8 +1736,125 @@ install -m 644 -D monitoring/ceph-mixin/dashboards_out/* %{buildroot}/etc/grafan
|
|
|
|
|
# SNMP MIB
|
|
|
|
|
install -m 644 -D -t %{buildroot}%{_datadir}/snmp/mibs monitoring/snmp/CEPH-MIB.txt
|
|
|
|
|
|
|
|
|
|
%if "%{_sbindir}" == "%{_bindir}"
|
|
|
|
|
mv %{buildroot}%{_exec_prefix}/sbin/ceph-create-keys %{buildroot}%{_bindir}/
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
|
|
# Remove the rbd/fuse bits
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-fuse
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-fuse.8*
|
|
|
|
|
rm -f %{buildroot}%{_sbindir}/mount.fuse.ceph
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/mount.fuse.ceph.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-fuse@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-fuse.target
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/rbd-fuse
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/rbd-fuse.8*
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-base package
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-crash
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/crushtool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/monmaptool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/osdmaptool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-kvstore-tool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-run
|
|
|
|
|
rm -f %{buildroot}%{_exec_prefix}/sbin/ceph-create-keys
|
|
|
|
|
rm -f %{buildroot}%{_sbindir}/ceph-volume
|
|
|
|
|
rm -f %{buildroot}%{_sbindir}/ceph-volume-systemd
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/ceph/ceph_common.sh
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/rados-classes
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/erasure-code
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/extblkdev
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/compressor
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/crypto
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-crash.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-volume@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph.target
|
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume/*
|
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume-*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-deploy.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-create-keys.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-volume.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-volume-systemd.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-run.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/crushtool.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/osdmaptool.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/monmaptool.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-kvstore-tool.8*
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-mds package
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-mds
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-mds.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mds@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mds.target
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-mgr package
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mgr@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mgr.target
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-mon package
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-mon
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-monstore-tool
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-mon.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mon@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-mon.target
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-mon-client-nvmeof package
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-nvmeof-monitor-client
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-radosgw package
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-radosgw@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-radosgw.target
|
|
|
|
|
|
|
|
|
|
# Remove the ceph-osd package
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-clsinfo
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-bluestore-tool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-erasure-code-tool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-objectstore-tool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-osdomap-tool
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-osd
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/ceph/ceph-osd-prestart.sh
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-clsinfo.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-osd.8*
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-bluestore-tool.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-osd@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-osd.target
|
|
|
|
|
|
|
|
|
|
# Remove rbd-mirror
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/rbd-mirror
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/rbd-mirror.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror.target
|
|
|
|
|
|
|
|
|
|
# Remove rbd-nbd
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/rbd-nbd
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/rbd-nbd.8*
|
|
|
|
|
|
|
|
|
|
# Remove cephfs-top
|
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/cephfs_top-*.egg-info
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/cephfs-top
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/cephfs-top.8*
|
|
|
|
|
|
|
|
|
|
# Remove additional files
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-diff-sorted
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-diff-sorted.8*
|
|
|
|
|
|
|
|
|
|
# Remove immutable-object-cache
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/ceph-immutable-object-cache
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/ceph-immutable-object-cache.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-immutable-object-cache@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/ceph-immutable-object-cache.target
|
|
|
|
|
|
|
|
|
|
# Remove cephfs-mirror
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/cephfs-mirror
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/cephfs-mirror.8*
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/cephfs-mirror@.service
|
|
|
|
|
rm -f %{buildroot}%{_unitdir}/cephfs-mirror.target
|
|
|
|
|
|
|
|
|
|
# Remove ceph-exporter
|
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-exporter.service
|
|
|
|
|
|
|
|
|
|
# Remove cephadm
|
|
|
|
|
rm -f %{buildroot}%{_sbindir}/cephadm
|
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/cephadm.8*
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
@@ -1676,6 +1869,8 @@ mv %{buildroot}%{_exec_prefix}/sbin/ceph-create-keys %{buildroot}%{_bindir}/
|
|
|
|
|
#################################################################################
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
|
|
|
|
|
%files base
|
|
|
|
|
%{_bindir}/ceph-crash
|
|
|
|
|
%{_bindir}/crushtool
|
|
|
|
@@ -1684,7 +1879,8 @@ mv %{buildroot}%{_exec_prefix}/sbin/ceph-create-keys %{buildroot}%{_bindir}/
|
|
|
|
|
%{_bindir}/ceph-kvstore-tool
|
|
|
|
|
%{_bindir}/ceph-run
|
|
|
|
|
%{_presetdir}/50-ceph.preset
|
|
|
|
|
%{_bindir}/ceph-create-keys
|
|
|
|
|
%{_sbindir}/cephadm
|
|
|
|
|
%{_exec_prefix}/sbin/ceph-create-keys
|
|
|
|
|
%dir %{_libexecdir}/ceph
|
|
|
|
|
%{_libexecdir}/ceph/ceph_common.sh
|
|
|
|
|
%dir %{_libdir}/rados-classes
|
|
|
|
@@ -1745,19 +1941,7 @@ if [ $1 -eq 1 ] ; then
|
|
|
|
|
/usr/bin/systemctl start ceph.target ceph-crash.service >/dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun base
|
|
|
|
|
%{?ldconfig}
|
|
|
|
|
%systemd_postun ceph.target
|
|
|
|
|
|
|
|
|
|
%files -n cephadm
|
|
|
|
|
%{_bindir}/cephadm
|
|
|
|
|
%{_mandir}/man8/cephadm.8*
|
|
|
|
|
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
|
|
|
|
|
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
|
|
|
|
|
%config(noreplace) %attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
|
|
|
%{_sysusersdir}/cephadm.conf
|
|
|
|
|
|
|
|
|
|
%preun common
|
|
|
|
|
%preun base
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
%service_del_preun ceph.target ceph-crash.service
|
|
|
|
|
%endif
|
|
|
|
@@ -1765,6 +1949,37 @@ fi
|
|
|
|
|
%systemd_preun ceph.target ceph-crash.service
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%postun base
|
|
|
|
|
%{?ldconfig}
|
|
|
|
|
%systemd_postun ceph.target
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
%exclude %{_sbindir}/ceph-node-proxy
|
|
|
|
|
%exclude %{python3_sitelib}/ceph_node_proxy/*
|
|
|
|
|
%exclude %{python3_sitelib}/ceph_node_proxy-*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
|
|
|
|
|
%pre -n cephadm
|
|
|
|
|
getent group cephadm >/dev/null || groupadd -r cephadm
|
|
|
|
|
getent passwd cephadm >/dev/null || useradd -r -g cephadm -s /bin/bash -c "cephadm user for mgr/cephadm" -d %{_sharedstatedir}/cephadm cephadm
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?suse_version}
|
|
|
|
|
%postun -n cephadm
|
|
|
|
|
[ $1 -ne 0 ] || userdel cephadm || :
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n cephadm
|
|
|
|
|
%{_sbindir}/cephadm
|
|
|
|
|
%{_mandir}/man8/cephadm.8*
|
|
|
|
|
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
|
|
|
|
|
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
|
|
|
|
|
%config(noreplace) %attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files common
|
|
|
|
|
%dir %{_docdir}/ceph
|
|
|
|
|
%doc %{_docdir}/ceph/sample.ceph.conf
|
|
|
|
@@ -1780,16 +1995,20 @@ fi
|
|
|
|
|
%{_bindir}/cephfs-table-tool
|
|
|
|
|
%{_bindir}/crushdiff
|
|
|
|
|
%{_bindir}/rados
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
%{_bindir}/radosgw-admin
|
|
|
|
|
%endif
|
|
|
|
|
%{_bindir}/rbd
|
|
|
|
|
%{_bindir}/rbd-replay
|
|
|
|
|
%{_bindir}/rbd-replay-many
|
|
|
|
|
%{_bindir}/rbdmap
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
%{_bindir}/rgw-gap-list
|
|
|
|
|
%{_bindir}/rgw-gap-list-comparator
|
|
|
|
|
%{_bindir}/rgw-orphan-list
|
|
|
|
|
%{_bindir}/rgw-restore-bucket-index
|
|
|
|
|
%{_bindir}/mount.ceph
|
|
|
|
|
%endif
|
|
|
|
|
%{_sbindir}/mount.ceph
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
|
|
|
|
/sbin/mount.ceph
|
|
|
|
|
%endif
|
|
|
|
@@ -1803,7 +2022,6 @@ fi
|
|
|
|
|
%{_mandir}/man8/ceph-authtool.8*
|
|
|
|
|
%{_mandir}/man8/ceph-conf.8*
|
|
|
|
|
%{_mandir}/man8/ceph-dencoder.8*
|
|
|
|
|
%{_mandir}/man8/ceph-diff-sorted.8*
|
|
|
|
|
%{_mandir}/man8/ceph-rbdnamer.8*
|
|
|
|
|
%{_mandir}/man8/ceph-syn.8*
|
|
|
|
|
%{_mandir}/man8/ceph-post-file.8*
|
|
|
|
@@ -1811,15 +2029,19 @@ fi
|
|
|
|
|
%{_mandir}/man8/crushdiff.8*
|
|
|
|
|
%{_mandir}/man8/mount.ceph.8*
|
|
|
|
|
%{_mandir}/man8/rados.8*
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
%{_mandir}/man8/radosgw-admin.8*
|
|
|
|
|
%endif
|
|
|
|
|
%{_mandir}/man8/rbd.8*
|
|
|
|
|
%{_mandir}/man8/rbdmap.8*
|
|
|
|
|
%{_mandir}/man8/rbd-replay.8*
|
|
|
|
|
%{_mandir}/man8/rbd-replay-many.8*
|
|
|
|
|
%{_mandir}/man8/rbd-replay-prep.8*
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
%{_mandir}/man8/rgw-orphan-list.8*
|
|
|
|
|
%{_mandir}/man8/rgw-gap-list.8*
|
|
|
|
|
%{_mandir}/man8/rgw-restore-bucket-index.8*
|
|
|
|
|
%endif
|
|
|
|
|
%dir %{_datadir}/ceph/
|
|
|
|
|
%{_datadir}/ceph/known_hosts_drop.ceph.com
|
|
|
|
|
%{_datadir}/ceph/id_rsa_drop.ceph.com
|
|
|
|
@@ -1828,7 +2050,9 @@ fi
|
|
|
|
|
%config %{_sysconfdir}/bash_completion.d/ceph
|
|
|
|
|
%config %{_sysconfdir}/bash_completion.d/rados
|
|
|
|
|
%config %{_sysconfdir}/bash_completion.d/rbd
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
|
|
|
|
|
%endif
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
|
|
|
|
|
%{_unitdir}/rbdmap.service
|
|
|
|
|
%dir %{_udevrulesdir}
|
|
|
|
@@ -1840,7 +2064,7 @@ fi
|
|
|
|
|
%pre common
|
|
|
|
|
CEPH_GROUP_ID=167
|
|
|
|
|
CEPH_USER_ID=167
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
|
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
|
|
|
|
|
/usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
|
|
|
|
|
%endif
|
|
|
|
@@ -1873,6 +2097,8 @@ if [ "$1" -eq "0" ] ; then
|
|
|
|
|
rm -rf %{_sysconfdir}/ceph
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
|
|
|
|
|
%files mds
|
|
|
|
|
%{_bindir}/ceph-mds
|
|
|
|
|
%{_mandir}/man8/ceph-mds.8*
|
|
|
|
@@ -2247,6 +2473,7 @@ fi
|
|
|
|
|
%dir %{_libexecdir}/rbd-nbd
|
|
|
|
|
%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
|
|
|
|
|
|
|
|
|
|
%if %{with radosgw}
|
|
|
|
|
%files radosgw
|
|
|
|
|
%{_bindir}/ceph-diff-sorted
|
|
|
|
|
%{_bindir}/radosgw
|
|
|
|
@@ -2254,6 +2481,7 @@ fi
|
|
|
|
|
%{_bindir}/radosgw-es
|
|
|
|
|
%{_bindir}/radosgw-object-expirer
|
|
|
|
|
%{_bindir}/rgw-policy-check
|
|
|
|
|
%{_mandir}/man8/ceph-diff-sorted.8*
|
|
|
|
|
%{_mandir}/man8/radosgw.8*
|
|
|
|
|
%{_mandir}/man8/rgw-policy-check.8*
|
|
|
|
|
%dir %{_localstatedir}/lib/ceph/radosgw
|
|
|
|
@@ -2294,6 +2522,7 @@ if [ $1 -ge 1 ] ; then
|
|
|
|
|
/usr/bin/systemctl try-restart ceph-radosgw@.service > /dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files osd
|
|
|
|
|
%{_bindir}/ceph-clsinfo
|
|
|
|
@@ -2403,8 +2632,9 @@ fi
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n librados2
|
|
|
|
|
%doc %{_docdir}/ceph/COPYING
|
|
|
|
|
%{_libdir}/librados.so.*
|
|
|
|
|
%dir %{_libdir}/ceph
|
|
|
|
|
%{_libdir}/ceph/libceph-common.so.*
|
|
|
|
@@ -2463,7 +2693,6 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n librbd1
|
|
|
|
|
%doc %{_docdir}/ceph/COPYING
|
|
|
|
|
%{_libdir}/librbd.so.*
|
|
|
|
|
%if %{with lttng}
|
|
|
|
|
%{_libdir}/librbd_tp.so.*
|
|
|
|
@@ -2483,6 +2712,8 @@ fi
|
|
|
|
|
%{_libdir}/librbd_tp.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with radosgw}
|
|
|
|
|
|
|
|
|
|
%files -n librgw2
|
|
|
|
|
%{_libdir}/librgw.so.*
|
|
|
|
|
%if %{with lttng}
|
|
|
|
@@ -2506,6 +2737,8 @@ fi
|
|
|
|
|
%{python3_sitearch}/rgw.cpython*.so
|
|
|
|
|
%{python3_sitearch}/rgw-*.egg-info
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-rbd
|
|
|
|
|
%{python3_sitearch}/rbd.cpython*.so
|
|
|
|
|
%{python3_sitearch}/rbd-*.egg-info
|
|
|
|
@@ -2558,10 +2791,12 @@ fi
|
|
|
|
|
%{_mandir}/man8/cephfs-shell.8*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
%files -n cephfs-top
|
|
|
|
|
%{python3_sitelib}/cephfs_top-*.egg-info
|
|
|
|
|
%{_bindir}/cephfs-top
|
|
|
|
|
%{_mandir}/man8/cephfs-top.8*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with ceph_test_package}
|
|
|
|
|
%files -n ceph-test
|
|
|
|
@@ -2718,6 +2953,8 @@ fi
|
|
|
|
|
exit 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with server}
|
|
|
|
|
|
|
|
|
|
%files grafana-dashboards
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/grafana
|
|
|
|
@@ -2742,148 +2979,62 @@ exit 0
|
|
|
|
|
%dir %{python3_sitelib}/ceph_node_proxy
|
|
|
|
|
%{python3_sitelib}/ceph_node_proxy/*
|
|
|
|
|
%{python3_sitelib}/ceph_node_proxy-*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 17 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-9
|
|
|
|
|
- ceph-20.2.0, rebuild with libarrow-23.0.1, cmake-4-isms, lua-5.5
|
|
|
|
|
* Tue Feb 17 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-5
|
|
|
|
|
- ceph-20.2.0, rebuild w/ libarrow-23.0.1, system zstd
|
|
|
|
|
|
|
|
|
|
* Wed Jan 28 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-8
|
|
|
|
|
- ceph-20.2.0, rebuild with libarrow-23.0.0, side tag f44-build-side-127546
|
|
|
|
|
|
|
|
|
|
* Wed Jan 28 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-7
|
|
|
|
|
- ceph-20.2.0, rhbz#2433903
|
|
|
|
|
|
|
|
|
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2:20.2.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2:20.2.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 10 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-4
|
|
|
|
|
- ceph-20.2.0, disable crimson, core team says it's not ready
|
|
|
|
|
* Tue Feb 3 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-4
|
|
|
|
|
- ceph-20.2.0, rebuild w/ libarrow-23.0.0
|
|
|
|
|
|
|
|
|
|
* Fri Dec 5 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-3
|
|
|
|
|
- ceph-20.2.0, rhbz#2419150
|
|
|
|
|
|
|
|
|
|
* Thu Dec 4 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-2
|
|
|
|
|
- ceph-20.2.0, enable crimson
|
|
|
|
|
|
|
|
|
|
* Tue Nov 18 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-1
|
|
|
|
|
* Fri Nov 21 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-2
|
|
|
|
|
- ceph-20.2.0, rebuild with libarrow-22.0.0 and liborc-2.2.1
|
|
|
|
|
|
|
|
|
|
* Wed Nov 19 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.2.0-1
|
|
|
|
|
- ceph-20.2.0 GA
|
|
|
|
|
|
|
|
|
|
* Tue Nov 4 2025 Tom Callaway <spot@fedoraproject.org> - 2:20.1.1-4
|
|
|
|
|
- rebuild for new fuse3
|
|
|
|
|
* Tue Oct 21 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.1-3
|
|
|
|
|
- ceph-20.1.1 RC, rhbz#2403112
|
|
|
|
|
|
|
|
|
|
* Fri Oct 24 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.1-2
|
|
|
|
|
- ceph-20.1.1 RC, rebuild with libarrow-22.0.0, side tag f44-build-side-121464
|
|
|
|
|
|
|
|
|
|
* Thu Oct 16 2025 Gordon Messmer <gordon.messmer[at]gmail.com> - 2:20.1.1-3
|
|
|
|
|
- Use rpm's native resource tunable to limit parallelism. BZ#2404624
|
|
|
|
|
* Fri Oct 10 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.1-2
|
|
|
|
|
- ceph-20.1.1 RC
|
|
|
|
|
|
|
|
|
|
* Tue Oct 7 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.1-1
|
|
|
|
|
- ceph-20.1.1 RC
|
|
|
|
|
|
|
|
|
|
* Tue Sep 23 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-6
|
|
|
|
|
- ceph-20.1.0 RC, rhbz#2396036 (gmock, gtest again)
|
|
|
|
|
* Thu Sep 11 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 2:20.1.0-3
|
|
|
|
|
- Avoid grpc and xsimd dependencies
|
|
|
|
|
|
|
|
|
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2:20.1.0-5
|
|
|
|
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
|
|
|
|
|
|
|
|
* Tue Sep 16 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-4
|
|
|
|
|
- ceph-20.1.0 RC, rhbz#2395703 (gmock, gtest again)
|
|
|
|
|
|
|
|
|
|
* Fri Sep 12 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-3
|
|
|
|
|
- ceph-20.1.0 RC, rhbz#2394758 (gmock, gtest)
|
|
|
|
|
|
|
|
|
|
* Tue Sep 9 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-2
|
|
|
|
|
- ceph-20.1.0 RC, rhbz#2394363
|
|
|
|
|
* Thu Sep 11 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-2
|
|
|
|
|
- ceph-20.1.0 RC, restore sysusers
|
|
|
|
|
|
|
|
|
|
* Mon Sep 8 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.1.0-1
|
|
|
|
|
- ceph-20.1.0 RC
|
|
|
|
|
|
|
|
|
|
* Mon Apr 28 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.2-5
|
|
|
|
|
- ceph-19.2.2, build in side tag f43-build-side-110906
|
|
|
|
|
* Tue Jul 8 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:20.0.0
|
|
|
|
|
- ceph-20.0.0
|
|
|
|
|
|
|
|
|
|
* Wed Apr 16 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2:19.2.2-4
|
|
|
|
|
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
|
|
|
|
|
|
|
|
|
* Mon Apr 14 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.2-3
|
|
|
|
|
- ceph-19.2.2, rhbz#2359214 again
|
|
|
|
|
|
|
|
|
|
* Sat Apr 12 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.2-2
|
|
|
|
|
- ceph-19.2.2, rhbz#2359214
|
|
|
|
|
|
|
|
|
|
* Thu Apr 10 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.2-1
|
|
|
|
|
* Fri Apr 11 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.2-1
|
|
|
|
|
- ceph-19.2.2 GA
|
|
|
|
|
|
|
|
|
|
* Thu Mar 13 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-7
|
|
|
|
|
- rebuild with libarrow-19.0.1 (and liborc-2.1.1)
|
|
|
|
|
* Sat Mar 8 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
|
|
|
|
|
- cephadm dependencies (keep in sync w/ rawhide, f42, etc.)
|
|
|
|
|
|
|
|
|
|
* Fri Mar 7 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-6
|
|
|
|
|
- cephadm dependencies
|
|
|
|
|
* Sat Mar 1 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-3
|
|
|
|
|
- rebuild with cmake-4
|
|
|
|
|
|
|
|
|
|
* Sat Mar 1 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-5
|
|
|
|
|
- rebuild w/ cmake-4
|
|
|
|
|
* Tue Feb 18 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-2
|
|
|
|
|
- ceph-19.2.1, rebuild with liborc-2.1.0, libarrow-19.0.0
|
|
|
|
|
|
|
|
|
|
* Mon Feb 17 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-4
|
|
|
|
|
- ceph-19.2.1, rebuild w/ libarrow 19, liborc 2.1, f43-build-side-105129
|
|
|
|
|
|
|
|
|
|
* Sat Feb 8 2025 Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl> - 2:19.2.1-3
|
|
|
|
|
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
|
|
|
|
|
|
|
|
|
* Fri Feb 7 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-2
|
|
|
|
|
- ceph-19.2.1, rebuild w/ libarrow 19, liborc 2.1, f43-build-side-105129
|
|
|
|
|
|
|
|
|
|
* Thu Feb 6 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-1
|
|
|
|
|
* Fri Feb 7 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.1-1
|
|
|
|
|
- ceph-19.2.1 GA
|
|
|
|
|
|
|
|
|
|
* Fri Jan 24 2025 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-10
|
|
|
|
|
- hack around cmake -std=gnu99 w/ userspace-rcu
|
|
|
|
|
- use system version of gmock and gtest to avoid bundled brain damage
|
|
|
|
|
that creates but does not install gmock and gtest shlibs rhbz#2341687
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2:19.2.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 20 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-8
|
|
|
|
|
- remove openssl-engine
|
|
|
|
|
|
|
|
|
|
* Sun Dec 08 2024 Pete Walter <pwalter@fedoraproject.org> - 2:19.2.0-7
|
|
|
|
|
- Rebuild for ICU 76
|
|
|
|
|
|
|
|
|
|
* Tue Nov 26 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-6
|
|
|
|
|
- build in f42-build-side-100844 again
|
|
|
|
|
|
|
|
|
|
* Fri Nov 22 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-5
|
|
|
|
|
- build in f42-build-side-100844
|
|
|
|
|
|
|
|
|
|
* Mon Nov 18 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-4
|
|
|
|
|
- and back; ceph-19.2.0 scikit_learn -> scikit-learn rhbz#2327036
|
|
|
|
|
|
|
|
|
|
* Wed Nov 13 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-3
|
|
|
|
|
- ceph-19.2.0 scikit-learn -> scikit_learn rhbz#2325990
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 Orion Poplawski <orion@nwra.com> - 2:19.2.0-2
|
|
|
|
|
- Rebuild for yaml-cpp 0.8
|
|
|
|
|
* Thu Nov 14 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-2
|
|
|
|
|
- ceph-19.2.0, python-scikit-learn -> python-scikit_learn, license
|
|
|
|
|
|
|
|
|
|
* Fri Sep 20 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.2.0-1
|
|
|
|
|
- ceph-19.2.0 GA
|
|
|
|
|
|
|
|
|
|
* Fri Aug 23 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.1.1-0.1
|
|
|
|
|
- ceph-19.1.1 RC
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.1.0-0.5
|
|
|
|
|
- possible fix for ppc64le build, see rhbz 2297744
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:19.1.0-0.4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 12 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.1.0-0.3
|
|
|
|
|
- install libtacopie.so
|
|
|
|
|
|
|
|
|
|
* Thu Jul 11 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.1.0-0.2
|
|
|
|
|
- install libcpp_redis.so
|
|
|
|
|
|
|
|
|
|
* Tue Jul 9 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:19.1.0-0.1
|
|
|
|
|
- ceph-19.1.0 RC
|
|
|
|
|
|
|
|
|
|