]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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

17 months agoMerge PR #55233 into main
Venky Shankar [Fri, 2 Feb 2024 05:05:00 +0000 (10:35 +0530)]
Merge PR #55233 into main

* refs/pull/55233/head:
qa: use centos 9.stream for cephfs stock kernel testing

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
17 months agoMerge pull request #53901 from cbodley/wip-qa-container-distros-s
Casey Bodley [Thu, 1 Feb 2024 19:40:57 +0000 (19:40 +0000)]
Merge pull request #53901 from cbodley/wip-qa-container-distros-s

qa/distros: bump container host distros from centos 8->9

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #55413 from petrutlucian94/flipped_tid
Ilya Dryomov [Thu, 1 Feb 2024 19:29:58 +0000 (20:29 +0100)]
Merge pull request #55413 from petrutlucian94/flipped_tid

msg: update MOSDOp() to use ceph_tid_t instead of long

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agocrimson: introduce crimson_seastar_cpu_cores 55276/head
Matan Breizman [Tue, 30 Jan 2024 17:53:16 +0000 (17:53 +0000)]
crimson: introduce crimson_seastar_cpu_cores

seastar::smp::count is deduced from the cpuset provided.

from seastar/src/core/reactor:
```
   if (smp_opts.smp) {
        smp::count = smp_opts.smp.get_value();
    } else {
        smp::count = cpu_set.size();
    }
```

Co-authored-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agorgw/rest: fix url decode of post params passed as attributes 55414/head
Yuval Lifshitz [Thu, 1 Feb 2024 15:55:59 +0000 (15:55 +0000)]
rgw/rest: fix url decode of post params passed as attributes

this is fixing a regression with the SNS policies
cause by: 4bdc5d18dd68b95c6ccd4c0e77a1bd04ad86dbb8

the changes to the test code is to accomodate different
boto3 versions

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
17 months agomsg: update MOSDOp() to use ceph_tid_t instead of long 55413/head
Lucian Petrut [Thu, 1 Feb 2024 14:40:03 +0000 (14:40 +0000)]
msg: update MOSDOp() to use ceph_tid_t instead of long

The MOSDOp constructor receives the the transaction ID as a long
instead of ceph_tid_t.

The issue is that "long" uses 32b on Windows instead of 64 bits,
so it flips after about 2 billion requests. At that point, the OSD
replies are dropped because of transaction ID mismatches.

We'll solve the issue by using the correct type for the transaction
id, specifically ceph_tid_t.

Fixes: https://tracker.ceph.com/issues/64291
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
17 months agoMerge pull request #55373 from ivoalmeida/snapshot-schedule-form-directory-typeahead
Ivo Almeida [Thu, 1 Feb 2024 13:48:17 +0000 (10:48 -0300)]
Merge pull request #55373 from ivoalmeida/snapshot-schedule-form-directory-typeahead

Snapshot schedule form directory typeahead

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55393 from rkachach/fix_issue_64266
Redouane Kachach [Thu, 1 Feb 2024 11:35:39 +0000 (12:35 +0100)]
Merge pull request #55393 from rkachach/fix_issue_64266

mgr/rook: adding deployment to ceph image built for rook e2e testing

17 months agovstarh.sh: Crimson - set crimson_alien_thread_cpu_cores
Matan Breizman [Tue, 23 Jan 2024 14:08:48 +0000 (14:08 +0000)]
vstarh.sh: Crimson - set crimson_alien_thread_cpu_cores

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agocrimson/os/alienstore: cleanup N_CORES_FOR_SEASTAR constant
Matan Breizman [Tue, 23 Jan 2024 14:06:01 +0000 (14:06 +0000)]
crimson/os/alienstore: cleanup N_CORES_FOR_SEASTAR constant

No CPU pinning if crimson_alien_thread_cpu_cores is not set.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
17 months agomgr/rook: adding deployment to ceph image built for rook e2e testing 55393/head
Redouane Kachach [Wed, 31 Jan 2024 09:48:35 +0000 (10:48 +0100)]
mgr/rook: adding deployment to ceph image built for rook e2e testing
Fixes: https://tracker.ceph.com/issues/64266
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
17 months agocrimson/os/seastore/avlallocator: add the interface that allocate
Xuehan Xu [Thu, 18 Jan 2024 03:21:19 +0000 (11:21 +0800)]
crimson/os/seastore/avlallocator: add the interface that allocate
multiple regions

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agoMerge pull request #47723 from mdw-at-linuxbox/wip-master-tempurl
Casey Bodley [Wed, 31 Jan 2024 22:15:33 +0000 (22:15 +0000)]
Merge pull request #47723 from mdw-at-linuxbox/wip-master-tempurl

rgw: swift: tempurl fixes for ceph

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55403 from cbodley/wip-doc-rgw-topic-attrs
Anthony D'Atri [Wed, 31 Jan 2024 20:08:26 +0000 (15:08 -0500)]
Merge pull request #55403 from cbodley/wip-doc-rgw-topic-attrs

doc/rgw: fix Attributes index in CreateTopic example

17 months agoMerge pull request #54742 from guits/node-proxy
Adam King [Wed, 31 Jan 2024 18:28:50 +0000 (13:28 -0500)]
Merge pull request #54742 from guits/node-proxy

orch: implement hardware monitoring

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
17 months agoMerge pull request #55397 from jagombar/fixInvalidSnapId2
Ilya Dryomov [Wed, 31 Jan 2024 17:32:54 +0000 (18:32 +0100)]
Merge pull request #55397 from jagombar/fixInvalidSnapId2

librbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agodoc/rgw: fix Attributes index in CreateTopic example 55403/head
Casey Bodley [Wed, 31 Jan 2024 17:31:02 +0000 (12:31 -0500)]
doc/rgw: fix Attributes index in CreateTopic example

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agomgr/dashboard: added dir search to snap schdl form 55373/head
Ivo Almeida [Mon, 29 Jan 2024 10:58:43 +0000 (10:58 +0000)]
mgr/dashboard: added dir search to snap schdl form

Fixes: https://tracker.ceph.com/issues/64246
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agoMerge pull request #54781 from rhcs-dashboard/nvmeof-integration
Nizamudeen A [Wed, 31 Jan 2024 16:30:59 +0000 (22:00 +0530)]
Merge pull request #54781 from rhcs-dashboard/nvmeof-integration

mgr/dashboard: implement APIs for nvmeof management

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
17 months agoMerge pull request #54900 from ivoalmeida/snapshot-schedule-create
Nizamudeen A [Wed, 31 Jan 2024 15:57:22 +0000 (21:27 +0530)]
Merge pull request #54900 from ivoalmeida/snapshot-schedule-create

added snap schedule form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55340 from ronen-fr/wip-rf-reserver2
Ronen Friedman [Wed, 31 Jan 2024 15:56:43 +0000 (17:56 +0200)]
Merge pull request #55340 from ronen-fr/wip-rf-reserver2

osd/scrub: use an AsyncReserver to handle scrub reservations on the replica side

Reviewed-by: Samuel Just <sjust@redhat.com>-
17 months agoMerge pull request #55198 from JoshSalomon/balancer-perf
Josh Salomon [Wed, 31 Jan 2024 15:26:48 +0000 (17:26 +0200)]
Merge pull request #55198 from JoshSalomon/balancer-perf

osd: Read balancer for devices with different sizes (performance)

17 months agodoc: add node-proxy documentation 54742/head
Guillaume Abrioux [Wed, 31 Jan 2024 14:23:44 +0000 (15:23 +0100)]
doc: add node-proxy documentation

This commit adds some documentation about the
'hardware inventory / monitoring' feature (node-proxy agent).

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agoMerge pull request #55396 from zdover23/wip-doc-2024-01-31-arch-monitors
Anthony D'Atri [Wed, 31 Jan 2024 13:49:55 +0000 (08:49 -0500)]
Merge pull request #55396 from zdover23/wip-doc-2024-01-31-arch-monitors

doc/architecture: improve some paragraphs

17 months agoMerge pull request #55383 from ceph/cpp-redis-cxx-standard
Ali Maredia [Wed, 31 Jan 2024 13:36:42 +0000 (08:36 -0500)]
Merge pull request #55383 from ceph/cpp-redis-cxx-standard

cpp_redis: update to a version with the CMAKE_CXX_STANDARD fixed

Reviewed-by: Ali Maredia <amaredia@redhat.com>
17 months agoceph-volume: fix zap_partitions() in devices.lvm.zap 55376/head
Guillaume Abrioux [Tue, 30 Jan 2024 14:17:35 +0000 (14:17 +0000)]
ceph-volume: fix zap_partitions() in devices.lvm.zap

The current logic is unable to find the holders for the
partition being zapped.

This commit fixes this issue.

Fixes: https://tracker.ceph.com/issues/64248
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agolibrbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id 55397/head
jagombar [Tue, 30 Jan 2024 18:25:53 +0000 (18:25 +0000)]
librbd: return ENOENT from Snapshot::get_timestamp for nonexistent snap_id

Fixes: https://tracker.ceph.com/issues/47287
Signed-off-by: John Agombar <agombar@uk.ibm.com>
17 months agodoc/architecture: improve some paragraphs 55396/head
Zac Dover [Tue, 30 Jan 2024 09:51:53 +0000 (19:51 +1000)]
doc/architecture: improve some paragraphs

Improve paragraphs under the heading "The Ceph Storage Cluster". Remove
a sentence that was pleonastic in its context in the paragraph.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agomgr/dashboard: added snap schedule form 54900/head
Ivo Almeida [Wed, 13 Dec 2023 01:08:52 +0000 (01:08 +0000)]
mgr/dashboard: added snap schedule form

Fixes: https://tracker.ceph.com/issues/63827
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agoMerge pull request #55305 from Matan-B/wip-matanb-crimson-do_delete_work
Matan Breizman [Wed, 31 Jan 2024 09:14:02 +0000 (11:14 +0200)]
Merge pull request #55305 from Matan-B/wip-matanb-crimson-do_delete_work

crimson/osd/pg: do_delete_work use claim_and_reset

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
17 months agocpp_redis: update to a version with the CMAKE_CXX_STANDARD fixed 55383/head
Leonid Usov [Tue, 30 Jan 2024 22:55:45 +0000 (00:55 +0200)]
cpp_redis: update to a version with the CMAKE_CXX_STANDARD fixed

This updates the cpp_redis submodule to a version
which contains https://github.com/ceph/cpp_redis/pull/5

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
17 months agotest: fix test_scrub_sched following recent scrub changes 55340/head
Ronen Friedman [Sun, 28 Jan 2024 16:48:18 +0000 (10:48 -0600)]
test: fix test_scrub_sched following recent scrub changes

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd/scrub: restore 'dump_scrub_reservations' functionality
Ronen Friedman [Sun, 28 Jan 2024 15:35:07 +0000 (09:35 -0600)]
osd/scrub: restore 'dump_scrub_reservations' functionality

As ScrubResources is no longer involved in remote reservations, some
of the data listed by 'dump_scrub_reservations' is now collected by
OsdScrub itself (prior to this change, OsdScrub just forwarded the
request to ScrubResources).

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd/scrub: control reservation queueing using a config option
Ronen Friedman [Sun, 28 Jan 2024 11:45:50 +0000 (05:45 -0600)]
osd/scrub: control reservation queueing using a config option

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd/scrub: directly manage remote reservations in the FSM
Ronen Friedman [Thu, 25 Jan 2024 19:05:01 +0000 (13:05 -0600)]
osd/scrub: directly manage remote reservations in the FSM

The FSM now interacts with the scrub_reserver directly.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agovstart: add nvmeof_gw to the vstart script 54781/head
Nizamudeen A [Thu, 25 Jan 2024 07:43:41 +0000 (13:13 +0530)]
vstart: add nvmeof_gw to the vstart script

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>
17 months agoMerge pull request #55379 from ljflores/wip-revert-labler-changes
Laura Flores [Wed, 31 Jan 2024 03:43:35 +0000 (21:43 -0600)]
Merge pull request #55379 from ljflores/wip-revert-labler-changes

17 months agotools: add 'osd-size-aware' mode to osdmaptool 55198/head
Laura Flores [Tue, 30 Jan 2024 22:06:03 +0000 (22:06 +0000)]
tools: add 'osd-size-aware' mode to osdmaptool

Sample command:
`osdmaptool om --read out.txt --read-pool cephfs.a.data --osd-size-aware`

Signed-off-by: Laura Flores <lflores@ibm.com>
17 months agomgr/balancer: add new keys to balancer mgr module
Laura Flores [Tue, 30 Jan 2024 20:38:40 +0000 (20:38 +0000)]
mgr/balancer: add new keys to balancer mgr module

Signed-off-by: Laura Flores <lflores@ibm.com>
17 months agoMerge pull request #55372 from zdover23/wip-doc-2024-01-30-architecture-typo
zdover23 [Wed, 31 Jan 2024 00:48:35 +0000 (10:48 +1000)]
Merge pull request #55372 from zdover23/wip-doc-2024-01-30-architecture-typo

doc/architecture.rst - fix typo

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
17 months agoosd: unit tests for read balance osd size aware score
Josh Salomon [Wed, 24 Jan 2024 12:46:07 +0000 (14:46 +0200)]
osd: unit tests for read balance osd size aware score

Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
17 months agoosd: Add score for read balance osd size aware policy
Josh Salomon [Wed, 24 Jan 2024 12:40:53 +0000 (14:40 +0200)]
osd: Add score for read balance osd size aware policy

This score works for pools in which the read_ratio
value is set.
Current limitations:
- This mechanism ignores osd read affinty
  - There is a plan adding support for read affinity 0
    in the next version.
- This mechanism works only when all PGs are full
- If read_ration is not set - the existing mechanism (named
  fair score) is used.

Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
17 months agoosd: Unit tests for read balancer on OSDs with different sizes
Josh Salomon [Tue, 16 Jan 2024 18:45:32 +0000 (20:45 +0200)]
osd: Unit tests for read balancer on OSDs with different sizes

Test cases for the read balancer which takes osd sizes into account.
Some balancing code refactoring and reorg for code that is used in
multiple tests

Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
17 months agoosd: Read balancer for OSDs with different sizes
Josh Salomon [Tue, 16 Jan 2024 18:33:47 +0000 (20:33 +0200)]
osd: Read balancer for OSDs with different sizes

This commit adds calculation for desired primary distribution which
takes into account the osd size. This way smaller OSDs can take more
read operations (by adding more primaries) and the larger OSDs take less
primaries and the load of the cluater can increase. (This feature offset
a bit the weakest link in the chain effect under some conditions). In
order to calculate the loads correctly there is a need to know the
read/write ratio for the pool, and this commit assumes the read_ratio
parameter is available for the pool.

Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
17 months agoosd: Add 'read_ratio' pool parameterr
Josh Salomon [Tue, 26 Dec 2023 08:41:18 +0000 (10:41 +0200)]
osd: Add 'read_ratio' pool parameterr

This parameter is used for better read balancing with non identical
devices.
- This parameter is controlled using the commands 'ceph osd pool set/get'
- This parameter is applicable only for replicated pools
- Valid values are integers in the range [0..100] and represent the
  percentage of read IOs out of all IOs in the pool
  - Value of 0 unsets this parameter and the value will be the default
    value (this is the generic behavior of the command 'ceph osd pool
    set'
  - default value can be set by config parameter
    `osd_pool_default_read_ratio`

Signed-off-by: Josh Salomon <41079547+JoshSalomon@users.noreply.github.com>
17 months ago.github/workflows: revert version bump to labler action 55379/head
Laura Flores [Tue, 30 Jan 2024 17:32:20 +0000 (11:32 -0600)]
.github/workflows: revert version bump to labler action

Signed-off-by: Laura Flores <lflores@ibm.com>
17 months agoMerge pull request #55364 from ljflores/wip-pr-triage
Laura Flores [Tue, 30 Jan 2024 17:13:30 +0000 (11:13 -0600)]
Merge pull request #55364 from ljflores/wip-pr-triage

.github/workflows: disable sync-labels in pr-triage

17 months agoagent/node-proxy: fix wrong host name used in data endpoint
Guillaume Abrioux [Tue, 30 Jan 2024 16:38:31 +0000 (16:38 +0000)]
agent/node-proxy: fix wrong host name used in data endpoint

data['cephx']['name'] will return something like:

node-proxy.hostname123

the prefix "node-proxy." has the be removed otherwise there will be
a mismatch between what is actually expected.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agomgr/cephadm: update node-proxy unit tests
Guillaume Abrioux [Thu, 25 Jan 2024 14:34:26 +0000 (14:34 +0000)]
mgr/cephadm: update node-proxy unit tests

The recent migration to a separate daemon implied
some changes which have broken these tests.
This commit fixes them.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agomgr/cephadm: add a new config option 'oob_default_addr'
Guillaume Abrioux [Wed, 24 Jan 2024 15:08:14 +0000 (15:08 +0000)]
mgr/cephadm: add a new config option 'oob_default_addr'

So there's a default value (169.254.1.1) which is the default
address for the 'OS to iDrac pass-through' interface.
Given that node-proxy will reach the RedFish API through this interface,
we can make users avoid to pass that addr when providing the host spec
at bootstrap time.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agoqa/distros: add supported-container-hosts for cephadm and upgrade suites 53901/head
Casey Bodley [Thu, 25 Jan 2024 17:41:39 +0000 (12:41 -0500)]
qa/distros: add supported-container-hosts for cephadm and upgrade suites

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #53610 from Patty8122/documentation-update-fsck-flagdeep
Adam Kupczyk [Tue, 30 Jan 2024 14:43:49 +0000 (15:43 +0100)]
Merge pull request #53610 from Patty8122/documentation-update-fsck-flagdeep

doc/man/8: Add valid options in ceph-bluestore-tool.rst

17 months agoMerge PR #54515 into main
Venky Shankar [Tue, 30 Jan 2024 14:10:35 +0000 (19:40 +0530)]
Merge PR #54515 into main

* refs/pull/54515/head:
qa: get_global_id() returns a string (global_id)
qa: correct usage of DEBUGFS_META_DIR in dedent

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
17 months agoMerge pull request #55313 from rkachach/fix_issue_64183
Redouane Kachach [Tue, 30 Jan 2024 13:30:56 +0000 (14:30 +0100)]
Merge pull request #55313 from rkachach/fix_issue_64183

mgr/rook: adding metrics monitoring e2e testing