summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #54742 from guits/node-proxyAdam King2024-01-311-0/+16
|\ \ \ | | | | | | | | | | | | | | | | orch: implement hardware monitoring Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
| * | | node-proxy: add packaging related changesGuillaume Abrioux2024-01-251-0/+16
| |/ / | | | | | | | | | | | | | | | This adds the required changes to build an RPM of node-proxy. Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
* | | vstart: add nvmeof_gw to the vstart scriptNizamudeen A2024-01-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that it can be later used by the dashboard to configure the nvmeof through UI and create rbd pool in UI Fixes: https://tracker.ceph.com/issues/64201 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | mgr/dashboard: adapt to new nvmeof APIsNizamudeen A2024-01-301-0/+2
| |/ |/| | | | | | | Fixes: https://tracker.ceph.com/issues/64201 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | ceph-volume: use 'no workqueue' options with dmcryptGuillaume Abrioux2024-01-261-0/+1
|/ | | | | | | | | | | | | | | | | CloudFlare engineers made some testing and realized that using workqueues with encryption on flash devices has a bad effect. See [1] for details. With this patch it will make ceph-volume call crypsetup with `--perf-no_read_workqueue` and `--perf-no_write_workqueue` options when the device is not a rotational. [1] https://blog.cloudflare.com/speeding-up-linux-disk-encryption/ Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com> Co-Authored-by: Stefan Kooman <stefan@kooman.org> Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
* Merge pull request #54935 from yuvalif/wip-yuval-return-lua-develYuval Lifshitz2023-12-191-0/+1
|\ | | | | | | | | build/rgw/lua: return lua-devel runtime dependency reviewed-by: cbodley
| * build/rgw/lua: return lua-devel runtime dependencyYuval Lifshitz2023-12-171-0/+1
| | | | | | | | | | | | | | reverting: b0a77a53ab86b9b24a2cfb46049957d40a8c80aa after sepia lab issue is resolved Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
* | Merge pull request #54710 from kalaspuffar/replace_jwt_with_pure_pythonNizamudeen A2023-12-191-4/+0
|\ \ | |/ |/| | | | | | | | | | | mgr/dashboard: Simplify authentication protocol Reviewed-by: Fabian-Gruenbichler <NOT@FOUND> Reviewed-by: Avan Thakkar <athakkar@redhat.com> Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * mgr/dashboard: Changes suggested after review by @epuertat.Daniel Persson2023-12-131-4/+0
| | | | | | | | | | | | Move the JWT requirement to the test requirements file. Also remove JWT from ceph specification and debian build. Signed-off-by: Daniel Persson <mailto.woden@gmail.com>
* | Merge pull request #51732 from andreas-schwab/mainKefu Chai2023-12-151-1/+1
|\ \ | | | | | | | | | | | | | | | ceph.spec.in: enable build on riscv64 for openSUSE Factory Reviewed-by: Tim Serong <tserong@suse.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * | ceph.spec.in: enable build on riscv64 for openSUSE FactoryAndreas Schwab2023-05-241-1/+1
| | | | | | | | | | | | Signed-off-by: Andreas Schwab <schwab@suse.de>
* | | Merge PR #54726 into mainPatrick Donnelly2023-12-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/54726/head: PendingReleaseNotes: announce cephfs-shell avail. on rhel9 qa: test fs:shell on all distros qa: add cephfs-shell to installed rpm packages ceph.spec.in: enable support for cephfs-shell by default via EPEL9 Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
| * | | ceph.spec.in: enable support for cephfs-shell by default via EPEL9Patrick Donnelly2023-11-301-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The required packages [1,2] are now at the right version and readily available. [1] https://packages.fedoraproject.org/pkgs/python-cmd2/python3-cmd2/epel-9.html [2] https://packages.fedoraproject.org/pkgs/python-colorama/python3-colorama/epel-9.html Fixes: https://tracker.ceph.com/issues/43393 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* / | build/rgw/lua: remove lua-devel as a runtime dependencyYuval Lifshitz2023-12-101-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | this is due to the fact that lua-devel cannot be installed in teuthology for rhel8 this would fail the build of some luarocks packages Fixes: https://tracker.ceph.com/issues/63672 Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
* | rgw/test/lua: add lua integration tests suiteYuval Lifshitz2023-11-231-1/+2
| | | | | | | | | | | | Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com> Fixes: https://tracker.ceph.com/issues/63616
* | ceph.spec.in: add build conditions to control cephadm bundlingJohn Mulligan2023-11-061-1/+19
| | | | | | | | | | | | | | Add two conditions to either disable bundling or switch to rpm based depdencies. The default is to bundle deps from pip. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | Merge pull request #52933 from dang/wip-dang-posix-driverDaniel Gryniewicz2023-09-151-0/+1
|\ \ | | | | | | | | | | | | | | | RGW - Add POSIX Driver Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
| * | RGW - Add POSIX DriverDaniel Gryniewicz2023-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the MVP for a driver for RGW that operates on top of a POSIX filesystem. It supports get, put, list, copy, multipart, external access via the filesystem itself, and ordered bucket listings via an LRU-based cache. Note that this is currently a Filter, indended to run on top of dbstore. This is because it currently doesn't have any User implementation, so it depends on dbstore's User. Everything else is implemented in POSIXDriver. Once there is a User implementation, this will become a Store, instead of a Filter. Commit messages from bucket listing cache: rgw/posixdriver: recycle lmdb database handles as required While LMDB workflows often do not close/return database handles, ours continually reuses them. This requires us to close each handle (atomically) when a cache entry is recycled. rgw/posixdriver: don't instantiate bucket cache entries from notify events rgw/posixdriver: incorporate lmdb-safe for now The current inclusion is based on https://github.com/Martchus/lmdb-safe, which is actively maintained but currently has some packaging issues the author has agreed to accept fixes for. For now, skip the submodule to save time and remove an external dependency. rgw/posixdriver: fix listing of cached, empty bucket * check lmdb enumeration result in all cases and w/better style * add unit test for enumeration of an empty cached directory rgw/posixdriver: nest lmdbs in a directory under the dbroot path to avoid cleanup issues rgw/posixdriver: refactor for posix integration * Derive BucketCache types as templates on a SAL driver and SAL bucket pair. * Integrate cache fills as callbacks into SAL layer (or mock, for tests) * Renaming and cleanups rgw/posixdriver: add bucket cache implementation and tests Adds free-standing cache of buckets and object names, with bucket names (and listing attributes, upcoming) managed in a hashed set of lmdb databases, which provides ordering and a high-performance listing cache. An framework for notification on new object creation (e.g., outside S3 workflow) is provided, and a Linux implementation using inotify. FindLMDB.cmake taken with attribution and license. rgw/posixdriver: add zpp_bits serialization (FAST) Signed-off-by: Daniel Gryniewicz <dang@redhat.com> Signed-off-by: Ali Maredia <amaredia@redhat.com> Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
* | | rgw: enhances rgw-restore-bucket-index scriptJ. Eric Ivancich2023-08-301-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enhances the script to both process versioned buckets correctly and to handle object names that begin with underscore. If the bucket is versioned it submits each version chronologically (based on mtime) to be reindexed in order to "replay" the modification of objects. However mtime is not a perfect indicator. So additionally it looks at the OLH object to determine the most recent version and the script makes sure that it is replayed last. The order of previous versions is likely correct, but not guaranteed to be so. Additional logic is added to handle objects with names that begin with underscore ('_') since that's used as a delimiter and needs to be escaped and rados object locators are also used. A man page for the script is added. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* | ceph.spec.in: add sanitizers to seastar requiresMatan Breizman2023-08-061-2/+0
| | | | | | | | | | | | | | | | | | ``` CMake Error at src/seastar/CMakeLists.txt:782 (message): Sanitizers not found! ``` Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* | ceph.spec.in: add support for openEuler OSliuqinfei2023-06-251-47/+50
|/ | | | | | | | | | | The ceph main branch daily build on openEuler has been built. https://github.com/openeuler-mirror/ceph-daily-build The verification includes: - build ceph from source - run unit test - build RPM package Signed-off-by: liuqinfei <lucas.liuqinfei@huawei.com>
* rgw: install rgw scripts with common files rather than radosgw filesJ. Eric Ivancich2023-03-151-4/+4
| | | | | | | | Update ceph.spec.in and debian install files so rgw-restore-bucket-index, rgw-orphan-list, rgw-gap-list, rgw-gap-list-comparator are installed with common files. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* rgw: add rgw-restore-bucket-indexJ. Eric Ivancich2023-03-091-0/+1
| | | | | | | | | | Adds an experimental script that allows a bucket index of a non-versioned bucket to be restored by applying `radosgw-admin object reindex ...` to all objects in the specified bucket. The objects in the bucket are determined by scanning the data pool for head objects containing the bucket's marker. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* mgr/rgw: adding mgr rgw module to ceph imageRedouane Kachach2023-02-271-0/+1
| | | | | | Fixes: https://tracker.ceph.com/issues/58856 Signed-off-by: Redouane Kachach <rkachach@redhat.com>
* rpm: use system arrow packages for fedora/centos9Casey Bodley2023-01-251-0/+6
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rpm: combine system_utf8proc option into system_arrowCasey Bodley2023-01-251-5/+0
| | | | | | | libarrow-devel depends on utf8proc-devel, so we can't enable system_arrow without system_utf8proc Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rpm: fix package names for arrow/parquetCasey Bodley2023-01-251-2/+2
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* ceph.spec.in: Replace %usrmerged macro with regular version checkTim Serong2023-01-191-2/+2
| | | | | | | | %usrmerged is deprecated in favour of %if 0%{?suse_version} < 1550 (see https://en.opensuse.org/openSUSE:Usr_merge for details) Fixes: https://tracker.ceph.com/issues/58501 Signed-off-by: Tim Serong <tserong@suse.com>
* Merge pull request #49712 from tchaikov/wip-packaging-in-setuptoolsLaura Flores2023-01-121-0/+1
|\ | | | | mgr/prometheus: use vendored "packaging" instead
| * mgr/prometheus: use vendored "packaging" insteadKefu Chai2023-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of using the top-level "packaging" module, use the one vendored by setuptools. packaging python module provides versioning defined by PEP-440. but python3-packaging is provided by CentOS8 powertools repo, which is not enabled by default. and in CentOS9, this package is provided by AppStream instead of BaseOS. as prometheus mgr module is included by ceph-mgr-module-core, it would be desirable if our user can install ceph-mgr-module-core without enabling powertools or AppStream repo on a CentOS or its derivative distros. fortunately, setuptools vendors packaging module. and both CentOS8 and CentOS9 provide python3-setuptools in their BaseOS repos. in this change, instead of using "packging" module, we use the venderored one, which is in turn embedded in pkg_resources. this python module is provided by python3-setuptools on CentOS distros, and python3-pkg-resources on Debian and its derivatives. the packaging recipes are updated accordingly to reflect the new runtime dependency. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | ceph.spec.in: remove the bcond_without cephfs_java optionSamuel Just2023-01-111-1/+0
|/ | | | | | | | This effectively disable cephfs_java for rpm builds for now. The only user appears to be cephfs jni bindings. Fixes: https://tracker.ceph.com/issues/58382 Signed-off-by: Samuel Just <sjust@redhat.com>
* rgw: added rgw-policy-checkMarcus Watts2022-12-131-0/+2
| | | | | | | | | | | | | | | | | | rgw-policy-check - a program to do syntax checking on bucket policy. This program just reads the policy into memory, so it is not checking anything except syntax. Signed-off-by: Marcus Watts <mwatts@redhat.com> rgw: Fix return value of `rgw-policy-check` Signed-off-by: Adam C. Emerson <aemerson@redhat.com> rgw: Use ceph initialization in `rgw-policy-check` Specifically so we can pull in the options from `ceph.conf` and similar. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* ceph.spec.in: disable system_pmdk on s390x for SUSE distrosTim Serong2022-10-131-0/+4
| | | | | Fixes: https://tracker.ceph.com/issues/57860 Signed-off-by: Tim Serong <tserong@suse.com>
* blk/kernel: add plugin system for devices with compression and move VDO ↵Martin Ohmacht2022-09-281-0/+3
| | | | | | | | | | | | support into plugin The current VDO support implementation is buried inside the common/blkdev.cc with a simple interface used by KernelDevice. It is not easily extendable and can not be easily used for other devices providing similar capabilities. This patch adds a plugin system that is based in its structure on the erasure code plugin system and moves the VDO support code into a VDO plugin. Signed-off-by: Martin Ohmacht <mohmacht@us.ibm.com>
* Merge PR #47153 into mainKen Dreyer2022-09-261-0/+1
|\ | | | | | | | | | | | | | | * refs/pull/47153/head: build: fix atomic linking with LTO on s390x Reviewed-by: Justin Caratzas <jcaratza@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * build: fix atomic linking with LTO on s390xKen Dreyer2022-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, Fedora and RHEL 9 on s390x would incorrectly pass the HAVE_CXX11_ATOMIC check. As a consequence, the rest of Ceph would fail to link because of missing atomic methods "__atomic_load_16", "__atomic_store_16", "__atomic_compare_exchange_16". Mark this method so that it is not optimized out, even with LTO. With this change, s390x properly fails HAVE_CXX11_ATOMIC and falls back to HAVE_LIBATOMIC. Move the "BuildRequires: libatomic" RPM line out from the seastar+fedora conditional and into the main fedora+rhel conditional so that the HAVE_LIBATOMIC check will pass. Fixes: https://tracker.ceph.com/issues/54514 Fixes: https://tracker.ceph.com/issues/56492 Co-authored-by: Kaleb S. Keithley <kkeithle@redhat.com> Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
* | rpm, debian: use cmake to install the cephadm binaryMichael Fritch2022-09-131-1/+0
| | | | | | | | Signed-off-by: Michael Fritch <mfritch@suse.com>
* | ceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.xTim Serong2022-09-121-1/+8
| | | | | | | | | | | | Fixes: 80949babab4aac86647ce9973f6b44adb92fae95 Fixes: https://tracker.ceph.com/issues/57497 Signed-off-by: Tim Serong <tserong@suse.com>
* | ceph-mixin: Remove jsonnet buildingAswin Toni2022-08-171-0/+2
| | | | | | | | Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
* | Merge pull request #47548 from cbodley/wip-57073Kefu Chai2022-08-111-2/+0
|\ \ | | | | | | | | | | | | install-deps: fix centos 8's use of gcc-toolset-11 Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * | ceph.spec.in: install gcc-toolset-11-libatomic-devel in x86_64 alsoCasey Bodley2022-08-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise after enabling gcc-toolset-11, cmake fails with: - Performing Test HAVE_LIBATOMIC - Failed CMake Error at cmake/modules/CheckCxxAtomic.cmake:66 (message): Host compiler /opt/rh/gcc-toolset-11/root/usr/bin/g++ requires libatomic, but it is not found Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | ceph.spec.in: disable system_pmdk on aarch64David Galloway2022-08-101-1/+1
|/ / | | | | | | Signed-off-by: David Galloway <dgallowa@redhat.com>
* | ceph.spec.in: always use stock compiler on el9Kefu Chai2022-08-101-5/+5
| | | | | | | | | | | | | | as RHEL/CentOS 9, we have the access to GCC-11, which is good enough for compiling main HEAD even with WITH_SEASTAR=ON. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | ceph.spec.in: define %gts_prefixKefu Chai2022-08-101-7/+8
| | | | | | | | | | | | less repeatings this way, also allow maintainer to use other version of GTS. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | ceph.spec.in: %enable_devtoolset11 only if the macro is definedKefu Chai2022-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | there is chance that we are using `yum-builddep` to prepare the build dependencies. in that case, gcc-toolset-11-build is not installed. it's like a chicken-egg dilemma, but the point is `yum-builddep` is able to pull in the gcc-toolset-11-build. once gcc-toolset-11-build is installed, we will have the %enable_devtoolset11 rpm macro. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | Merge pull request #47504 from cbodley/wip-57050Casey Bodley2022-08-091-3/+0
|\ \ | | | | | | | | | | | | rgw/cmake: stop building all of radosgw a shared lib Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
| * | rgw/cmake: stop building all of radosgw a shared libCasey Bodley2022-08-081-3/+0
| | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/57050 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | Merge pull request #47500 from tchaikov/wip-no-more-distutilsKefu Chai2022-08-091-0/+1
|\ \ \ | | | | | | | | | | | | | | | | pybind/mgr/dashboard: do not use distutils.version.StrictVersion Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
| * | | pybind/mgr/dashboard: do not use distutils.version.StrictVersionKefu Chai2022-08-091-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace `distutils.version.StrictVersion` with `pkg_resources.parse_version()` as the former is deprecated, see https://peps.python.org/pep-0632/. let's use `pkg_resources` instead. this change also addresses https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010894. we have this issue when testing with an ubuntu jammy test node. see https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* / / ceph.spec.in: add libatomic to BuildRequires on fedoraKefu Chai2022-08-081-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise we'd have failures like /opt/compiler-explorer/gcc-trunk-20220808/bin/../lib/gcc/x86_64-linux-gnu/13.0.0/../../../../x86_64-linux-gnu/bin/ld: /tmp/ccVlMbVh.o: in function `std::atomic<tagged_ptr>::store(tagged_ptr, std::memory_order)': /opt/compiler-explorer/gcc-trunk-20220808/include/c++/13.0.0/atomic:273: undefined reference to `__atomic_store_16' when generating the building system using CMake on fedora 36. Signed-off-by: Kefu Chai <tchaikov@gmail.com>