6d8727
#
6d8727
# spec file for package ceph
6d8727
#
6d8727
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
6d8727
# at the top-level directory of this distribution and at
6d8727
# https://github.com/ceph/ceph/blob/master/COPYING
6d8727
#
6d8727
# All modifications and additions to the file contributed by third parties
6d8727
# remain the property of their copyright owners, unless otherwise agreed
6d8727
# upon.
6d8727
#
6d8727
# This file is under the GNU Lesser General Public License, version 2.1
6d8727
#
6d8727
# Please submit bugfixes or comments via http://tracker.ceph.com/
6d8727
#
6d8727
6d8727
#################################################################################
6d8727
# conditional build section
6d8727
#
6d8727
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
6d8727
# bcond syntax!
6d8727
#################################################################################
6d8727
%global _hardened_build 1
6d8727
6d8727
%bcond_with make_check
6d8727
%bcond_with cmake_verbose_logging
6d8727
%bcond_without ceph_test_package
127d09
%ifarch s390
6d8727
%bcond_with tcmalloc
6d8727
%else
6d8727
%bcond_without tcmalloc
6d8727
%endif
6d8727
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%bcond_without selinux
6d8727
%if 0%{?rhel} >= 8
6d8727
%bcond_with cephfs_java
6d8727
%else
6d8727
%bcond_without cephfs_java
6d8727
%endif
6d8727
%bcond_without amqp_endpoint
6d8727
%bcond_without kafka_endpoint
6d8727
%bcond_without lttng
6d8727
%bcond_without libradosstriper
6d8727
%bcond_without ocf
6d8727
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
%bcond_with amqp_endpoint
a7ada8
%bcond_with cephfs_java
6d8727
%bcond_with kafka_endpoint
6d8727
%ifarch x86_64 aarch64 ppc64le
6d8727
%bcond_without lttng
6d8727
%else
a7ada8
%bcond_with lttng
a7ada8
%endif
a7ada8
%bcond_with ocf
a7ada8
%bcond_with selinux
a7ada8
#Compat macro for _fillupdir macro introduced in Nov 2017
a7ada8
%if ! %{defined _fillupdir}
a7ada8
%global _fillupdir /var/adm/fillup-templates
6d8727
%endif
6d8727
%endif
6d8727
%bcond_with seastar
6d8727
%if 0%{?fedora} || 0%{?suse_version} >= 1500
6d8727
# distros that ship cmd2 and/or colorama
6d8727
%bcond_without cephfs_shell
6d8727
%else
6d8727
# distros that do _not_ ship cmd2/colorama
6d8727
%bcond_with cephfs_shell
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
6d8727
%global weak_deps 1
6d8727
%endif
6d8727
%if %{with selinux}
6d8727
# get selinux policy version
6d8727
# Force 0.0.0 policy version for centos builds to avoid repository sync issues between rhel and centos
6d8727
%if 0%{?centos}
6d8727
%global _selinux_policy_version 0.0.0
6d8727
%else
6d8727
%{!?_selinux_policy_version: %global _selinux_policy_version 0.0.0}
6d8727
%endif
6d8727
%endif
6d8727
6d8727
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
6d8727
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
6d8727
%{!?python3_pkgversion: %global python3_pkgversion 3}
6d8727
%{!?python3_version_nodots: %global python3_version_nodots 3}
6d8727
%{!?python3_version: %global python3_version 3}
6d8727
%if 0%{?rhel} == 7
6d8727
%define __python %{__python3}
6d8727
%endif
6d8727
# unify libexec for all targets
6d8727
%global _libexecdir %{_exec_prefix}/lib
6d8727
6d8727
# disable dwz which compresses the debuginfo
6d8727
%global _find_debuginfo_dwz_opts %{nil}
6d8727
6d8727
#################################################################################
6d8727
# main package definition
6d8727
#################################################################################
6d8727
Name:		ceph
dc518a
Version:	15.2.15
dc518a
Release:	1%{?dist}
6d8727
%if 0%{?fedora} || 0%{?rhel}
8f0ee8
Epoch:		2
6d8727
%endif
6d8727
6d8727
# define _epoch_prefix macro which will expand to the empty string if epoch is
6d8727
# undefined
6d8727
%global _epoch_prefix %{?epoch:%{epoch}:}
6d8727
6d8727
Summary:	User space components of the Ceph file system
6d8727
#License:	LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
6d8727
License:	(LGPLv2.1 or LGPLv3) and CC-BY-SA-3.0 and GPLv2 and Boost-1.0 and BSD and MIT
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
URL:		http://ceph.com/
6d8727
Source0:	%{?_remote_tarball_prefix}ceph-%{version}.tar.gz
6d8727
Patch0001:	0001-src-common-crc32c_intel_fast.patch
6d8727
Patch0003:	0003-src-common-bitstr.h.patch
6d8727
Source1:	cmake-modules-BuildBoost.cmake.noautopatch
6d8727
# ceph 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787
6d8727
ExcludeArch:	i686 armv7hl
6d8727
%if 0%{?suse_version}
6d8727
# _insert_obs_source_lines_here
6d8727
ExclusiveArch:	x86_64 aarch64 ppc64le s390x
6d8727
%endif
6d8727
#################################################################################
6d8727
# dependencies that apply across all distro families
6d8727
#################################################################################
6d8727
Requires:	ceph-osd = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mds = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mon = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires(post):	binutils
6d8727
%if 0%{with cephfs_java}
6d8727
BuildRequires:	java-devel
6d8727
BuildRequires:	sharutils
6d8727
%endif
6d8727
%if 0%{with selinux}
6d8727
BuildRequires:	checkpolicy
6d8727
BuildRequires:	selinux-policy-devel
6d8727
%endif
6d8727
BuildRequires:	gperf
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	cmake3 > 3.5
6d8727
%else
6d8727
BuildRequires:	cmake > 3.5
6d8727
%endif
6d8727
BuildRequires:	cryptsetup
6d8727
BuildRequires:	fuse-devel
6d8727
BuildRequires:	fmt-devel
6d8727
%if 0%{?rhel} == 7
6d8727
# devtoolset offers newer make and valgrind-devel, but the old ones are good
6d8727
# enough.
6d8727
BuildRequires:	devtoolset-8-gcc-c++ >= 8.3.1-3.1
6d8727
%else
6d8727
BuildRequires:	gcc-c++
6d8727
%endif
6d8727
BuildRequires:	gdbm
6d8727
%if 0%{with tcmalloc}
127d09
# libprofiler did not build on ppc64le until 2.7.90
127d09
%if 0%{?fedora} || 0%{?rhel} >= 8
9f87c7
BuildRequires:	gperftools-devel >= 2.7.90
127d09
%endif
127d09
%if 0%{?rhel} && 0%{?rhel} < 8
6d8727
BuildRequires:	gperftools-devel >= 2.6.1
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	gperftools-devel >= 2.4
6d8727
%endif
6d8727
%endif
6d8727
BuildRequires:	leveldb-devel > 1.2
6d8727
BuildRequires:	libaio-devel
6d8727
BuildRequires:	libblkid-devel >= 2.17
6d8727
BuildRequires:	libcurl-devel
6d8727
BuildRequires:	libcap-ng-devel
6d8727
BuildRequires:	pkgconfig(libudev)
6d8727
BuildRequires:	libnl3-devel
6d8727
BuildRequires:	liboath-devel
6d8727
BuildRequires:	libtool
6d8727
BuildRequires:	libxml2-devel
6d8727
BuildRequires:	make
6d8727
BuildRequires:	ncurses-devel
6d8727
BuildRequires:	parted
6d8727
BuildRequires:	patch
6d8727
BuildRequires:	perl
6d8727
BuildRequires:	pkgconfig
6d8727
BuildRequires:	procps
6d8727
BuildRequires:	python%{python3_pkgversion}
6d8727
BuildRequires:	python%{python3_pkgversion}-devel
cdd4fb
BuildRequires:	python%{python3_pkgversion}-setuptools
6d8727
BuildRequires:	snappy-devel
6d8727
BuildRequires:	sudo
6d8727
BuildRequires:	pkgconfig(udev)
6d8727
BuildRequires:	util-linux
6d8727
BuildRequires:	valgrind-devel
6d8727
BuildRequires:	which
6d8727
BuildRequires:	xfsprogs
6d8727
BuildRequires:	xfsprogs-devel
6d8727
BuildRequires:	xmlstarlet
6d8727
BuildRequires:	yasm
6d8727
%if 0%{with amqp_endpoint}
6d8727
BuildRequires:	librabbitmq-devel
6d8727
%endif
6d8727
%if 0%{with kafka_endpoint}
6d8727
BuildRequires:	librdkafka-devel
6d8727
%endif
6d8727
%if 0%{with make_check}
6d8727
BuildRequires:	jq
6d8727
BuildRequires:	libuuid-devel
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-bcrypt
6d8727
BuildRequires:	python%{python3_version_nodots}-nose
6d8727
BuildRequires:	python%{python3_version_nodots}-requests
6d8727
BuildRequires:	python%{python3_version_nodots}-dateutil
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-bcrypt
6d8727
BuildRequires:	python%{python3_pkgversion}-nose
6d8727
BuildRequires:	python%{python3_pkgversion}-pecan
6d8727
BuildRequires:	python%{python3_pkgversion}-requests
6d8727
BuildRequires:	python%{python3_pkgversion}-dateutil
6d8727
%endif
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-six
6d8727
BuildRequires:	python%{python3_version_nodots}-virtualenv
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-six
6d8727
BuildRequires:	python%{python3_pkgversion}-virtualenv
6d8727
%endif
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-coverage
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-coverage
6d8727
%endif
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-pyOpenSSL
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
6d8727
%endif
6d8727
BuildRequires:	socat
6d8727
%endif
6d8727
%if 0%{with seastar}
6d8727
BuildRequires:	c-ares-devel
6d8727
BuildRequires:	gnutls-devel
6d8727
BuildRequires:	hwloc-devel
6d8727
BuildRequires:	libpciaccess-devel
6d8727
BuildRequires:	lksctp-tools-devel
6d8727
BuildRequires:	protobuf-devel
6d8727
BuildRequires:	ragel
6d8727
BuildRequires:	systemtap-sdt-devel
6d8727
BuildRequires:	yaml-cpp-devel
6d8727
%endif
6d8727
#################################################################################
6d8727
# distro-conditional dependencies
6d8727
#################################################################################
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	pkgconfig(systemd)
6d8727
BuildRequires:	systemd-rpm-macros
6d8727
%{?systemd_requires}
6d8727
PreReq:		%fillup_prereq
6d8727
BuildRequires:	fdupes
6d8727
BuildRequires:	net-tools
6d8727
BuildRequires:	libbz2-devel
6d8727
BuildRequires:	mozilla-nss-devel
6d8727
BuildRequires:	keyutils-devel
6d8727
BuildRequires:	libopenssl-devel
6d8727
BuildRequires:	lsb-release
6d8727
BuildRequires:	openldap2-devel
6d8727
#BuildRequires:	krb5
6d8727
#BuildRequires:	krb5-devel
6d8727
BuildRequires:	cunit-devel
6d8727
BuildRequires:	python%{python3_pkgversion}-setuptools
6d8727
BuildRequires:	python%{python3_pkgversion}-Cython
6d8727
BuildRequires:	python%{python3_pkgversion}-PrettyTable
6d8727
BuildRequires:	python%{python3_pkgversion}-Sphinx
6d8727
BuildRequires:	rdma-core-devel
6d8727
BuildRequires:	liblz4-devel >= 1.7
6d8727
# for prometheus-alerts
6d8727
BuildRequires:	golang-github-prometheus-prometheus
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
Requires:	systemd
6d8727
BuildRequires:	boost-random
6d8727
BuildRequires:	nss-devel
6d8727
BuildRequires:	keyutils-libs-devel
6d8727
BuildRequires:	libibverbs-devel
6d8727
BuildRequires:	librdmacm-devel
6d8727
BuildRequires:	openldap-devel
6d8727
#BuildRequires:	krb5-devel
6d8727
BuildRequires:	openssl-devel
6d8727
BuildRequires:	CUnit-devel
6d8727
BuildRequires:	redhat-lsb-core
6d8727
BuildRequires:	python%{python3_pkgversion}-devel
6d8727
BuildRequires:	python%{python3_pkgversion}-setuptools
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-Cython
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-Cython
6d8727
%endif
6d8727
BuildRequires:	python%{python3_pkgversion}-prettytable
6d8727
BuildRequires:	python%{python3_pkgversion}-sphinx
6d8727
BuildRequires:	lz4-devel >= 1.7
6d8727
%endif
6d8727
# distro-conditional make check dependencies
6d8727
%if 0%{with make_check}
6d8727
%if 0%{?fedora} || 0%{?rhel}
127d09
BuildRequires:	golang-github-prometheus
6d8727
BuildRequires:	libtool-ltdl-devel
6d8727
BuildRequires:	xmlsec1
6d8727
BuildRequires:	xmlsec1-devel
6d8727
%ifarch x86_64
6d8727
BuildRequires:	xmlsec1-nss
6d8727
%endif
6d8727
BuildRequires:	xmlsec1-openssl
6d8727
BuildRequires:	xmlsec1-openssl-devel
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-jwt
6d8727
BuildRequires:	python%{python3_version_nodots}-scipy
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-cherrypy
6d8727
BuildRequires:	python%{python3_pkgversion}-jwt
6d8727
BuildRequires:	python%{python3_pkgversion}-routes
6d8727
BuildRequires:	python%{python3_pkgversion}-scipy
6d8727
BuildRequires:	python%{python3_pkgversion}-werkzeug
6d8727
%endif
6d8727
%if 0%{?rhel} == 7
6d8727
BuildRequires:	python%{python3_version_nodots}-pyOpenSSL
6d8727
%else
6d8727
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?suse_version}
127d09
BuildRequires:	golang-github-prometheus-prometheus
6d8727
BuildRequires:	libxmlsec1-1
6d8727
BuildRequires:	libxmlsec1-nss1
6d8727
BuildRequires:	libxmlsec1-openssl1
6d8727
BuildRequires:	python%{python3_pkgversion}-CherryPy
6d8727
BuildRequires:	python%{python3_pkgversion}-PyJWT
6d8727
BuildRequires:	python%{python3_pkgversion}-Routes
6d8727
BuildRequires:	python%{python3_pkgversion}-Werkzeug
6d8727
BuildRequires:	python%{python3_pkgversion}-numpy-devel
6d8727
BuildRequires:	xmlsec1-devel
6d8727
BuildRequires:	xmlsec1-openssl-devel
6d8727
%endif
6d8727
%endif
6d8727
# lttng and babeltrace for rbd-replay-prep
6d8727
%if %{with lttng}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	lttng-ust-devel
6d8727
BuildRequires:	libbabeltrace-devel
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	lttng-ust-devel
6d8727
BuildRequires:	babeltrace-devel
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	libexpat-devel
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
BuildRequires:	expat-devel
6d8727
%endif
6d8727
#hardened-cc1
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	redhat-rpm-config
6d8727
%endif
6d8727
%if 0%{with seastar}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
BuildRequires:	cryptopp-devel
6d8727
BuildRequires:	numactl-devel
6d8727
BuildRequires:	protobuf-compiler
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
BuildRequires:	libcryptopp-devel
6d8727
BuildRequires:	libnuma-devel
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?rhel} >= 8
6d8727
BuildRequires:	/usr/bin/pathfix.py
6d8727
%endif
6d8727
6d8727
%description
6d8727
Ceph is a massively scalable, open-source, distributed storage system that runs
6d8727
on commodity hardware and delivers object, block and file system storage.
6d8727
6d8727
6d8727
#################################################################################
6d8727
# subpackages
6d8727
#################################################################################
6d8727
%package base
6d8727
Summary:	Ceph Base Package
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
bba994
Provides:	%{name}-test:/usr/bin/ceph-kvstore-tool
bba994
Requires:	%{name}-common = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{with selinux}
6d8727
Requires:	ceph-selinux = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
Requires:	cryptsetup
6d8727
Requires:	e2fsprogs
6d8727
Requires:	findutils
6d8727
Requires:	grep
6d8727
Requires:	logrotate
6d8727
Requires:	parted
6d8727
Requires:	psmisc
6d8727
Requires:	python%{python3_pkgversion}-setuptools
6d8727
Requires:	util-linux
6d8727
Requires:	xfsprogs
6d8727
Requires:	which
127d09
%if 0%{?rhel} && 0%{?rhel} < 8
6d8727
# The following is necessary due to tracker 36508 and can be removed once the
6d8727
# associated upstream bugs are resolved.
6d8727
%if 0%{with tcmalloc}
6d8727
Requires:	gperftools-libs >= 2.6.1
6d8727
%endif
6d8727
%endif
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	chrony
6d8727
%endif
6d8727
%description base
6d8727
Base is the package that includes all the files shared amongst ceph servers
6d8727
6d8727
%package -n cephadm
6d8727
Summary:	Utility to bootstrap Ceph clusters
52d77a
BuildArch:	noarch
6d8727
Requires:	lvm2
6d8727
%if 0%{?suse_version}
6d8727
Requires:	apparmor-abstractions
6d8727
%endif
6d8727
Requires:	python%{python3_pkgversion}
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	podman
6d8727
%endif
6d8727
%description -n cephadm
6d8727
Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
6d8727
with systemd and podman.
6d8727
bba994
%package common
6d8727
Summary:	Ceph Common
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rbd = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-cephfs = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rgw = %{_epoch_prefix}%{version}-%{release}
bba994
Requires:	python%{python3_pkgversion}-%{name}-argparse = %{_epoch_prefix}%{version}-%{release}
bba994
Requires:	python%{python3_pkgversion}-%{name}-common = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
Requires:	python%{python3_pkgversion}-prettytable
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-PrettyTable
6d8727
%endif
6d8727
%if 0%{with libradosstriper}
6d8727
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%{?systemd_requires}
6d8727
%if 0%{?suse_version}
6d8727
Requires(pre):	pwdutils
6d8727
%endif
bba994
%description common
6d8727
Common utilities to mount and interact with a ceph storage cluster.
6d8727
Comprised of files that are common to Ceph clients and servers.
6d8727
6d8727
%package mds
6d8727
Summary:	Ceph Metadata Server Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
%description mds
6d8727
ceph-mds is the metadata server daemon for the Ceph distributed file system.
6d8727
One or more instances of ceph-mds collectively manage the file system
6d8727
namespace, coordinating access to the shared OSD cluster.
6d8727
6d8727
%package mon
6d8727
Summary:	Ceph Monitor Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Provides:	ceph-test:/usr/bin/ceph-monstore-tool
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
673bdf
%if 0%{?weak_deps}
673bdf
Recommends:    nvme-cli
52d77a
%if 0%{?suse_version}
52d77a
Requires:      smartmontools
52d77a
%else
673bdf
Recommends:    smartmontools
673bdf
%endif
52d77a
%endif
6d8727
%description mon
6d8727
ceph-mon is the cluster monitor daemon for the Ceph distributed file
6d8727
system. One or more instances of ceph-mon form a Paxos part-time
6d8727
parliament cluster that provides extremely reliable and durable storage
6d8727
of cluster membership, configuration, and state.
6d8727
6d8727
%package mgr
6d8727
Summary:	Ceph Manager Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-mgr-modules-core = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?rhel} == 7
6d8727
Requires:	python%{python3_version_nodots}-six
6d8727
%else
6d8727
Requires:	python%{python3_pkgversion}-six
6d8727
%endif
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-diskprediction-cloud = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-k8sevents = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	ceph-mgr-cephadm = %{_epoch_prefix}%{version}-%{release}
6d8727
Recommends:	python%{python3_pkgversion}-influxdb
6d8727
%endif
6d8727
%description mgr
6d8727
ceph-mgr enables python modules that provide services (such as the REST
6d8727
module derived from Calamari) and expose CLI hooks.  ceph-mgr gathers
6d8727
the cluster maps, the daemon metadata, and performance counters, and
6d8727
exposes all these to the python modules.
6d8727
6d8727
%package mgr-dashboard
6d8727
Summary:	Ceph Dashboard
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
Requires:	python%{python3_pkgversion}-cherrypy
6d8727
Requires:	python%{python3_pkgversion}-jwt
6d8727
Requires:	python%{python3_pkgversion}-routes
6d8727
Requires:	python%{python3_pkgversion}-werkzeug
a7ada8
%if 0%{?weak_deps}
a7ada8
Recommends:	python%{python3_pkgversion}-saml
a7ada8
%endif
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-CherryPy
6d8727
Requires:	python%{python3_pkgversion}-PyJWT
6d8727
Requires:	python%{python3_pkgversion}-Routes
6d8727
Requires:	python%{python3_pkgversion}-Werkzeug
a7ada8
Recommends:	python%{python3_pkgversion}-python3-saml
6d8727
%endif
6d8727
%description mgr-dashboard
6d8727
ceph-mgr-dashboard is a manager module, providing a web-based application
6d8727
to monitor and manage many aspects of a Ceph cluster and related components.
6d8727
See the Dashboard documentation at http://docs.ceph.com/ for details and a
6d8727
detailed feature overview.
6d8727
6d8727
%package mgr-diskprediction-local
6d8727
Summary:	Ceph Manager module for predicting disk failures
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-numpy
6d8727
Requires:	python%{python3_pkgversion}-scipy
6d8727
%if 0%{?rhel} == 7
6d8727
Requires:	numpy
6d8727
Requires:	scipy
6d8727
%endif
6d8727
%description mgr-diskprediction-local
6d8727
ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict
6d8727
disk failures using local algorithms and machine-learning databases.
6d8727
6d8727
%package mgr-diskprediction-cloud
6d8727
Summary:	Ceph Manager module for cloud-based disk failure prediction
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-grpcio
6d8727
Requires:	python%{python3_pkgversion}-protobuf
6d8727
%description mgr-diskprediction-cloud
6d8727
ceph-mgr-diskprediction-cloud is a ceph-mgr module that tries to predict
6d8727
disk failures using services in the Google cloud.
6d8727
6d8727
%package mgr-modules-core
6d8727
Summary:	Ceph Manager modules which are always enabled
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
%if 0%{?rhel} == 7
6d8727
Requires:	python%{python3_version_nodots}-bcrypt
6d8727
Requires:	python%{python3_version_nodots}-pyOpenSSL
6d8727
Requires:	python%{python3_version_nodots}-requests
6d8727
Requires:	python%{python3_version_nodots}-PyYAML
6d8727
Requires:	python%{python3_version_nodots}-dateutil
6d8727
%else
6d8727
Requires:	python%{python3_pkgversion}-bcrypt
6d8727
Requires:	python%{python3_pkgversion}-pecan
6d8727
Requires:	python%{python3_pkgversion}-pyOpenSSL
6d8727
Requires:	python%{python3_pkgversion}-requests
6d8727
Requires:	python%{python3_pkgversion}-dateutil
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel} >= 8
6d8727
Requires:	python%{python3_pkgversion}-cherrypy
6d8727
Requires:	python%{python3_pkgversion}-pyyaml
6d8727
Requires:	python%{python3_pkgversion}-werkzeug
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
Requires:	python%{python3_pkgversion}-CherryPy
6d8727
Requires:	python%{python3_pkgversion}-PyYAML
6d8727
Requires:	python%{python3_pkgversion}-Werkzeug
6d8727
%endif
6d8727
%if 0%{?weak_deps}
6d8727
Recommends:	ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description mgr-modules-core
6d8727
ceph-mgr-modules-core provides a set of modules which are always
6d8727
enabled by ceph-mgr.
6d8727
6d8727
%package mgr-rook
6d8727
BuildArch:	noarch
6d8727
Summary:	Ceph Manager module for Rook-based orchestration
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-kubernetes
6d8727
Requires:	python%{python3_pkgversion}-jsonpatch
6d8727
%description mgr-rook
6d8727
ceph-mgr-rook is a ceph-mgr module for orchestration functions using
6d8727
a Rook backend.
6d8727
6d8727
%package mgr-k8sevents
6d8727
BuildArch:	noarch
6d8727
Summary:	Ceph Manager module to orchestrate ceph-events to kubernetes' events API
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-kubernetes
6d8727
%description mgr-k8sevents
6d8727
ceph-mgr-k8sevents is a ceph-mgr module that sends every ceph-events
6d8727
to kubernetes' events API
6d8727
6d8727
%package mgr-cephadm
6d8727
Summary:	Ceph Manager module for cephadm-based orchestration
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-remoto
c289ab
Requires:	cephadm >= %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?suse_version}
6d8727
Requires:	openssh
cdd4fb
Requires:	python%{python3_pkgversion}-Jinja2
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Requires:	openssh-clients
cdd4fb
Requires:	python%{python3_pkgversion}-jinja2
6d8727
%endif
6d8727
%description mgr-cephadm
6d8727
ceph-mgr-cephadm is a ceph-mgr module for orchestration functions using
6d8727
the integrated cephadm deployment tool management operations.
6d8727
6d8727
%package fuse
6d8727
Summary:	Ceph fuse-based client
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	fuse
6d8727
Requires:	python%{python3_pkgversion}
6d8727
%description fuse
6d8727
FUSE based client for Ceph distributed network file system
6d8727
6d8727
%package -n rbd-fuse
6d8727
Summary:	Ceph fuse-based client
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-fuse
6d8727
FUSE based client to map Ceph rbd images to files
6d8727
6d8727
%package -n rbd-mirror
6d8727
Summary:	Ceph daemon for mirroring RBD images
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-mirror
6d8727
Daemon for mirroring RBD images between Ceph clusters, streaming
6d8727
changes asynchronously.
6d8727
6d8727
%package immutable-object-cache
6d8727
Summary:	Ceph daemon for immutable object cache
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
127d09
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description immutable-object-cache
6d8727
Daemon for immutable object cache.
6d8727
6d8727
%package -n rbd-nbd
6d8727
Summary:	Ceph RBD client base on NBD
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rbd-nbd
6d8727
NBD based client to map Ceph rbd images to local device
6d8727
6d8727
%package radosgw
6d8727
Summary:	Rados REST gateway
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{with selinux}
6d8727
Requires:	ceph-selinux = %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Requires:	mailcap
6d8727
%endif
127d09
%if 0%{?weak_deps}
127d09
Recommends:	gawk
127d09
%endif
6d8727
%description radosgw
6d8727
RADOS is a distributed object store used by the Ceph distributed
6d8727
storage system.  This package provides a REST gateway to the
6d8727
object store that aims to implement a superset of Amazon's S3
6d8727
service as well as the OpenStack Object Storage ("Swift") API.
6d8727
6d8727
%if %{with ocf}
6d8727
%package resource-agents
6d8727
Summary:	OCF-compliant resource agents for Ceph daemons
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}
6d8727
Requires:	resource-agents
6d8727
%description resource-agents
6d8727
Resource agents for monitoring and managing Ceph daemons
6d8727
under Open Cluster Framework (OCF) compliant resource
6d8727
managers such as Pacemaker.
6d8727
%endif
6d8727
6d8727
%package osd
6d8727
Summary:	Ceph Object Storage Daemon
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Provides:	ceph-test:/usr/bin/ceph-osdomap-tool
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	lvm2
6d8727
Requires:	sudo
6d8727
Requires:	libstoragemgmt
bba994
Requires:	python%{python3_pkgversion}-%{name}-common = %{_epoch_prefix}%{version}-%{release}
673bdf
%if 0%{?weak_deps}
673bdf
Recommends:    nvme-cli
52d77a
%if 0%{?suse_version}
52d77a
Requires:      smartmontools
52d77a
%else
673bdf
Recommends:    smartmontools
673bdf
%endif
52d77a
%endif
6d8727
%description osd
6d8727
ceph-osd is the object storage daemon for the Ceph distributed file
6d8727
system.  It is responsible for storing objects on a local file system
6d8727
and providing access to them over the network.
6d8727
6d8727
%if 0%{with seastar}
6d8727
%package crimson-osd
6d8727
Summary:	Ceph Object Storage Daemon (crimson)
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-osd = %{_epoch_prefix}%{version}-%{release}
6d8727
%description crimson-osd
6d8727
crimson-osd is the object storage daemon for the Ceph distributed file
6d8727
system.  It is responsible for storing objects on a local file system
6d8727
and providing access to them over the network.
6d8727
%endif
6d8727
6d8727
%package -n librados2
6d8727
Summary:	RADOS distributed object store client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n librados2
6d8727
RADOS is a reliable, autonomic distributed object storage cluster
6d8727
developed as part of the Ceph distributed storage system. This is a
6d8727
shared library allowing applications to access the distributed object
6d8727
store using a simple file-like interface.
6d8727
6d8727
%package -n librados-devel
6d8727
Summary:	RADOS headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librados2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librados2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librados-devel
6d8727
This package contains C libraries and headers needed to develop programs
6d8727
that use RADOS object store.
6d8727
6d8727
%package -n libradospp-devel
6d8727
Summary:	RADOS headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradospp-devel
6d8727
This package contains C++ libraries and headers needed to develop programs
6d8727
that use RADOS object store.
6d8727
6d8727
%package -n librgw2
6d8727
Summary:	RADOS gateway client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librgw2
6d8727
This package provides a library implementation of the RADOS gateway
6d8727
(distributed object store with S3 and Swift personalities).
6d8727
6d8727
%package -n librgw-devel
6d8727
Summary:	RADOS gateway client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librgw2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librgw2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librgw-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS gateway client library.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rgw
6d8727
Summary:	Python 3 libraries for the RADOS gateway
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	librgw2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rgw}
6d8727
Provides:	python-rgw = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rgw < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rgw
6d8727
This package contains Python 3 libraries for interacting with Cephs RADOS
6d8727
gateway.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rados
6d8727
Summary:	Python 3 libraries for the RADOS object store
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	python%{python3_pkgversion}
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rados}
6d8727
Provides:	python-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rados < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rados
6d8727
This package contains Python 3 libraries for interacting with Cephs RADOS
6d8727
object store.
6d8727
6d8727
%if 0%{with libradosstriper}
6d8727
%package -n libradosstriper1
6d8727
Summary:	RADOS striping interface
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradosstriper1
6d8727
Striping interface built on top of the rados library, allowing
6d8727
to stripe bigger objects onto several standard rados objects using
6d8727
an interface very similar to the rados one.
6d8727
6d8727
%package -n libradosstriper-devel
6d8727
Summary:	RADOS striping interface headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libradosstriper-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS striping interface.
6d8727
%endif
6d8727
6d8727
%package -n librbd1
6d8727
Summary:	RADOS block device client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?suse_version}
6d8727
Requires(post): coreutils
6d8727
%endif
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n librbd1
6d8727
RBD is a block device striped across multiple distributed objects in
6d8727
RADOS, a reliable, autonomic distributed object storage cluster
6d8727
developed as part of the Ceph distributed storage system. This is a
6d8727
shared library allowing applications to manage these block devices.
6d8727
6d8727
%package -n librbd-devel
6d8727
Summary:	RADOS block device headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	librbd1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	librbd1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n librbd-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use RADOS block device.
6d8727
6d8727
%package -n python%{python3_pkgversion}-rbd
6d8727
Summary:	Python 3 libraries for the RADOS block device
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-rbd}
6d8727
Provides:	python-rbd = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-rbd < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-rbd
6d8727
This package contains Python 3 libraries for interacting with Cephs RADOS
6d8727
block device.
6d8727
6d8727
%package -n libcephfs2
6d8727
Summary:	Ceph distributed file system client library
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Obsoletes:	libcephfs1 < %{_epoch_prefix}%{version}-%{release}
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-libcephfs < %{_epoch_prefix}%{version}-%{release}
6d8727
%endif
6d8727
%description -n libcephfs2
6d8727
Ceph is a distributed network file system designed to provide excellent
6d8727
performance, reliability, and scalability. This is a shared library
6d8727
allowing applications to access a Ceph distributed file system via a
6d8727
POSIX-like interface.
6d8727
6d8727
%package -n libcephfs-devel
6d8727
Summary:	Ceph distributed file system headers
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs-devel
6d8727
This package contains libraries and headers needed to develop programs
6d8727
that use Cephs distributed file system.
6d8727
6d8727
%package -n python%{python3_pkgversion}-cephfs
6d8727
Summary:	Python 3 libraries for Ceph distributed file system
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
bba994
Requires:	python%{python3_pkgversion}-%{name}-argparse = %{_epoch_prefix}%{version}-%{release}
6d8727
%{?python_provide:%python_provide python%{python3_pkgversion}-cephfs}
6d8727
Provides:	python-cephfs = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	python-cephfs < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n python%{python3_pkgversion}-cephfs
6d8727
This package contains Python 3 libraries for interacting with Cephs distributed
6d8727
file system.
6d8727
bba994
%package -n python%{python3_pkgversion}-%{name}-argparse
6d8727
Summary:	Python 3 utility libraries for Ceph CLI
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
bba994
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}-argparse}
bba994
%description -n python%{python3_pkgversion}-%{name}-argparse
6d8727
This package contains types and routines for Python 3 used by the Ceph CLI as
6d8727
well as the RESTful interface. These have to do with querying the daemons for
6d8727
command-description information, validating user command input against those
6d8727
descriptions, and submitting the command to the appropriate daemon.
6d8727
bba994
%package -n python%{python3_pkgversion}-%{name}-common
6d8727
Summary:	Python 3 utility libraries for Ceph
9572e7
%if 0%{?fedora} || 0%{?rhel} >= 8
9572e7
Requires:	python%{python3_pkgversion}-pyyaml
9572e7
%endif
9572e7
%if 0%{?suse_version}
9572e7
Requires:	python%{python3_pkgversion}-PyYAML
9572e7
%endif
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Python
6d8727
%endif
bba994
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}-common}
bba994
%description -n python%{python3_pkgversion}-%{name}-common
6d8727
This package contains data structures, classes and functions used by Ceph.
6d8727
It also contains utilities used for the cephadm orchestrator.
6d8727
6d8727
%if 0%{with cephfs_shell}
6d8727
%package -n cephfs-shell
6d8727
Summary:	Interactive shell for Ceph file system
6d8727
Requires:	python%{python3_pkgversion}-cmd2
6d8727
Requires:	python%{python3_pkgversion}-colorama
6d8727
Requires:	python%{python3_pkgversion}-cephfs
6d8727
%description -n cephfs-shell
6d8727
This package contains an interactive tool that allows accessing a Ceph
6d8727
file system without mounting it  by providing a nice pseudo-shell which
6d8727
works like an FTP client.
6d8727
%endif
6d8727
6d8727
%if 0%{with ceph_test_package}
bba994
%package test
6d8727
Summary:	Ceph benchmarks and test tools
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Benchmark
6d8727
%endif
6d8727
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	xmlstarlet
6d8727
Requires:	jq
6d8727
Requires:	socat
eb0951
BuildRequires:	gtest-devel gmock-devel
eb0951
Requires:	gtest-devel gmock-devel
bba994
%description test
6d8727
This package contains Ceph benchmarks and test tools.
6d8727
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
6d8727
%package -n libcephfs_jni1
6d8727
Summary:	Java Native Interface library for CephFS Java bindings
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs_jni1
6d8727
This package contains the Java Native Interface library for CephFS Java
6d8727
bindings.
6d8727
6d8727
%package -n libcephfs_jni-devel
6d8727
Summary:	Development files for CephFS Java Native Interface library
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/Java
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
Provides:	libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
Obsoletes:	libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n libcephfs_jni-devel
6d8727
This package contains the development files for CephFS Java Native Interface
6d8727
library.
6d8727
6d8727
%package -n cephfs-java
6d8727
Summary:	Java libraries for the Ceph File System
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Libraries
6d8727
%endif
6d8727
Requires:	java
6d8727
Requires:	libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	junit
6d8727
BuildRequires:	junit
6d8727
%description -n cephfs-java
6d8727
This package contains the Java libraries for the Ceph File System.
6d8727
6d8727
%endif
6d8727
6d8727
%package -n rados-objclass-devel
6d8727
Summary:	RADOS object class development kit
6d8727
%if 0%{?suse_version}
6d8727
Group:		Development/Libraries/C and C++
6d8727
%endif
6d8727
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
6d8727
%description -n rados-objclass-devel
6d8727
This package contains libraries and headers needed to develop RADOS object
6d8727
class plugins.
6d8727
6d8727
%if 0%{with selinux}
6d8727
6d8727
%package selinux
6d8727
Summary:	SELinux support for Ceph MON, OSD and MDS
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
Requires:	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires:	policycoreutils, libselinux-utils
6d8727
Requires(post):	ceph-base = %{_epoch_prefix}%{version}-%{release}
6d8727
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
6d8727
Requires(postun): policycoreutils
6d8727
%description selinux
6d8727
This package contains SELinux support for Ceph MON, OSD and MDS. The package
6d8727
also performs file-system relabelling which can take a long time on heavily
6d8727
populated file-systems.
6d8727
6d8727
%endif
6d8727
6d8727
%package grafana-dashboards
6d8727
Summary:	The set of Grafana dashboards for monitoring purposes
6d8727
BuildArch:	noarch
6d8727
%if 0%{?suse_version}
6d8727
Group:		System/Filesystems
6d8727
%endif
6d8727
%description grafana-dashboards
6d8727
This package provides a set of Grafana dashboards for monitoring of
6d8727
Ceph clusters. The dashboards require a Prometheus server setup
6d8727
collecting data from Ceph Manager "prometheus" module and Prometheus
6d8727
project "node_exporter" module. The dashboards are designed to be
6d8727
integrated with the Ceph Manager Dashboard web UI.
6d8727
6d8727
%package prometheus-alerts
6d8727
Summary:	Prometheus alerts for a Ceph deplyoment
6d8727
BuildArch:	noarch
6d8727
Group:		System/Monitoring
6d8727
%description prometheus-alerts
6d8727
This package provides Ceph’s default alerts for Prometheus.
6d8727
6d8727
#################################################################################
6d8727
# common
6d8727
#################################################################################
6d8727
%prep
6d8727
%autosetup -p1
6d8727
%ifarch x86_64
6d8727
patch -p1 < %{SOURCE1}
6d8727
%endif
6d8727
6d8727
%build
6d8727
# LTO can be enabled as soon as the following GCC bug is fixed:
6d8727
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
6d8727
%define _lto_cflags %{nil}
6d8727
6d8727
%if 0%{?rhel} == 7
6d8727
. /opt/rh/devtoolset-8/enable
6d8727
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
# Find jni.h
6d8727
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
6d8727
    [ -d $i ] && java_inc="$java_inc -I$i"
6d8727
done
6d8727
%endif
6d8727
6d8727
%if 0%{?suse_version}
6d8727
# the following setting fixed an OOM condition we once encountered in the OBS
6d8727
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
6d8727
%endif
6d8727
6d8727
export CPPFLAGS="$java_inc"
6d8727
export CFLAGS="$RPM_OPT_FLAGS"
6d8727
export CXXFLAGS="$RPM_OPT_FLAGS"
6d8727
export LDFLAGS="$RPM_LD_FLAGS"
6d8727
6d8727
# Parallel build settings ...
6d8727
CEPH_MFLAGS_JOBS="%{?_smp_mflags}"
6d8727
CEPH_SMP_NCPUS=$(echo "$CEPH_MFLAGS_JOBS" | sed 's/-j//')
6d8727
%if 0%{?__isa_bits} == 32
6d8727
# 32-bit builds can use 3G memory max, which is not enough even for -j2
6d8727
CEPH_SMP_NCPUS="1"
6d8727
%endif
6d8727
# do not eat all memory
6d8727
echo "Available memory:"
6d8727
free -h
6d8727
echo "System limits:"
6d8727
ulimit -a
673bdf
%ifarch aarch64
673bdf
CEPH_SMP_NCPUS="4"
673bdf
%else
673bdf
%ifarch aarch64
673bdf
CEPH_SMP_NCPUS="4"
673bdf
%else
6d8727
if test -n "$CEPH_SMP_NCPUS" -a "$CEPH_SMP_NCPUS" -gt 1 ; then
6d8727
    mem_per_process=2700
6d8727
    max_mem=$(LANG=C free -m | sed -n "s|^Mem: *\([0-9]*\).*$|\1|p")
6d8727
    max_jobs="$(($max_mem / $mem_per_process))"
6d8727
    test "$CEPH_SMP_NCPUS" -gt "$max_jobs" && CEPH_SMP_NCPUS="$max_jobs" && echo "Warning: Reducing build parallelism to -j$max_jobs because of memory limits"
6d8727
    test "$CEPH_SMP_NCPUS" -le 0 && CEPH_SMP_NCPUS="1" && echo "Warning: Not using parallel build at all because of memory limits"
6d8727
fi
673bdf
%endif
673bdf
%endif
6d8727
export CEPH_SMP_NCPUS
6d8727
export CEPH_MFLAGS_JOBS="-j$CEPH_SMP_NCPUS"
6d8727
6d8727
env | sort
6d8727
6d8727
mkdir build
6d8727
cd build
6d8727
%if 0%{?rhel} == 7
6d8727
%global cmake cmake3
6d8727
%endif
6d8727
%{cmake} .. \
6d8727
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
765a65
    -DCMAKE_COLOR_MAKEFILE=OFF \
6d8727
    -DBUILD_CONFIG=rpmbuild \
6d8727
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
6d8727
    -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
6d8727
    -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
6d8727
    -DCMAKE_INSTALL_LOCALSTATEDIR=%{_localstatedir} \
6d8727
    -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
6d8727
    -DCMAKE_INSTALL_MANDIR=%{_mandir} \
6d8727
    -DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
6d8727
    -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
6d8727
    -DWITH_MANPAGE=ON \
6d8727
    -DWITH_PYTHON3=%{python3_version} \
6d8727
    -DWITH_MGR_DASHBOARD_FRONTEND=OFF \
6d8727
%if 0%{without ceph_test_package}
6d8727
    -DWITH_TESTS=OFF \
6d8727
%endif
6d8727
%if 0%{with cephfs_java}
6d8727
    -DWITH_CEPHFS_JAVA=ON \
6d8727
%endif
6d8727
%if 0%{with selinux}
6d8727
    -DWITH_SELINUX=ON \
6d8727
%endif
6d8727
%if %{with lttng}
6d8727
    -DWITH_LTTNG=ON \
6d8727
    -DWITH_BABELTRACE=ON \
6d8727
%else
6d8727
    -DWITH_LTTNG=OFF \
6d8727
    -DWITH_BABELTRACE=OFF \
6d8727
%endif
6d8727
    $CEPH_EXTRA_CMAKE_ARGS \
6d8727
%if 0%{with ocf}
6d8727
    -DWITH_OCF=ON \
6d8727
%endif
a1b8f8
    -DWITH_REENTRANT_STRSIGNAL=OFF \
6d8727
    -DWITH_SYSTEM_BOOST=OFF \
6d8727
%ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64
6d8727
    -DWITH_BOOST_CONTEXT=ON \
6d8727
%else
6d8727
    -DWITH_BOOST_CONTEXT=OFF \
6d8727
%endif
6d8727
%if 0%{with cephfs_shell}
6d8727
    -DWITH_CEPHFS_SHELL=ON \
6d8727
%endif
6d8727
%if 0%{with libradosstriper}
6d8727
    -DWITH_LIBRADOSSTRIPER=ON \
6d8727
%else
6d8727
    -DWITH_LIBRADOSSTRIPER=OFF \
6d8727
%endif
6d8727
%if 0%{with amqp_endpoint}
6d8727
    -DWITH_RADOSGW_AMQP_ENDPOINT=ON \
6d8727
%else
6d8727
    -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \
6d8727
%endif
6d8727
%if 0%{with kafka_endpoint}
6d8727
    -DWITH_RADOSGW_KAFKA_ENDPOINT=ON \
6d8727
%else
6d8727
    -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \
6d8727
%endif
6d8727
%if 0%{with cmake_verbose_logging}
6d8727
    -DCMAKE_VERBOSE_MAKEFILE=ON \
6d8727
%endif
6d8727
    -DBOOST_J=$CEPH_SMP_NCPUS \
6d8727
    -DWITH_GRAFANA=ON
6d8727
6d8727
%if %{with cmake_verbose_logging}
6d8727
cat ./CMakeFiles/CMakeOutput.log
6d8727
cat ./CMakeFiles/CMakeError.log
6d8727
%endif
6d8727
6d8727
export VERBOSE=1
6d8727
export V=1
6d8727
make "$CEPH_MFLAGS_JOBS"
6d8727
6d8727
6d8727
%if 0%{with make_check}
6d8727
%check
6d8727
# run in-tree unittests
6d8727
# cd build
6d8727
# ctest "$CEPH_MFLAGS_JOBS"
6d8727
%endif
6d8727
6d8727
6d8727
%install
6d8727
pushd build
6d8727
make DESTDIR=%{buildroot} install
6d8727
# we have dropped sysvinit bits
6d8727
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
6d8727
popd
6d8727
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_fillupdir}/sysconfig.%{name}
6d8727
%endif
6d8727
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
6d8727
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/system-preset/50-ceph.preset
6d8727
mkdir -p %{buildroot}%{_sbindir}
6d8727
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
6d8727
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
6d8727
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
6d8727
install -m 0644 -D etc/sysctl/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
6d8727
6d8727
install -m 0755 src/cephadm/cephadm %{buildroot}%{_sbindir}/cephadm
6d8727
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
6d8727
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
6d8727
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
6d8727
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
6d8727
touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
6d8727
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
6d8727
6d8727
# firewall templates and /sbin/mount.ceph symlink
6d8727
%if 0%{?suse_version}
6d8727
mkdir -p %{buildroot}/sbin
6d8727
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
6d8727
%endif
6d8727
6d8727
# udev rules
6d8727
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
6d8727
6d8727
# sudoers.d
52d77a
install -m 0440 -D sudoers.d/ceph-osd-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
6d8727
6d8727
%if 0%{?rhel} >= 8
6d8727
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
6d8727
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
6d8727
%endif
6d8727
6d8727
#set up placeholder directories
6d8727
mkdir -p %{buildroot}%{_sysconfdir}/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mds
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mgr
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash/posted
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
6d8727
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
6d8727
6d8727
# prometheus alerts
6d8727
install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
6d8727
6d8727
%if 0%{?suse_version}
6d8727
# create __pycache__ directories and their contents
6d8727
%py3_compile %{buildroot}%{python3_sitelib}
6d8727
# hardlink duplicate files under /usr to save space
6d8727
%fdupes %{buildroot}%{_prefix}
6d8727
%endif
6d8727
cdd4fb
%if 0%{?rhel} == 8 || 0%{?fedora} >= 33
6d8727
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}
6d8727
%endif
6d8727
6d8727
#################################################################################
6d8727
# files and systemd scriptlets
6d8727
#################################################################################
6d8727
%files
6d8727
6d8727
%files base
6d8727
%{_bindir}/ceph-crash
6d8727
%{_bindir}/crushtool
6d8727
%{_bindir}/monmaptool
6d8727
%{_bindir}/osdmaptool
6d8727
%{_bindir}/ceph-kvstore-tool
6d8727
%{_bindir}/ceph-run
6d8727
%{_libexecdir}/systemd/system-preset/50-ceph.preset
6d8727
%{_sbindir}/ceph-create-keys
6d8727
%dir %{_libexecdir}/ceph
6d8727
%{_libexecdir}/ceph/ceph_common.sh
6d8727
%dir %{_libdir}/rados-classes
6d8727
%{_libdir}/rados-classes/*
6d8727
%dir %{_libdir}/ceph
6d8727
%dir %{_libdir}/ceph/erasure-code
6d8727
%{_libdir}/ceph/erasure-code/libec_*.so*
6d8727
%dir %{_libdir}/ceph/compressor
6d8727
%{_libdir}/ceph/compressor/libceph_*.so*
6d8727
%{_unitdir}/ceph-crash.service
6d8727
%dir %{_libdir}/ceph/crypto
6d8727
%{_libdir}/ceph/crypto/libceph_*.so*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/libos_tp.so*
6d8727
%{_libdir}/libosd_tp.so*
6d8727
%endif
6d8727
%config(noreplace) %{_sysconfdir}/logrotate.d/ceph
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%config(noreplace) %{_sysconfdir}/sysconfig/ceph
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
%{_fillupdir}/sysconfig.*
6d8727
%endif
6d8727
%{_unitdir}/ceph.target
6d8727
%dir %{python3_sitelib}/ceph_volume
6d8727
%{python3_sitelib}/ceph_volume/*
6d8727
%{python3_sitelib}/ceph_volume-*
6d8727
%{_mandir}/man8/ceph-deploy.8*
6d8727
%{_mandir}/man8/ceph-create-keys.8*
6d8727
%{_mandir}/man8/ceph-run.8*
6d8727
%{_mandir}/man8/crushtool.8*
6d8727
%{_mandir}/man8/osdmaptool.8*
6d8727
%{_mandir}/man8/monmaptool.8*
6d8727
%{_mandir}/man8/ceph-kvstore-tool.8*
6d8727
#set up placeholder directories
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/crash
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/crash/posted
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/tmp
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
6d8727
6d8727
%post base
6d8727
/sbin/ldconfig
6d8727
%if 0%{?suse_version}
6d8727
%fillup_only
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl preset ceph.target ceph-crash.service >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph.target ceph-crash.service
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph.target ceph-crash.service >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun base
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph.target ceph-crash.service
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph.target ceph-crash.service
6d8727
%endif
6d8727
6d8727
%postun base
6d8727
/sbin/ldconfig
6d8727
%systemd_postun ceph.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
fi
6d8727
6d8727
%pre -n cephadm
6d8727
getent group cephadm >/dev/null || groupadd -r cephadm
6d8727
getent passwd cephadm >/dev/null || useradd -r -g cephadm -s /bin/bash -c "cephadm user for mgr/cephadm" -d %{_sharedstatedir}/cephadm cephadm
6d8727
exit 0
6d8727
6d8727
%if ! 0%{?suse_version}
6d8727
%postun -n cephadm
6d8727
userdel -r cephadm || true
6d8727
exit 0
6d8727
%endif
6d8727
6d8727
%files -n cephadm
6d8727
%{_sbindir}/cephadm
a7ada8
%{_mandir}/man8/cephadm.8*
6d8727
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
6d8727
%attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
6d8727
%attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
6d8727
6d8727
%files common
6d8727
%dir %{_docdir}/ceph
6d8727
%doc %{_docdir}/ceph/sample.ceph.conf
6d8727
%license %{_docdir}/ceph/COPYING
6d8727
%{_bindir}/ceph
6d8727
%{_bindir}/ceph-authtool
6d8727
%{_bindir}/ceph-conf
6d8727
%{_bindir}/ceph-dencoder
6d8727
%{_bindir}/ceph-rbdnamer
6d8727
%{_bindir}/ceph-syn
6d8727
%{_bindir}/cephfs-data-scan
6d8727
%{_bindir}/cephfs-journal-tool
6d8727
%{_bindir}/cephfs-table-tool
6d8727
%{_bindir}/rados
6d8727
%{_bindir}/radosgw-admin
6d8727
%{_bindir}/rbd
6d8727
%{_bindir}/rbd-replay
6d8727
%{_bindir}/rbd-replay-many
6d8727
%{_bindir}/rbdmap
6d8727
%{_sbindir}/mount.ceph
6d8727
%if 0%{?suse_version}
6d8727
/sbin/mount.ceph
6d8727
%endif
6d8727
%if %{with lttng}
6d8727
%{_bindir}/rbd-replay-prep
6d8727
%endif
6d8727
%{_bindir}/ceph-post-file
6d8727
%{_tmpfilesdir}/ceph-common.conf
6d8727
%{_mandir}/man8/ceph-authtool.8*
6d8727
%{_mandir}/man8/ceph-conf.8*
6d8727
%{_mandir}/man8/ceph-dencoder.8*
cdd4fb
%{_mandir}/man8/ceph-diff-sorted.8*
6d8727
%{_mandir}/man8/ceph-rbdnamer.8*
6d8727
%{_mandir}/man8/ceph-syn.8*
6d8727
%{_mandir}/man8/ceph-post-file.8*
6d8727
%{_mandir}/man8/ceph.8*
6d8727
%{_mandir}/man8/mount.ceph.8*
6d8727
%{_mandir}/man8/rados.8*
6d8727
%{_mandir}/man8/radosgw-admin.8*
6d8727
%{_mandir}/man8/rbd.8*
6d8727
%{_mandir}/man8/rbdmap.8*
6d8727
%{_mandir}/man8/rbd-replay.8*
6d8727
%{_mandir}/man8/rbd-replay-many.8*
6d8727
%{_mandir}/man8/rbd-replay-prep.8*
cdd4fb
%{_mandir}/man8/rgw-orphan-list.8*
6d8727
%dir %{_datadir}/ceph/
6d8727
%{_datadir}/ceph/known_hosts_drop.ceph.com
6d8727
%{_datadir}/ceph/id_rsa_drop.ceph.com
6d8727
%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
6d8727
%dir %{_sysconfdir}/ceph/
6d8727
%config %{_sysconfdir}/bash_completion.d/ceph
6d8727
%config %{_sysconfdir}/bash_completion.d/rados
6d8727
%config %{_sysconfdir}/bash_completion.d/rbd
6d8727
%config %{_sysconfdir}/bash_completion.d/radosgw-admin
6d8727
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
6d8727
%{_unitdir}/rbdmap.service
6d8727
%dir %{_udevrulesdir}
6d8727
%{_udevrulesdir}/50-rbd.rules
6d8727
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
6d8727
6d8727
%pre common
6d8727
CEPH_GROUP_ID=167
6d8727
CEPH_USER_ID=167
6d8727
%if 0%{?rhel} || 0%{?fedora}
6d8727
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
6d8727
/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 || :
6d8727
%endif
6d8727
%if 0%{?suse_version}
6d8727
if ! getent group ceph >/dev/null ; then
6d8727
    CEPH_GROUP_ID_OPTION=""
6d8727
    getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
6d8727
    groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
6d8727
fi
6d8727
if ! getent passwd ceph >/dev/null ; then
6d8727
    CEPH_USER_ID_OPTION=""
6d8727
    getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
6d8727
    useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
6d8727
fi
6d8727
usermod -c "Ceph storage service" \
6d8727
        -d %{_localstatedir}/lib/ceph \
6d8727
        -g ceph \
6d8727
        -s /sbin/nologin \
6d8727
        ceph
6d8727
%endif
6d8727
exit 0
6d8727
6d8727
%post common
6d8727
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
6d8727
6d8727
%postun common
6d8727
# Package removal cleanup
6d8727
if [ "$1" -eq "0" ] ; then
6d8727
    rm -rf %{_localstatedir}/log/ceph
6d8727
    rm -rf %{_sysconfdir}/ceph
6d8727
fi
6d8727
6d8727
%files mds
6d8727
%{_bindir}/ceph-mds
6d8727
%{_mandir}/man8/ceph-mds.8*
6d8727
%{_unitdir}/ceph-mds@.service
6d8727
%{_unitdir}/ceph-mds.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mds
6d8727
6d8727
%post mds
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mds@\*.service ceph-mds.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mds.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mds
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mds@\*.service ceph-mds.target
6d8727
%endif
6d8727
6d8727
%postun mds
6d8727
%systemd_postun ceph-mds@\*.service ceph-mds.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mds@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files mgr
6d8727
%{_bindir}/ceph-mgr
6d8727
%dir %{_datadir}/ceph/mgr
6d8727
%{_datadir}/ceph/mgr/mgr_module.*
6d8727
%{_datadir}/ceph/mgr/mgr_util.*
6d8727
%if 0%{?rhel} == 7
6d8727
%{_datadir}/ceph/mgr/__pycache__
6d8727
%endif
6d8727
%{_unitdir}/ceph-mgr@.service
6d8727
%{_unitdir}/ceph-mgr.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
6d8727
6d8727
%post mgr
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mgr@\*.service ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mgr
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mgr@\*.service ceph-mgr.target
6d8727
%endif
6d8727
6d8727
%postun mgr
6d8727
%systemd_postun ceph-mgr@\*.service ceph-mgr.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files mgr-dashboard
6d8727
%{_datadir}/ceph/mgr/dashboard
6d8727
6d8727
%post mgr-dashboard
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-dashboard
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-diskprediction-local
6d8727
%{_datadir}/ceph/mgr/diskprediction_local
6d8727
6d8727
%post mgr-diskprediction-local
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-diskprediction-local
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-diskprediction-cloud
6d8727
%{_datadir}/ceph/mgr/diskprediction_cloud
6d8727
6d8727
%post mgr-diskprediction-cloud
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-diskprediction-cloud
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-modules-core
6d8727
%dir %{_datadir}/ceph/mgr
6d8727
%{_datadir}/ceph/mgr/alerts
6d8727
%{_datadir}/ceph/mgr/balancer
6d8727
%{_datadir}/ceph/mgr/crash
6d8727
%{_datadir}/ceph/mgr/devicehealth
6d8727
%{_datadir}/ceph/mgr/influx
6d8727
%{_datadir}/ceph/mgr/insights
6d8727
%{_datadir}/ceph/mgr/iostat
6d8727
%{_datadir}/ceph/mgr/localpool
6d8727
%{_datadir}/ceph/mgr/orchestrator
6d8727
%{_datadir}/ceph/mgr/osd_perf_query
6d8727
%{_datadir}/ceph/mgr/osd_support
6d8727
%{_datadir}/ceph/mgr/pg_autoscaler
6d8727
%{_datadir}/ceph/mgr/progress
6d8727
%{_datadir}/ceph/mgr/prometheus
6d8727
%{_datadir}/ceph/mgr/rbd_support
6d8727
%{_datadir}/ceph/mgr/restful
6d8727
%{_datadir}/ceph/mgr/selftest
6d8727
%{_datadir}/ceph/mgr/status
6d8727
%{_datadir}/ceph/mgr/telegraf
6d8727
%{_datadir}/ceph/mgr/telemetry
6d8727
%{_datadir}/ceph/mgr/test_orchestrator
6d8727
%{_datadir}/ceph/mgr/volumes
6d8727
%{_datadir}/ceph/mgr/zabbix
6d8727
6d8727
%files mgr-rook
6d8727
%{_datadir}/ceph/mgr/rook
6d8727
6d8727
%post mgr-rook
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-rook
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-k8sevents
6d8727
%{_datadir}/ceph/mgr/k8sevents
6d8727
6d8727
%post mgr-k8sevents
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-k8sevents
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mgr-cephadm
6d8727
%{_datadir}/ceph/mgr/cephadm
6d8727
6d8727
%post mgr-cephadm
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%postun mgr-cephadm
6d8727
if [ $1 -eq 1 ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%files mon
6d8727
%{_bindir}/ceph-mon
6d8727
%{_bindir}/ceph-monstore-tool
6d8727
%{_mandir}/man8/ceph-mon.8*
6d8727
%{_unitdir}/ceph-mon@.service
6d8727
%{_unitdir}/ceph-mon.target
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mon
6d8727
6d8727
%post mon
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-mon@\*.service ceph-mon.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-mon.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun mon
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-mon@\*.service ceph-mon.target
6d8727
%endif
6d8727
6d8727
%postun mon
6d8727
%systemd_postun ceph-mon@\*.service ceph-mon.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-mon@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files fuse
6d8727
%{_bindir}/ceph-fuse
6d8727
%{_mandir}/man8/ceph-fuse.8*
6d8727
%{_sbindir}/mount.fuse.ceph
6d8727
%{_unitdir}/ceph-fuse@.service
6d8727
%{_unitdir}/ceph-fuse.target
6d8727
6d8727
%files -n rbd-fuse
6d8727
%{_bindir}/rbd-fuse
6d8727
%{_mandir}/man8/rbd-fuse.8*
6d8727
6d8727
%files -n rbd-mirror
6d8727
%{_bindir}/rbd-mirror
6d8727
%{_mandir}/man8/rbd-mirror.8*
6d8727
%{_unitdir}/ceph-rbd-mirror@.service
6d8727
%{_unitdir}/ceph-rbd-mirror.target
6d8727
6d8727
%post -n rbd-mirror
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-rbd-mirror@\*.service ceph-rbd-mirror.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-rbd-mirror.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun -n rbd-mirror
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
%endif
6d8727
6d8727
%postun -n rbd-mirror
6d8727
%systemd_postun ceph-rbd-mirror@\*.service ceph-rbd-mirror.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-rbd-mirror@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files immutable-object-cache
6d8727
%{_bindir}/ceph-immutable-object-cache
6d8727
%{_mandir}/man8/ceph-immutable-object-cache.8*
6d8727
%{_unitdir}/ceph-immutable-object-cache@.service
6d8727
%{_unitdir}/ceph-immutable-object-cache.target
6d8727
6d8727
%post immutable-object-cache
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-immutable-object-cache.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun immutable-object-cache
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
6d8727
%endif
6d8727
6d8727
%postun immutable-object-cache
6d8727
%systemd_postun ceph-immutable-object-cache@\*.service ceph-immutable-object-cache.target
dc518a
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-immutable-object-cache@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files -n rbd-nbd
6d8727
%{_bindir}/rbd-nbd
6d8727
%{_mandir}/man8/rbd-nbd.8*
6d8727
6d8727
%files radosgw
cdd4fb
%{_bindir}/ceph-diff-sorted
6d8727
%{_bindir}/radosgw
6d8727
%{_bindir}/radosgw-token
6d8727
%{_bindir}/radosgw-es
6d8727
%{_bindir}/radosgw-object-expirer
127d09
%{_bindir}/rgw-gap-list
127d09
%{_bindir}/rgw-gap-list-comparator
cdd4fb
%{_bindir}/rgw-orphan-list
6d8727
%{_libdir}/libradosgw.so*
6d8727
%{_mandir}/man8/radosgw.8*
6d8727
%dir %{_localstatedir}/lib/ceph/radosgw
6d8727
%{_unitdir}/ceph-radosgw@.service
6d8727
%{_unitdir}/ceph-radosgw.target
6d8727
6d8727
%post radosgw
6d8727
/sbin/ldconfig
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-radosgw@\*.service ceph-radosgw.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-radosgw.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
6d8727
%preun radosgw
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
%endif
6d8727
6d8727
%postun radosgw
6d8727
/sbin/ldconfig
6d8727
%systemd_postun ceph-radosgw@\*.service ceph-radosgw.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-radosgw@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%files osd
6d8727
%{_bindir}/ceph-clsinfo
6d8727
%{_bindir}/ceph-bluestore-tool
dc518a
%{_bindir}/ceph-erasure-code-tool
6d8727
%{_bindir}/ceph-objectstore-tool
6d8727
%{_bindir}/ceph-osdomap-tool
6d8727
%{_bindir}/ceph-osd
6d8727
%{_libexecdir}/ceph/ceph-osd-prestart.sh
6d8727
%{_sbindir}/ceph-volume
6d8727
%{_sbindir}/ceph-volume-systemd
6d8727
%{_mandir}/man8/ceph-clsinfo.8*
6d8727
%{_mandir}/man8/ceph-osd.8*
6d8727
%{_mandir}/man8/ceph-bluestore-tool.8*
6d8727
%{_mandir}/man8/ceph-volume.8*
6d8727
%{_mandir}/man8/ceph-volume-systemd.8*
6d8727
%{_unitdir}/ceph-osd@.service
6d8727
%{_unitdir}/ceph-osd.target
6d8727
%{_unitdir}/ceph-volume@.service
6d8727
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/osd
6d8727
%config(noreplace) %{_sysctldir}/90-ceph-osd.conf
6d8727
%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
6d8727
6d8727
%post osd
6d8727
%if 0%{?suse_version}
6d8727
if [ $1 -eq 1 ] ; then
6d8727
  /usr/bin/systemctl preset ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_post ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
%endif
6d8727
if [ $1 -eq 1 ] ; then
6d8727
/usr/bin/systemctl start ceph-osd.target >/dev/null 2>&1 || :
6d8727
fi
6d8727
%if 0%{?sysctl_apply}
6d8727
    %sysctl_apply 90-ceph-osd.conf
6d8727
%else
6d8727
    /usr/lib/systemd/systemd-sysctl %{_sysctldir}/90-ceph-osd.conf > /dev/null 2>&1 || :
6d8727
%endif
6d8727
6d8727
%preun osd
6d8727
%if 0%{?suse_version}
6d8727
%service_del_preun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
%endif
6d8727
%if 0%{?fedora} || 0%{?rhel}
6d8727
%systemd_preun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
%endif
6d8727
6d8727
%postun osd
6d8727
%systemd_postun ceph-osd@\*.service ceph-volume@\*.service ceph-osd.target
6d8727
if [ $1 -ge 1 ] ; then
6d8727
  # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to
6d8727
  # "yes". In any case: if units are not running, do not touch them.
6d8727
  SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
6d8727
  if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
6d8727
    source $SYSCONF_CEPH
6d8727
  fi
6d8727
  if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
6d8727
    /usr/bin/systemctl try-restart ceph-osd@\*.service ceph-volume@\*.service > /dev/null 2>&1 || :
6d8727
  fi
6d8727
fi
6d8727
6d8727
%if 0%{with seastar}
6d8727
%files crimson-osd
6d8727
%{_bindir}/crimson-osd
6d8727
%endif
6d8727
6d8727
%if %{with ocf}
6d8727
6d8727
%files resource-agents
6d8727
%dir %{_prefix}/lib/ocf
6d8727
%dir %{_prefix}/lib/ocf/resource.d
6d8727
%dir %{_prefix}/lib/ocf/resource.d/ceph
6d8727
%attr(0755,-,-) %{_prefix}/lib/ocf/resource.d/ceph/rbd
6d8727
6d8727
%endif
6d8727
6d8727
%files -n librados2
6d8727
%{_libdir}/librados.so.*
6d8727
%dir %{_libdir}/ceph
6d8727
%{_libdir}/ceph/libceph-common.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librados_tp.so.*
6d8727
%endif
6d8727
%dir %{_sysconfdir}/ceph
6d8727
6d8727
%post -n librados2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librados2 -p /sbin/ldconfig
6d8727
6d8727
%files -n librados-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/librados.h
6d8727
%{_includedir}/rados/rados_types.h
6d8727
%{_libdir}/librados.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librados_tp.so
6d8727
%endif
6d8727
%{_bindir}/librados-config
6d8727
%{_mandir}/man8/librados-config.8*
6d8727
6d8727
%files -n libradospp-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/buffer.h
6d8727
%{_includedir}/rados/buffer_fwd.h
6d8727
%{_includedir}/rados/crc32c.h
6d8727
%{_includedir}/rados/inline_memory.h
6d8727
%{_includedir}/rados/librados.hpp
6d8727
%{_includedir}/rados/librados_fwd.hpp
6d8727
%{_includedir}/rados/page.h
6d8727
%{_includedir}/rados/rados_types.hpp
6d8727
6d8727
%files -n python%{python3_pkgversion}-rados
6d8727
%{python3_sitearch}/rados.cpython*.so
6d8727
%{python3_sitearch}/rados-*.egg-info
6d8727
6d8727
%if 0%{with libradosstriper}
6d8727
%files -n libradosstriper1
6d8727
%{_libdir}/libradosstriper.so.*
6d8727
6d8727
%post -n libradosstriper1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libradosstriper1 -p /sbin/ldconfig
6d8727
6d8727
%files -n libradosstriper-devel
6d8727
%dir %{_includedir}/radosstriper
6d8727
%{_includedir}/radosstriper/libradosstriper.h
6d8727
%{_includedir}/radosstriper/libradosstriper.hpp
6d8727
%{_libdir}/libradosstriper.so
6d8727
%endif
6d8727
6d8727
%files -n librbd1
6d8727
%{_libdir}/librbd.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librbd_tp.so.*
6d8727
%endif
6d8727
6d8727
%post -n librbd1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librbd1 -p /sbin/ldconfig
6d8727
6d8727
%files -n librbd-devel
6d8727
%dir %{_includedir}/rbd
6d8727
%{_includedir}/rbd/librbd.h
6d8727
%{_includedir}/rbd/librbd.hpp
6d8727
%{_includedir}/rbd/features.h
6d8727
%{_libdir}/librbd.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librbd_tp.so
6d8727
%endif
6d8727
6d8727
%files -n librgw2
6d8727
%{_libdir}/librgw.so.*
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librgw_op_tp.so.*
6d8727
%{_libdir}/librgw_rados_tp.so.*
6d8727
%endif
6d8727
6d8727
%post -n librgw2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n librgw2 -p /sbin/ldconfig
6d8727
6d8727
%files -n librgw-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/librgw.h
6d8727
%{_includedir}/rados/rgw_file.h
6d8727
%{_libdir}/librgw.so
6d8727
%if %{with lttng}
6d8727
%{_libdir}/librgw_op_tp.so
6d8727
%{_libdir}/librgw_rados_tp.so
6d8727
%endif
6d8727
6d8727
%files -n python%{python3_pkgversion}-rgw
6d8727
%{python3_sitearch}/rgw.cpython*.so
6d8727
%{python3_sitearch}/rgw-*.egg-info
6d8727
6d8727
%files -n python%{python3_pkgversion}-rbd
6d8727
%{python3_sitearch}/rbd.cpython*.so
6d8727
%{python3_sitearch}/rbd-*.egg-info
6d8727
6d8727
%files -n libcephfs2
6d8727
%{_libdir}/libcephfs.so.*
6d8727
%dir %{_sysconfdir}/ceph
6d8727
6d8727
%post -n libcephfs2 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libcephfs2 -p /sbin/ldconfig
6d8727
6d8727
%files -n libcephfs-devel
6d8727
%dir %{_includedir}/cephfs
6d8727
%{_includedir}/cephfs/libcephfs.h
cdd4fb
%{_includedir}/cephfs/ceph_ll_client.h
6d8727
%{_libdir}/libcephfs.so
6d8727
6d8727
%files -n python%{python3_pkgversion}-cephfs
6d8727
%{python3_sitearch}/cephfs.cpython*.so
6d8727
%{python3_sitearch}/cephfs-*.egg-info
6d8727
%{python3_sitelib}/ceph_volume_client.py
6d8727
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
6d8727
bba994
%files -n python%{python3_pkgversion}-%{name}-argparse
6d8727
%{python3_sitelib}/ceph_argparse.py
6d8727
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
6d8727
%{python3_sitelib}/ceph_daemon.py
6d8727
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
6d8727
bba994
%files -n python%{python3_pkgversion}-%{name}-common
6d8727
%{python3_sitelib}/ceph
6d8727
%{python3_sitelib}/ceph-*.egg-info
6d8727
6d8727
%if 0%{with cephfs_shell}
6d8727
%files -n cephfs-shell
6d8727
%{python3_sitelib}/cephfs_shell-*.egg-info
6d8727
%{_bindir}/cephfs-shell
6d8727
%endif
6d8727
6d8727
%if 0%{with ceph_test_package}
bba994
%files test
6d8727
%{_bindir}/ceph-client-debug
6d8727
%{_bindir}/ceph_bench_log
6d8727
%{_bindir}/ceph_kvstorebench
6d8727
%{_bindir}/ceph_multi_stress_watch
6d8727
%{_bindir}/ceph_erasure_code_benchmark
6d8727
%{_bindir}/ceph_omapbench
6d8727
%{_bindir}/ceph_objectstore_bench
6d8727
%{_bindir}/ceph_perf_objectstore
6d8727
%{_bindir}/ceph_perf_local
6d8727
%{_bindir}/ceph_perf_msgr_client
6d8727
%{_bindir}/ceph_perf_msgr_server
6d8727
%{_bindir}/ceph_psim
6d8727
%{_bindir}/ceph_radosacl
6d8727
%{_bindir}/ceph_rgw_jsonparser
6d8727
%{_bindir}/ceph_rgw_multiparser
6d8727
%{_bindir}/ceph_scratchtool
6d8727
%{_bindir}/ceph_scratchtoolpp
6d8727
%{_bindir}/ceph_test_*
6d8727
%{_bindir}/ceph-coverage
6d8727
%{_bindir}/ceph-debugpack
6d8727
%{_bindir}/ceph-dedup-tool
6d8727
%{_mandir}/man8/ceph-debugpack.8*
6d8727
%dir %{_libdir}/ceph
6d8727
%{_libdir}/ceph/ceph-monstore-update-crush.sh
6d8727
%endif
6d8727
6d8727
%if 0%{with cephfs_java}
6d8727
%files -n libcephfs_jni1
6d8727
%{_libdir}/libcephfs_jni.so.*
6d8727
6d8727
%post -n libcephfs_jni1 -p /sbin/ldconfig
6d8727
6d8727
%postun -n libcephfs_jni1 -p /sbin/ldconfig
6d8727
6d8727
%files -n libcephfs_jni-devel
6d8727
%{_libdir}/libcephfs_jni.so
6d8727
6d8727
%files -n cephfs-java
6d8727
%{_javadir}/libcephfs.jar
6d8727
%{_javadir}/libcephfs-test.jar
6d8727
%endif
6d8727
6d8727
%files -n rados-objclass-devel
6d8727
%dir %{_includedir}/rados
6d8727
%{_includedir}/rados/objclass.h
6d8727
6d8727
%if 0%{with selinux}
6d8727
%files selinux
6d8727
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
6d8727
%{_datadir}/selinux/devel/include/contrib/ceph.if
6d8727
%{_mandir}/man8/ceph_selinux.8*
6d8727
6d8727
%post selinux
6d8727
# backup file_contexts before update
6d8727
. /etc/selinux/config
6d8727
FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
6d8727
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
6d8727
6d8727
# Install the policy
6d8727
/usr/sbin/semodule -i %{_datadir}/selinux/packages/ceph.pp
6d8727
6d8727
# Load the policy if SELinux is enabled
6d8727
if ! /usr/sbin/selinuxenabled; then
6d8727
    # Do not relabel if selinux is not enabled
6d8727
    exit 0
6d8727
fi
6d8727
6d8727
if diff ${FILE_CONTEXT} ${FILE_CONTEXT}.pre > /dev/null 2>&1; then
6d8727
   # Do not relabel if file contexts did not change
6d8727
   exit 0
6d8727
fi
6d8727
dc518a
# Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
dc518a
SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
dc518a
if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
dc518a
    source $SYSCONF_CEPH
dc518a
fi
dc518a
6d8727
# Check whether the daemons are running
6d8727
/usr/bin/systemctl status ceph.target > /dev/null 2>&1
6d8727
STATUS=$?
6d8727
6d8727
# Stop the daemons if they were running
6d8727
if test $STATUS -eq 0; then
dc518a
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
dc518a
	/usr/bin/systemctl stop ceph.target > /dev/null 2>&1
dc518a
    fi
6d8727
fi
6d8727
6d8727
# Relabel the files fix for first package install
6d8727
/usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
6d8727
6d8727
rm -f ${FILE_CONTEXT}.pre
6d8727
# The fixfiles command won't fix label for /var/run/ceph
6d8727
/usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
6d8727
6d8727
# Start the daemons iff they were running before
6d8727
if test $STATUS -eq 0; then
dc518a
    if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
dc518a
	    /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
dc518a
    fi
6d8727
fi
6d8727
exit 0
6d8727
6d8727
%postun selinux
6d8727
if [ $1 -eq 0 ]; then
6d8727
    # backup file_contexts before update
6d8727
    . /etc/selinux/config
6d8727
    FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
6d8727
    cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
6d8727
6d8727
    # Remove the module
6d8727
    /usr/sbin/semodule -n -r ceph > /dev/null 2>&1
6d8727
6d8727
    # Reload the policy if SELinux is enabled
6d8727
    if ! /usr/sbin/selinuxenabled ; then
6d8727
        # Do not relabel if SELinux is not enabled
6d8727
        exit 0
6d8727
    fi
6d8727
dc518a
    # Stop ceph.target while relabeling if CEPH_AUTO_RESTART_ON_UPGRADE=yes
dc518a
    SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph
dc518a
    if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then
dc518a
        source $SYSCONF_CEPH
dc518a
    fi
dc518a
6d8727
    # Check whether the daemons are running
6d8727
    /usr/bin/systemctl status ceph.target > /dev/null 2>&1
6d8727
    STATUS=$?
6d8727
6d8727
    # Stop the daemons if they were running
6d8727
    if test $STATUS -eq 0; then
dc518a
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
dc518a
	    /usr/bin/systemctl stop ceph.target > /dev/null 2>&1
dc518a
        fi
6d8727
    fi
6d8727
6d8727
    /usr/sbin/fixfiles -C ${FILE_CONTEXT}.pre restore 2> /dev/null
6d8727
    rm -f ${FILE_CONTEXT}.pre
6d8727
    # The fixfiles command won't fix label for /var/run/ceph
6d8727
    /usr/sbin/restorecon -R /var/run/ceph > /dev/null 2>&1
6d8727
6d8727
    # Start the daemons if they were running before
6d8727
    if test $STATUS -eq 0; then
dc518a
        if [ "X$CEPH_AUTO_RESTART_ON_UPGRADE" = "Xyes" ] ; then
dc518a
	    /usr/bin/systemctl start ceph.target > /dev/null 2>&1 || :
dc518a
        fi
6d8727
    fi
6d8727
fi
6d8727
exit 0
6d8727
6d8727
%endif
6d8727
6d8727
%files grafana-dashboards
6d8727
%if 0%{?suse_version}
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana/dashboards
6d8727
%endif
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/grafana/dashboards/ceph-dashboard
6d8727
%config %{_sysconfdir}/grafana/dashboards/ceph-dashboard/*
6d8727
%doc monitoring/grafana/dashboards/README
6d8727
%doc monitoring/grafana/README.md
6d8727
6d8727
%files prometheus-alerts
6d8727
%if 0%{?suse_version}
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/prometheus
6d8727
%endif
6d8727
%attr(0755,root,root) %dir %{_sysconfdir}/prometheus/ceph
6d8727
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
6d8727
6d8727
%changelog
dc518a
* Wed Oct 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.15-1
dc518a
- ceph 15.2.15 GA
dc518a
1df00c
* Thu Jul 1 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.13-3
1df00c
- ceph 15.2.13, rebuild from lookaside
1df00c
9f87c7
* Thu May 27 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.13-2
9f87c7
- ceph 15.2.13, rebuild with gperftools-2.7.90
9f87c7
127d09
* Wed May 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.13-1
127d09
- ceph 15.2.13 GA
127d09
478fc0
* Thu May 13 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.12-1
478fc0
- ceph 15.2.12 GA
478fc0
fe6a9b
* Tue Apr 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.11-1
fe6a9b
- ceph 15.2.11 GA
fe6a9b
eb0951
* Wed Mar 31 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.10-4
eb0951
- ceph 15.2.10 GA, ceph-test needs Requires: gtest-devel and gmock-devel
eb0951
  for libgmock.so, libgmock_main.so, and libgtest.so
eb0951
bba994
* Tue Mar 30 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.10-3
bba994
- ceph 15.2.10 GA, ceph-test really requires gtest-devel and gmock-devel
bba994
c289ab
* Tue Mar 30 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.10-2
c289ab
- ceph 15.2.10 GA, w/ unbundled cephadm >= %{_epoch_prefix}%{version}-%{release}
c289ab
765a65
* Thu Mar 18 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.10-1
765a65
- ceph 15.2.10 GA
765a65
a1b8f8
* Sat Feb 27 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.9-2
a1b8f8
- ceph 15.2.9, strsignal is not MT-SAFE. (It is also not reentrant, but
a1b8f8
not being MT-SAFE is more correct, and the more important issue.)
a1b8f8
52d77a
* Fri Feb 26 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.9-1
52d77a
- ceph 15.2.9 GA
52d77a
673bdf
* Mon Dec 28 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.8-1
673bdf
- ceph 15.2.8 GA
673bdf
673bdf
* Mon Dec 7 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.7-1
673bdf
- ceph 15.2.7 GA
673bdf
33311b
* Mon Nov 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.6-1
33311b
- ceph 15.2.6 GA
33311b
9572e7
* Fri Oct 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.5-1
9572e7
- ceph 15.2.5 GA
9572e7
8f0ee8
* Tue Aug 11 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-2
8f0ee8
- ceph 15.2.4, bump epoch, ceph-14.x.x is 2 (sigh) so -15 must also be 2
8f0ee8
8f0ee8
* Fri Aug 7 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:15.2.4-1
cdd4fb
- ceph 15.2.4 GA
cdd4fb
8f0ee8
* Mon Jun 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:15.2.3-1
a7ada8
- ceph 15.2.3 GA
a7ada8
a7ada8
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.2-1
a7ada8
- ceph 15.2.2 GA
a7ada8
6d8727
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-2
6d8727
- ceph 15.2.1, gmock and gtest. (although gmock last built for f27)
6d8727
6d8727
* Fri Apr 10 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-1
6d8727
- ceph 15.2.1 GA
6d8727
6d8727
* Mon Mar 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.0-1
6d8727
- ceph 15.2.0 GA
6d8727
6d8727
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-2
6d8727
- ceph 15.1.1 fmt, rhbz#1805422 again
6d8727
6d8727
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-1
6d8727
- ceph 15.1.1 RC
6d8727
6d8727
* Thu Mar 5 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-3
6d8727
- ceph 15.1.0, rhbz#1809799
6d8727
6d8727
* Thu Feb 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-2
6d8727
- ceph 15.1.0, fmt, rhbz#1805422
6d8727
6d8727
* Tue Feb 11 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-1
6d8727
- ceph 15.1.0 RC
6d8727
6d8727
* Mon Feb 3 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-2
6d8727
- ceph 14.2.7 python3-remoto #1784216
6d8727
6d8727
* Sat Feb 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-1
6d8727
- ceph 14.2.7 GA
6d8727
6d8727
* Wed Jan 29 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-4
6d8727
- ceph 14.2.6, https://tracker.ceph.com/issues/43649
6d8727
6d8727
* Mon Jan 27 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-3
6d8727
- ceph 14.2.6, (temporarily) disable unit tests
6d8727
6d8727
* Fri Jan 24 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- ceph 14.2.6, gcc-10, missing includes
6d8727
6d8727
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-2
6d8727
- ceph 14.2.6
6d8727
6d8727
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-1
6d8727
- ceph 14.2.6 GA
6d8727
6d8727
* Tue Dec 10 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.5-1
6d8727
- ceph 14.2.5 GA
6d8727
6d8727
* Mon Nov 11 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-3
6d8727
- ceph 14.2.4, fix typo
6d8727
6d8727
* Tue Nov 5 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-2
6d8727
- ceph 14.2.4, partial fix for bz#1768017
6d8727
6d8727
* Tue Sep 17 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-1
6d8727
- ceph 14.2.4 GA
6d8727
6d8727
* Wed Sep 4 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.3-1
6d8727
- ceph 14.2.3 GA
6d8727
6d8727
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2:14.2.2-3
6d8727
- Rebuilt for Python 3.8
6d8727
6d8727
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.2.2-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6d8727
6d8727
* Fri Jul 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.2-1
6d8727
- ceph 14.2.2 GA
6d8727
6d8727
* Tue May 28 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-2
6d8727
- numpy -> python3-numpy, bz#1712203 (and why I like to keep upstream
6d8727
  and fedora .spec files in sync)
6d8727
6d8727
* Wed May 8 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- sync w/ upstream to minimize diffs/drift
6d8727
6d8727
* Mon Apr 29 2019 Boris Ranto <branto@redhat.com> - 2:14.2.1-1
6d8727
- Rebase to latest upstream version (14.2.1)
6d8727
6d8727
* Tue Mar 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-1
6d8727
- ceph 14.2.0 GA
6d8727
6d8727
* Wed Mar 13 2019 Boris Ranto <branto@redhat.com> - 2:14.1.1-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Thu Mar 07 2019 Adam Williamson <awilliam@redhat.com> - 2:14.1.0-3
6d8727
- Return epoch to 2, epochs cannot ever go backwards
6d8727
6d8727
* Wed Mar 6 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.1.0-2
6d8727
- ceph 14.1.0 w/ static libcrc32
6d8727
6d8727
* Wed Feb 27 2019 Boris Ranto <branto@redhat.com> - 1:14.1.0-1
6d8727
- Rebase to v14.1.0 (updated for fixes in upstream nautilus branch)
6d8727
6d8727
* Thu Feb 21 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-2
6d8727
- Eliminate redundant CMAKE_* macros when using %%cmake global
6d8727
- Add CMAKE_BUILD_TYPE=RelWithDeb(ug)Info and BUILD_CONFIG=rpmbuild
6d8727
6d8727
* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-1
6d8727
- rebuild for f31/rawhide, including:
6d8727
- use the %%{cmake} %%global to get all the extra Fedora cmake options.
6d8727
  (This is Fedora, so don't care so much about rhel/rhel7 cmake3.)
6d8727
- reset epoch to 1. Note we use (have been using) epoch=1 in Fedora since
6d8727
  forever. I presume this is so that people can install Ceph RPMs from
6d8727
  ceph.com if they prefer those, which use epoch=2, and not run into issues
6d8727
  when updating.
6d8727
6d8727
* Thu Feb 7 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.0.1-4
6d8727
- w/ fixes for gcc9
6d8727
6d8727
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.0.1-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6d8727
6d8727
* Sat Dec 08 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-2
6d8727
- fix pyOpenSSL depemdency
6d8727
6d8727
* Tue Dec 04 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-1
6d8727
- New release (2:14.0.1-1)
6d8727
- Sync with upstream
6d8727
- Drop 32-bit support
6d8727
6d8727
* Wed Nov 21 2018 Boris Ranto <branto@redhat.com> - 2:13.2.2-1
6d8727
- New release (2:13.2.2-1)
6d8727
- Sync with upstream
6d8727
6d8727
* Mon Oct 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.9-1
6d8727
- New release (1:12.2.9-1)
6d8727
6d8727
* Wed Sep 12 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-2
6d8727
- Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
6d8727
  ceph-volume, and ceph-volume-systemd are missing in this build
6d8727
6d8727
* Fri Aug 31 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-1
6d8727
- New release (1:12.2.8-1)
6d8727
6d8727
* Wed Jul 18 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.7-1
6d8727
- New release (1:12.2.7-1)
6d8727
6d8727
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.6-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6d8727
6d8727
* Wed Jul 11 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.6-1
6d8727
- New release (1:12.2.6-1)
6d8727
6d8727
* Mon Jul 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-3
6d8727
- New release (1:12.2.5-3) w/ python-3.7
6d8727
6d8727
* Fri Jun 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-2
6d8727
- New release (1:12.2.5-2)
6d8727
6d8727
* Fri Apr 27 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-1
6d8727
- New release (1:12.2.5-1)
6d8727
6d8727
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 1:12.2.4-2
6d8727
- Use standard Fedora linker flags (bug #1547552)
6d8727
6d8727
* Fri Mar 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.4-1
6d8727
- New release (1:12.2.4-1)
6d8727
- rhbz#1446610, rhbz#1546611, cephbz#23039
6d8727
6d8727
* Wed Feb 21 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.3-1
6d8727
- New release (1:12.2.3-1)
6d8727
6d8727
* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-3
6d8727
- no ldconfig in F28
6d8727
6d8727
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.2-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6d8727
6d8727
* Tue Dec 5 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-1
6d8727
- New release (1:12.2.2-1)
6d8727
- Fix build error on arm
6d8727
6d8727
* Thu Oct 05 2017 Boris Ranto <branto@redhat.com> - 1:12.2.1-2
6d8727
- Obsolete ceph-libs-compat package
6d8727
6d8727
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.1-1
6d8727
- New release (1:12.2.1-1)
6d8727
6d8727
* Tue Aug 29 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.0-1
6d8727
- New release (1:12.2.0-1)
6d8727
6d8727
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-5
6d8727
- libibverbs(-devel) is superceded by rdma-core(-devel), again
6d8727
6d8727
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-4
6d8727
- libibverbs(-devel) is superceded by rdma-core(-devel)
6d8727
6d8727
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 1:12.1.4-3
6d8727
- Disable RDMA support on 32-bit ARM (#1484155)
6d8727
6d8727
* Thu Aug 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-2
6d8727
- fix %%epoch in comment, ppc64le lowmem_builder
6d8727
6d8727
* Wed Aug 16 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-1
6d8727
- New release (1:12.1.4-1)
6d8727
6d8727
* Sat Aug 12 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.3-1
6d8727
- New release (1:12.1.3-1)
6d8727
6d8727
* Fri Aug 11 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-3
6d8727
- rebuild with librpm.so.7
6d8727
6d8727
* Thu Aug 10 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-2
6d8727
- Fix 32-bit alignment
6d8727
6d8727
* Thu Aug 3 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-1
6d8727
- New release (1:12.1.2-1)
6d8727
6d8727
* Tue Aug 1 2017 Boris Ranto <branto@redhat.com> - 1:12.1.1-8
6d8727
- Fix ppc64 build
6d8727
6d8727
* Tue Aug 1 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-7
6d8727
- python34 and other nits
6d8727
- still no fix for ppc64
6d8727
6d8727
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1:12.1.1-6
6d8727
- Reenable ppc64le, with binutils fix for ppc64le (#1475636)
6d8727
6d8727
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-5
6d8727
- ppc64le disabled until bz #1475636 resolution
6d8727
6d8727
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-4
6d8727
- 12.1.1 w/ hacks for armv7hl: low mem, no java jni
6d8727
- WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
6d8727
- still no fix for ppc64
6d8727
6d8727
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.1.1-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6d8727
6d8727
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-2
6d8727
- 12.1.1 w/ rocksdb patch (i686)
6d8727
6d8727
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-1
6d8727
- New release (1:12.1.1-1)
6d8727
6d8727
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-0
6d8727
- New release (1:12.1.1-0)
6d8727
6d8727
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1:10.2.7-3
6d8727
- Rebuilt for Boost 1.64
6d8727
6d8727
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.7-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
6d8727
6d8727
* Mon Apr 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:10.2.7-1
6d8727
- New release (1:10.2.7-1)
6d8727
6d8727
* Wed Feb 08 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-2
6d8727
- New release (1:10.2.5-2)
6d8727
6d8727
* Fri Jan 13 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-1
6d8727
- New release (1:10.2.5-1)
6d8727
- hack: do not test for libxfs, assume it is present
6d8727
6d8727
* Wed Dec 14 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-2
6d8727
- New version (1:10.2.4-2)
6d8727
- This syncs up with the upstream 10.2.5
6d8727
- Doing it this way because of broken lookaside cache
6d8727
- Fix the -devel obsoletes
6d8727
6d8727
* Thu Dec 08 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-1
6d8727
- New version (1:10.2.4-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Use newer -devel package format
6d8727
- Sync up the spec file
6d8727
6d8727
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-4
6d8727
- librgw: add API version defines for librgw and rgw_file
6d8727
6d8727
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-3
6d8727
- update patches style for rdopkg
6d8727
6d8727
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
6d8727
- New release (1:10.2.3-2)
6d8727
- common: instantiate strict_si_cast<long> not
6d8727
6d8727
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
6d8727
- New version (1:10.2.3-1)
6d8727
- Disable erasure_codelib neon build
6d8727
6d8727
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
6d8727
- Rebuild for LevelDB 1.18
6d8727
6d8727
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
6d8727
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
6d8727
6d8727
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
6d8727
- New release (1:10.2.2-2)
6d8727
- fix tcmalloc handling in spec file
6d8727
6d8727
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
6d8727
- New version (1:10.2.2-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
6d8727
- New version (1:10.2.1-1)
6d8727
- Disable erasure_codelib neon build
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
6d8727
- fix build on s390(x) - gperftools/tcmalloc not available there
6d8727
6d8727
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
6d8727
- Do not use -momit-leaf-frame-pointer flag
6d8727
6d8727
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
6d8727
- Rebase to version 10.2.0
6d8727
- Disable erasure_codelib neon build
6d8727
6d8727
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
6d8727
- Fix large startup times of processes linking to -lrbd.
6d8727
  Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
6d8727
- Add workaround for XFS header brokenness.
6d8727
6d8727
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6d8727
6d8727
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
6d8727
- Rebuilt for Boost 1.60
6d8727
6d8727
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
6d8727
- fix build on s390(x) - gperftools/tcmalloc not available there
6d8727
6d8727
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
6d8727
- Rebase to latest stable upstream version (9.2.0 - infernalis)
6d8727
- Use upstream spec file
6d8727
6d8727
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
6d8727
- Rebase to latest upstream version
6d8727
- The rtdsc patch got merged upstream and is already present in the release
6d8727
6d8727
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
6d8727
- Rebuilt for Boost 1.59
6d8727
6d8727
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
6d8727
- Rebase to latest upstream version
6d8727
- The boost patch got merged upstream and is already present in the release
6d8727
6d8727
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
6d8727
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
6d8727
6d8727
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
6d8727
6d8727
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
6d8727
- rebuild for Boost 1.58
6d8727
6d8727
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6d8727
6d8727
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
6d8727
- fix build on s390(x) - no gperftools there
6d8727
6d8727
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
6d8727
- Disable lttng support (rhbz#1223319)
6d8727
6d8727
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
6d8727
- Fix arm linking issue (rhbz#1222286)
6d8727
6d8727
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
6d8727
- Rebase to latest upstream version and sync-up the spec file
6d8727
- Add arm compilation patches
6d8727
6d8727
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
6d8727
- add version numbers to Obsoletes (RHBZ #1193182)
6d8727
6d8727
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
6d8727
- Perform a hardened build
6d8727
- Use git-formatted patches
6d8727
- Add patch for pthreads rwlock unlock problem
6d8727
- Do not remove conf files on uninstall
6d8727
- Remove the cleanup function, it is only necessary for f20 and f21
6d8727
6d8727
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
6d8727
- Rebase to latest upstream
6d8727
- Remove boost patch, it is in upstream tarball
6d8727
- Build with yasm, tarball contains fix for the SELinux issue
6d8727
6d8727
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
6d8727
- Rebuild for boost 1.57.0
6d8727
- Include <boost/optional/optional_io.hpp> instead of
6d8727
  <boost/optional.hpp>.  Keep the old dumping behavior in
6d8727
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
6d8727
6d8727
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
6d8727
- Rebase to latest major version (firefly -> giant)
6d8727
6d8727
* Thu Oct 16 2014 Boris Ranto 
6d8727
- Rebase to latest upstream version
6d8727
6d8727
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
6d8727
- Fix a typo in librados-devel vs librados2-devel dependency
6d8727
6d8727
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
6d8727
- Provide empty file list for python-ceph-compat and ceph-devel-compat
6d8727
6d8727
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
6d8727
- Rebase to 0.80.6
6d8727
- Split ceph-devel and python-ceph packages
6d8727
6d8727
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
6d8727
- update Requires for s390(x)
6d8727
6d8727
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
6d8727
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
6d8727
6d8727
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
6d8727
- Revert the previous change
6d8727
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
6d8727
- Fix bogus dates
6d8727
6d8727
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
6d8727
- Several more merges from file to try to fix the selinux issue (1118504)
6d8727
6d8727
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
6d8727
- Obsolete ceph-libcephfs
6d8727
6d8727
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
6d8727
- Do not require xfsprogs/xfsprogs-devel for el6
6d8727
- Require gperftools-devel for non-ppc*/s390* architectures only
6d8727
- Do not require junit -- no need to build libcephfs-test.jar
6d8727
- Build without libxfs for el6
6d8727
- Build without tcmalloc for ppc*/s390* architectures
6d8727
- Location of mkcephfs must depend on a rhel release
6d8727
- Use epoch in the Requires fields [1130700]
6d8727
6d8727
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
6d8727
- Use the proper version name in Obsoletes
6d8727
6d8727
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6d8727
6d8727
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
6d8727
- Add the arm pthread hack
6d8727
6d8727
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
6d8727
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
6d8727
- Use the upstream spec file with the ceph-libs split
6d8727
- Add libs-compat subpackage [1116546]
6d8727
- use fedora in rhel 7 checks
6d8727
- obsolete libcephfs [1116614]
6d8727
- depend on redhat-lsb-core for the initscript [1108696]
6d8727
6d8727
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
6d8727
- Add obsoletes to keep the upgrade path working (#1118510)
6d8727
6d8727
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
6d8727
- revert to old spec until after f21 branch
6d8727
6d8727
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
6d8727
6d8727
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
6d8727
- upstream ceph.spec file
6d8727
6d8727
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
6d8727
- upstream ceph.spec file
6d8727
6d8727
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
6d8727
- el6 ppc64 does not have gperftools, merge from origin/el6
6d8727
6d8727
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
6d8727
- ceph-0.81.0
6d8727
6d8727
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
6d8727
- gperftools now available on aarch64/ppc64
6d8727
6d8727
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
6d8727
- Rebuild for boost 1.55.0
6d8727
6d8727
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
6d8727
- rebuild for boost 1.55.0
6d8727
6d8727
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
6d8727
- build epel-6
6d8727
- exclude %%{_libdir}/ceph/erasure-code in base package
6d8727
6d8727
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
6d8727
- Update to latest stable upstream release, BZ 1095201
6d8727
- PIE, _hardened_build, BZ 955174
6d8727
6d8727
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
6d8727
- Move plugins from -devel into -libs package (#891993). Thanks Michael
6d8727
  Schwendt.
6d8727
6d8727
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
6d8727
- Update to latest stable upstream release
6d8727
- Use HTTPS for URLs
6d8727
- Submit Automake 1.12 patch upstream
6d8727
- Move unversioned shared libs from ceph-libs into ceph-devel
6d8727
6d8727
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
6d8727
- build without tcmalloc on aarch64 (no gperftools)
6d8727
6d8727
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
6d8727
- gperftools not currently available on aarch64
6d8727
6d8727
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
6d8727
- fix build on non-x86_64 64-bit arches
6d8727
6d8727
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
6d8727
- update to 0.67.3
6d8727
6d8727
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
6d8727
- let base package include all its documentation files via %%doc magic,
6d8727
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
6d8727
- include the sample config files again (instead of just an empty docdir
6d8727
  that has been added for #846735)
6d8727
- don't include librbd.so.1 also in -devel package (#1003202)
6d8727
- move one misplaced rados plugin from -devel into -libs package (#891993)
6d8727
- include missing directories in -devel and -libs packages
6d8727
- move librados-config into the -devel pkg where its manual page is, too
6d8727
- add %%_isa to subpackage dependencies
6d8727
- don't use %%defattr anymore
6d8727
- add V=1 to make invocation for verbose build output
6d8727
6d8727
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
6d8727
- re-enable tmalloc on arm now gperftools is fixed
6d8727
6d8727
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
6d8727
- Update to 0.61.7
6d8727
6d8727
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
6d8727
- Rebuild for boost 1.54.0
6d8727
6d8727
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
6d8727
- Update to 0.56.4
6d8727
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
6d8727
6d8727
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
6d8727
- Update to 0.56.3
6d8727
6d8727
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
6d8727
- Rebuilt to try to fix boost dependency problem in Rawhide.
6d8727
6d8727
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
6d8727
- Update to 0.53
6d8727
6d8727
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
6d8727
- Fix automake 1.12 error
6d8727
- Rebuild after buildroot was messed up
6d8727
6d8727
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
6d8727
- Use system leveldb
6d8727
6d8727
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
6d8727
- Updating to 0.51
6d8727
- Updated url and source url.
6d8727
6d8727
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6d8727
6d8727
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
6d8727
- updated to upstream 0.46
6d8727
- broke out libcephfs (rhbz# 812975)
6d8727
6d8727
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
6d8727
- fix detection of C++11 atomic header
6d8727
6d8727
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
6d8727
- updating to upstream 0.45
6d8727
6d8727
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
6d8727
- Add LDFLAGS=-lpthread on any ARM architecture
6d8727
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
6d8727
6d8727
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
6d8727
- gperftools not available also on ppc
6d8727
6d8727
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
6d8727
- Remove unneeded patch
6d8727
6d8727
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
6d8727
- Update to 0.44
6d8727
- Fix build problems
6d8727
6d8727
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
6d8727
- Update to 0.43
6d8727
- Remove upstreamed compile fixes patch
6d8727
- Remove obsoleted dump_pop patch
6d8727
6d8727
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
6d8727
- Rebuilt for c++ ABI breakage
6d8727
6d8727
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
6d8727
- update to 0.41
6d8727
- fix issues preventing build
6d8727
- rebuild against gperftools
6d8727
6d8727
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
6d8727
- updating to upstream 0.39
6d8727
6d8727
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
6d8727
- create /etc/ceph - bug 745462
6d8727
- upgrading to 0.37, fixing 745460, 691033
6d8727
- fixing various logrotate bugs 748930, 747101
6d8727
6d8727
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
6d8727
- google-perftools not available also on s390(x)
6d8727
6d8727
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
6d8727
- build without tcmalloc on ppc64, BR google-perftools is not available there
6d8727
6d8727
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
6d8727
- Remove curl/types.h include since we don't use it anymore
6d8727
6d8727
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
6d8727
- Update to 0.31
6d8727
6d8727
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
6d8727
- Add the compile fix patch
6d8727
6d8727
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
6d8727
- Update to 0.26
6d8727
6d8727
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
6d8727
- Update to 0.25.1
6d8727
6d8727
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
6d8727
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6d8727
6d8727
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
6d8727
- Update to 0.21.3.
6d8727
6d8727
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
6d8727
- Update to 0.21.2.
6d8727
6d8727
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
6d8727
- Update to 0.21.1.
6d8727
- Sample configs moved to /usr/share/doc/ceph/.
6d8727
- Added cclass, rbd, and cclsinfo.
6d8727
- Dropped mkmonfs and rbdtool.
6d8727
- mkcephfs moved to /sbin.
6d8727
- Add libcls_rbd.so.
6d8727
6d8727
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
6d8727
- update to 0.20.2
6d8727
6d8727
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
6d8727
- update to 0.20
6d8727
- disable hadoop building
6d8727
- remove all the test binaries properly
6d8727
6d8727
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
6d8727
- Remove java deps (no need to build hadoop by default)
6d8727
- Include all required librados helpers
6d8727
- Include fetch_config sample
6d8727
- Include rbdtool
6d8727
- Remove misc debugging, test binaries
6d8727
6d8727
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
6d8727
- Add java-devel and java tricks to get hadoop to build
6d8727
6d8727
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
6d8727
- Move the rados and cauthtool man pages into the base package
6d8727
6d8727
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
6d8727
- Add missing libhadoopcephfs.so* to file list
6d8727
- Add COPYING to all subpackages
6d8727
- Fix ownership of /usr/lib[64]/ceph
6d8727
- Enhance description of fuse client
6d8727
6d8727
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
6d8727
- Update to 0.19.1
6d8727
6d8727
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
6d8727
- Initial spec file creation, based on the template provided in the ceph src