SHA256
1
0
forked from pool/ceph

Accepting request 681313 from filesystems:ceph:nautilus

fix ceph-mgr-diskprediction-local runtime deps

OBS-URL: https://build.opensuse.org/request/show/681313
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=210
This commit is contained in:
Nathan Cutler 2019-03-04 11:50:56 +00:00 committed by Git OBS Bridge
parent b3b96aae70
commit dde985eba7
7 changed files with 539 additions and 475 deletions

View File

@ -12,7 +12,7 @@
<size unit="G">28</size> <size unit="G">28</size>
</disk> </disk>
<memory> <memory>
<size unit="M">8500</size> <size unit="M">9000</size>
</memory> </memory>
</hardware> </hardware>
</overwrite> </overwrite>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:704028e97fa4710123d85bce3d6e67c0adb4db2a40c698a45047d32d44cd8656
size 95818578

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b317bc63e1fe86e4db0e77b6613970bd6a495f28f9b01d2e9edd2189904df81
size 96538856

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Mar 4 11:49:18 UTC 2019 - ncutler@suse.com
- Edge ceph package memory constraint upward to address "virtual memory
exhausted: Cannot allocate memory" build failure sseen in OBS
-------------------------------------------------------------------
Fri Mar 1 14:51:10 UTC 2019 - ncutler@suse.com
- Update to 14.1.0-559-gf1a72cff25:
+ rebase on top of upstream master branch, SHA1 34f04be35bb9abcb5860b4c975b105adacc7a3aa
* fix GCC-9 build (bsc#1121395)
+ SUSE branding for Ceph Dashboard (Sebastian Krah)
+ spec:
* Drop use of $FIRST_ARG (Franck Bui)
* fix ceph-mgr-diskprediction-local runtime deps
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 24 10:39:14 UTC 2019 - ncutler@suse.com Sun Feb 24 10:39:14 UTC 2019 - ncutler@suse.com

View File

@ -1,25 +1,24 @@
# #
# spec file for package ceph # spec file for package ceph
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file # Copyright (C) 2004-2017 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 http://bugs.opensuse.org/
# #
#################################################################################
# conditional build section
#
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
# bcond syntax!
#################################################################################
%bcond_without ocf %bcond_without ocf
%bcond_with make_check %bcond_with make_check
%ifarch s390 s390x %ifarch s390 s390x
@ -97,23 +96,22 @@
# main package definition # main package definition
################################################################################# #################################################################################
Name: ceph-test Name: ceph-test
Version: 14.1.0.402+ga396e8bf3b Version: 14.1.0.559+gf1a72cff25
Release: 0%{?dist} Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Epoch: 2
%endif %endif
# define _epoch_prefix macro which will expand to the empty string if epoch is # define _epoch_prefix macro which will expand to the empty string if epoch is
# undefined # undefined
%global _epoch_prefix %{?epoch:%{epoch}:} %global _epoch_prefix %{?epoch:}
Summary: Ceph benchmarks and test tools Summary: Ceph benchmarks and test tools
License: LGPL-2.1 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT License: LGPL-2.1-only AND CC-BY-SA-3.0 AND GPL-2.0-only AND BSL-1.0 AND BSD-3-Clause AND MIT
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
URL: http://ceph.com/ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-14.1.0-402-ga396e8bf3b.tar.bz2 Source0: %{?_remote_tarball_prefix}ceph-14.1.0-559-gf1a72cff25.tar.bz2
%if 0%{?suse_version} %if 0%{?suse_version}
Source96: checkin.sh Source96: checkin.sh
Source97: README-checkin.txt Source97: README-checkin.txt
@ -130,9 +128,9 @@ ExclusiveArch: x86_64 aarch64 ppc64le
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
@ -170,11 +168,11 @@ BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libudev-devel
BuildRequires: liboath-devel BuildRequires: liboath-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libudev-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: make BuildRequires: make
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: parted BuildRequires: parted
@ -206,10 +204,9 @@ BuildRequires: python%{_python_buildid}-requests
BuildRequires: python%{_python_buildid}-six BuildRequires: python%{_python_buildid}-six
BuildRequires: python%{_python_buildid}-tox BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-virtualenv BuildRequires: python%{_python_buildid}-virtualenv
%if 0%{?fedora} || 0%{?rhel} %if 0%{?rhel} == 7
BuildRequires: pyOpenSSL%{_python_buildid} BuildRequires: pyOpenSSL%{_python_buildid}
%endif %else
%if 0%{?suse_version}
BuildRequires: python%{_python_buildid}-pyOpenSSL BuildRequires: python%{_python_buildid}-pyOpenSSL
%endif %endif
BuildRequires: socat BuildRequires: socat
@ -229,53 +226,53 @@ BuildRequires: yaml-cpp-devel
# distro-conditional dependencies # distro-conditional dependencies
################################################################################# #################################################################################
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros
BuildRequires: systemd BuildRequires: systemd
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
%{?systemd_requires} %{?systemd_requires}
PreReq: %fillup_prereq PreReq: %fillup_prereq
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: lsb-release BuildRequires: lsb-release
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%{_python_buildid}-setuptools BuildRequires: liblz4-devel >= 1.7
BuildRequires: python%{_python_buildid}-Cython BuildRequires: python%{_python_buildid}-Cython
BuildRequires: python%{_python_buildid}-PrettyTable BuildRequires: python%{_python_buildid}-PrettyTable
BuildRequires: python%{_python_buildid}-Sphinx BuildRequires: python%{_python_buildid}-Sphinx
BuildRequires: python%{_python_buildid}-setuptools
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
BuildRequires: liblz4-devel >= 1.7
%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: CUnit-devel BuildRequires: CUnit-devel
BuildRequires: openssl-devel
BuildRequires: redhat-lsb-core BuildRequires: redhat-lsb-core
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
BuildRequires: Cython BuildRequires: Cython
BuildRequires: python34-Cython
BuildRequires: python34-devel BuildRequires: python34-devel
BuildRequires: python34-setuptools BuildRequires: python34-setuptools
BuildRequires: python34-Cython
%else %else
BuildRequires: python3-Cython
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-Cython
%endif %endif
BuildRequires: lz4-devel >= 1.7
BuildRequires: python%{_python_buildid}-prettytable BuildRequires: python%{_python_buildid}-prettytable
BuildRequires: python%{_python_buildid}-sphinx BuildRequires: python%{_python_buildid}-sphinx
BuildRequires: lz4-devel >= 1.7
%endif %endif
# distro-conditional make check dependencies # distro-conditional make check dependencies
%if 0%{with make_check} %if 0%{with make_check}
@ -298,12 +295,12 @@ BuildRequires: xmlsec1-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}
@ -376,6 +373,10 @@ This package contains Ceph benchmarks and test tools.
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%if 0%{?fedora} || 0%{?rhel}
%endif
%if 0%{?suse_version}
%endif
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
@ -491,7 +492,7 @@ This package contains Ceph benchmarks and test tools.
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%prep %prep
%autosetup -p1 -n ceph-14.1.0-402-ga396e8bf3b %autosetup -p1 -n ceph-14.1.0-559-gf1a72cff25
%build %build
@ -609,7 +610,6 @@ ${CMAKE} .. \
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
@ -617,7 +617,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
@ -1108,4 +1107,3 @@ rm -rf %{buildroot}
%if 0%{?suse_version} %if 0%{?suse_version}
%endif %endif
%changelog %changelog
# nospeccleaner

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Mar 4 11:49:18 UTC 2019 - ncutler@suse.com
- Edge ceph package memory constraint upward to address "virtual memory
exhausted: Cannot allocate memory" build failure sseen in OBS
-------------------------------------------------------------------
Fri Mar 1 14:51:10 UTC 2019 - ncutler@suse.com
- Update to 14.1.0-559-gf1a72cff25:
+ rebase on top of upstream master branch, SHA1 34f04be35bb9abcb5860b4c975b105adacc7a3aa
* fix GCC-9 build (bsc#1121395)
+ SUSE branding for Ceph Dashboard (Sebastian Krah)
+ spec:
* Drop use of $FIRST_ARG (Franck Bui)
* fix ceph-mgr-diskprediction-local runtime deps
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 24 10:39:14 UTC 2019 - ncutler@suse.com Sun Feb 24 10:39:14 UTC 2019 - ncutler@suse.com

274
ceph.spec
View File

@ -1,25 +1,24 @@
# #
# spec file for package ceph # spec file for package ceph
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file # Copyright (C) 2004-2017 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 http://bugs.opensuse.org/
# #
#################################################################################
# conditional build section
#
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
# bcond syntax!
#################################################################################
%bcond_without ocf %bcond_without ocf
%bcond_with make_check %bcond_with make_check
%ifarch s390 s390x %ifarch s390 s390x
@ -97,23 +96,22 @@
# main package definition # main package definition
################################################################################# #################################################################################
Name: ceph Name: ceph
Version: 14.1.0.402+ga396e8bf3b Version: 14.1.0.559+gf1a72cff25
Release: 0%{?dist} Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Epoch: 2
%endif %endif
# define _epoch_prefix macro which will expand to the empty string if epoch is # define _epoch_prefix macro which will expand to the empty string if epoch is
# undefined # undefined
%global _epoch_prefix %{?epoch:%{epoch}:} %global _epoch_prefix %{?epoch:}
Summary: User space components of the Ceph file system Summary: User space components of the Ceph file system
License: LGPL-2.1 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT License: LGPL-2.1-only AND CC-BY-SA-3.0 AND GPL-2.0-only AND BSL-1.0 AND BSD-3-Clause AND MIT
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
URL: http://ceph.com/ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-14.1.0-402-ga396e8bf3b.tar.bz2 Source0: %{?_remote_tarball_prefix}ceph-14.1.0-559-gf1a72cff25.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
@ -121,10 +119,10 @@ ExclusiveArch: x86_64 aarch64 ppc64le s390x
################################################################################# #################################################################################
# dependencies that apply across all distro families # dependencies that apply across all distro families
################################################################################# #################################################################################
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mds = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mds = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mon = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mon = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
Requires(post): binutils Requires(post): binutils
%if 0%{with cephfs_java} %if 0%{with cephfs_java}
BuildRequires: java-devel BuildRequires: java-devel
@ -162,11 +160,11 @@ BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libudev-devel
BuildRequires: liboath-devel BuildRequires: liboath-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libudev-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: make BuildRequires: make
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: parted BuildRequires: parted
@ -198,10 +196,9 @@ BuildRequires: python%{_python_buildid}-requests
BuildRequires: python%{_python_buildid}-six BuildRequires: python%{_python_buildid}-six
BuildRequires: python%{_python_buildid}-tox BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-virtualenv BuildRequires: python%{_python_buildid}-virtualenv
%if 0%{?fedora} || 0%{?rhel} %if 0%{?rhel} == 7
BuildRequires: pyOpenSSL%{_python_buildid} BuildRequires: pyOpenSSL%{_python_buildid}
%endif %else
%if 0%{?suse_version}
BuildRequires: python%{_python_buildid}-pyOpenSSL BuildRequires: python%{_python_buildid}-pyOpenSSL
%endif %endif
BuildRequires: socat BuildRequires: socat
@ -221,53 +218,53 @@ BuildRequires: yaml-cpp-devel
# distro-conditional dependencies # distro-conditional dependencies
################################################################################# #################################################################################
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros
BuildRequires: systemd BuildRequires: systemd
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
%{?systemd_requires} %{?systemd_requires}
PreReq: %fillup_prereq PreReq: %fillup_prereq
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: lsb-release BuildRequires: lsb-release
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%{_python_buildid}-setuptools BuildRequires: liblz4-devel >= 1.7
BuildRequires: python%{_python_buildid}-Cython BuildRequires: python%{_python_buildid}-Cython
BuildRequires: python%{_python_buildid}-PrettyTable BuildRequires: python%{_python_buildid}-PrettyTable
BuildRequires: python%{_python_buildid}-Sphinx BuildRequires: python%{_python_buildid}-Sphinx
BuildRequires: python%{_python_buildid}-setuptools
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
BuildRequires: liblz4-devel >= 1.7
%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: CUnit-devel BuildRequires: CUnit-devel
BuildRequires: openssl-devel
BuildRequires: redhat-lsb-core BuildRequires: redhat-lsb-core
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
BuildRequires: Cython BuildRequires: Cython
BuildRequires: python34-Cython
BuildRequires: python34-devel BuildRequires: python34-devel
BuildRequires: python34-setuptools BuildRequires: python34-setuptools
BuildRequires: python34-Cython
%else %else
BuildRequires: python3-Cython
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-Cython
%endif %endif
BuildRequires: lz4-devel >= 1.7
BuildRequires: python%{_python_buildid}-prettytable BuildRequires: python%{_python_buildid}-prettytable
BuildRequires: python%{_python_buildid}-sphinx BuildRequires: python%{_python_buildid}-sphinx
BuildRequires: lz4-devel >= 1.7
%endif %endif
# distro-conditional make check dependencies # distro-conditional make check dependencies
%if 0%{with make_check} %if 0%{with make_check}
@ -290,12 +287,12 @@ BuildRequires: xmlsec1-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}
@ -330,14 +327,14 @@ on commodity hardware and delivers object, block and file system storage.
################################################################################# #################################################################################
%package base %package base
Summary: Ceph Base Package Summary: Ceph Base Package
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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}
@ -352,8 +349,8 @@ Requires: psmisc
Requires: python%{_python_buildid}-requests Requires: python%{_python_buildid}-requests
Requires: python%{_python_buildid}-setuptools Requires: python%{_python_buildid}-setuptools
Requires: util-linux Requires: util-linux
Requires: xfsprogs
Requires: which Requires: which
Requires: xfsprogs
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
# 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.
@ -370,18 +367,18 @@ Base is the package that includes all the files shared amongst ceph servers
%package -n ceph-common %package -n ceph-common
Summary: Ceph Common Summary: Ceph Common
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{_python_buildid}-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release} Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-requests Requires: python%{_python_buildid}-requests
Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: python%{_python_buildid}-prettytable Requires: python%{_python_buildid}-prettytable
%endif %endif
@ -405,10 +402,11 @@ Comprised of files that are common to Ceph clients and servers.
%package mds %package mds
Summary: Ceph Metadata Server Daemon Summary: Ceph Metadata Server Daemon
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
@ -416,11 +414,12 @@ namespace, coordinating access to the shared OSD cluster.
%package mon %package mon
Summary: Ceph Monitor Daemon Summary: Ceph Monitor Daemon
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
Provides: ceph-test:/usr/bin/ceph-monstore-tool Provides: ceph-test:/usr/bin/ceph-monstore-tool
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%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
@ -429,8 +428,8 @@ of cluster membership, configuration, and state.
%package mgr %package mgr
Summary: Ceph Manager Daemon Summary: Ceph Manager Daemon
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-bcrypt Requires: python%{_python_buildid}-bcrypt
@ -463,9 +462,9 @@ exposes all these to the python modules.
%package mgr-dashboard %package mgr-dashboard
Summary: Ceph Dashboard Summary: Ceph Dashboard
Group: System/Filesystems
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
@ -493,24 +492,31 @@ detailed feature overview.
%package mgr-diskprediction-local %package mgr-diskprediction-local
Summary: ceph-mgr diskprediction_local plugin Summary: ceph-mgr diskprediction_local plugin
Group: System/Filesystems
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel}
Requires: numpy Requires: numpy
Requires: scipy Requires: scipy
%endif
%if 0%{?suse_version}
Requires: python%{_python_buildid}-numpy
Requires: python%{_python_buildid}-scipy
%endif
%description mgr-diskprediction-local %description mgr-diskprediction-local
ceph-mgr-diskprediction-local is a ceph-mgr plugin that tries to predict ceph-mgr-diskprediction-local is a ceph-mgr plugin that tries to predict
disk failures using local algorithms and machine-learning databases. disk failures using local algorithms and machine-learning databases.
%package mgr-diskprediction-cloud %package mgr-diskprediction-cloud
Summary: ceph-mgr diskprediction_cloud plugin Summary: ceph-mgr diskprediction_cloud plugin
Group: System/Filesystems
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
%description mgr-diskprediction-cloud %description mgr-diskprediction-cloud
ceph-mgr-diskprediction-cloud is a ceph-mgr plugin that tries to predict ceph-mgr-diskprediction-cloud is a ceph-mgr plugin that tries to predict
disk failures using services in the Google cloud. disk failures using services in the Google cloud.
@ -518,72 +524,79 @@ disk failures using services in the Google cloud.
%package mgr-rook %package mgr-rook
BuildArch: noarch BuildArch: noarch
Summary: ceph-mgr rook plugin Summary: ceph-mgr rook plugin
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-kubernetes
%description mgr-rook %description mgr-rook
ceph-mgr-rook is a ceph-mgr plugin for orchestration functions using ceph-mgr-rook is a ceph-mgr plugin for orchestration functions using
a Rook backend. a Rook backend.
%package mgr-ssh %package mgr-ssh
Summary: ceph-mgr ssh module Summary: ceph-mgr ssh module
Group: System/Filesystems
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-remoto Requires: python%{_python_buildid}-remoto
%description mgr-ssh %description mgr-ssh
ceph-mgr-ssh is a ceph-mgr module for orchestration functions using ceph-mgr-ssh is a ceph-mgr module for orchestration functions using
direct SSH connections for management operations. direct SSH connections for management operations.
%package fuse %package fuse
Summary: Ceph fuse-based client Summary: Ceph fuse-based client
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
%package -n rbd-fuse %package -n rbd-fuse
Summary: Ceph fuse-based client Summary: Ceph fuse-based client
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
%package -n rbd-mirror %package -n rbd-mirror
Summary: Ceph daemon for mirroring RBD images Summary: Ceph daemon for mirroring RBD images
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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}
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.
%package -n rbd-nbd %package -n rbd-nbd
Summary: Ceph RBD client base on NBD Summary: Ceph RBD client base on NBD
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
%package radosgw %package radosgw
Summary: Rados REST gateway Summary: Rados REST gateway
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux} %if 0%{with selinux}
@ -603,11 +616,12 @@ service as well as the OpenStack Object Storage ("Swift") API.
%if %{with ocf} %if %{with ocf}
%package resource-agents %package resource-agents
Summary: OCF-compliant resource agents for Ceph daemons Summary: OCF-compliant resource agents for Ceph daemons
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
@ -616,13 +630,14 @@ managers such as Pacemaker.
%package osd %package osd
Summary: Ceph Object Storage Daemon Summary: Ceph Object Storage Daemon
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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: lvm2
Requires: sudo 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
@ -630,8 +645,8 @@ and providing access to them over the network.
%package -n librados2 %package -n librados2
Summary: RADOS distributed object store client library Summary: RADOS distributed object store client library
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%endif %endif
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
@ -644,47 +659,51 @@ store using a simple file-like interface.
%package -n librados-devel %package -n librados-devel
Summary: RADOS headers Summary: RADOS headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} 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.
%package -n libradospp-devel %package -n libradospp-devel
Summary: RADOS headers Summary: RADOS headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%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.
%package -n librgw2 %package -n librgw2
Summary: RADOS gateway client library Summary: RADOS gateway client library
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%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).
%package -n librgw-devel %package -n librgw-devel
Summary: RADOS gateway client library Summary: RADOS gateway client library
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%endif %endif
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} 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.
@ -692,12 +711,13 @@ that use RADOS gateway client library.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rgw %package -n python-rgw
Summary: Python 2 libraries for the RADOS gateway Summary: Python 2 libraries for the RADOS gateway
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rgw %description -n python-rgw
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
gateway. gateway.
@ -705,11 +725,12 @@ gateway.
%package -n python%{python3_pkgversion}-rgw %package -n python%{python3_pkgversion}-rgw
Summary: Python 3 libraries for the RADOS gateway Summary: Python 3 libraries for the RADOS gateway
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-rados = %{_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 Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
gateway. gateway.
@ -717,11 +738,12 @@ gateway.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rados %package -n python-rados
Summary: Python 2 libraries for the RADOS object store Summary: Python 2 libraries for the RADOS object store
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rados %description -n python-rados
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
object store. object store.
@ -729,11 +751,12 @@ object store.
%package -n python%{python3_pkgversion}-rados %package -n python%{python3_pkgversion}-rados
Summary: Python 3 libraries for the RADOS object store Summary: Python 3 libraries for the RADOS object store
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: python%{python3_pkgversion}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}
%description -n python%{python3_pkgversion}-rados %description -n python%{python3_pkgversion}-rados
This package contains Python 3 libraries for interacting with Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
object store. object store.
@ -741,10 +764,11 @@ object store.
%if 0%{with libradosstriper} %if 0%{with libradosstriper}
%package -n libradosstriper1 %package -n libradosstriper1
Summary: RADOS striping interface Summary: RADOS striping interface
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%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
@ -752,15 +776,16 @@ an interface very similar to the rados one.
%package -n libradosstriper-devel %package -n libradosstriper-devel
Summary: RADOS striping interface headers Summary: RADOS striping interface headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%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.
@ -768,8 +793,8 @@ that use RADOS striping interface.
%package -n librbd1 %package -n librbd1
Summary: RADOS block device client library Summary: RADOS block device client library
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{?suse_version} %if 0%{?suse_version}
@ -786,15 +811,16 @@ shared library allowing applications to manage these block devices.
%package -n librbd-devel %package -n librbd-devel
Summary: RADOS block device headers Summary: RADOS block device headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%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.
@ -802,12 +828,13 @@ that use RADOS block device.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rbd %package -n python-rbd
Summary: Python 2 libraries for the RADOS block device Summary: Python 2 libraries for the RADOS block device
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rbd %description -n python-rbd
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
block device. block device.
@ -815,24 +842,25 @@ block device.
%package -n python%{python3_pkgversion}-rbd %package -n python%{python3_pkgversion}-rbd
Summary: Python 3 libraries for the RADOS block device Summary: Python 3 libraries for the RADOS block device
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-rados = %{_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 Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
block device. block device.
%package -n libcephfs2 %package -n libcephfs2
Summary: Ceph distributed file system client library Summary: Ceph distributed file system client library
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%endif %endif
Obsoletes: libcephfs1 Obsoletes: libcephfs1
%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
@ -842,14 +870,15 @@ POSIX-like interface.
%package -n libcephfs-devel %package -n libcephfs-devel
Summary: Ceph distributed file system headers Summary: Ceph distributed file system headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} 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 Cephs distributed file system. that use Cephs distributed file system.
@ -857,13 +886,14 @@ that use Cephs distributed file system.
%if 0%{with python2} %if 0%{with python2}
%package -n python-cephfs %package -n python-cephfs
Summary: Python 2 libraries for Ceph distributed file system Summary: Python 2 libraries for Ceph distributed file system
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python-ceph-argparse = %{_epoch_prefix}%{version}-%{release} Requires: python-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-cephfs %description -n python-cephfs
This package contains Python 2 libraries for interacting with Cephs distributed This package contains Python 2 libraries for interacting with Cephs distributed
file system. file system.
@ -871,12 +901,13 @@ file system.
%package -n python%{python3_pkgversion}-cephfs %package -n python%{python3_pkgversion}-cephfs
Summary: Python 3 libraries for Ceph distributed file system Summary: Python 3 libraries for Ceph distributed file system
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%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}
%description -n python%{python3_pkgversion}-cephfs %description -n python%{python3_pkgversion}-cephfs
This package contains Python 3 libraries for interacting with Cephs distributed This package contains Python 3 libraries for interacting with Cephs distributed
file system. file system.
@ -884,8 +915,8 @@ file system.
%if 0%{with python2} %if 0%{with python2}
%package -n python-ceph-argparse %package -n python-ceph-argparse
Summary: Python 2 utility libraries for Ceph CLI Summary: Python 2 utility libraries for Ceph CLI
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
%description -n python-ceph-argparse %description -n python-ceph-argparse
This package contains types and routines for Python 2 used by the Ceph CLI as This package contains types and routines for Python 2 used by the Ceph CLI as
@ -896,8 +927,8 @@ descriptions, and submitting the command to the appropriate daemon.
%package -n python%{python3_pkgversion}-ceph-argparse %package -n python%{python3_pkgversion}-ceph-argparse
Summary: Python 3 utility libraries for Ceph CLI Summary: Python 3 utility libraries for Ceph CLI
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
%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
@ -908,9 +939,11 @@ descriptions, and submitting the command to the appropriate daemon.
%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
Group: System/Filesystems
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
@ -920,13 +953,14 @@ works like an FTP client.
%if 0%{with ceph_test_package} %if 0%{with ceph_test_package}
%package -n ceph-test %package -n ceph-test
Summary: Ceph benchmarks and test tools Summary: Ceph benchmarks and test tools
%if 0%{?suse_version}
Group: System/Benchmark Group: System/Benchmark
%if 0%{?suse_version}
%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
@ -935,38 +969,41 @@ This package contains Ceph benchmarks and test tools.
%package -n libcephfs_jni1 %package -n libcephfs_jni1
Summary: Java Native Interface library for CephFS Java bindings Summary: Java Native Interface library for CephFS Java bindings
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%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.
%package -n libcephfs_jni-devel %package -n libcephfs_jni-devel
Summary: Development files for CephFS Java Native Interface library Summary: Development files for CephFS Java Native Interface library
%if 0%{?suse_version}
Group: Development/Libraries/Java Group: Development/Libraries/Java
%if 0%{?suse_version}
%endif %endif
Requires: java Requires: java
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release} 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.
%package -n cephfs-java %package -n cephfs-java
Summary: Java libraries for the Ceph File System Summary: Java libraries for the Ceph File System
%if 0%{?suse_version}
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version}
%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.
@ -974,10 +1011,11 @@ This package contains the Java libraries for the Ceph File System.
%package -n rados-objclass-devel %package -n rados-objclass-devel
Summary: RADOS object class development kit Summary: RADOS object class development kit
%if 0%{?suse_version}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{?suse_version}
%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.
@ -986,14 +1024,16 @@ class plugins.
%package selinux %package selinux
Summary: SELinux support for Ceph MON, OSD and MDS Summary: SELinux support for Ceph MON, OSD and MDS
%if 0%{?suse_version}
Group: System/Filesystems Group: System/Filesystems
%if 0%{?suse_version}
%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
@ -1004,15 +1044,16 @@ populated file-systems.
%if 0%{with python2} %if 0%{with python2}
%package -n python-ceph-compat %package -n python-ceph-compat
Summary: Compatibility package for Cephs python libraries Summary: Compatibility package for Cephs python libraries
%if 0%{?suse_version}
Group: Development/Libraries/Python Group: Development/Libraries/Python
%if 0%{?suse_version}
%endif %endif
Obsoletes: python-ceph Obsoletes: python-ceph
Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python-rbd = %{_epoch_prefix}%{version}-%{release} Requires: python-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python-rgw = %{_epoch_prefix}%{version}-%{release} Requires: python-rgw = %{_epoch_prefix}%{version}-%{release}
Provides: python-ceph Provides: python-ceph
%description -n python-ceph-compat %description -n python-ceph-compat
This is a compatibility package to accommodate python-ceph split into This is a compatibility package to accommodate python-ceph split into
python-rados, python-rbd, python-rgw and python-cephfs. Packages still python-rados, python-rbd, python-rgw and python-cephfs. Packages still
@ -1022,9 +1063,9 @@ python-rbd, python-rgw or python-cephfs instead.
%package grafana-dashboards %package grafana-dashboards
Summary: The set of Grafana dashboards for monitoring purposes Summary: The set of Grafana dashboards for monitoring purposes
Group: System/Filesystems
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
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
@ -1037,7 +1078,7 @@ integrated with the Ceph Manager Dashboard web UI.
# common # common
################################################################################# #################################################################################
%prep %prep
%autosetup -p1 -n ceph-14.1.0-402-ga396e8bf3b %autosetup -p1 -n ceph-14.1.0-559-gf1a72cff25
%build %build
@ -1155,7 +1196,6 @@ ${CMAKE} .. \
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
@ -1163,7 +1203,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
@ -1325,7 +1364,6 @@ fi
%postun base %postun base
/sbin/ldconfig /sbin/ldconfig
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph.target %service_del_postun ceph.target
@ -1333,7 +1371,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph.target %systemd_postun ceph.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1462,7 +1500,6 @@ fi
%endif %endif
%postun mds %postun mds
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-mds@\*.service ceph-mds.target %service_del_postun ceph-mds@\*.service ceph-mds.target
@ -1470,7 +1507,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-mds@\*.service ceph-mds.target %systemd_postun ceph-mds@\*.service ceph-mds.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1537,7 +1574,6 @@ fi
%endif %endif
%postun mgr %postun mgr
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-mgr@\*.service ceph-mgr.target %service_del_postun ceph-mgr@\*.service ceph-mgr.target
@ -1545,7 +1581,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-mgr@\*.service ceph-mgr.target %systemd_postun ceph-mgr@\*.service ceph-mgr.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1652,7 +1688,6 @@ fi
%endif %endif
%postun mon %postun mon
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-mon@\*.service ceph-mon.target %service_del_postun ceph-mon@\*.service ceph-mon.target
@ -1660,7 +1695,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-mon@\*.service ceph-mon.target %systemd_postun ceph-mon@\*.service ceph-mon.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1711,7 +1746,6 @@ fi
%endif %endif
%postun -n rbd-mirror %postun -n rbd-mirror
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target %service_del_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
@ -1719,7 +1753,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target %systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1767,7 +1801,6 @@ fi
%endif %endif
%postun radosgw %postun radosgw
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-radosgw@\*.service ceph-radosgw.target %service_del_postun ceph-radosgw@\*.service ceph-radosgw.target
@ -1775,7 +1808,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-radosgw@\*.service ceph-radosgw.target %systemd_postun ceph-radosgw@\*.service ceph-radosgw.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -1835,7 +1868,6 @@ fi
%endif %endif
%postun osd %postun osd
test -n "$FIRST_ARG" || FIRST_ARG=$1
%if 0%{?suse_version} %if 0%{?suse_version}
DISABLE_RESTART_ON_UPDATE="yes" DISABLE_RESTART_ON_UPDATE="yes"
%service_del_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target %service_del_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
@ -1843,7 +1875,7 @@ DISABLE_RESTART_ON_UPDATE="yes"
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%systemd_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target %systemd_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
%endif %endif
if [ $FIRST_ARG -ge 1 ] ; then if [ $1 -ge 1 ] ; then
# Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
# "yes". In any case: if units are not running, do not touch them. # "yes". In any case: if units are not running, do not touch them.
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
@ -2182,6 +2214,6 @@ exit 0
%doc monitoring/grafana/dashboards/README %doc monitoring/grafana/dashboards/README
%doc monitoring/grafana/README.md %doc monitoring/grafana/README.md
# nospeccleaner
%changelog %changelog
# nospeccleaner