]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
17 months agoMerge pull request #55411 from rishabh-d-dave/qa-cephfs-caps_helper
Rishabh Dave [Fri, 9 Feb 2024 06:50:13 +0000 (12:20 +0530)]
Merge pull request #55411 from rishabh-d-dave/qa-cephfs-caps_helper

qa/cephfs: declare f-string to get values to substitute variable names

Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge PR #55493 into main
Venky Shankar [Fri, 9 Feb 2024 04:33:08 +0000 (10:03 +0530)]
Merge PR #55493 into main

* refs/pull/55493/head:
client: remove unused/undefined fake_write_size()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge pull request #55499 from cbodley/wip-squid-deprecate-blkin
Casey Bodley [Thu, 8 Feb 2024 22:14:54 +0000 (22:14 +0000)]
Merge pull request #55499 from cbodley/wip-squid-deprecate-blkin

doc: deprecate blkin tracing

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agoMerge pull request #55332 from athanatos/sjust/wip-crush-multi-choose
Radoslaw Zarzynski [Thu, 8 Feb 2024 21:56:55 +0000 (22:56 +0100)]
Merge pull request #55332 from athanatos/sjust/wip-crush-multi-choose

crush: add multistep retry rules

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
17 months agoMerge pull request #54624 from cbodley/wip-cmake-qat
Casey Bodley [Thu, 8 Feb 2024 21:13:52 +0000 (21:13 +0000)]
Merge pull request #54624 from cbodley/wip-cmake-qat

cmake: add ExternalProjects to enable QAT by default

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55490 from eroldan/patch-2
zdover23 [Thu, 8 Feb 2024 19:38:48 +0000 (05:38 +1000)]
Merge pull request #55490 from eroldan/patch-2

doc/start: fix typo in hw-recs

Reviewed-by: Zac Dover <zac.dover@proton.me>
17 months agodoc:start.rst fix typo in hw-recs 55490/head
Eduardo Roldan [Thu, 8 Feb 2024 06:40:21 +0000 (03:40 -0300)]
doc:start.rst fix typo in hw-recs

s/power less/power loss/

Signed-off-by: Eduardo Roldan <trazor@gmail.com>
17 months agodoc: deprecate blkin tracing 55499/head
Casey Bodley [Thu, 8 Feb 2024 15:56:03 +0000 (10:56 -0500)]
doc: deprecate blkin tracing

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55267 from athos-ribeiro/cmake-empty-submodules
Kefu Chai [Thu, 8 Feb 2024 15:14:09 +0000 (23:14 +0800)]
Merge pull request #55267 from athos-ribeiro/cmake-empty-submodules

cmake: quote variable to allow empty values

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55398 from ifed01/wip-ifed-fix-ceph-vol-migrate-wal
Guillaume Abrioux [Thu, 8 Feb 2024 14:26:38 +0000 (15:26 +0100)]
Merge pull request #55398 from ifed01/wip-ifed-fix-ceph-vol-migrate-wal

ceph-volume: Fix migration from WAL to data with no DB

17 months agoclient: remove unused/undefined fake_write_size() 55493/head
Dhairya Parmar [Thu, 8 Feb 2024 12:28:42 +0000 (17:58 +0530)]
client: remove unused/undefined fake_write_size()

there are no usages of this function in entire codebase

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
17 months agoMerge pull request #55416 from ivoalmeida/snapshot-schedule-edit
Ivo Almeida [Thu, 8 Feb 2024 08:51:46 +0000 (05:51 -0300)]
Merge pull request #55416 from ivoalmeida/snapshot-schedule-edit

mgr/dashboard: added edit functionality

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55465 from neesingh-rh/wip-63991
Venky Shankar [Thu, 8 Feb 2024 05:31:04 +0000 (11:01 +0530)]
Merge pull request #55465 from neesingh-rh/wip-63991

doc: add description of metric fields for cephfs-top

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge pull request #55479 from ronen-fr/wip-rf-fifolegacy
Casey Bodley [Wed, 7 Feb 2024 20:47:23 +0000 (20:47 +0000)]
Merge pull request #55479 from ronen-fr/wip-rf-fifolegacy

rgw: mark maybe_unused variables

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55475 from zdover23/wip-doc-2024-02-07-radosgw-admin-confval
zdover23 [Wed, 7 Feb 2024 19:04:35 +0000 (05:04 +1000)]
Merge pull request #55475 from zdover23/wip-doc-2024-02-07-radosgw-admin-confval

doc/radosgw: add confval directives

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55149 from rkachach/fix_issue_63992
Adam King [Wed, 7 Feb 2024 18:54:19 +0000 (13:54 -0500)]
Merge pull request #55149 from rkachach/fix_issue_63992

mgr/prometheus: fix orch check to prevent Prometheus from crashing

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
17 months agocmake: WITH_QATLIB/ZIP disabled on aarch64 54624/head
Casey Bodley [Mon, 27 Nov 2023 15:42:06 +0000 (10:42 -0500)]
cmake: WITH_QATLIB/ZIP disabled on aarch64

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocompressor: move QatAccel out of common
Casey Bodley [Thu, 23 Nov 2023 04:32:40 +0000 (23:32 -0500)]
compressor: move QatAccel out of common

move the QatAccel instance out of the Compressor base class and into
the zlib and lz4 compressors that can use it

this avoids having to link QAT into the ceph-common library, and only
the plugins where it's necessary

had to add LZ4Compressor.cc to store the new static variable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agobuild/win32: disable qat options
Casey Bodley [Mon, 27 Nov 2023 13:32:38 +0000 (08:32 -0500)]
build/win32: disable qat options

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agorpm: add system_qat option, default on for centos9
Casey Bodley [Thu, 23 Nov 2023 01:08:19 +0000 (20:08 -0500)]
rpm: add system_qat option, default on for centos9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: enable WITH_QATLIB and WITH_QATZIP by default
Casey Bodley [Fri, 24 Nov 2023 18:42:59 +0000 (13:42 -0500)]
cmake: enable WITH_QATLIB and WITH_QATZIP by default

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV
Casey Bodley [Fri, 24 Nov 2023 18:42:45 +0000 (13:42 -0500)]
cmake: WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build from qatzip submodule
Casey Bodley [Fri, 24 Nov 2023 19:15:12 +0000 (14:15 -0500)]
cmake: build from qatzip submodule

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build qatzip from source when WITH_SYSTEM_QATZIP=OFF
Casey Bodley [Thu, 23 Nov 2023 00:27:01 +0000 (19:27 -0500)]
cmake: build qatzip from source when WITH_SYSTEM_QATZIP=OFF

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build from qatlib submodule
Casey Bodley [Fri, 24 Nov 2023 19:10:55 +0000 (14:10 -0500)]
cmake: build from qatlib submodule

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build qat from source when WITH_SYSTEM_QATLIB=OFF
Casey Bodley [Thu, 23 Nov 2023 00:10:59 +0000 (19:10 -0500)]
cmake: build qat from source when WITH_SYSTEM_QATLIB=OFF

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #54623 from alimaredia/wip-rgw-op-metrics-section-rename
Ali Maredia [Wed, 7 Feb 2024 15:58:08 +0000 (10:58 -0500)]
Merge pull request #54623 from alimaredia/wip-rgw-op-metrics-section-rename

rgw: change section name of rgw_op counters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agomgr/prometheus: fix orch check to prevent Prometheus from crashing 55149/head
Redouane Kachach [Thu, 11 Jan 2024 16:12:07 +0000 (17:12 +0100)]
mgr/prometheus: fix orch check to prevent Prometheus from crashing
Fixes: https://tracker.ceph.com/issues/63992
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
17 months agocmake: rename qatzip->QATzip and support pkg-config
Casey Bodley [Fri, 24 Nov 2023 17:41:44 +0000 (12:41 -0500)]
cmake: rename qatzip->QATzip and support pkg-config

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: add WITH_QATLIB to build against qatlib
Casey Bodley [Fri, 24 Nov 2023 17:23:57 +0000 (12:23 -0500)]
cmake: add WITH_QATLIB to build against qatlib

FindQAT.cmake adds library targets QAT::qat and QAT::usdm for qatlib,
and FindQatDrv.cmake adds alias targets to the same

src/compressor and src/crypto/qat link against these common QAT targets

src/crypto/qat/qcccrypto.h uses new HAVE_QATDRV define to determine
which headers to include

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: rename WITH_QAT to WITH_QATDRV
Casey Bodley [Fri, 24 Nov 2023 17:06:28 +0000 (12:06 -0500)]
cmake: rename WITH_QAT to WITH_QATDRV

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocrypto/qat: remove unused variable qcc_alloc_mutex
Casey Bodley [Fri, 24 Nov 2023 19:58:37 +0000 (14:58 -0500)]
crypto/qat: remove unused variable qcc_alloc_mutex

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocrypto/qat: remove unused captures of 'this'
Casey Bodley [Fri, 24 Nov 2023 18:53:58 +0000 (13:53 -0500)]
crypto/qat: remove unused captures of 'this'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocrypto/qat: add missing include use_future.hpp
Casey Bodley [Fri, 24 Nov 2023 17:48:15 +0000 (12:48 -0500)]
crypto/qat: add missing include use_future.hpp

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocrypto/qat: qualify spawn::yield_context
Casey Bodley [Tue, 6 Feb 2024 14:43:50 +0000 (09:43 -0500)]
crypto/qat: qualify spawn::yield_context

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55476 from zdover23/wip-doc-2024-02-07-cephadm-tshooting
zdover23 [Wed, 7 Feb 2024 15:11:35 +0000 (01:11 +1000)]
Merge pull request #55476 from zdover23/wip-doc-2024-02-07-cephadm-tshooting

doc/cephadm - edit t11ing.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/radosgw: add confval directives 55475/head
Zac Dover [Wed, 7 Feb 2024 13:18:35 +0000 (23:18 +1000)]
doc/radosgw: add confval directives

Add confval directives to the documentation of "quota cache" options.
This addresses a request made by Antony D'Atri in https://github.com/ceph/ceph/pull/55075/files#r1444006246.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agorgw: mark maybe_unused variables 55479/head
Ronen Friedman [Wed, 7 Feb 2024 15:00:29 +0000 (09:00 -0600)]
rgw: mark maybe_unused variables

Specifically, variables that are only used in debug builds.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoMerge pull request #54596 from cbodley/wip-cmake-dencoder-modules
Casey Bodley [Wed, 7 Feb 2024 14:50:58 +0000 (14:50 +0000)]
Merge pull request #54596 from cbodley/wip-cmake-dencoder-modules

cmake: ceph-dencoder depends on ceph-dencoder-modules

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55376 from guits/guits-cv-64248
Guillaume Abrioux [Wed, 7 Feb 2024 14:10:23 +0000 (15:10 +0100)]
Merge pull request #55376 from guits/guits-cv-64248

ceph-volume: fix zap_partitions() in devices.lvm.zap

17 months agomgr/dashboard: snapshot schedule edit form 55416/head
Ivo Almeida [Thu, 1 Feb 2024 18:15:19 +0000 (18:15 +0000)]
mgr/dashboard: snapshot schedule edit form

Fixes: https://tracker.ceph.com/issues/64331
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agodoc/cephadm - edit t11ing. 55476/head
Zac Dover [Wed, 7 Feb 2024 13:32:53 +0000 (23:32 +1000)]
doc/cephadm - edit t11ing.

Edit "Running Repeated Debugging Sessions" in
doc/cephadm/troubleshooting.rst. Improve grammar. Fix a misspelling.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agodoc: add description of metric fields for cephfs-top 55465/head
neeraj pratap singh [Tue, 6 Feb 2024 12:12:50 +0000 (17:42 +0530)]
doc: add description of metric fields for cephfs-top

Fixes: https://tracker.ceph.com/issues/63991
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
17 months agoMerge pull request #55444 from Matan-B/wip-crimson-seastar-upgrade
Matan Breizman [Wed, 7 Feb 2024 09:38:45 +0000 (11:38 +0200)]
Merge pull request #55444 from Matan-B/wip-crimson-seastar-upgrade

Crimson: bump up seastar version

Reviewed-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #54280 from xxhdx1985126/wip-rbm-scattered-allocation
Yingxin [Wed, 7 Feb 2024 05:42:47 +0000 (13:42 +0800)]
Merge pull request #54280 from xxhdx1985126/wip-rbm-scattered-allocation

crimson/os/seastore/random_block_manager: allow allocating multiple extents for a single disk space allocation request

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
17 months agoceph.spec.in: crimson add protobuf 55444/head
Matan Breizman [Mon, 5 Feb 2024 09:35:24 +0000 (09:35 +0000)]
ceph.spec.in: crimson add protobuf

Following https://github.com/scylladb/seastar/commit/eea4102091bb4d689e0b5a769512966b716ee8a2

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agocrimson/crush/CrushLocation: fix compilation errors
Matan Breizman [Sun, 4 Feb 2024 10:36:22 +0000 (10:36 +0000)]
crimson/crush/CrushLocation: fix compilation errors

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agoCMakeLists.txt: fix Seastar expected dirs
Matan Breizman [Sun, 4 Feb 2024 10:34:56 +0000 (10:34 +0000)]
CMakeLists.txt: fix Seastar expected dirs

```
  # create the directory so cmake won't complain when looking at the imported
  # target: Seastar exports this directory created at build-time
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agoseastar: bump up seastar submodule version
Matan Breizman [Sun, 4 Feb 2024 09:17:11 +0000 (09:17 +0000)]
seastar: bump up seastar submodule version

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agoMerge pull request #55054 from pereman2/zns-remove
Adam Kupczyk [Tue, 6 Feb 2024 14:32:48 +0000 (15:32 +0100)]
Merge pull request #55054 from pereman2/zns-remove

os/bluestore: remove zoned namespace support
It has never been finished and now its in the way of future improvements.

17 months agoMerge pull request #55275 from qiuxinyidian/rgw-noti-dev
Yuval Lifshitz [Tue, 6 Feb 2024 12:09:37 +0000 (14:09 +0200)]
Merge pull request #55275 from qiuxinyidian/rgw-noti-dev

rgw: add topic owner user check when creating

reviewed-by: cbodley, kchheda3

17 months agoMerge pull request #55447 from zdover23/wip-doc-2024-02-05-rados-operations-pools
zdover23 [Tue, 6 Feb 2024 09:36:55 +0000 (19:36 +1000)]
Merge pull request #55447 from zdover23/wip-doc-2024-02-05-rados-operations-pools

doc/rados: update PG guidance

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agorgw: modify topic owner check when creating 55275/head
Zhipeng Li [Tue, 23 Jan 2024 06:50:52 +0000 (14:50 +0800)]
rgw: modify topic owner check when creating

add tests to cover topic policies
as well as behavior when no policies are defined

Fixes: https://tracker.ceph.com/issues/64124
Signed-off-by: Zhipeng Li <qiuxinyidian@gmail.com>
17 months agoMerge pull request #54311 from gabriel-samfira/do-not-escape-slash
Casey Bodley [Mon, 5 Feb 2024 21:21:11 +0000 (21:21 +0000)]
Merge pull request #54311 from gabriel-samfira/do-not-escape-slash

RGW: fix cloud-sync not being able to sync folders

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55252 from jzhu116-bloomberg/wip-21800
Casey Bodley [Mon, 5 Feb 2024 21:17:31 +0000 (21:17 +0000)]
Merge pull request #55252 from jzhu116-bloomberg/wip-21800

rgw/multisite: avoid writing multipart parts to the bucket index log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55293 from jzhu116-bloomberg/wip-63178
Casey Bodley [Mon, 5 Feb 2024 21:16:56 +0000 (21:16 +0000)]
Merge pull request #55293 from jzhu116-bloomberg/wip-63178

rgw/lc: pass in flag as an argument when calling function complete(..)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #54661 from lightmelodies/rgw-gc
Casey Bodley [Mon, 5 Feb 2024 21:16:27 +0000 (21:16 +0000)]
Merge pull request #54661 from lightmelodies/rgw-gc

rgw: optimize gc chain size calculation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55452 from nbalacha/wip-typo-fix
Ilya Dryomov [Mon, 5 Feb 2024 19:12:51 +0000 (20:12 +0100)]
Merge pull request #55452 from nbalacha/wip-typo-fix

rbd-mirror: fix a typo in NotifyAckPayload::dump()

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agoMerge pull request #55406 from cbodley/wip-64255
Casey Bodley [Mon, 5 Feb 2024 17:59:46 +0000 (17:59 +0000)]
Merge pull request #55406 from cbodley/wip-64255

rgw: SiteConfig::load() falls back to local zonegroup

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
17 months agoMerge pull request #55448 from guits/subclass-thread
Adam King [Mon, 5 Feb 2024 13:28:42 +0000 (08:28 -0500)]
Merge pull request #55448 from guits/subclass-thread

node-proxy: refactor entrypoint

Reviewed-by: Adam King <adking@redhat.com>
17 months agoMerge pull request #55280 from ronen-fr/wip-rf-extra-lg
Ronen Friedman [Mon, 5 Feb 2024 12:21:32 +0000 (14:21 +0200)]
Merge pull request #55280 from ronen-fr/wip-rf-extra-lg

osd: remove superfluous '>' in spg_t formatter

Reviewed-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #55414 from yuvalif/wip_yuval_url_decode_sns
Yuval Lifshitz [Mon, 5 Feb 2024 12:16:55 +0000 (14:16 +0200)]
Merge pull request #55414 from yuvalif/wip_yuval_url_decode_sns

rgw/rest: fix url decode of post params passed as attributes

reviewed-by: cbodley

17 months agorbd-mirror: fixed a typo in instance_watcher 55452/head
N Balachandran [Mon, 5 Feb 2024 09:46:17 +0000 (15:16 +0530)]
rbd-mirror: fixed a typo in instance_watcher

Fixes a typo in NotifyAckPayload::dump().

Signed-off-by: N Balachandran <nibalach@redhat.com>
17 months agonode-proxy: refactor entrypoint 55448/head
Guillaume Abrioux [Sun, 4 Feb 2024 19:11:41 +0000 (19:11 +0000)]
node-proxy: refactor entrypoint

This commit introduces a major refactor of the main
entrypoint.

- subclass threading.Thread:
  - Introduce a new class `BaseThread()` that is a
    `threading.Thread()` abstraction class in order
    to monitor the different threads.
  - `BaseSystem()` inherits from `BaseThread()`.
  - Handle `SIGTERM` signal in order to gracefully shutdown
    node-proxy (make threads exit gracefully, log out from RedFish API, etc.)

Additionally, this:
  - drops the class `Logger()` from util.py which
was not adding value. It is now replaced with a simple `get_logger()`
function.
  - changes the node-proxy API port from 8080 to 9456
    (8080 being widely used for frontend apps...)
  - changes the container entrypoint in order to use the
    `ceph-node-proxy` binary from the packaging

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agodoc/rados: update PG guidance 55447/head
Zac Dover [Sun, 4 Feb 2024 15:36:10 +0000 (01:36 +1000)]
doc/rados: update PG guidance

Update the "Creating a Pool" section of doc/rados/operations/pools.rst
so that the documentation no longer insists that the user change the
values of "osd_pool_default_pg_num" and "osd_pool_default_pgp_num".

See also: https://github.com/ceph/ceph/pull/55419

Tracker: https://tracker.ceph.com/issues/64259

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agocrimson/os/seastore/transaction_manager: allow allocating multiple 54280/head
Xuehan Xu [Fri, 19 Jan 2024 05:26:03 +0000 (13:26 +0800)]
crimson/os/seastore/transaction_manager: allow allocating multiple
extents when rewriting data extents

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agocrimson/os/seastore/object_data_handler: allow alloc multiple extents
Xuehan Xu [Fri, 19 Jan 2024 03:14:39 +0000 (11:14 +0800)]
crimson/os/seastore/object_data_handler: allow alloc multiple extents
for a single request

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agocrimson/os/seastore/transaction_manager: fix errorator mismatch
Xuehan Xu [Mon, 11 Dec 2023 02:23:36 +0000 (10:23 +0800)]
crimson/os/seastore/transaction_manager: fix errorator mismatch

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agotest/crimson/seastore: add unittest cases for scattered allocation
Xuehan Xu [Mon, 6 Nov 2023 10:34:28 +0000 (18:34 +0800)]
test/crimson/seastore: add unittest cases for scattered allocation

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agotest/crimson/seastore: test avlallocator's scattered allocation
Xuehan Xu [Wed, 1 Nov 2023 06:50:34 +0000 (14:50 +0800)]
test/crimson/seastore: test avlallocator's scattered allocation

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agocrimson/os/seastore/transaction_manager: TransactionManager::alloc_extent(s) may...
Xuehan Xu [Mon, 6 Nov 2023 10:33:01 +0000 (18:33 +0800)]
crimson/os/seastore/transaction_manager: TransactionManager::alloc_extent(s) may return enospc

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agocrimson/os/seastore: add new interfaces to alloc multiple extents for a
Xuehan Xu [Fri, 19 Jan 2024 02:51:38 +0000 (10:51 +0800)]
crimson/os/seastore: add new interfaces to alloc multiple extents for a
single request

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agoMerge pull request #55089 from cbodley/wip-boost-mirrors
Kefu Chai [Mon, 5 Feb 2024 02:20:07 +0000 (10:20 +0800)]
Merge pull request #55089 from cbodley/wip-boost-mirrors

make-dist: update boost mirrors

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55434 from anthonyeleven/rgwyamlin
zdover23 [Sun, 4 Feb 2024 14:44:35 +0000 (00:44 +1000)]
Merge pull request #55434 from anthonyeleven/rgwyamlin

src/common/options: Correct typo in rgw.yaml.in

Reviewed-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55276 from Matan-B/wip-matanb-crimson-alienstore-cores
Matan Breizman [Sun, 4 Feb 2024 09:45:43 +0000 (11:45 +0200)]
Merge pull request #55276 from Matan-B/wip-matanb-crimson-alienstore-cores

crimson: rework CPU pinning

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
17 months agotasks/.../test_erasure_code_profile: assertSubset in test_create_plugin 55332/head
Samuel Just [Tue, 9 Jan 2024 19:35:45 +0000 (11:35 -0800)]
tasks/.../test_erasure_code_profile: assertSubset in test_create_plugin

Newly added profile options may break this test otherwise.

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/cli/osdmaptool/crush.t: adjust --import-crush size output
Samuel Just [Tue, 9 Jan 2024 03:25:05 +0000 (19:25 -0800)]
test/cli/osdmaptool/crush.t: adjust --import-crush size output

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/cli/crushtool/choose-args.t: add msr related json output
Samuel Just [Tue, 9 Jan 2024 03:24:41 +0000 (19:24 -0800)]
test/cli/crushtool/choose-args.t: add msr related json output

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agoqa/erasure-code: modify jerasure 4/2 ec test case to use msr
Samuel Just [Thu, 21 Dec 2023 03:20:32 +0000 (19:20 -0800)]
qa/erasure-code: modify jerasure 4/2 ec test case to use msr

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agodoc/rados/operations: add CRUSH MSR documentation
Samuel Just [Mon, 11 Dec 2023 21:06:42 +0000 (13:06 -0800)]
doc/rados/operations: add CRUSH MSR documentation

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agoerasure-code: add support for multiple osds in a single failure domain
Samuel Just [Wed, 13 Dec 2023 02:31:46 +0000 (18:31 -0800)]
erasure-code: add support for multiple osds in a single failure domain

Adds support for crush-osds-per-failure-domain and
crush-num-failure-domains via MSR rules.

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agovstart.sh: add --require-osd-and-client-version and --use-crush-tunables flags
Samuel Just [Fri, 1 Dec 2023 06:12:19 +0000 (22:12 -0800)]
vstart.sh: add --require-osd-and-client-version and --use-crush-tunables flags

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agovstart.sh: add --osds-per-host
Samuel Just [Tue, 21 Nov 2023 04:43:18 +0000 (20:43 -0800)]
vstart.sh: add --osds-per-host

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/crush/crush.cc: add tests specifically for MSR
Samuel Just [Fri, 17 Nov 2023 04:26:07 +0000 (20:26 -0800)]
test/crush/crush.cc: add tests specifically for MSR

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/crush/crush.cc: add test variants for firstn rules
Samuel Just [Wed, 20 Dec 2023 01:00:44 +0000 (17:00 -0800)]
test/crush/crush.cc: add test variants for firstn rules

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/crush/crush.cc: convert indep test cases to test MSR as well
Samuel Just [Fri, 17 Nov 2023 04:24:30 +0000 (20:24 -0800)]
test/crush/crush.cc: convert indep test cases to test MSR as well

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agotest/crush/crush.cc: s/NULL/nullptr/g
Samuel Just [Thu, 1 Feb 2024 21:00:55 +0000 (13:00 -0800)]
test/crush/crush.cc: s/NULL/nullptr/g

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agomon/OSDMonitor: generalize rule type check for pools
Samuel Just [Tue, 21 Nov 2023 23:39:23 +0000 (15:39 -0800)]
mon/OSDMonitor: generalize rule type check for pools

Add rule_valid_for_pool_type to CrushWrapper to generalize
rule type <-> pool type mapping to include the new MSR
types.

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agodoc/dev/crush-msr.rst: add developer summary of crush msr
Samuel Just [Thu, 1 Feb 2024 19:38:13 +0000 (11:38 -0800)]
doc/dev/crush-msr.rst: add developer summary of crush msr

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agocrush/mapper: add support for MSR types
Samuel Just [Fri, 17 Nov 2023 04:22:19 +0000 (20:22 -0800)]
crush/mapper: add support for MSR types

Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #55419 from zdover23/wip-doc-2024-02-02-rados-config-pool-pg-confi...
zdover23 [Sat, 3 Feb 2024 22:25:50 +0000 (08:25 +1000)]
Merge pull request #55419 from zdover23/wip-doc-2024-02-02-rados-config-pool-pg-config-ref

doc/rados: update config for autoscaler

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agosrc/common/options: Correct typo in rgw.yaml.in 55434/head
Anthony D'Atri [Sat, 3 Feb 2024 07:18:25 +0000 (02:18 -0500)]
src/common/options: Correct typo in rgw.yaml.in

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
17 months agodoc/rados: update config for autoscaler 55419/head
Zac Dover [Fri, 2 Feb 2024 01:53:45 +0000 (11:53 +1000)]
doc/rados: update config for autoscaler

Update doc/rados/configuration/pool-pg-config-ref.rst to account for the
behavior of autoscaler.

Previously, this file was last meaningfully altered in 2013, prior to
the invention of autoscaler. A recent confusion was brought to my
attention on the Ceph Slack whereby a user attempted to alter the
default values of a Quincy cluster, as suggested in this documentation.
That alteration caused Ceph to throw the error "Error ERANGE: 'pgp_num'
must be greater than 0 and lower or equal than 'pg_num', which in this
case is one" and a related "rgw_init_ioctx ERROR" reading in part
"Numerical result out of range". The user removed the
"osd_pool_default_pgp_num" configuration line from ceph.conf and the
cluster worked as expected. I presume that this is because the removal
of this configuration line allowed autoscaler to work as intended.

Fixes: https://tracker.ceph.com/issues/64259
Co-authored-by: David Orman <ormandj@corenode.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agorgw: SiteConfig::load() falls back to local zonegroup 55406/head
Casey Bodley [Wed, 31 Jan 2024 19:29:43 +0000 (14:29 -0500)]
rgw: SiteConfig::load() falls back to local zonegroup

allow radosgw-admin commands like 'user create' to operate on a new zone
that hasn't been committed to the period yet. this follows similar logic
in RGWSI_Zone::do_start()

Fixes: https://tracker.ceph.com/issues/64255
Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #54312 from dvanders/dvanders_mcltf_true
Adam King [Fri, 2 Feb 2024 18:57:49 +0000 (13:57 -0500)]
Merge pull request #54312 from dvanders/dvanders_mcltf_true

qa/tasks/cephadm: enable mon_cluster_log_to_file

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agoMerge pull request #54837 from imtzw/urlencode
Casey Bodley [Fri, 2 Feb 2024 16:37:53 +0000 (16:37 +0000)]
Merge pull request #54837 from imtzw/urlencode

rgw: fix list obj v1 nextmarker

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #54867 from BBoozmen/oozmen_lc_subsystem
Casey Bodley [Fri, 2 Feb 2024 15:42:00 +0000 (15:42 +0000)]
Merge pull request #54867 from BBoozmen/oozmen_lc_subsystem

rgw/common: add rgw lifecycle specific debug log subsystem

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Jiffin Tony Thottan <jthottan@redhat.com>
17 months agoMerge pull request #55162 from cfsnyder/wip-64014-cfsnyder-pacific
Casey Bodley [Fri, 2 Feb 2024 15:41:17 +0000 (15:41 +0000)]
Merge pull request #55162 from cfsnyder/wip-64014-cfsnyder-pacific

rgw: fix issue with concurrent versioned deletes leaving behind olh entries

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
17 months agoMerge pull request #55229 from tobias-urdin/http-error-keystone-issue-admin-token...
Casey Bodley [Fri, 2 Feb 2024 15:40:48 +0000 (15:40 +0000)]
Merge pull request #55229 from tobias-urdin/http-error-keystone-issue-admin-token-request

rgw: fix http error check in keystone issue_admin_token_request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55330 from baum/centos9-install-build-deps
baum [Fri, 2 Feb 2024 07:54:28 +0000 (09:54 +0200)]
Merge pull request #55330 from baum/centos9-install-build-deps

🧹build dependencies: centos9