Compare commits

...

18 Commits

Author SHA1 Message Date
Kaleb S. KEITHLEY bb38366d56 ceph 14.2.21 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-05-14 11:28:04 -04:00
Kaleb S KEITHLEY 5e61759d7e ceph 14.2.20 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-04-21 07:45:09 -04:00
Kaleb S KEITHLEY 76c4fed4a5 ceph 14.2.19 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-03-30 17:51:09 -04:00
Kaleb S KEITHLEY 6c3e9746c2 ceph 14.2.18 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-03-15 19:05:07 -04:00
Kaleb S KEITHLEY f557b65a0f ceph 14.2.17 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-03-11 20:39:39 -05:00
Kaleb S KEITHLEY 157a825962 ceph 14.2.16 w/ system rocksdb, w/ npm
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-02-02 10:15:33 -05:00
Kaleb S KEITHLEY ac01dba6bb ceph 14.2.16 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2020-12-23 19:15:30 -05:00
Kaleb S KEITHLEY 65136ef3dd ceph 14.2.15 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2020-11-24 08:16:31 -05:00
Kaleb S KEITHLEY cf2f7dd5af ceph 14.2.14 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2020-11-20 07:01:18 -05:00
Kaleb S. KEITHLEY 7309fa29a1 ceph 14.2.13 python-enum34
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-11-06 12:54:10 -05:00
Kaleb S. KEITHLEY 08e16ad920 ceph 14.2.13 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-11-02 15:31:54 -05:00
Kaleb S. KEITHLEY 4f48590d7c ceph 14.2.12 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-10-20 22:06:32 -04:00
Kaleb S. KEITHLEY 8908414dbb ceph 14.2.11 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-08-12 10:43:23 -04:00
Kaleb S. KEITHLEY 893fb25915 delete dead patch 2020-06-29 11:54:35 -04:00
Kaleb S. KEITHLEY ba66bd31da ceph 14.2.10 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-06-26 13:36:16 -04:00
Kaleb S. KEITHLEY 750cbd5432 ceph 14.2.9, /w system gtest, gmock, or would be if it was new enough
thus disabling as the bundled gtest, etc. result in a build that doesn't
  install.

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-05-26 12:40:22 -04:00
Kaleb S. KEITHLEY 5a7a3a3ba2 ceph 14.2.9, /w system gtest, gmock, or would be if it was new enough
thus disabling as the bundled gtest, etc. result in a build that doesn't
  install.

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-05-26 12:01:21 -04:00
Kaleb S. KEITHLEY 1e1ba2ab5a ceph 14.2.9, /w system gtest, gmock
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-05-26 11:30:03 -04:00
5 changed files with 132 additions and 79 deletions
+3 -6
View File
@@ -1,11 +1,8 @@
--- ceph-14.2.6/src/common/bit_str.h.orig 2020-01-24 11:37:20.547679336 -0500
+++ ceph-14.2.6/src/common/bit_str.h 2020-01-24 11:37:55.351904895 -0500
@@ -14,7 +14,10 @@
#ifndef CEPH_COMMON_BIT_STR_H
#define CEPH_COMMON_BIT_STR_H
+#include <cstdint>
+#include <iosfwd>
@@ -17,6 +17,7 @@
#include <cstdint>
#include <iosfwd>
#include <functional>
+#include <ostream>
-10
View File
@@ -1,10 +0,0 @@
--- ceph-14.2.6/src/librbd/api/PoolMetadata.h.orig 2020-01-24 12:39:23.738816885 -0500
+++ ceph-14.2.6/src/librbd/api/PoolMetadata.h 2020-01-24 12:39:36.522902386 -0500
@@ -8,6 +8,7 @@
#include "include/rados/librados_fwd.hpp"
#include <map>
+#include <string>
namespace librbd {
@@ -1,39 +0,0 @@
--- a/cmake/modules/CheckCxxAtomic.cmake 2020-03-02 12:49:20.000000000 -0500
+++ b/cmake/modules/CheckCxxAtomic.cmake 2020-01-29 12:53:56.952149798 -0500
@@ -10,18 +10,29 @@
check_cxx_source_compiles("
#include <atomic>
#include <cstdint>
+
+#if __s390x__
+// Boost needs 16-byte atomics for tagged pointers.
+// These are implemented via inline instructions on the platform
+// if 16-byte alignment can be proven, and are delegated to libatomic
+// library routines otherwise. Whether or not alignment is provably
+// OK for a std::atomic unfortunately depends on compiler version and
+// optimization levels, and also on the details of the expression.
+// We specifically test access via an otherwise unknown pointer here
+// to ensure we get the most complex case. If this access can be
+// done without libatomic, then all accesses can be done.
+bool atomic16(std::atomic<unsigned __int128> *ptr)
+{
+ return *ptr != 0;
+}
+#endif
+
int main() {
std::atomic<uint8_t> w1;
std::atomic<uint16_t> w2;
std::atomic<uint32_t> w4;
std::atomic<uint64_t> w8;
-#ifdef __s390x__
- // Boost needs 16-byte atomics for tagged pointers.
- std::atomic<unsigned __int128> w16;
-#else
- #define w16 0
-#endif
- return w1 + w2 + w4 + w8 + w16;
+ return w1 + w2 + w4 + w8;
}
" ${var})
endfunction(check_cxx_atomics)
+128 -23
View File
@@ -28,7 +28,7 @@
%bcond_without ocf
%bcond_with make_check
%bcond_without ceph_test_package
%bcond_with ceph_test_package
%ifarch s390 s390x
%bcond_with tcmalloc
%else
@@ -36,18 +36,19 @@
%endif
%if 0%{?fedora} || 0%{?rhel}
%bcond_without selinux
%bcond_without ceph_test_package
%bcond_without cephfs_java
%bcond_without amqp_endpoint
%bcond_without lttng
%bcond_without libradosstriper
%bcond_without ocf
%bcond_without amqp_endpoint
%bcond_without kafka_endpoint
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
%endif
%if 0%{?suse_version}
%bcond_with selinux
%bcond_with cephfs_java
%bcond_with amqp_endpoint
%bcond_with kafka_endpoint
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%global _fillupdir /var/adm/fillup-templates
@@ -83,7 +84,9 @@
%if 0%{without python2}
%global _defined_if_python2_absent 1
%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
%global weak_deps 1
%endif
%if %{with selinux}
# get selinux policy version
%{!?_selinux_policy_version: %global _selinux_policy_version 0.0.0}
@@ -108,7 +111,7 @@
# main package definition
#################################################################################
Name: ceph
Version: 14.2.9
Version: 14.2.21
Release: 1%{?dist}
%if 0%{?fedora} || 0%{?rhel}
Epoch: 2
@@ -127,8 +130,6 @@ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-%{version}.tar.gz
Patch002: 0002-src-common-CMakeLists.txt.patch
Patch003: 0003-src-common-bitstr.h.patch
Patch004: 0004-src-librbd-api-PoolMetadata.h.patch
Patch005: 0005-cmake-modules-CheckCxxAtomic.cmake.patch
# ceph ≥ 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787
ExcludeArch: i686 armv7hl
%if 0%{?suse_version}
@@ -159,6 +160,8 @@ BuildRequires: cmake > 3.5
%endif
BuildRequires: cryptsetup
BuildRequires: fuse-devel
BuildRequires: rocksdb-devel
BuildRequires: npm
%if 0%{?rhel} == 7
# devtoolset offers newer make and valgrind-devel, but the old ones are good
# enough.
@@ -207,6 +210,9 @@ BuildRequires: yasm
%if 0%{with amqp_endpoint}
BuildRequires: librabbitmq-devel
%endif
%if 0%{with kafka_endpoint}
BuildRequires: librdkafka-devel
%endif
%if 0%{with make_check}
BuildRequires: jq
BuildRequires: libuuid-devel
@@ -216,13 +222,7 @@ BuildRequires: python%{_python_buildid}-nose
BuildRequires: python%{_python_buildid}-pecan
BuildRequires: python%{_python_buildid}-requests
BuildRequires: python%{_python_buildid}-six
BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-virtualenv
%if 0%{?rhel} == 7
BuildRequires: pyOpenSSL%{_python_buildid}
%else
BuildRequires: python%{_python_buildid}-pyOpenSSL
%endif
BuildRequires: socat
%endif
%if 0%{with seastar}
@@ -281,7 +281,7 @@ BuildRequires: python2-Cython
%endif
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%if 0%{?rhel}
%if 0%{?rhel} == 7
BuildRequires: python%{python3_version_nodots}-Cython
%else
BuildRequires: python%{python3_pkgversion}-Cython
@@ -293,20 +293,43 @@ BuildRequires: lz4-devel >= 1.7
# distro-conditional make check dependencies
%if 0%{with make_check}
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: python%{_python_buildid}-coverage
BuildRequires: python%{_python_buildid}-pecan
BuildRequires: python%{_python_buildid}-tox
BuildRequires: xmlsec1
%if 0%{?rhel} == 7
BuildRequires: pyOpenSSL%{_python_buildid}
%else
BuildRequires: python%{_python_buildid}-pyOpenSSL
%endif
BuildRequires: libtool-ltdl-devel
BuildRequires: python%{_python_buildid}-cherrypy
BuildRequires: python%{_python_buildid}-jwt
BuildRequires: python%{_python_buildid}-routes
BuildRequires: python%{_python_buildid}-scipy
BuildRequires: python%{_python_buildid}-werkzeug
BuildRequires: xmlsec1
BuildRequires: xmlsec1-devel
BuildRequires: xmlsec1-nss
BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
%endif
%if 0%{?suse_version}
BuildRequires: libxmlsec1-1
BuildRequires: libxmlsec1-nss1
BuildRequires: libxmlsec1-openssl1
BuildRequires: xmlsec1-devel
BuildRequires: xmlsec1-openssl-devel
BuildRequires: python%{_python_buildid}-CherryPy
BuildRequires: python%{_python_buildid}-PyJWT
BuildRequires: python%{_python_buildid}-Routes
BuildRequires: python%{_python_buildid}-Werkzeug
BuildRequires: python%{_python_buildid}-coverage
BuildRequires: python%{_python_buildid}-numpy-devel
BuildRequires: python%{_python_buildid}-pecan
BuildRequires: python%{_python_buildid}-pyOpenSSL
BuildRequires: python%{_python_buildid}-tox
BuildRequires: rpm-build
BuildRequires: xmlsec1-devel
%endif
%endif
# lttng and babeltrace for rbd-replay-prep
@@ -341,6 +364,9 @@ BuildRequires: libcryptopp-devel
BuildRequires: libnuma-devel
%endif
%endif
%if 0%{?rhel} >= 8
BuildRequires: /usr/bin/pathfix.py
%endif
%description
Ceph is a massively scalable, open-source, distributed storage system that runs
@@ -371,7 +397,6 @@ Requires: grep
Requires: logrotate
Requires: parted
Requires: psmisc
Requires: python%{_python_buildid}-requests
Requires: python%{_python_buildid}-setuptools
Requires: util-linux
Requires: xfsprogs
@@ -383,7 +408,7 @@ Requires: which
Requires: gperftools-libs >= 2.6.1
%endif
%endif
%if 0%{?suse_version}
%if 0%{?weak_deps}
Recommends: chrony
%endif
%description base
@@ -402,7 +427,6 @@ Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-requests
%if 0%{?fedora} || 0%{?rhel}
Requires: python%{_python_buildid}-prettytable
%endif
@@ -452,6 +476,7 @@ Group: System/Filesystems
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-bcrypt
Requires: python%{_python_buildid}-pecan
Requires: python%{_python_buildid}-requests
Requires: python%{_python_buildid}-six
%if 0%{?fedora} || 0%{?rhel}
Requires: python%{_python_buildid}-cherrypy
@@ -460,18 +485,22 @@ Requires: python%{_python_buildid}-werkzeug
%if 0%{?suse_version}
Requires: python%{_python_buildid}-CherryPy
Requires: python%{_python_buildid}-Werkzeug
Recommends: python%{_python_buildid}-influxdb
%endif
%if 0%{?weak_deps}
Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-cloud = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-k8sevents = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-ssh = %{_epoch_prefix}%{version}-%{release}
Recommends: python%{_python_buildid}-influxdb
%endif
%if 0%{?rhel} == 7
Requires: pyOpenSSL
Requires: pyOpenSSL
BuildRequires: python-enum34
%else
Requires: python%{_python_buildid}-pyOpenSSL
Requires: python%{_python_buildid}-pyOpenSSL
%endif
%description mgr
ceph-mgr enables python modules that provide services (such as the REST
@@ -492,12 +521,16 @@ Requires: python%{_python_buildid}-cherrypy
Requires: python%{_python_buildid}-jwt
Requires: python%{_python_buildid}-routes
Requires: python%{_python_buildid}-werkzeug
%if 0%{?weak_deps}
Recommends: python%{_python_buildid}-saml
%endif
%endif
%if 0%{?suse_version}
Requires: python%{_python_buildid}-CherryPy
Requires: python%{_python_buildid}-PyJWT
Requires: python%{_python_buildid}-Routes
Requires: python%{_python_buildid}-Werkzeug
Recommends: python%{_python_buildid}-python3-saml
%endif
%if 0%{?rhel} == 7
Requires: pyOpenSSL
@@ -666,6 +699,10 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: lvm2
Requires: sudo
Requires: libstoragemgmt
%if 0%{?weak_deps}
Recommends: nvme-cli
Recommends: smartmontools
%endif
%description osd
ceph-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system
@@ -996,6 +1033,8 @@ Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: xmlstarlet
Requires: jq
Requires: socat
BuildRequires: gtest-devel
BuildRequires: gmock-devel
%description -n ceph-test
This package contains Ceph benchmarks and test tools.
%endif
@@ -1212,6 +1251,8 @@ cd build
%if 0%{with ocf}
-DWITH_OCF=ON \
%endif
-DWITH_SYSTEM_NPM=ON \
-DWITH_SYSTEM_ROCKSDB=ON \
%ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64
-DWITH_BOOST_CONTEXT=ON \
%else
@@ -1229,8 +1270,16 @@ cd build
-DWITH_RADOSGW_AMQP_ENDPOINT=ON \
%else
-DWITH_RADOSGW_AMQP_ENDPOINT=OFF \
%endif
%if 0%{with kafka_endpoint}
-DWITH_RADOSGW_KAFKA_ENDPOINT=ON \
%else
-DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \
%endif
-DBOOST_J=$CEPH_SMP_NCPUS \
%if 0%{with ceph_test_package}
-DWITH_SYSTEM_GTEST=ON \
%endif
-DWITH_GRAFANA=ON
export VERBOSE=1
@@ -1277,7 +1326,12 @@ ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
# sudoers.d
install -m 0600 -D sudoers.d/ceph-osd-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
install -m 0440 -D sudoers.d/ceph-osd-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
%if 0%{?rhel} >= 8
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
%endif
#set up placeholder directories
mkdir -p %{buildroot}%{_sysconfdir}/ceph
@@ -1448,6 +1502,7 @@ fi
%{_mandir}/man8/ceph-authtool.8*
%{_mandir}/man8/ceph-conf.8*
%{_mandir}/man8/ceph-dencoder.8*
%{_mandir}/man8/ceph-diff-sorted.8*
%{_mandir}/man8/ceph-rbdnamer.8*
%{_mandir}/man8/ceph-syn.8*
%{_mandir}/man8/ceph-post-file.8*
@@ -1460,6 +1515,7 @@ fi
%{_mandir}/man8/rbd-replay.8*
%{_mandir}/man8/rbd-replay-many.8*
%{_mandir}/man8/rbd-replay-prep.8*
%{_mandir}/man8/rgw-orphan-list.8*
%dir %{_datadir}/ceph/
%{_datadir}/ceph/known_hosts_drop.ceph.com
%{_datadir}/ceph/id_rsa_drop.ceph.com
@@ -1825,10 +1881,12 @@ fi
%{_mandir}/man8/rbd-nbd.8*
%files radosgw
%{_bindir}/ceph-diff-sorted
%{_bindir}/radosgw
%{_bindir}/radosgw-token
%{_bindir}/radosgw-es
%{_bindir}/radosgw-object-expirer
%{_bindir}/rgw-orphan-list
%{_mandir}/man8/radosgw.8*
%dir %{_localstatedir}/lib/ceph/radosgw
%{_unitdir}/ceph-radosgw@.service
@@ -2087,7 +2145,7 @@ fi
%files -n libcephfs-devel
%dir %{_includedir}/cephfs
%{_includedir}/cephfs/libcephfs.h
%{_includedir}/cephfs/ceph_statx.h
%{_includedir}/cephfs/ceph_ll_client.h
%{_libdir}/libcephfs.so
%if 0%{with python2}
@@ -2283,6 +2341,53 @@ exit 0
%endif
%changelog
* Thu May 13 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.21-1
- ceph 14.2.21 GA
* Tue Apr 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.20-1
- ceph 14.2.20 GA
* Tue Mar 30 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.19-1
- ceph 14.2.19 GA
* Mon Mar 15 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.18-1
- ceph 14.2.18 GA
* Thu Mar 11 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.17-1
- ceph 14.2.17 GA
* Tue Feb 2 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.16-2
- ceph 14.2.16 w/ system rocksdb, w/ npm
* Wed Dec 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.16-1
- ceph 14.2.16 GA
* Tue Nov 24 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.15-1
- ceph 14.2.15 GA
* Thu Nov 19 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.14-1
- ceph 14.2.14 GA
* Fri Nov 6 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.13-2
- ceph 14.2.13 python-enum34
* Mon Nov 2 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.13-1
- ceph 14.2.13 GA
* Tue Oct 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.12-1
- ceph 14.2.12 GA
* Tue Aug 11 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.11-1
- ceph 14.2.11 GA
* Fri Jun 26 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.10-1
- ceph 14.2.10 GA
* Tue May 26 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.9-2
- ceph 14.2.9, /w system gtest, gmock, or would be if it was new enough
thus disabling as the bundled gtest, etc. result in a build that doesn't
install.
* Tue Apr 21 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.9-1
- ceph 14.2.9 GA, resync w/ upstream ceph.spec(.in)
+1 -1
View File
@@ -1 +1 @@
SHA512 (ceph-14.2.9.tar.gz) = 0a26372d0037c32fe1d24be880e272fcce5089b02adfb0e791e0406155f6e66c913fa43762028f49c1fa3f30c6c8d819c521dd11702a37cc7040dfd3097c068e
SHA512 (ceph-14.2.21.tar.gz) = 39b4a0624dcab2bafa50f51a42155fcf96dad74531a001d75009ad246a8ca80ce81ae538b34c0a1b773691c363626f1d0342f2439b711bd0dd16214592171884