summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rpm: Add cephfs.pc to libcephfs-develAnoop C S2024-12-161-0/+1
| | | | Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
* Merge PR #58376 into mainVenky Shankar2024-12-131-0/+34
|\ | | | | | | | | | | | | | | | | | | | | | | * refs/pull/58376/head: Temporarily change the libcephfs dependencies proxy: Add the design document proxy: Add the proxy to the deb builds proxy: Add the proxy to the rpm builds Initial version of the libcephfs proxy Reviewed-by: Sachin Prabhu <sp@spui.uk> Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * Temporarily change the libcephfs dependenciesXavi Hernandez2024-09-261-0/+1
| | | | | | | | | | | | | | This is temporarily required for building a container image, but it will be removed before merging. Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
| * proxy: Add the proxy to the rpm buildsXavi Hernandez2024-09-261-0/+33
| | | | | | | | Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
* | ceph.spec.in: Add option to enable sccacheZack Cerza2024-11-071-0/+4
| | | | | | | | Signed-off-by: Zack Cerza <zack@redhat.com>
* | Merge pull request #60577 from zmc/rpm-dwz-toggleZack Cerza2024-11-041-0/+6
|\ \
| * | ceph.spec.in: Add an option to disable dwzZack Cerza2024-11-011-0/+6
| |/ | | | | | | | | | | | | We disabled dwz in 2017, then re-enabled it in 2021. In my tests I observe dwz adding about 50% to build times in exchange for 33% space-saving. Signed-off-by: Zack Cerza <zack@redhat.com>
* | mgr/zabbix: remove deprecated moduleErnesto Puerta2024-10-281-1/+0
| | | | | | | | | | | | | | | | This (already deprecated) module is removed as a side-effect of the deprecation and removal of the `restful` module. Fixes: https://tracker.ceph.com/issues/47066 Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
* | mgr/restful: remove deprecated moduleErnesto Puerta2024-10-281-8/+0
|/ | | | | | | | | | | | | Detailed changes: * Remove `restful` mgr module dir, * Remove Python depedencies (`pecan`, `werkzeug`) from ceph.spec and debian control, * Remove docs, * Remove associated QA tests, * Update vstart. Fixes: https://tracker.ceph.com/issues/47066 Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
* Merge pull request #59858 from anoopcs9/fix-unversioned-obsoletesVenky Shankar2024-09-241-1/+1
|\ | | | | | | | | ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warning Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warningAnoop C S2024-09-181-1/+1
| | | | | | | | | | | | | | | | | | Fix the following warning while building source rpm with `rpmbuild`: warning: line 1187: It's not recommended to have unversioned Obsoletes: Obsoletes: ceph-libcephfs Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
* | Merge pull request #59640 from kshtsk/wip-jsonnetfmt-command-not-foundKefu Chai2024-09-241-1/+1
|\ \ | |/ |/| | | | | | | ceph.spec.in: we need jsonnet for all distroes for make check Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * ceph.spec.in: we need jsonnet for all distroes for make checkKyr Shatskyy2024-09-061-1/+1
| | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/67938 Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
* | librbd/migration: add nbd streamEffi Ofer2024-09-061-0/+1
|/ | | | | | Co-authored-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Effi Ofer <effio@il.ibm.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
* Merge pull request #58336 from Svelar/uadkCasey Bodley2024-08-231-1/+1
|\ | | | | | | | | | | | | Compressor: add UADK support Reviewed-by: Brad Hubbard <bhubbard@redhat.com> Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
| * uadk: move numactl dependencyRongqi Sun2024-08-121-1/+1
| | | | | | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* | Merge pull request #59204 from tchaikov/wip-ceph-volume-depsGuillaume Abrioux2024-08-221-1/+0
|\ \ | | | | | | ceph-volume: add "packaging" to install_requires
| * | ceph-volume: add "packaging" to install_requiresKefu Chai2024-08-141-1/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in 0985e201, "packaging" was introduced as a runtime dependency of ceph-volume, and `ceph.spec.in` was updated accordingly to note this new dependency. but the debian packaging was not updated. in 80edcd40, the missing dependency was added to debian/control as one of ceph-volume's runtime dependency. but dh_python3 is able to figure out the dependencies by reading the egg's metadata of the ceph-volume python module. and as a python project, ceph-volume is using its `setup.py` for tracking its dependencies. so in order to be more consistent, and keep all of its dependencies in one place, let's move this dependency to setup.py . as the packagings in both distros are able to figure the dependencies from egg-info. see also - https://manpages.debian.org/testing/dh-python/dh_python3.1.en.html#dependencies - https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/#_automatically_generated_dependencies Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* / ceph.spec.in: spec files commentsMatan Breizman2024-08-141-2/+4
|/ | | | | | | | | | | ``` RPM build errors: extra tokens at the end of %else directive in line 118: %else # not fedora/rhel extra tokens at the end of %else directive in line 121: %else # not x86_64 ``` Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* mon: add NVMe-oF gateway monitor and HALeonid Chernin2024-07-311-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | - gateway submodule Fixes: https://tracker.ceph.com/issues/64777 This PR adds high availability support for the nvmeof Ceph service. High availability means that even in the case that a certain GW is down, there will be another available path for the initiator to be able to continue the IO through another GW. High availability is achieved by running nvmeof service consisting of at least 2 nvmeof GWs in the Ceph cluster. Every GW will be seen by the host (initiator) as a separate path to the nvme namespaces (volumes). The implementation consists of the following main modules: - NVMeofGWMon - a PaxosService. It is a monitor that tracks the status of the nvmeof running services, and take actions in case that services fail, and in case services restored. - NVMeofGwMonitorClient – It is an agent that is running as a part of each nvmeof GW. It is sending beacons to the monitor to signal that the GW is alive. As a part of the beacon, the client also sends information about the service. This information is used by the monitor to take decisions and perform some operations. - MNVMeofGwBeacon – It is a structure used by the client and the monitor to send/recv the beacons. - MNVMeofGwMap – The map is tracking the nvmeof GWs status. It also defines what should be the new role of every GW. So in the events of GWs go down or GWs restored, the map will reflect the new role of each GW resulted by these events. The map is distributed to the NVMeofGwMonitorClient on each GW, and it knows to update the GW with the required changes. It is also adding 3 new mon commands: - nvme-gw create - nvme-gw delete - nvme-gw show The commands are used by the ceph adm to update the monitor that a new GW is deployed. The monitor will update the map accordingly and will start tracking this GW until it is deleted. Signed-off-by: Leonid Chernin <lechernin@gmail.com> Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
* ceph.spec.in: remove setuptools dependencyKefu Chai2024-06-021-1/+0
| | | | | | | | | | in 844b66de, we stopped using pkg_resources for import packaging. and the exact reason why we introduced pkg_resources was for using the packaging python module, see cf608920. so, let's partially revert cf608920. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* mgr/prometheus: s/pkg_resources.packaging/packaging/Kefu Chai2024-05-251-0/+1
| | | | | | | | | | | | | instead of relying on the internal implementation of pkg_resources, let's import packaging directly. in this change, we also add the dependency to the packaging module in the packaging recipes. See also https://github.com/pypa/setuptools/issues/4385 Fixes https://tracker.ceph.com/issues/66201 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* Merge pull request #57145 from ktdreyer/rm-dashboard-werkzeugNizamudeen A2024-05-031-1/+0
|\ | | | | | | | | | | ceph.spec.in: ceph-mgr-dashboard does not require werkzeug Reviewed-by: Nizamudeen A <nia@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * ceph.spec.in: ceph-mgr-dashboard does not require werkzeugKen Dreyer2024-04-301-1/+0
| | | | | | | | | | | | | | | | | | | | Nothing in the dashboard codebase imports werkzeug. It appears this was leftover from the time when the dashboard was packaged with the rest of the mgr modules. Fixes: https://tracker.ceph.com/issues/65693 Signed-off-by: Ken Dreyer <kdreyer@ibm.com>
* | ceph.spec.in: add smb module and python-dataclasses dependencyJohn Mulligan2024-04-261-0/+6
|/ | | | | | | | The only distro ceph squid+ is building for at the moment that does not already have a python version that includes dataclasses is centos/rhel 8. Add a dependency for the backport package on rhel8. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* Merge pull request #56067 from myoungwon/wip-ceph-dedup-daemonYuri Weinstein2024-04-241-0/+1
|\ | | | | | | | | | | tool: separating ceph-dedup-tool into tool and daemon Reviewed-by: Samuel Just <sjust@redhat.com>
| * tool/ceph_dedup: split ceph_dedup_tool into ceph_dedup_tool and ↵myoungwon oh2024-03-111-0/+1
| | | | | | | | | | | | ceph_dedup_daemon Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
* | Merge pull request #54979 from pdvian/wip-mgr-optrackerLaura Flores2024-04-241-0/+1
|\ \ | | | | | | mgr: integrate optracker in ceph-mgr
| * | mgr: integrate optracker in ceph-mgrPrashant D2024-03-251-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Prashant D <pdhange@redhat.com> Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
* | | ceph.spec.in: remove command-with-macro lineJohn Mulligan2024-03-291-1/+0
|/ / | | | | | | | | | | | | | | | | A comment clearly left as a breadcrumb for a node-proxy manpage is causing (intermittent) build failures. Remove the line and hope the manpage is added if/when appropriate. Fixes: 0dd73643649ddc2366e60de4fe6c078b6e112091 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | Merge pull request #55886 from tchaikov/wip-ceph.spec-gcc-13Samuel Just2024-03-211-16/+49
|\ \ | | | | | | | | | | | | | | | ceph.spec.in: bump gcc-toolset to 13 and use it on rhel>=8 Reviewed-by: Samuel Just <sjust@redhat.com> Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * | ceph.spec.in: use gcc-toolset when with seastar or rhel 8Kefu Chai2024-03-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | both RHEL8 and RHEL9 have gcc-toolset 13, and we need to use gts-13 for building crimson, so let's enable it when building crimson, and we need to use gts-11 when building on RHEL7. hence this change. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
| * | ceph.spec.in: use gcc-toolset 13 for crimson buildKefu Chai2024-03-111-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since gts 13 is out, and GCC-13 brings better support of C++20 coroutines, and because clang prefers using a newer gts when its gcc is around. so let's bump up the gcc-toolset from 11 to 13 when building crimson. because gcc-toolset-13 LTO triggers a linker bug resulting in a segfault in SafeTimer, see https://tracker.ceph.com/issues/63867 , we cannot switch the classic build to gts 13 without proving that it does not incur performance regressions. since annobin plugin package was renamed to gcc-toolset-13-gcc-plugin-annobin, let's update its name accordingly. and use -runtime subpackage instead of -build, as macros.gcc-toolset-13-enable is now located in -runtime subpackage since devtoolset12 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
| * | ceph.spec.in: disable lto to work around gcc-toolset-13 linker bugSamuel Just2024-03-111-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc-toolset-13 lto can trigger a linker bug resulting in a segfault in SafeTimer (and perhaps elsewhere). See https://tracker.ceph.com/issues/63867 for details. This patch disables lto for now now so that we can switch to gcc-toolset-13. Fixes: https://tracker.ceph.com/issues/63867 Signed-off-by: Samuel Just <sjust@redhat.com>
| * | ceph.spec.in: set `CMAKE_EXE_LINKER_FLAGS` to `-lstdc++`Kefu Chai2024-03-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because the gcc-toolset-13 always links against the `libstdc++_nonshared.a`, which misses the simple symbols. so we have to link against libstdc++ explicitly to assure that the executables have access to them when compiling with the gcc-toolset toolchain. see ``` /opt/rh/gcc-toolset-13/root/usr/bin/c++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -pie CMakeFiles/ceph_scratchtool.dir/scratchtool.c.o -o ../../bin/ceph_scratchtool -Wl,-rpath,/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.0.0-1977-gb0c1f7e8/rpm/el9/BUILD/ceph-19.0.0-1977-gb0c1f7e8/redhat-linux-build/lib: ../../lib/librados.so.2.0.0 ../../lib/libglobal.a ../../lib/libceph-common.so.2 ../../lib/libjson_spirit.a ../../lib/libcommon_utf8.a ../../lib/liberasure_code.a ../../lib/libextblkdev.a -lcap ../../boost/lib/libboost_thread.a ../../boost/lib/libboost_chrono.a ../../boost/lib/libboost_atomic.a ../../boost/lib/libboost_system.a ../../boost/lib/libboost_random.a ../../boost/lib/libboost_program_options.a ../../boost/lib/libboost_date_time.a ../../boost/lib/libboost_iostreams.a ../../boost/lib/libboost_regex.a /usr/lib64/libblkid.so /usr/lib64/libcrypto.so /usr/lib64/libudev.so /usr/lib64/libibverbs.so /usr/lib64/librdmacm.so /usr/lib64/libz.so ../opentelemetry-cpp/sdk/src/trace/libopentelemetry_trace.a ../opentelemetry-cpp/sdk/src/resource/libopentelemetry_resources.a ../opentelemetry-cpp/sdk/src/common/libopentelemetry_common.a ../opentelemetry-cpp/exporters/jaeger/libopentelemetry_exporter_jaeger_trace.a ../opentelemetry-cpp/ext/src/http/client/curl/libopentelemetry_http_client_curl.a /usr/lib64/libcurl.so /usr/lib64/libthrift.so -ldl /usr/lib64/librt.a -lresolv -Wl,--as-needed -latomic /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/libstdc++_nonshared.a(ios_init.o): undefined reference to symbol '_ZNSt8ios_base4InitD1Ev@@GLIBCXX_3.4' /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line ``` this change prepares us for switching to gts-13. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
| * | ceph.spec.in: use gts_version instead of gts_prefixKefu Chai2024-03-111-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | since we are going to use different gcc-toolset versions on rhel8 and on rhel9, and the subpackage names of gcc-toolset changed across gts 11 and gts 13, let's prepare for this change. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | | Merge pull request #55409 from cybozu/add-ceph-exporter-to-deb-packageYuri Weinstein2024-03-201-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | debian: add ceph-exporter package Reviewed-by: Kefu Chai <tchaikov@gmail.com> Reviewed-by: Avan Thakkar <athakkar@redhat.com> Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
| * | | systemd: add systemd unit file for ceph-exporterShinya Hayashi2024-03-061-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
* | | | Merge pull request #56203 from athanatos/sjust/wip-protoc-dependenciesDan Mick2024-03-201-0/+3
|\ \ \ \ | | | | | | | | | | crimson: add crimson-osd rpm and deb runtime dependencies for protobuf inherited from seastar
| * | | | ceph.spec.in: add runtime protobuf dependency for crimson-osd inherited from ↵Samuel Just2024-03-141-0/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | seastar Signed-off-by: Samuel Just <sjust@redhat.com>
* | | | Merge pull request #55615 from rhcs-dashboard/grafana-mount-dashboardsAdam King2024-03-191-0/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | mgr/cephadm: mount grafana dashboards from the path Reviewed-by: Adam King <adking@redhat.com> Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
| * | | mgr/cephadm: mount grafana dashboards from the pathNizamudeen A2024-03-081-0/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | For this, the grafana dashboards are installed directly to the containers and later, cephadm picks it up to mount the dashboards to the grafana container Signed-off-by: Nizamudeen A <nia@redhat.com>
* / | rpm: disable system_qat for non-x86_64 archCasey Bodley2024-03-061-1/+6
|/ / | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/64678 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | rpm: add system_qat option, default on for centos9Casey Bodley2024-02-071-0/+13
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | Merge pull request #55444 from Matan-B/wip-crimson-seastar-upgradeMatan Breizman2024-02-071-0/+2
|\ \ | | | | | | | | | | | | Crimson: bump up seastar version Reviewed-by: Samuel Just <sjust@redhat.com>
| * | ceph.spec.in: crimson add protobufMatan Breizman2024-02-061-0/+2
| | | | | | | | | | | | | | | | | | Following https://github.com/scylladb/seastar/commit/eea4102091bb4d689e0b5a769512966b716ee8a2 Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* | | Merge pull request #55054 from pereman2/zns-removeAdam Kupczyk2024-02-061-7/+0
|\ \ \ | |/ / |/| | | | | os/bluestore: remove zoned namespace support It has never been finished and now its in the way of future improvements.
| * | os/bluestore: remove zoned from crimsonPere Diaz Bou2024-01-091-7/+0
| | | | | | | | | | | | Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
* | | Merge pull request #55330 from baum/centos9-install-build-depsbaum2024-02-021-0/+1
|\ \ \ | | | | | | | | 🧹build dependencies: centos9
| * | | build dependencies: centos9Alexander Indenbaum2024-01-261-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ceph.spec.in: declare git as build dependency - install-deps.sh: enable CRB repo Test procedure: docker run --rm -ti -v /home/baum/ceph-ci:/home/ceph quay.io/centos/centos:stream9 bash [root@a3c4b1545e93 /]# cd /home/ceph/ [root@a3c4b1545e93 ceph]# ./install-deps.sh 2>&1 tee install-deps.log Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>