]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agoos/bluestore: Fix debug after rebase 54075/head
Adam Kupczyk [Tue, 9 Jul 2024 13:27:54 +0000 (13:27 +0000)]
os/bluestore: Fix debug after rebase

BufferSpace moved from Blob to Onode.
Moved relevant code from Blob::operator<< to Onode::operator<<.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add ability to partially print Onode
Adam Kupczyk [Fri, 14 Jun 2024 10:54:01 +0000 (10:54 +0000)]
os/bluestore: Add ability to partially print Onode

Now Onode can be printed in selected range.
It is useful in high-level dout modes that operate on a fragment of
entire Onode.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Move OBJECT_MAX_SIZE
Adam Kupczyk [Thu, 13 Jun 2024 18:40:50 +0000 (18:40 +0000)]
os/bluestore: Move OBJECT_MAX_SIZE

From define in .cc to constexpr in .h

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Blob, Onode debug printout
Adam Kupczyk [Mon, 27 May 2024 06:36:39 +0000 (08:36 +0200)]
os/bluestore: Blob, Onode debug printout

Small improvement on debug output.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: small improvement for printers
Adam Kupczyk [Wed, 28 Feb 2024 17:56:59 +0000 (17:56 +0000)]
os/bluestore: small improvement for printers

- moved operator<< to BlueStore_debug file
- upcased Printer {} flags
- more reliable heap begin detection
- fixup after rebase

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Onode
Adam Kupczyk [Wed, 29 Nov 2023 11:55:44 +0000 (11:55 +0000)]
os/bluestore: Add improved printer for Onode

Added nice replacement for dump_onode function.
Introduce printer class that allows to select parts of Onode that are to be printed.
It severly reduced amount of clutter in output.
Usage:
using P = Bluestore::printer;
dout << blob->print(P::ptr + P::sdisk + P::schk + P::buf + P::attrs);

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add printing buffers to Blob
Adam Kupczyk [Wed, 29 Nov 2023 11:44:26 +0000 (11:44 +0000)]
os/bluestore: Add printing buffers to Blob

Now printing Blob can include buffers.
There are 2 variants:
- 'buf' same as original in dump_onode
- 'sbuf' only fundamental params, no ptr etc.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Extent
Adam Kupczyk [Wed, 18 Oct 2023 14:18:49 +0000 (14:18 +0000)]
os/bluestore: Add improved printer for Extent

Modify Extent similar to Blob, so that one can use improved Blob printing
when printing extents.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Blob
Adam Kupczyk [Wed, 18 Oct 2023 12:10:22 +0000 (12:10 +0000)]
os/bluestore: Add improved printer for Blob

Introduce printer class that allows to select parts of Blob that are to be printed.
It severly reduced amount of clutter in output.
Usage:
using P = Bluestore::Blob::printer;
dout << blob->printer(P::ptr + P::sdisk + P::schk);

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoMerge pull request #58907 from adam-lj/rbd-throttle-perf
Ilya Dryomov [Wed, 7 Aug 2024 10:30:58 +0000 (12:30 +0200)]
Merge pull request #58907 from adam-lj/rbd-throttle-perf

librbd: Reduce use of atomics in librbd throttling

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #58993 from pereman2/unused-func
Igor Fedotov [Wed, 7 Aug 2024 10:00:06 +0000 (13:00 +0300)]
Merge pull request #58993 from pereman2/unused-func

os/bluestore: Unused func

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
11 months agoMerge pull request #58693 from xxhdx1985126/wip-crimson-clear-temp-objects-startup
Matan Breizman [Wed, 7 Aug 2024 09:10:18 +0000 (12:10 +0300)]
Merge pull request #58693 from xxhdx1985126/wip-crimson-clear-temp-objects-startup

crimson/osd: clear ondisk temp objects on startup

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #57562 from perezjosibm/wip-perezjos-cpu-map
Jose Juan Palacios-Perez [Wed, 7 Aug 2024 09:02:00 +0000 (10:02 +0100)]
Merge pull request #57562 from perezjosibm/wip-perezjos-cpu-map

script/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling

11 months agoMerge pull request #55374 from aclamk/wip-aclamk-bs-multi-label
Adam Kupczyk [Wed, 7 Aug 2024 08:09:05 +0000 (10:09 +0200)]
Merge pull request #55374 from aclamk/wip-aclamk-bs-multi-label

os/bluestore: Multiple bdev labels on main block device

11 months agoMerge PR #59040 into main NFS-export-form-fixes
Venky Shankar [Wed, 7 Aug 2024 05:30:05 +0000 (11:00 +0530)]
Merge PR #59040 into main

* refs/pull/59040/head:
doc: documenting the feature that scrub clear the entries from damage table on repair

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
11 months agoMerge pull request #56782 from joscollin/wip-B65171-support-replication-start-end...
Venky Shankar [Wed, 7 Aug 2024 04:21:36 +0000 (09:51 +0530)]
Merge pull request #56782 from joscollin/wip-B65171-support-replication-start-end-notifications

cephfs_mirror: provide metrics for last successful snapshot sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #57458 from lxbsz/wip-session-evict
Venky Shankar [Wed, 7 Aug 2024 04:20:00 +0000 (09:50 +0530)]
Merge pull request #57458 from lxbsz/wip-session-evict

qa/cephfs: add test_session_evict_non_blocklisted test case

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #57987 from joscollin/wip-B64752-valgrind-report-leaks
Venky Shankar [Wed, 7 Aug 2024 04:19:03 +0000 (09:49 +0530)]
Merge pull request #57987 from joscollin/wip-B64752-valgrind-report-leaks

qa/suites: drop --show-reachable=yes from fs:valgrind tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58097 from gardran/wip-gardran-kill-count
Venky Shankar [Wed, 7 Aug 2024 04:18:22 +0000 (09:48 +0530)]
Merge pull request #58097 from gardran/wip-gardran-kill-count

client: eliminate duplicate lookups wherever possible

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agodoc: documenting the feature that scrub clear the entries from damage table on repair 59040/head
neeraj pratap singh [Mon, 5 Aug 2024 19:50:35 +0000 (01:20 +0530)]
doc: documenting the feature that scrub clear the entries from damage table on repair

Fixes: https://tracker.ceph.com/issues/67337
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
11 months agoMerge pull request #59060 from qn2060/patch-3
Anthony D'Atri [Tue, 6 Aug 2024 23:11:22 +0000 (19:11 -0400)]
Merge pull request #59060 from qn2060/patch-3

doc/dev/peering: Change acting set num

11 months agoMerge PR #52939 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:05:50 +0000 (17:05 -0400)]
Merge PR #52939 into main

* refs/pull/52939/head:
mon/MonClient: handle ms_handle_fast_authentication return

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge PR #58437 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:05:10 +0000 (17:05 -0400)]
Merge PR #58437 into main

* refs/pull/58437/head:
mds: remove the misleading and redundant logs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge PR #58582 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:03:25 +0000 (17:03 -0400)]
Merge PR #58582 into main

* refs/pull/58582/head:
test: add a test for `fs set down` on online cluster
mon: fix `fs set down` to adjust max_mds only when cluster is not down

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58511 from pereman2/ch-umount
Adam Kupczyk [Tue, 6 Aug 2024 20:10:46 +0000 (22:10 +0200)]
Merge pull request #58511 from pereman2/ch-umount

os/bluestore: assert CollectionRef count is 1 on umount

11 months agoMerge pull request #57572 from pereman2/refactors
Adam Kupczyk [Tue, 6 Aug 2024 20:10:25 +0000 (22:10 +0200)]
Merge pull request #57572 from pereman2/refactors

os/bluestore: Improve Readability of Extent Map Sharding

11 months agoMerge pull request #59011 from xxhdx1985126/wip-67327
Matan Breizman [Tue, 6 Aug 2024 17:20:57 +0000 (20:20 +0300)]
Merge pull request #59011 from xxhdx1985126/wip-67327

crimson/osd: send empty transactions to backfill targets that haven't backfilled the objects yet

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58708 from xxhdx1985126/wip-67068
Matan Breizman [Tue, 6 Aug 2024 17:20:03 +0000 (20:20 +0300)]
Merge pull request #58708 from xxhdx1985126/wip-67068

crimson/osd/osd_operation/client_request: requeue client requests from a temporary queue other than ClientRequest::Orderer::list

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58148 from xxhdx1985126/wip-65696
Matan Breizman [Tue, 6 Aug 2024 17:17:33 +0000 (20:17 +0300)]
Merge pull request #58148 from xxhdx1985126/wip-65696

crimson/osd/osd_operations: hang requests if the objects are unfound

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #59051 from dang/wip-dang-67321
Daniel Gryniewicz [Tue, 6 Aug 2024 17:08:09 +0000 (13:08 -0400)]
Merge pull request #59051 from dang/wip-dang-67321

RGW - Zipper: pull in upstream fix for zpp_bits

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agodoc/dev/peering: Change acting set num 59060/head
qn2060 [Tue, 6 Aug 2024 16:40:42 +0000 (00:40 +0800)]
doc/dev/peering: Change acting set num

This commit updates the peering doc page with the changed [2,1,2] to [3,1,2]

Signed-off-by: qn2060 <qn2060@users.noreply.github.com>
11 months agoMerge pull request #58971 from cbodley/wip-rm-boost-redis-again-again
Casey Bodley [Tue, 6 Aug 2024 14:50:37 +0000 (10:50 -0400)]
Merge pull request #58971 from cbodley/wip-rm-boost-redis-again-again

submodule: remove the boost_redis submodule again (again)

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
11 months agoMerge pull request #58037 from Suyashd999/refractor-PrimaryLogPG
Yuri Weinstein [Tue, 6 Aug 2024 14:20:25 +0000 (07:20 -0700)]
Merge pull request #58037 from Suyashd999/refractor-PrimaryLogPG

osd/PrimaryLogPG.cc bl length would be stored before moving

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
11 months agoRGW - Zipper: pull in upstream fix for zpp_bits 59051/head
Daniel Gryniewicz [Tue, 6 Aug 2024 12:19:20 +0000 (08:19 -0400)]
RGW - Zipper: pull in upstream fix for zpp_bits

zpp_bits included code that required a newere compiler.  Pull in the
upstream fix from:

https://github.com/eyalz800/zpp_bits/pull/170

Fixes: https://tracker.ceph.com/issues/67321
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
11 months agoMerge pull request #59024 from zdover23/wip-doc-2024-08-05-README-building-ceph
Zac Dover [Tue, 6 Aug 2024 12:17:47 +0000 (22:17 +1000)]
Merge pull request #59024 from zdover23/wip-doc-2024-08-05-README-building-ceph

doc/README.md - add ordered list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58282 from NitzanMordhai/wip-nitzan-daemonwatchdog-should-termina...
NitzanMordhai [Tue, 6 Aug 2024 11:26:47 +0000 (14:26 +0300)]
Merge pull request #58282 from NitzanMordhai/wip-nitzan-daemonwatchdog-should-terminate-thrasher-when-bark

qa/tasks: watchdog should terminate thrasher

11 months agoMerge pull request #58664 from aclamk/wip-aclamk-qa-less-bluestore-debug
Adam Kupczyk [Tue, 6 Aug 2024 10:53:02 +0000 (12:53 +0200)]
Merge pull request #58664 from aclamk/wip-aclamk-qa-less-bluestore-debug

qa/suites/rados: Reduced BlueStore log levels

11 months agoscript/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling 57562/head
Jose J Palacios-Perez [Mon, 20 May 2024 10:24:28 +0000 (11:24 +0100)]
script/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling

Signed-off-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
11 months agothrashers: standardize stop and join method names 58282/head
Nitzan Mordechai [Tue, 2 Jul 2024 08:31:38 +0000 (08:31 +0000)]
thrashers: standardize stop and join method names

Thrashers that do not inherit from ThrasherGreenlet previously used a
method called do_join, which combined stop and join functionality. To
ensure consistency and clarity, we want all thrashers to use separate
stop, join, and stop_and_join methods.

This commit renames methods and implements missing stop and stop_and_join
methods in thrashers that did not inherit from ThrasherGreenlet.

Fixes: https://tracker.ceph.com/issues/66698
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
11 months agoqa/tasks: watchdog terminate thrasher
Nitzan Mordechai [Wed, 26 Jun 2024 13:04:45 +0000 (13:04 +0000)]
qa/tasks: watchdog terminate thrasher

If a thrasher exception occurs, the do_dump_ops thread will continue
looping until the Teuthology timeout is reached.
The watchdog should terminate the thrasher to free up resources.

Fixes: https://tracker.ceph.com/issues/66698
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
11 months agoMerge PR #58500 into main
Venky Shankar [Tue, 6 Aug 2024 06:15:59 +0000 (11:45 +0530)]
Merge PR #58500 into main

* refs/pull/58500/head:
ptl-tool: Fix token file name and variable names

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58963 from rhcs-dashboard/fix-67009-main
Nizamudeen A [Tue, 6 Aug 2024 04:46:19 +0000 (10:16 +0530)]
Merge pull request #58963 from rhcs-dashboard/fix-67009-main

mgr/dashboard: Dashboard not showing Object/Overview correctly.

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
11 months agoMerge pull request #58746 from rhcs-dashboard/fix-67069-main
Nizamudeen A [Tue, 6 Aug 2024 04:45:09 +0000 (10:15 +0530)]
Merge pull request #58746 from rhcs-dashboard/fix-67069-main

mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries in it

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
11 months agoMerge pull request #57905 from mcpreston/docs-dashboard-typo
Anthony D'Atri [Tue, 6 Aug 2024 00:23:53 +0000 (20:23 -0400)]
Merge pull request #57905 from mcpreston/docs-dashboard-typo

doc/mgr/dashboard: fix TLS typo

11 months agoMerge pull request #58767 from kshtsk/wip-python-invalid-escape-sequence
Adam King [Mon, 5 Aug 2024 16:56:39 +0000 (12:56 -0400)]
Merge pull request #58767 from kshtsk/wip-python-invalid-escape-sequence

mgr: fix invalid escape sequence

Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #58373 from ceph/wip-tasks-ceph-mkfs-has-no-f
kyr [Mon, 5 Aug 2024 15:44:14 +0000 (17:44 +0200)]
Merge pull request #58373 from ceph/wip-tasks-ceph-mkfs-has-no-f

qa: ceph.py mkfs.ext4 has no -f

11 months agoos/bluestore: BluestoreRepairTest ch cleanup 58511/head
Pere Diaz Bou [Mon, 5 Aug 2024 15:15:48 +0000 (17:15 +0200)]
os/bluestore: BluestoreRepairTest ch cleanup

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
11 months agodoc/README.md - add ordered list 59024/head
Zac Dover [Mon, 5 Aug 2024 13:02:49 +0000 (23:02 +1000)]
doc/README.md - add ordered list

Add ordered-list formatting to the "Building Ceph" section of README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58891 from zdover23/wip-doc-2024-07-28-cephfs-file-layouts-layout...
Zac Dover [Mon, 5 Aug 2024 12:14:56 +0000 (22:14 +1000)]
Merge pull request #58891 from zdover23/wip-doc-2024-07-28-cephfs-file-layouts-layout-fields

doc/cephfs: edit "Layout Fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58115 from ronen-fr/wip-rf-memmodel
Ronen Friedman [Mon, 5 Aug 2024 11:59:38 +0000 (14:59 +0300)]
Merge pull request #58115 from ronen-fr/wip-rf-memmodel

common: MemoryModel: performance improvements and API changes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
11 months agolibrbd: Reduce use of atomics in librbd throttling 58907/head
Adam Lyon-Jones [Thu, 25 Jul 2024 15:09:21 +0000 (16:09 +0100)]
librbd: Reduce use of atomics in librbd throttling

Signed-off-by: Adam Lyon-Jones <adamlyon@uk.ibm.com>
11 months agoMerge pull request #57786 from Svelar/asan_cli_test
Rongqi Sun [Mon, 5 Aug 2024 07:45:17 +0000 (15:45 +0800)]
Merge pull request #57786 from Svelar/asan_cli_test

crush: avoid out-of-bound access and simplify enlarging buckets

11 months agoMerge pull request #58718 from wanglinke521/wlk-kv-stats
Yuri Weinstein [Sun, 4 Aug 2024 15:14:49 +0000 (08:14 -0700)]
Merge pull request #58718 from wanglinke521/wlk-kv-stats

kv/RocksDBStore: add kv_stats function to print all CF info

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
11 months agoMerge pull request #58470 from mohit84/issue_66867
Yuri Weinstein [Sun, 4 Aug 2024 15:14:09 +0000 (08:14 -0700)]
Merge pull request #58470 from mohit84/issue_66867

mon: Remove any pg_upmap_primary mapping during remove a pool

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Josh Salomon <josh.salomon@gmail.com>
11 months agoMerge pull request #58302 from jianwei1216/feat_add_mclock_perfcounter_main
Yuri Weinstein [Sun, 4 Aug 2024 15:13:04 +0000 (08:13 -0700)]
Merge pull request #58302 from jianwei1216/feat_add_mclock_perfcounter_main

osd/scheduler: add mclock queue length perfcounter

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
11 months agocrimson/osd: send empty transactions to backfill targets that haven't 59011/head
Xuehan Xu [Sun, 4 Aug 2024 10:59:05 +0000 (18:59 +0800)]
crimson/osd: send empty transactions to backfill targets that haven't
backfilled the objects yet

Fixes: https://tracker.ceph.com/issues/67327
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #59006 from zdover23/wip-doc-2024-08-03-glossary-ceph-ansible
Anthony D'Atri [Sat, 3 Aug 2024 14:41:03 +0000 (10:41 -0400)]
Merge pull request #59006 from zdover23/wip-doc-2024-08-03-glossary-ceph-ansible

doc/glossary: add "ceph-ansible"

11 months agodoc/glossary: add "ceph-ansible" 59006/head
Zac Dover [Fri, 2 Aug 2024 20:51:32 +0000 (06:51 +1000)]
doc/glossary: add "ceph-ansible"

Add a "ceph-ansible" entry to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58969 from gbregman/main
Gil Bregman [Fri, 2 Aug 2024 13:27:08 +0000 (16:27 +0300)]
Merge pull request #58969 from gbregman/main

mgr/cephadm: Add SPDK log level to nvmeof configuration file

11 months agoMerge pull request #58402 from rkachach/fix_issue_mtls_support
Adam King [Fri, 2 Aug 2024 13:26:17 +0000 (09:26 -0400)]
Merge pull request #58402 from rkachach/fix_issue_mtls_support

mgr/cephadm: adding mTLS for ceph mgmt-gateway and backend services communication

Reviewed-by: Adam King <adking@redhat.com>
11 months agomgr/cephadm: add SPDK log level to nvmeof configuration 58969/head
Gil Bregman [Fri, 2 Aug 2024 06:21:01 +0000 (09:21 +0300)]
mgr/cephadm: add SPDK log level to nvmeof configuration
Fixes https://tracker.ceph.com/issues/67258

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
11 months agopython-common/ceph/deployment: add SPDK log level to nvmeof configuration
Gil Bregman [Fri, 2 Aug 2024 06:20:21 +0000 (09:20 +0300)]
python-common/ceph/deployment: add SPDK log level to nvmeof configuration
Fixes https://tracker.ceph.com/issues/67258

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
11 months agoMerge pull request #58883 from idryomov/wip-backport-create-resourceattrerror
Ilya Dryomov [Thu, 1 Aug 2024 20:52:50 +0000 (22:52 +0200)]
Merge pull request #58883 from idryomov/wip-backport-create-resourceattrerror

script/backport-create-issue: handle ResourceAttrError when getting CF_TAGS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58882 from idryomov/wip-native-format-dispatch
Ilya Dryomov [Thu, 1 Aug 2024 20:51:18 +0000 (22:51 +0200)]
Merge pull request #58882 from idryomov/wip-native-format-dispatch

librbd/migration: don't instantiate NativeFormat, handle it via dispatch

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: N Balachandran <nibalach@redhat.com>
11 months agoMerge pull request #58862 from cbodley/wip-rgw-posix-bucket-cache-lock
Casey Bodley [Thu, 1 Aug 2024 18:23:26 +0000 (14:23 -0400)]
Merge pull request #58862 from cbodley/wip-rgw-posix-bucket-cache-lock

rgw/posix: name the lock_guard in BucketCacheEntry::reclaim()

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
11 months agoos/bluestore: remove unused functions 58993/head
Pere Diaz Bou [Thu, 1 Aug 2024 15:21:07 +0000 (17:21 +0200)]
os/bluestore: remove unused functions

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
11 months agoMerge pull request #58765 from yuvalif/wip-yuval-64184
J. Eric Ivancich [Thu, 1 Aug 2024 14:09:10 +0000 (10:09 -0400)]
Merge pull request #58765 from yuvalif/wip-yuval-64184

rgw/async/notifications: use common async waiter in pubsub push

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58672 from YiteGu/code-cleanup-osdmon
Yuri Weinstein [Thu, 1 Aug 2024 13:45:27 +0000 (06:45 -0700)]
Merge pull request #58672 from YiteGu/code-cleanup-osdmon

mon/osdmonitor: cleanup the code for preprocess_mark_me_dead

Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
11 months agoMerge pull request #58635 from badone/wip-tracker-50371-rados_api_test-timeout-failures
Yuri Weinstein [Thu, 1 Aug 2024 13:44:34 +0000 (06:44 -0700)]
Merge pull request #58635 from badone/wip-tracker-50371-rados_api_test-timeout-failures

qa: Restrict rados api tests to large clusters and increase timeout

Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agoMerge pull request #58631 from cbodley/wip-66336
Yuri Weinstein [Thu, 1 Aug 2024 13:43:46 +0000 (06:43 -0700)]
Merge pull request #58631 from cbodley/wip-66336

msg: insert PriorityDispatchers in sorted position

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #57863 from NitzanMordhai/wip-nitzan-thrash-erasure-code-crush...
Yuri Weinstein [Thu, 1 Aug 2024 13:42:09 +0000 (06:42 -0700)]
Merge pull request #57863 from NitzanMordhai/wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides

suites/ec-rados-plugin=jerasure-k=8-m=6-crush: roles set with overrides

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
11 months agoMerge pull request #58747 from AliMasarweh/wip-alimasa-bn-test-fix-http
Ali Masarwa [Thu, 1 Aug 2024 12:46:01 +0000 (15:46 +0300)]
Merge pull request #58747 from AliMasarweh/wip-alimasa-bn-test-fix-http

RGW|BN: fix lifecycle test issue

Reviewed-by: yuvalif<ylifshit@redhat.com>
11 months agomgr/cephadm: fixing Grafana domain handling 58402/head
Redouane Kachach [Wed, 31 Jul 2024 11:23:13 +0000 (13:23 +0200)]
mgr/cephadm: fixing Grafana domain handling

it seems that with Grafana 10.4.0 the domain parameter is taken into
account while building the final url (earlier versions didn't seem to
behave the same way). This change sets the domain to the hostname where
Grafana daemon is running instead of '*.lab'. serve_from_sub_path is
removed as it's no needed and when add it causes some undesirable
redirections that could break monitoring HA.

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
11 months agomgr/dashboard: Dashboard not showing Object/Overview correctly. 58963/head
Aashish Sharma [Wed, 31 Jul 2024 11:51:02 +0000 (17:21 +0530)]
mgr/dashboard: Dashboard not showing Object/Overview correctly.

Add undefined checks wherever necessary to the updateChartData method in
dashboard-area-chart component

Fixes: https://tracker.ceph.com/issues/67009
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
11 months agoMerge PR #51332 into main
Venky Shankar [Thu, 1 Aug 2024 06:49:52 +0000 (12:19 +0530)]
Merge PR #51332 into main

* refs/pull/51332/head:
qa: add test for ceph tell with unknown cephtype
pybind/ceph_argparse: fixing error message for ceph tell command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
11 months agomgr/dashboard: make multi-cluster context switcher scrollable if we have many entries... 58746/head
Aashish Sharma [Tue, 23 Jul 2024 06:29:42 +0000 (11:59 +0530)]
mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries in it

Fixes: https://tracker.ceph.com/issues/67069
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
11 months agodoc/cephfs: edit "Layout Fields" text 58891/head
Zac Dover [Sun, 28 Jul 2024 13:35:21 +0000 (23:35 +1000)]
doc/cephfs: edit "Layout Fields" text

Improve the English in the "Layout Fields" section of
doc/cephfs/file-layouts.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58899 from zdover23/wip-doc-2024-07-29-glossary-prometheus
Zac Dover [Thu, 1 Aug 2024 03:07:24 +0000 (13:07 +1000)]
Merge pull request #58899 from zdover23/wip-doc-2024-07-29-glossary-prometheus

doc/glossary: add "Prometheus"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58972 from anthonyeleven/glacier-melting
Zac Dover [Wed, 31 Jul 2024 22:59:55 +0000 (08:59 +1000)]
Merge pull request #58972 from anthonyeleven/glacier-melting

doc: Improve doc/radosgw/placement.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
11 months agodoc: Improve doc/radosgw/placement.rst 58972/head
Anthony D'Atri [Wed, 31 Jul 2024 22:41:53 +0000 (18:41 -0400)]
doc: Improve doc/radosgw/placement.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
11 months agosubmodule: remove the boost_redis submodule again (again) 58971/head
Casey Bodley [Wed, 31 Jul 2024 19:56:08 +0000 (15:56 -0400)]
submodule: remove the boost_redis submodule again (again)

5843c6b04bacf9a7c981fca5d874ab3400f855db accidentally added back to the
boost_redis submodule that was last removed in 924f2e9f87f0ee940eff363c26a714a309639d26

Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 months agomgr/cephadm: add SSL support to ceph-exporter
Guillaume Abrioux [Wed, 10 Jul 2024 13:50:59 +0000 (15:50 +0200)]
mgr/cephadm: add SSL support to ceph-exporter

This commit adds SSL support to the ceph-exporter deployment
made by cephadm. When `secure_monitoring_stack` is set to `True`,
the `ceph-exporter` container is restarted with SSL enabled.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
11 months agomgr/cephadm: adding mTLS support
Redouane Kachach [Wed, 3 Jul 2024 13:43:16 +0000 (15:43 +0200)]
mgr/cephadm: adding mTLS support

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
11 months agoMerge pull request #56792 from cbodley/wip-qa-rgw-notifications-valgrind 58930/head
Shilpa Jagannath [Wed, 31 Jul 2024 17:10:26 +0000 (10:10 -0700)]
Merge pull request #56792 from cbodley/wip-qa-rgw-notifications-valgrind

qa/rgw: enable valgrind in rgw/notifications suite

11 months agoMerge pull request #54671 from baum/ceph-nvmeof-mon
Yuri Weinstein [Wed, 31 Jul 2024 16:05:41 +0000 (09:05 -0700)]
Merge pull request #54671 from baum/ceph-nvmeof-mon

mon: add NVMe-oF gateway monitor and HA

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #58931 from ronen-fr/wip-rf-repair-decode
Ronen Friedman [Wed, 31 Jul 2024 15:07:39 +0000 (18:07 +0300)]
Merge pull request #58931 from ronen-fr/wip-rf-repair-decode

qa/standalone/scrub: fix the searched-for text for snaps decode errors

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoMerge pull request #56976 from YiteGu/add-watcher-timeout-discover
Yuri Weinstein [Wed, 31 Jul 2024 14:33:58 +0000 (07:33 -0700)]
Merge pull request #56976 from YiteGu/add-watcher-timeout-discover

osd: add watch ping timeout count in osd

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #55130 from ifed01/wip-ifed-better-shared-blob-repair
Yuri Weinstein [Wed, 31 Jul 2024 14:31:40 +0000 (07:31 -0700)]
Merge pull request #55130 from ifed01/wip-ifed-better-shared-blob-repair

test/store_test: get rid off explicit offset specifications in shared

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
11 months agoMerge pull request #52068 from YiteGu/fix-trackedop-perfcounter
Yuri Weinstein [Wed, 31 Jul 2024 14:30:53 +0000 (07:30 -0700)]
Merge pull request #52068 from YiteGu/fix-trackedop-perfcounter

common/TrackedOp: rename and raise prio of slow op perfcounter

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58349 from dang/wip-dang-posix-driver
Daniel Gryniewicz [Wed, 31 Jul 2024 13:57:24 +0000 (09:57 -0400)]
Merge pull request #58349 from dang/wip-dang-posix-driver

RGW - Add Multipart and Versioned POSIX

11 months agoMerge PR #58878 into main
Venky Shankar [Wed, 31 Jul 2024 11:10:03 +0000 (16:40 +0530)]
Merge PR #58878 into main

* refs/pull/58878/head:
client: Fix leading / issue with mds_check_access
qa: Add mds caps test for testing fs read and a path rw

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agonvmeof gw monitor: disable by default 54671/head
Alexander Indenbaum [Thu, 25 Jul 2024 09:02:44 +0000 (09:02 +0000)]
nvmeof gw monitor: disable by default

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
11 months agoqa/suites/rbd/nvmeof: add multi-subsystem setup and thrash test
Vallari Agrawal [Thu, 27 Jun 2024 11:18:47 +0000 (16:48 +0530)]
qa/suites/rbd/nvmeof: add multi-subsystem setup and thrash test

1. qa/tasks/nvmeof.py:
    1.1. create multiple rbd images for all subsystems
    1.2. add NvmeofThrasher and ThrashTest
2. qa/tasks/mon_thrash.py: add 'switch_thrashers' option
3. nvmeof_setup_subsystem.sh: create multiple subsystems and enable HA
4. Restructure qa/suites/rbd/nvmeof: Create two sub-suites
   - "basic" (nvmeof_initiator job)
   - "thrash" (new: nvmeof_mon_thrash and nvmeof_thrash jobs)

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
11 months agomgr/cephadm: ceph nvmeof monitor support
Alexander Indenbaum [Mon, 10 Jun 2024 13:04:57 +0000 (13:04 +0000)]
mgr/cephadm: ceph nvmeof monitor support

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
11 months agomon: add NVMe-oF gateway monitor and HA doc
Alexander Indenbaum [Wed, 31 Jul 2024 08:51:17 +0000 (08:51 +0000)]
mon: add NVMe-oF gateway monitor and HA doc

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
11 months agomon: add NVMe-oF gateway monitor and HA
Leonid Chernin [Tue, 17 Oct 2023 13:25:07 +0000 (13:25 +0000)]
mon: add NVMe-oF gateway monitor and HA

- 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>
11 months agoRGW|BN: fix lifecycle test and http server issue 58747/head
Ali Masarwa [Thu, 18 Jul 2024 12:24:05 +0000 (15:24 +0300)]
RGW|BN: fix lifecycle test and http server issue

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
11 months agoMerge pull request #58897 from Matan-B/wip-matanb-crimson-string-format
Matan Breizman [Wed, 31 Jul 2024 08:30:44 +0000 (11:30 +0300)]
Merge pull request #58897 from Matan-B/wip-matanb-crimson-string-format

crimson/common/tri_mutex: avoid hobject_t formatting

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #58424 from guits/tracker_61597
Guillaume Abrioux [Wed, 31 Jul 2024 08:11:51 +0000 (10:11 +0200)]
Merge pull request #58424 from guits/tracker_61597

ceph-volume: do not convert LVs's symlink to real path

11 months agomgr/cephadm: introducing new cmd to generate self-signed certs
Redouane Kachach [Wed, 3 Jul 2024 08:15:20 +0000 (10:15 +0200)]
mgr/cephadm: introducing new cmd to generate self-signed certs

this new Cephadm cmd introduces the ability to generate self-signed
certificates for external modules, signed by Cephadm as the root CA.
This feature is essential for implementing mTLS. Previously, if the
user did not provide a certificate and key, the dashboard would
generate its own. With this update, the dashboard now calls Cephadm
to generate self-signed certificates, enabling secure mTLS
communication with other backend applications. Prometheus module
also makes use of this new functionality to generate self-signed
certificates.

Signed-off-by: Redouane Kachach <rkachach@ibm.com>