]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agomgr/vol: log in case path goes in missing in async_cloner.py 62638/head
Rishabh Dave [Wed, 2 Apr 2025 18:26:28 +0000 (23:56 +0530)]
mgr/vol: log in case path goes in missing in async_cloner.py

Add a log entry in case the source and/or destination path goes missing
for a clone operation.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agomgr/vol: handle case where path goes missing for a clone
Rishabh Dave [Wed, 2 Apr 2025 15:31:31 +0000 (21:01 +0530)]
mgr/vol: handle case where path goes missing for a clone

A thread is spawned to get the value of a certain extended attribute to
generate the progress statistics for the ongoing clone operations. In
case source and/or destination path for a clone operation goes missing,
this thread crashes. Instead of crashing, handle this case gracefully.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agomgr/vol: for "clone status" handle case where path goes missing
Rishabh Dave [Wed, 2 Apr 2025 15:28:25 +0000 (20:58 +0530)]
mgr/vol: for "clone status" handle case where path goes missing

If source and/or destination path of the cloning operation goes missing
during it's ongoing or just before it becomes ongoing, "ceph fs clone
status" command can fail. Account for and handle such cases gracefully.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #61212 from rishabh-d-dave/mgr-vol-count-clones
Rishabh Dave [Tue, 22 Apr 2025 15:51:52 +0000 (21:21 +0530)]
Merge pull request #61212 from rishabh-d-dave/mgr-vol-count-clones

mgr/vol: count number of ongoing clones in CloneProgressReporter...

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agoMerge pull request #62870 from MaxKellermann/mds_includes
Max Kellermann [Tue, 22 Apr 2025 15:28:37 +0000 (17:28 +0200)]
Merge pull request #62870 from MaxKellermann/mds_includes

mds: include cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge pull request #62708 from rishabh-d-dave/vols-snap-path
Rishabh Dave [Tue, 22 Apr 2025 15:06:34 +0000 (20:36 +0530)]
Merge pull request #62708 from rishabh-d-dave/vols-snap-path

mgr/vol: add command to get snapshot path

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #62837 from athanatos/sjust/wip-crimson-stuck-backfilling
Samuel Just [Tue, 22 Apr 2025 15:02:59 +0000 (08:02 -0700)]
Merge pull request #62837 from athanatos/sjust/wip-crimson-stuck-backfilling

crimson: fix several bugs causing stuck backfills

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #62619 from athanatos/sjust/wip-replica-read-crimson-mosdpct
Samuel Just [Tue, 22 Apr 2025 14:59:41 +0000 (07:59 -0700)]
Merge pull request #62619 from athanatos/sjust/wip-replica-read-crimson-mosdpct

crimson: add MOSDPGPCT support

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #62899 from tchaikov/cmake-build-boost
Kefu Chai [Tue, 22 Apr 2025 13:27:46 +0000 (21:27 +0800)]
Merge pull request #62899 from tchaikov/cmake-build-boost

cmake: Fix b2 build with postfixed compiler versions

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #61997 from Naveenaidu/wip-naveen-telemetry-show-labeled-perf...
Ronen Friedman [Tue, 22 Apr 2025 11:56:21 +0000 (14:56 +0300)]
Merge pull request #61997 from Naveenaidu/wip-naveen-telemetry-show-labeled-perf-counters

telemetry: include labeled perf counters in report

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #62712 from leonidc/heuristic-redeploy-fix
leonidc [Tue, 22 Apr 2025 10:27:27 +0000 (13:27 +0300)]
Merge pull request #62712 from leonidc/heuristic-redeploy-fix

nvmeofgw: fix host issue during redeploy, improves previous redeploy fix

2 months agoMerge PR #62578 into main
Venky Shankar [Tue, 22 Apr 2025 10:14:11 +0000 (15:44 +0530)]
Merge PR #62578 into main

* refs/pull/62578/head:
mds: fix dump stray command

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agoMerge PR #62674 into main
Venky Shankar [Tue, 22 Apr 2025 10:13:19 +0000 (15:43 +0530)]
Merge PR #62674 into main

* refs/pull/62674/head:
mon: Fix cast warning

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #62877 from bluikko/doc-formatting-radosgw
Zac Dover [Tue, 22 Apr 2025 09:47:09 +0000 (19:47 +1000)]
Merge pull request #62877 from bluikko/doc-formatting-radosgw

doc/radosgw: Improve and more consistent formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #62869 from afreen23/wip-nvme
afreen23 [Tue, 22 Apr 2025 07:46:39 +0000 (13:16 +0530)]
Merge pull request #62869 from afreen23/wip-nvme

mgr/dashboard: Fix pool update on edit

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #62900 from ceph/revert-61786-ns-create-size-fix
Hezko [Tue, 22 Apr 2025 03:39:26 +0000 (06:39 +0300)]
Merge pull request #62900 from ceph/revert-61786-ns-create-size-fix

Revert "mgr/dashboard: Ns create size fix"

2 months agocmake: Fix b2 build with postfixed compiler versions 62899/head
Kefu Chai [Mon, 21 Apr 2025 11:42:58 +0000 (19:42 +0800)]
cmake: Fix b2 build with postfixed compiler versions

Previously, the build process used `bootstrap.sh` to build the b2 tool,
which automatically selected the compiler based on the specified toolset.
This failed when the compiler executable had a version postfix (e.g.,
/usr/bin/clang++-19) without a symlink at the expected name, producing
errors like:

```
A C++11 capable compiler is required for building the B2 engine.
Toolset 'clang' does not appear to support C++11.

> clang++ -x c++ -std=c++11 -pthread  check_clib.cpp check_cxx11.cpp
./tools/build/src/engine/build.sh: 120: clang++: not found
> clang++ -x c++ -std=c++11  check_clib.cpp check_cxx11.cpp
./tools/build/src/engine/build.sh: 120: clang++: not found

** Note, the C++11 capable compiler is _only_ required for building the B2
** engine. The B2 build system allows for using any C++ level and any other
** supported language and resource in your projects.

You can specify the toolset as the argument, i.e.:
    ./build.sh [options] gcc
```

The issue occurred because `bootstrap.sh` hardcodes the compiler name
based on the toolset (e.g., `clang++` for Clang) without supporting
postfixed versions.

This commit replaces the `bootstrap.sh` approach with an explicit build
command using Boost's `build.sh` script. We now:
1. Directly specify the full compiler path from CMake variables
2. Manually configure the build with `--cxx=...` and `--toolset=...`
3. Avoid reliance on symlinks or `bootstrap.sh`'s internal detection

This ensures the B2 engine is always built with the user-specified
compiler, even when installed with version postfixes.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #62728 from adk3798/cephadm-core-status-update-no-cinfo
Adam King [Mon, 21 Apr 2025 20:03:26 +0000 (16:03 -0400)]
Merge pull request #62728 from adk3798/cephadm-core-status-update-no-cinfo

cephadm: still set keep_container_info key in CoreStatusUpdater when cinfo is None

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62660 from Kushal-deb/reset-config-for-grafana
Adam King [Mon, 21 Apr 2025 18:35:54 +0000 (14:35 -0400)]
Merge pull request #62660 from Kushal-deb/reset-config-for-grafana

cephadm: Add pre_remove logic to clean up configs for grafana

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #61487 from adk3798/cephadm-rgw-exit-timeout-secs
Adam King [Mon, 21 Apr 2025 18:30:32 +0000 (14:30 -0400)]
Merge pull request #61487 from adk3798/cephadm-rgw-exit-timeout-secs

mgr/cephadm: allow setting up RGW delaying shutdown to complete client connections

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 months agoMerge pull request #62652 from shraddhaag/wip-shraddhaag-fix-pg-degraded-warning
Adam King [Mon, 21 Apr 2025 18:16:41 +0000 (14:16 -0400)]
Merge pull request #62652 from shraddhaag/wip-shraddhaag-fix-pg-degraded-warning

qa/suites/orch/cephadm: add PG_DEGRADED to ignorelist

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 months agoMerge pull request #62681 from ShwetaBhosale1/fix_issue_70800_moving_last_host_having...
Adam King [Mon, 21 Apr 2025 18:14:30 +0000 (14:14 -0400)]
Merge pull request #62681 from ShwetaBhosale1/fix_issue_70800_moving_last_host_having_nvmeof_to_maintainance_mode_should_not_be_allowed

mgr/cephadm: Give warning for moving last nvmeof host to maintainane mode

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kushal Deb <Kushal.Deb@ibm.com>
2 months agoRevert "mgr/dashboard: Ns create size fix" 62900/head
Hezko [Mon, 21 Apr 2025 14:09:20 +0000 (17:09 +0300)]
Revert "mgr/dashboard: Ns create size fix"

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
2 months agoosd/pg_features: advertise PG_FEATURE_PCT for crimson 62619/head
Samuel Just [Fri, 28 Mar 2025 01:53:56 +0000 (18:53 -0700)]
osd/pg_features: advertise PG_FEATURE_PCT for crimson

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson: wire up crimson pct timer and message
Samuel Just [Wed, 1 May 2024 22:36:24 +0000 (22:36 +0000)]
crimson: wire up crimson pct timer and message

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson/osd/pg: call PGBackend::on_actingset_changed in PG::stop
Samuel Just [Fri, 28 Mar 2025 01:50:10 +0000 (18:50 -0700)]
crimson/osd/pg: call PGBackend::on_actingset_changed in PG::stop

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson: remove unused OperationThrottler::with_throttle 62837/head
Samuel Just [Tue, 15 Apr 2025 22:56:09 +0000 (15:56 -0700)]
crimson: remove unused OperationThrottler::with_throttle

It's now unused, and these combinator style wrappers are easy to
misuse and hard to read compared with RAII and coroutines.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson: use make_interruptible, coroutine, and RAII releaser for recover_object_with...
Samuel Just [Tue, 15 Apr 2025 22:50:57 +0000 (15:50 -0700)]
crimson: use make_interruptible, coroutine, and RAII releaser for recover_object_with_throttle

791772f1c used with_throttle here in a way which caused
then_interruptible in PGRecovery::recover_object to be called outside of
an interruptible context.

Instead of using a wrapper taking a lambda, rephrase as an RAII releaser
suitable for use in a coroutine.  This avoids needing to structure
with_throttle to deal correctly with both interruptible and
non-interruptible contexts.

Fixes: https://tracker.ceph.com/issues/70939
Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson: update PGRecovery::recover_object_with_throttle to use logging macros
Samuel Just [Tue, 15 Apr 2025 22:18:13 +0000 (15:18 -0700)]
crimson: update PGRecovery::recover_object_with_throttle to use logging macros

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson/.../osd_operation: remove max_in_progress shortcut in with_throttle
Samuel Just [Tue, 15 Apr 2025 22:01:43 +0000 (15:01 -0700)]
crimson/.../osd_operation: remove max_in_progress shortcut in with_throttle

This made sense prior to the addition of the scheduler.  Now, we need
to go through the scheduler whether there's a max or not.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson/osd/osd_operation: remove unused with_throttle[_while] variants
Samuel Just [Tue, 15 Apr 2025 21:57:49 +0000 (14:57 -0700)]
crimson/osd/osd_operation: remove unused with_throttle[_while] variants

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson/osd/recovery_backend: correctly handle missing object in scan_for_backfill
Samuel Just [Tue, 15 Apr 2025 19:57:35 +0000 (12:57 -0700)]
crimson/osd/recovery_backend: correctly handle missing object in scan_for_backfill

load_and_lock can return enoent if object is missing.

Fixes: https://tracker.ceph.com/issues/70936
Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson/osd/recovery_backend: do not resolve_clone in scan_for_backfill
Samuel Just [Tue, 15 Apr 2025 19:46:21 +0000 (12:46 -0700)]
crimson/osd/recovery_backend: do not resolve_clone in scan_for_backfill

We're looking for the exact hobject_t specified.

Fixes: https://tracker.ceph.com/issues/70935
Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #62861 from cloudbehl/nfs-ip-port-fix
afreen23 [Mon, 21 Apr 2025 16:01:43 +0000 (21:31 +0530)]
Merge pull request #62861 from cloudbehl/nfs-ip-port-fix

mgr/dashboard: Fix virtual IP:port in NFS list

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #62733 from adk3798/cephadm-rm-cluster-zap-devices-fix
Adam King [Mon, 21 Apr 2025 14:57:31 +0000 (10:57 -0400)]
Merge pull request #62733 from adk3798/cephadm-rm-cluster-zap-devices-fix

cephadm: check "ceph_device_lvm" field instead of "ceph_device" during zap

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 months agoMerge pull request #62853 from ceph/wip-yuriw-18.2.6-release.notes-main
Yuri Weinstein [Mon, 21 Apr 2025 14:00:38 +0000 (07:00 -0700)]
Merge pull request #62853 from ceph/wip-yuriw-18.2.6-release.notes-main

doc: reef 18.2.6 release notes

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Adam King adking@redhat.com
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #62788 from phlogistonjohn/jjm-defence
Adam King [Mon, 21 Apr 2025 12:49:53 +0000 (08:49 -0400)]
Merge pull request #62788 from phlogistonjohn/jjm-defence

mgr/cephadm: do not delete smb fs cephx keys

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 months agoMerge pull request #62782 from bluikko/doc-prompts-mgr
Zac Dover [Mon, 21 Apr 2025 09:24:12 +0000 (19:24 +1000)]
Merge pull request #62782 from bluikko/doc-prompts-mgr

doc/mgr: Promptify CLI commands and other formatting fixes

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #62794 from afreen23/main
afreen23 [Mon, 21 Apr 2025 08:42:01 +0000 (14:12 +0530)]
Merge pull request #62794 from afreen23/main

mgr/dashboard: refactor about.component.ts

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
3 months agoMerge pull request #62879 from tchaikov/pkgutil.find_loader
Ilya Dryomov [Sun, 20 Apr 2025 19:58:10 +0000 (21:58 +0200)]
Merge pull request #62879 from tchaikov/pkgutil.find_loader

pybind: switch from pkgutil.find_loader() to importlib.util.find_spec()

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 months agopybind: switch from pkgutil.find_loader() to importlib.util.find_spec() 62879/head
Kefu Chai [Fri, 18 Apr 2025 09:24:58 +0000 (17:24 +0800)]
pybind: switch from pkgutil.find_loader() to importlib.util.find_spec()

Replace pkgutil.find_loader() with importlib.util.find_spec() throughout
Python bindings. This addresses the deprecation warning in Python 3.10
(scheduled for removal in 3.14) that appeared when generating librbd
Python bindings.

The importlib.util.find_spec() API has been available since Python 3.4
and is compatible with our minimum required Python version (3.9, since
commit 51f71fc1).

The warning resolved:
```
/home/kefu/dev/ceph/src/pybind/rbd/setup.py:8: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
  if not pkgutil.find_loader('setuptools'):
```

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 months agoMerge pull request #62736 from adamemerson/wip-unbreak-d4n
Casey Bodley [Fri, 18 Apr 2025 20:23:21 +0000 (16:23 -0400)]
Merge pull request #62736 from adamemerson/wip-unbreak-d4n

rgw: Unbreak D4N

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Samarah Uriarte <samarah.uriarte@ibm.com>
3 months agoMerge pull request #62850 from ivancich/wip-shard-report-crash
J. Eric Ivancich [Fri, 18 Apr 2025 18:14:31 +0000 (14:14 -0400)]
Merge pull request #62850 from ivancich/wip-shard-report-crash

rgw: prevent crash in `radosgw-admin bucket object shard ...`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jesse Williamson <jfw@ibm.com>
3 months agoMerge pull request #62871 from cbodley/wip-doc-rgw-user-admin-system
Casey Bodley [Fri, 18 Apr 2025 17:34:00 +0000 (13:34 -0400)]
Merge pull request #62871 from cbodley/wip-doc-rgw-user-admin-system

doc/rgw: document Admin and System Users

Reviewed-by: Seena Fallah <seenafallah@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61486 from cbodley/wip-qa-rgw-s3tests-logging
Casey Bodley [Fri, 18 Apr 2025 16:57:54 +0000 (12:57 -0400)]
Merge pull request #61486 from cbodley/wip-qa-rgw-s3tests-logging

qa/rgw: run-s3tests.sh disables bucket_logging tests

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 months agoMerge pull request #62497 from bill-scales/ec_rollback_changes
Laura Flores [Fri, 18 Apr 2025 15:43:15 +0000 (10:43 -0500)]
Merge pull request #62497 from bill-scales/ec_rollback_changes

osd: EC optimizations: changes to rollback to support partial writes

3 months agoMerge pull request #57740 from bill-scales/wip-bscales-align-write-buffers-v2
Laura Flores [Fri, 18 Apr 2025 15:41:13 +0000 (10:41 -0500)]
Merge pull request #57740 from bill-scales/wip-bscales-align-write-buffers-v2

os/transaction: page align write data buffers to improve performance - version 2

3 months agodoc/rgw: document Admin and System Users 62871/head
Casey Bodley [Thu, 17 Apr 2025 21:52:27 +0000 (17:52 -0400)]
doc/rgw: document Admin and System Users

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agorgw: prevent crash in `radosgw-admin bucket object shard ...` 62850/head
J. Eric Ivancich [Wed, 16 Apr 2025 16:38:33 +0000 (12:38 -0400)]
rgw: prevent crash in `radosgw-admin bucket object shard ...`

This subcommand is used to ask radosgw-admin which bucket index shard
a given object in a given bucket would have its bucket index entry
on. The user is required to supply the number of shards (i.e., the
command doesn't look that up). If 0 is provided it would result in a
divide by zero runtime exception. Values less than or equal to zero
are now protected.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 months agoMerge pull request #62803 from ShwetaBhosale1/fix_issue_70870_update_log_message_for_...
Adam King [Fri, 18 Apr 2025 13:00:33 +0000 (09:00 -0400)]
Merge pull request #62803 from ShwetaBhosale1/fix_issue_70870_update_log_message_for_enabling_logrotate.timer

cephadm: Updated log message for enabling logrotate.timer service while bootstrap

Reviewed-by: Adam King <adking@redhat.com>
3 months agodoc/radosgw: Improve and more consistent formatting 62877/head
Ville Ojamo [Fri, 18 Apr 2025 07:43:27 +0000 (14:43 +0700)]
doc/radosgw: Improve and more consistent formatting

Use inline code formatting consistently for command
line switches, data, hostnames, etc.
Correctly indent text and child lists in list items.
Remove a mid-sentence double spaces.
Capitalize "RGW" and "API" in text.
Remove unordered lists that are just regular text
everywhere else.
Use correct prompt # instead of $ for privileged
commands.
Use line continuation for multi-line example commands
instead of render them incorrectly as separate
single-line commands.
Use Title Case in few section header text that
missed it.
multisite.rst: Don't repeat "(RGW)" after "RADOS
Gateway" beyond the first instance in the same
paragraph.
multisite.rst: Change one "multisite" to "multi-site"
because all other instances use this spelling (EXCEPT
the title of the document??).
multisite.rst: Fix indentation of continuation lines in
prompted example commands.
Use pre-formatted block, as seen elsewhere in docs,
instead of strange unordered list plus inline code for
syntax example.
Add space before backslash for multi-line command
continuation.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agoMerge pull request #61800 from MaxKellermann/blk_includes
Max Kellermann [Fri, 18 Apr 2025 08:48:08 +0000 (10:48 +0200)]
Merge pull request #61800 from MaxKellermann/blk_includes

blk: add missing includes

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
3 months agoMerge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash
Ilya Dryomov [Fri, 18 Apr 2025 08:37:56 +0000 (10:37 +0200)]
Merge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash

rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 months agomgr/dashboard: Fix virtual IP:port in NFS list 62861/head
Ankush Behl [Thu, 17 Apr 2025 12:58:43 +0000 (18:28 +0530)]
mgr/dashboard: Fix virtual IP:port in NFS list

fixes:https://tracker.ceph.com/issues/70964

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
3 months agodoc/rgw: Admin Capabilities section links to Admin Ops API
Casey Bodley [Thu, 17 Apr 2025 21:51:46 +0000 (17:51 -0400)]
doc/rgw: Admin Capabilities section links to Admin Ops API

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 months agomds/MDSMap: un-inline methods to reduce compile times 62870/head
Max Kellermann [Wed, 13 Nov 2024 15:42:33 +0000 (16:42 +0100)]
mds/MDSMap: un-inline methods to reduce compile times

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agoMerge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps
Casey Bodley [Thu, 17 Apr 2025 16:54:21 +0000 (12:54 -0400)]
Merge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps

rgw/iam: correcting the caps for OIDC Provider for a user.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agodoc: reef 18.2.6 release notes 62853/head
Yuri Weinstein [Wed, 16 Apr 2025 21:10:01 +0000 (14:10 -0700)]
doc: reef 18.2.6 release notes

Fixes https://tracker.ceph.com/issues/70938
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs
Rishabh Dave [Thu, 17 Apr 2025 16:19:55 +0000 (21:49 +0530)]
Merge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs

doc/cephfs: link section for pausing async threads in section for...

Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agomds/*: forward-declare MDSContext
Max Kellermann [Tue, 29 Oct 2024 12:59:52 +0000 (13:59 +0100)]
mds/*: forward-declare MDSContext

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/MD{Cache,SRank}: move classes to Retry{Message,Request}.h
Max Kellermann [Tue, 29 Oct 2024 13:16:36 +0000 (14:16 +0100)]
mds/MD{Cache,SRank}: move classes to Retry{Message,Request}.h

Prepare for eliminating the header dependency on MDSContext.h.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/cephfs_features.h: do not include cephfs/metrics/Types.h
Max Kellermann [Wed, 30 Oct 2024 11:12:23 +0000 (12:12 +0100)]
mds/cephfs_features.h: do not include cephfs/metrics/Types.h

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/Server: forward-declare types from CInode.h
Max Kellermann [Wed, 30 Oct 2024 07:49:04 +0000 (08:49 +0100)]
mds/Server: forward-declare types from CInode.h

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agoMerge pull request #62766 from adamemerson/wip-70864
Casey Bodley [Thu, 17 Apr 2025 16:03:31 +0000 (12:03 -0400)]
Merge pull request #62766 from adamemerson/wip-70864

rgw: Don't print spurious error on `radosgw-admin` exit

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agomds/Server: add missing includes
Max Kellermann [Thu, 17 Apr 2025 16:02:40 +0000 (18:02 +0200)]
mds/Server: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agoMerge pull request #62793 from BBoozmen/wip-oozmen-70270
Casey Bodley [Thu, 17 Apr 2025 16:00:27 +0000 (12:00 -0400)]
Merge pull request #62793 from BBoozmen/wip-oozmen-70270

rgw: metadata and data sync notification to retry upon any failure case

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agomds/Locker: forward-declare types from CInode.h
Max Kellermann [Wed, 30 Oct 2024 07:27:51 +0000 (08:27 +0100)]
mds/Locker: forward-declare types from CInode.h

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/Locker: add missing includes
Max Kellermann [Thu, 17 Apr 2025 15:57:38 +0000 (17:57 +0200)]
mds/Locker: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/{LocalLockC,SimpleLock}: un-inline methods using `MutationRef`
Max Kellermann [Tue, 29 Oct 2024 21:52:10 +0000 (22:52 +0100)]
mds/{LocalLockC,SimpleLock}: un-inline methods using `MutationRef`

Commit e8bc28407117 added a forward declaration for `MutationRef` but
that doesn't work as long as the header constructs and destructs
instances, causing errors such as:

 build/debug/boost/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T = MutationImpl]’:
 src/mds/SimpleLock.h:424:5:   required from here
   424 |     ceph_assert(!get_xlock_by());
       |                  ~~~~~~~~~~~~^~
 build/debug/boost/include/boost/smart_ptr/intrusive_ptr.hpp:100:44: error: ‘intrusive_ptr_release’ was not declared in this scope; did you mean ‘ceph::common::intrusive_ptr_release’?
   100 |         if( px != 0 ) intrusive_ptr_release( px );
       |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~
       |                       ceph::common::intrusive_ptr_release

This never occurred previously because `Mutation.h` happened to be
already included by somebody else.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CInode: remove the default value from will_block_for_quiesce()
Max Kellermann [Wed, 30 Oct 2024 07:08:06 +0000 (08:08 +0100)]
mds/CInode: remove the default value from will_block_for_quiesce()

Defaulting a `MDRequestRef` parameter works only if the type is fully
defined and thus disallows forward declarations.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CInode: un-inline methods to reduce header dependencies
Max Kellermann [Fri, 25 Oct 2024 13:51:57 +0000 (15:51 +0200)]
mds/CInode: un-inline methods to reduce header dependencies

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/flock: un-inline methods to reduce header dependencies
Max Kellermann [Fri, 25 Oct 2024 13:45:14 +0000 (15:45 +0200)]
mds/flock: un-inline methods to reduce header dependencies

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/SessionMap: un-inline methods to reduce header dependencies
Max Kellermann [Mon, 28 Oct 2024 20:59:19 +0000 (21:59 +0100)]
mds/SessionMap: un-inline methods to reduce header dependencies

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CDentry: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:12:33 +0000 (22:12 +0200)]
mds/CDentry: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CInode: include cleanup
Max Kellermann [Fri, 4 Oct 2024 19:58:38 +0000 (21:58 +0200)]
mds/CInode: include cleanup

Un-inline the destructor to eliminate a few more dependencies from the
public header.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/SimpleLock: add missing includes
Max Kellermann [Thu, 17 Apr 2025 15:01:21 +0000 (17:01 +0200)]
mds/SimpleLock: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomgr/dashboard: Fix pool update on edit 62869/head
Afreen Misbah [Thu, 17 Apr 2025 15:35:39 +0000 (21:05 +0530)]
mgr/dashboard: Fix pool update on edit

Issue: Pool field was blank on editing namespace form and user needs to type out pool
Reason: `image` field is no longer supported in form yet edit function trying to fetch it and failing on that, hence no following updates for pool
Fix: Removed stale `image` field

Additional changes:
- included unit tests for edit to capture such errors
- enhanced unit tests to sue ActivatedRouteStub and `router.url`
- pre populating pool form on create with first rbd pool in the list

Fixes https://tracker.ceph.com/issues/70966

Regression by: https://tracker.ceph.com/issues/69900

Signed-off-by: Afreen Misbah <afreen@ibm.com>
3 months agomds/Mutation: un-inline print() to resolve circular dependency
Max Kellermann [Thu, 17 Apr 2025 15:04:26 +0000 (17:04 +0200)]
mds/Mutation: un-inline print() to resolve circular dependency

Mutation.h and SimpleLock.h have a circular dependency and we have to
resolve it using forward-declarations.  To make that possible, move
print() to Mutation.cc.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/Mutation: add missing includes
Max Kellermann [Thu, 17 Apr 2025 15:07:07 +0000 (17:07 +0200)]
mds/Mutation: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/OpenFileTable: include cleanup
Max Kellermann [Mon, 7 Oct 2024 06:30:35 +0000 (08:30 +0200)]
mds/OpenFileTable: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/MDCache: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:52:22 +0000 (22:52 +0200)]
mds/MDCache: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CDentry: add missing includes
Max Kellermann [Thu, 17 Apr 2025 14:46:06 +0000 (16:46 +0200)]
mds/CDentry: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomsg/MDSRank: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:49:47 +0000 (22:49 +0200)]
msg/MDSRank: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomsg/RecoveryQueue: include cleanup
Max Kellermann [Mon, 7 Oct 2024 02:25:20 +0000 (04:25 +0200)]
msg/RecoveryQueue: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/MDBalancer: include cleanup
Max Kellermann [Mon, 7 Oct 2024 03:46:19 +0000 (05:46 +0200)]
mds/MDBalancer: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomsg/ScrubStack: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:42:31 +0000 (22:42 +0200)]
msg/ScrubStack: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/PurgeQueue: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:24:41 +0000 (22:24 +0200)]
mds/PurgeQueue: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/Beacon: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:26:15 +0000 (22:26 +0200)]
mds/Beacon: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CDir: include cleanup
Max Kellermann [Fri, 4 Oct 2024 20:06:12 +0000 (22:06 +0200)]
mds/CDir: include cleanup

By un-inlining the constructor and destructor, the header dependency
on "common/bloom_filter.hpp" can be eliminated.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/CInode: add missing includes
Max Kellermann [Thu, 17 Apr 2025 14:10:32 +0000 (16:10 +0200)]
mds/CInode: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/SessionMap: include cleanup
Max Kellermann [Mon, 7 Oct 2024 03:43:39 +0000 (05:43 +0200)]
mds/SessionMap: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agoMerge pull request #62828 from ifed01/wip-ifed-fix-70802
Igor Fedotov [Thu, 17 Apr 2025 15:05:02 +0000 (18:05 +0300)]
Merge pull request #62828 from ifed01/wip-ifed-fix-70802

os/bluestore: eliminate build warning

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Adam Kupczyk<akupczyk@ibm.com>
3 months agoMerge pull request #62859 from bluikko/doc-fixes-radosgw
Anthony D'Atri [Thu, 17 Apr 2025 15:02:29 +0000 (11:02 -0400)]
Merge pull request #62859 from bluikko/doc-fixes-radosgw

doc/radosgw: Fix formatting, cosmetic issues, typos

3 months agodoc/radosgw: Fix formatting, cosmetic issues, typos 62859/head
Ville Ojamo [Thu, 17 Apr 2025 04:05:30 +0000 (11:05 +0700)]
doc/radosgw: Fix formatting, cosmetic issues, typos

Fix stray example command block leftover from rebase in
cloud-transition.rst.
Remove extra character > in cloud-sync-module.rst.
Add missing formatting char ` in cloud-sync-module.rst.
Remove extra empty line between example commands that
resulted in a line with just a "#" prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agomds/inode_backtrace: un-inline methods to reduce header dependencies
Max Kellermann [Mon, 28 Oct 2024 16:41:11 +0000 (17:41 +0100)]
mds/inode_backtrace: un-inline methods to reduce header dependencies

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/inode_backtrace: add missing includes
Max Kellermann [Fri, 25 Oct 2024 07:20:49 +0000 (09:20 +0200)]
mds/inode_backtrace: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/FSMap: add missing include
Max Kellermann [Fri, 4 Oct 2024 13:42:26 +0000 (15:42 +0200)]
mds/FSMap: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/mdstypes: un-inline functions that use CachedStackStringStream
Max Kellermann [Fri, 4 Oct 2024 19:44:37 +0000 (21:44 +0200)]
mds/mdstypes: un-inline functions that use CachedStackStringStream

This avoids the heavy include in a commonly used header.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/MDSCacheObject: include cleanup
Max Kellermann [Mon, 21 Oct 2024 16:16:02 +0000 (18:16 +0200)]
mds/MDSCacheObject: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agomds/MDSDaemon: include cleanup
Max Kellermann [Wed, 16 Oct 2024 18:34:03 +0000 (20:34 +0200)]
mds/MDSDaemon: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>