]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 days agoMerge PR #68579 into tentacle tentacle
Patrick Donnelly [Sat, 11 Jul 2026 15:12:25 +0000 (11:12 -0400)]
Merge PR #68579 into tentacle

* refs/pull/68579/head:
python-common: multi-line for yaml

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 days agoMerge PR #66957 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 13:54:09 +0000 (09:54 -0400)]
Merge PR #66957 into tentacle

* refs/pull/66957/head:
cephadm/nvmeof: enable rbd_with_crc32c by default

Reviewed-by: Adam King <adking@redhat.com>
2 days agoMerge PR #68573 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 13:51:44 +0000 (09:51 -0400)]
Merge PR #68573 into tentacle

* refs/pull/68573/head:
cephadm: fixing build_addrv_params function ipv6 handling
cephadm: fix EndPoint to handle bracketed IPv6 addresses

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 days agoMerge PR #69715 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 13:47:26 +0000 (09:47 -0400)]
Merge PR #69715 into tentacle

* refs/pull/69715/head:
mgr/dashboard: fix bind address regression from CherryPy isolation

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 days agoMerge PR #69093 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 13:42:33 +0000 (09:42 -0400)]
Merge PR #69093 into tentacle

* refs/pull/69093/head:
python-common/drive_selection: keep existing-OSD devices past limit
ceph-volume: tolerate <=1% short-fall on requested db/wal size
ceph-volume: allocate db/wal slot on partial fast-device VG

Reviewed-by: Adam King <adking@redhat.com>
2 days agoMerge PR #69228 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 13:33:04 +0000 (09:33 -0400)]
Merge PR #69228 into tentacle

* refs/pull/69228/head:
ceph-volume: detect rotational media under dm-crypt for workqueue bypass

Reviewed-by: Adam King <adking@redhat.com>
2 days agoMerge PR #69708 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 01:18:14 +0000 (21:18 -0400)]
Merge PR #69708 into tentacle

* refs/pull/69708/head:
node-proxy: expose FCM stats
node-proxy: rename firmwares to firmware with legacy aliases
node-proxy: override with atollon specific
node-proxy: add temperatures and fan speed

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 days agoMerge PR #69410 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 01:17:17 +0000 (21:17 -0400)]
Merge PR #69410 into tentacle

* refs/pull/69410/head:
ceph-volume: fix raw activate when device path is stale

Reviewed-by: Adam King <adking@redhat.com>
2 days agoMerge PR #67692 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 01:12:45 +0000 (21:12 -0400)]
Merge PR #67692 into tentacle

* refs/pull/67692/head:
rgw: fix overflow of outstanding counter in SimpleThrottler

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2 days agoMerge PR #67801 into tentacle
Patrick Donnelly [Sat, 11 Jul 2026 01:04:08 +0000 (21:04 -0400)]
Merge PR #67801 into tentacle

* refs/pull/67801/head:
qa/tasks/mgr: test_module_selftest set influx hostname to avoid warnings

Reviewed-by: Laura Flores <lflores@redhat.com>
2 days agoMerge PR #69273 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:30:15 +0000 (16:30 -0400)]
Merge PR #69273 into tentacle

* refs/pull/69273/head:
rgw/sns: ListTopics uses account root arn for policy evaluation
rgw/iam: add helper rgw::account::root_arn()

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
2 days agoMerge PR #69178 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:29:28 +0000 (16:29 -0400)]
Merge PR #69178 into tentacle

* refs/pull/69178/head:
rgw/beast: add ssl_ciphersuites option for tls 1.3

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 days agoMerge PR #69775 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:26:13 +0000 (16:26 -0400)]
Merge PR #69775 into tentacle

* refs/pull/69775/head:
tentacle: qa/rgw: Remove 'force-branch' from s3tests configs
tentacle: qa/rgw: Run s3-tests from within the Ceph repo
tentacle: test/rgw: Include s3-tests in Ceph repo

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 days agoMerge PR #69742 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:17:51 +0000 (16:17 -0400)]
Merge PR #69742 into tentacle

* refs/pull/69742/head:
tests/neorados: fix ceph_test_neorados_completions being not installed
common/async: async_cond::notify/cancel must post to handler's associated executor
test/neorados: test cross-executor completions
osdc: deliver neorados completions to associated executor

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 days agoMerge PR #69787 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:08:02 +0000 (16:08 -0400)]
Merge PR #69787 into tentacle

* refs/pull/69787/head:
rgw/lc: Warn against changing rgw_lc_max_objs once lifecycle is in use

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 days agoMerge PR #69291 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:06:28 +0000 (16:06 -0400)]
Merge PR #69291 into tentacle

* refs/pull/69291/head:
test/rgw/notification: fix rabbitmq dependency for rocky10

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 days agoMerge PR #69001 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:05:22 +0000 (16:05 -0400)]
Merge PR #69001 into tentacle

* refs/pull/69001/head:
rgw: stop crashing when an admin tries to assume a nonexistent role

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 days agoMerge PR #69925 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:02:27 +0000 (16:02 -0400)]
Merge PR #69925 into tentacle

* refs/pull/69925/head:
monitoring: add Ceph Hardware - Compression dashboard
monitoring: add panel descriptions and fix tooltip labels
monitoring: add PSU temperature graph to hardware dashboard
mointoring: Add hardware alerts
mgr/promethues: fixed tests and refactor module.py
mgr/prometheus: refactor hardware metrics
monitoring: improve hardware Grafana dashboard panels
mgr/prometheus: Rename node_proxy_memory_capacity_mib to node_proxy_memory_capacity_bytes
monitoring: fix hardware Grafana dashboard and health metrics
mgr/prometheus: use orchestrator API for node-proxy hardware metrics
monitoring: add hardware metrics Grafana dashboard
mgr/prometheus: add node-proxy hardware metrics exporter

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 days agoMerge PR #69951 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:01:22 +0000 (16:01 -0400)]
Merge PR #69951 into tentacle

* refs/pull/69951/head:
mgr/dashboard: rbd-mirroring - hide create/import token buttons for

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 days agoMerge PR #69953 into tentacle
Patrick Donnelly [Fri, 10 Jul 2026 20:00:19 +0000 (16:00 -0400)]
Merge PR #69953 into tentacle

* refs/pull/69953/head:
mgr/dashboard: Fix username validation for special characters by URL-encoding user lookup requests

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 days agomgr/dashboard: fix bind address regression from CherryPy isolation 69715/head
Afreen Misbah [Tue, 23 Jun 2026 13:30:22 +0000 (19:00 +0530)]
mgr/dashboard: fix bind address regression from CherryPy isolation

The CherryPy isolation refactor (PR #67227) accidentally changed the
dashboard bind address from wildcard (*:8443) to mon_ip:8443. The
get_mgr_ip() replacement was originally only for URI generation, but
the refactor passed the mutated address to CherryPyMgr.mount() as the
actual socket bind address.

This breaks the management gateway when its VIP is not on the same
interface as mon_ip, as the dashboard becomes unreachable on other
interfaces.

Preserve the original wildcard address for binding and only use
get_mgr_ip() for the advertised URI. Add regression test to prevent
future confusion between bind_addr and server_addr.

Fixes: https://tracker.ceph.com/issues/77491
Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit f45a1bfc93596f17370ee38ce241ae8123d81e8e)

3 days agomonitoring: add Ceph Hardware - Compression dashboard 69925/head
Afreen Misbah [Thu, 2 Jul 2026 00:55:13 +0000 (06:25 +0530)]
monitoring: add Ceph Hardware - Compression dashboard

Add comprehensive Grafana dashboard for monitoring hardware compression
metrics from FCM-enabled drives.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit da21940d118bbd4f88af1e985e2753551ed3a4a7)

3 days agomonitoring: add panel descriptions and fix tooltip labels
Afreen Misbah [Wed, 1 Jul 2026 12:25:06 +0000 (17:55 +0530)]
monitoring: add panel descriptions and fix tooltip labels

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit b231e6f31893bf0cdce972a78c5a9e8faeaf39b7)

3 days agomonitoring: add PSU temperature graph to hardware dashboard
Afreen Misbah [Thu, 25 Jun 2026 22:07:58 +0000 (03:37 +0530)]
monitoring: add PSU temperature graph to hardware dashboard

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 4be833e11e5138454cc39d4acb5ae2a604e1e486)

3 days agomointoring: Add hardware alerts
Afreen Misbah [Thu, 2 Jul 2026 09:21:19 +0000 (14:51 +0530)]
mointoring: Add hardware alerts

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 42b3a7dfe820cab0fd5b8af22c88a29c5a1dc546)

3 days agomgr/promethues: fixed tests and refactor module.py
Afreen Misbah [Wed, 1 Jul 2026 11:19:00 +0000 (16:49 +0530)]
mgr/promethues: fixed tests and refactor module.py

- Update tests to check for queries in nested row panels
- fix tox tests
- add named tuple

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit aba8698e961da03384c9493cd74e46e368d4c38b)

3 days agomgr/prometheus: refactor hardware metrics
Afreen Misbah [Tue, 30 Jun 2026 14:09:13 +0000 (19:39 +0530)]
mgr/prometheus: refactor hardware metrics

- export `firmware_version` labels from `node_proxy_storage_capacity_bytes` metrics to be used in device firmware panel
- improve iterations for performance - dropping redundant node_proxy_firmware() RPC; firmware data is already
  present in the fullreport response, and removing unnecessary loops.
- replace health if/elif chain with HEALTH_STATUS_MAP dict lookup
- rename metrics to ceph_hardware_*, fix component labels and add tests
- added unit test cases
- add serial name, slot info to capacity metric
- fix health metrics showing ID instead of component name

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit be324304db45f37d3a4027ab568c5010003ef486)

3 days agomonitoring: improve hardware Grafana dashboard panels
Afreen Misbah [Thu, 25 Jun 2026 18:58:53 +0000 (00:28 +0530)]
monitoring: improve hardware Grafana dashboard panels

- CPU/NVMe temp: change from stat to gauge panels with colored
  arc thresholds (green/yellow/red) and proper °C units
- Health panels: wrap queries in max() aggregation to show
  single worst-case value instead of overlapping series
- Pie charts: switch to donut style with visible legends
- Fan RPM: use locale unit for comma formatting instead of
  short which auto-scaled to "K"
- Fix temperature panels units
- Add Device List and Platform Firmware table panels

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 5dd6807e3187ba6792f69736b5e4d396832b1686)

3 days agomgr/prometheus: Rename node_proxy_memory_capacity_mib to node_proxy_memory_capacity_bytes
Afreen Misbah [Thu, 25 Jun 2026 18:58:21 +0000 (00:28 +0530)]
mgr/prometheus: Rename node_proxy_memory_capacity_mib to node_proxy_memory_capacity_bytes

Prometheus naming conventions require base units (bytes not MiB)

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit ae0567e98a545f13b0c47c4b0e54220cf21e6eb5)

3 days agomonitoring: fix hardware Grafana dashboard and health metrics
Afreen Misbah [Thu, 25 Jun 2026 08:18:19 +0000 (13:48 +0530)]
monitoring: fix hardware Grafana dashboard and health metrics

- Fix fan repeating panels: set multi=true on fan_speeds template
  variable so Grafana generates one panel per fan instead of one
- Remove TACH-only regex filter on fan_speeds template and AVG
  Cooling query so all system fans are visible regardless of naming
- Replace duplicate Power Control panel with Network health panel
- Fix NVMe drive count to use storage_capacity_bytes{protocol=NVMe}
  instead of counting temperature sensors (inaccurate proxy)
- Normalize all hostname filters to regex match (=~) for consistency
- Register hardware.libsonnet in dashboards.libsonnet so the
  dashboard JSON is generated during ceph-mixin builds
- Add temperatures category to prometheus health metrics loop

Signed-off-by: Afreen Misbah <afreen@ibm.com>
Assisted-by: Claude
Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 04207ca6dcfc86c51845912848d9cbf1a7cb87d0)

3 days agomgr/prometheus: use orchestrator API for node-proxy hardware metrics
Afreen Misbah [Thu, 25 Jun 2026 08:13:38 +0000 (13:43 +0530)]
mgr/prometheus: use orchestrator API for node-proxy hardware metrics

The hardware metrics exporter was reading cephadm's private KV store
directly via get_store_prefix('mgr/cephadm/node_proxy/data'). This
had two problems:

1. get_store_prefix() is module-scoped, so from the prometheus module
   it searched under prometheus's own namespace instead of cephadm's,
   resulting in zero metrics being exported despite metric definitions
   appearing at /metrics.

2. The firmware key was accessed as 'firmwares' (plural) but the
   stored field is 'firmware' (singular), causing all firmware version
   metrics to be silently empty.

Use node_proxy_fullreport() and node_proxy_firmware() via the
OrchestratorClientMixin instead. This routes through cephadm's
NodeProxyCache which handles KV access and firmware key compat
correctly. Follows the same pattern as set_cephadm_daemon_status_metrics()
and get_smb_metadata().

Signed-off-by: Afreen Misbah <afreen@ibm.com>
Assisted-by: Claude
Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 6bb07c6e5393daeb72fe0cf3832955721e7b4b18)

3 days agomonitoring: add hardware metrics Grafana dashboard
Afreen Misbah [Thu, 11 Jun 2026 23:56:00 +0000 (05:26 +0530)]
monitoring: add hardware metrics Grafana dashboard

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 0514014687defceb1805c5ca7c628d6de968a518)

3 days agomgr/prometheus: add node-proxy hardware metrics exporter
Afreen Misbah [Thu, 11 Jun 2026 23:55:55 +0000 (05:25 +0530)]
mgr/prometheus: add node-proxy hardware metrics exporter

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit aa8f05400de764e9f1b8b3d65d871a665cd922ed)

3 days agoMerge PR #69980 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:58:37 +0000 (15:58 -0400)]
Merge PR #69980 into tentacle

* refs/pull/69980/head:
nvmeof: Change the NVMEOF image version to 1.7

3 days agoMerge PR #69338 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:57:24 +0000 (15:57 -0400)]
Merge PR #69338 into tentacle

* refs/pull/69338/head:
qa/suites/nvmeof: ignore "have only 1 nvmeof gateway"
qa/suites/nvmeof: set beacon grace and connect panic

3 days agoMerge PR #69729 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:56:19 +0000 (15:56 -0400)]
Merge PR #69729 into tentacle

* refs/pull/69729/head:
qa: fix nvmeof upgrade from v20.2.0

3 days agoMerge PR #69773 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:52:43 +0000 (15:52 -0400)]
Merge PR #69773 into tentacle

* refs/pull/69773/head:
mClockScheduler: adjust mClock profile parameters to prevent backfill starvation
src/messages, osd: Calculate and set cost for subOpReads for mClock scheduler
osd/scheduler: Classify EC subOp reads according to op priority for mClock
osd/scheduler/mClockScheduler: Fix line alignments
osd/scheduler/mClockScheduler: Log the size of high priority queues.

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 days agoMerge PR #68968 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:21:32 +0000 (15:21 -0400)]
Merge PR #68968 into tentacle

* refs/pull/68968/head:
rgw/bucket-logging: handle SigV2 presigned URLs

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 days agoMerge PR #66522 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:21:06 +0000 (15:21 -0400)]
Merge PR #66522 into tentacle

* refs/pull/66522/head:
rgw/services: don't expose RGWServices::notify
rgw/services: don't allocate RGWSI_Notify unless its used
rgw: remove unused RGWSI_Finisher
rgw: RGWSI_Notify drains the finisher before deleting RGWWatchers
rgw: RGWSI_Notify uses Finisher instead of RGWSI_Finisher
rgw: RGWSI_Notify spawns a coroutine on null_yield

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
3 days agoMerge PR #69113 into tentacle
Patrick Donnelly [Thu, 9 Jul 2026 19:01:17 +0000 (15:01 -0400)]
Merge PR #69113 into tentacle

* refs/pull/69113/head:
rgw/datalog: DataLogBackends::trim_entries: fix crash when target_gen > head_gen
test/rgw/datalog: test for trim_entries with max_marker
rgw/datalog: also handle errors properly for fifo trim
neocls log trimming (time based): fix infinite loop on ENODATA
neocls log trimming (marker based): fix infinite loop on ENODATA
test/neocls/log trimming: reproduce log trimming can go into an infinite loop

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 days agoMerge PR #69160 into tentacle
Patrick Donnelly [Wed, 8 Jul 2026 23:14:52 +0000 (19:14 -0400)]
Merge PR #69160 into tentacle

* refs/pull/69160/head:
osd/scrub: removed a misleading comment about 'overdue' scrubs
osd/scrub: 'repairing' scrubs allowed at all times

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 days agoMerge PR #68865 into tentacle
Patrick Donnelly [Wed, 8 Jul 2026 23:11:13 +0000 (19:11 -0400)]
Merge PR #68865 into tentacle

* refs/pull/68865/head:
osd: prevent OSDMap::check_health() from asserting due to new OSDs found in subtree

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 days agoMerge PR #68692 into tentacle
Patrick Donnelly [Wed, 8 Jul 2026 23:08:00 +0000 (19:08 -0400)]
Merge PR #68692 into tentacle

* refs/pull/68692/head:
mgr/pg_autoscaler: Add 'osd pool get threshold' command which returns the current threshold value

6 days agoqa: fix nvmeof upgrade from v20.2.0 69729/head
Vallari Agrawal [Wed, 8 Apr 2026 15:51:45 +0000 (21:21 +0530)]
qa: fix nvmeof upgrade from v20.2.0

Bootstrap fails on v20.2.0 upgrade because of
cephadm binary and ceph image version mismatch.

This fixes following problem in bootstrap by using
tentacle cephadm binary:
```
Error: Container release tentacle != cephadm release umbrella; please use matching version of cephadm (pass --allow-mismatched-release to continue anyway)
```

Fixes: https://tracker.ceph.com/issues/75912
Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
(cherry picked from commit 6f648e7c8ce0631e172e2e290102354a3ffb848f)

6 days agomgr/dashboard: rbd-mirroring - hide create/import token buttons for 69951/head
Aashish Sharma [Thu, 4 Jun 2026 09:55:45 +0000 (15:25 +0530)]
mgr/dashboard: rbd-mirroring - hide create/import token buttons for
read-only users

Fixes: https://tracker.ceph.com/issues/77115
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 50bf8ce2eb0ed6bd2c083169d6746baf3c0a8354)

6 days agonvmeof: Change the NVMEOF image version to 1.7 69980/head
Gil Bregman [Mon, 23 Feb 2026 10:56:54 +0000 (12:56 +0200)]
nvmeof: Change the NVMEOF image version to 1.7
Fixes: https://tracker.ceph.com/issues/75097
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
(cherry picked from commit 02587347b0a4e7ae1d7f5d738bd33808e2d56bc9)

Conflicts:
src/python-common/ceph/cephadm/images.py
The indentation was changed between the main branch and tentacle which
caused a conflict

6 days agoMerge PR #65457 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:26:46 +0000 (18:26 -0400)]
Merge PR #65457 into tentacle

* refs/pull/65457/head:
[Stretch Mode] mon: restrict changing mon election strategy post stretch mode

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
6 days agoMerge PR #67338 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:26:24 +0000 (18:26 -0400)]
Merge PR #67338 into tentacle

* refs/pull/67338/head:
qa/tasks/thrashosds-health: fine tune ignorelist for degraded and undersized pgs

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
6 days agoMerge PR #69015 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:25:24 +0000 (18:25 -0400)]
Merge PR #69015 into tentacle

* refs/pull/69015/head:
mgr/DaemonServer: auto-tune stats period when message queue gets backed up

6 days agoMerge PR #68689 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:22:27 +0000 (18:22 -0400)]
Merge PR #68689 into tentacle

* refs/pull/68689/head:
test: rados singleton-bluestore missing mds for cephtool tests

6 days agoMerge PR #69150 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:19:43 +0000 (18:19 -0400)]
Merge PR #69150 into tentacle

* refs/pull/69150/head:
mgr/smb: fix incorrect referenced variable

Reviewed-by: Xavi Hernandez <xhernandez@gmail.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
6 days agoMerge PR #69075 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:18:20 +0000 (18:18 -0400)]
Merge PR #69075 into tentacle

* refs/pull/69075/head:
mon/OSDMonitor: remove unused crush rules after erasure code pools deleted

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 days agoMerge PR #69050 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:17:37 +0000 (18:17 -0400)]
Merge PR #69050 into tentacle

* refs/pull/69050/head:
librados/asio: clear cancellation slot in associated executor
librados/asio: extend lifetime of AioCompletion

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
6 days agoMerge PR #69025 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:17:03 +0000 (18:17 -0400)]
Merge PR #69025 into tentacle

* refs/pull/69025/head:
nvmeofgw : do not process starting  beacons from GWs in DELETING state

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 days agoMerge PR #69848 into tentacle
Patrick Donnelly [Mon, 6 Jul 2026 22:14:54 +0000 (18:14 -0400)]
Merge PR #69848 into tentacle

* refs/pull/69848/head:
mgr/dashboard: fix nested shell quoting in cephadm e2e start-cluster
mgr/dashboard: run kcli commands in libvritd group

Reviewed-by: Nizamudeen A <nia@redhat.com>
7 days agomgr/dashboard: Fix username validation for special characters by URL-encoding user... 69953/head
Aashish Sharma [Fri, 5 Jun 2026 07:07:38 +0000 (12:37 +0530)]
mgr/dashboard: Fix username validation for special characters by URL-encoding user lookup requests

When validating usernames, special characters such as '#' were not being URL-encoded before being appended to the user lookup endpoint.
Because the browser treats '#' as a URL fragment, the request path was truncated, causing the backend to return an incorrect response and the UI to display a misleading "User already exists" validation error.

Fixes: https://tracker.ceph.com/issues/77129
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit b2ed52b2a4d86ad6fa19851053badfa9118c4b6f)

11 days agotests/neorados: fix ceph_test_neorados_completions being not installed 69742/head
Radoslaw Zarzynski [Tue, 16 Jun 2026 16:02:22 +0000 (16:02 +0000)]
tests/neorados: fix ceph_test_neorados_completions being not installed

Fixes: https://tracker.ceph.com/issues/77417
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit c183e27deac5ede7c1614f453b0ab0d03fa415f8)

11 days agoMerge pull request #69703 from guits/wip-77636-tentacle
Neha Ojha [Wed, 1 Jul 2026 22:08:29 +0000 (15:08 -0700)]
Merge pull request #69703 from guits/wip-77636-tentacle

tentacle: ceph-volume: skip internal raid mirror LVs in inventory

Reviewed-by: Adam King <adking@redhat.com>
11 days agoMerge pull request #69091 from guits/wip-76800-tentacle
Neha Ojha [Wed, 1 Jul 2026 22:07:24 +0000 (15:07 -0700)]
Merge pull request #69091 from guits/wip-76800-tentacle

tentacle: ceph-volume: OSD mapper lifecycle (LVM + raw) for activate

Reviewed-by: Adam King <adking@redhat.com>
11 days agoMerge pull request #69206 from guits/wip-77020-tentacle
Neha Ojha [Wed, 1 Jul 2026 22:06:46 +0000 (15:06 -0700)]
Merge pull request #69206 from guits/wip-77020-tentacle

tentacle: ceph-volume: retry lvs after empty result and "devices file is missing" stderr

Reviewed-by: Adam King <adking@redhat.com>
11 days agoceph-volume: detect rotational media under dm-crypt for workqueue bypass 69228/head
Guillaume Abrioux [Wed, 27 May 2026 07:41:13 +0000 (09:41 +0200)]
ceph-volume: detect rotational media under dm-crypt for workqueue bypass

bypass_workqueue() was inspecting the top level block device
(e.g: /dev/mapper/*) when deciding whether to disable read/write
workqueues for nvme devices, it must look at the real disk under
dmcrypt/lvm, not the mapper. On osd block paths the top device
often lies about rotational, so --perf-no_workqueue was wrong.

The idea of this fix is to walk sysfs 'slaves/' to the leaf, then
check rotational there (udev + rota).

Fixes: https://tracker.ceph.com/issues/76805
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 08de2ed3e26820fb0298309ea2afd260543e6ecb)

11 days agoMerge pull request #68586 from guits/wip-76240-tentacle
Neha Ojha [Wed, 1 Jul 2026 19:45:40 +0000 (12:45 -0700)]
Merge pull request #68586 from guits/wip-76240-tentacle

tentacle: ceph-volume: has_bluestore_label checks all bluestore label replica o…

Reviewed-by: Adam King <adking@redhat.com>
11 days agoMerge pull request #68681 from guits/wip-76351-tentacle
Neha Ojha [Wed, 1 Jul 2026 19:45:03 +0000 (12:45 -0700)]
Merge pull request #68681 from guits/wip-76351-tentacle

tentacle: ceph-volume: make TPM2 PCR policy configurable (default to PCR 7)

Reviewed-by: Teoman ONAY <tonay@ibm.com>
11 days agoMerge pull request #68751 from guits/wip-76043-tentacle
Neha Ojha [Wed, 1 Jul 2026 19:44:19 +0000 (12:44 -0700)]
Merge pull request #68751 from guits/wip-76043-tentacle

tentacle: mgr/cephadm: renames ceph_device to ceph_device_lvm

Reviewed-by: Teoman ONAY <tonay@ibm.com>
11 days agoMerge pull request #68882 from guits/wip-76571-tentacle
Neha Ojha [Wed, 1 Jul 2026 19:43:19 +0000 (12:43 -0700)]
Merge pull request #68882 from guits/wip-76571-tentacle

tentacle: ceph-volume: fix argparse dmcrypt opts: use str type

Reviewed-by: Teoman ONAY <tonay@ibm.com>
11 days agoMerge pull request #68883 from guits/wip-76569-tentacle
Neha Ojha [Wed, 1 Jul 2026 19:42:56 +0000 (12:42 -0700)]
Merge pull request #68883 from guits/wip-76569-tentacle

tentacle: ceph-volume: fallback to default for empty get_file_contents values

Reviewed-by: Teoman ONAY <tonay@ibm.com>
12 days agoMerge pull request #69542 from sseshasa/wip-77444-tentacle
Neha Ojha [Wed, 1 Jul 2026 17:19:42 +0000 (10:19 -0700)]
Merge pull request #69542 from sseshasa/wip-77444-tentacle

tentacle: mgr/DaemonServer: Aggregate and globally sort OSDs for ok-to-upgrade

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
12 days agonode-proxy: expose FCM stats 69708/head
Guillaume Abrioux [Thu, 18 Jun 2026 14:54:38 +0000 (16:54 +0200)]
node-proxy: expose FCM stats

Collect FCM stats locally from NVMe drives (vendor log page 0xCA)
and expose them via node-proxy, the cephadm agent, and
`ceph orch hardware status --category fcm`.

Introduce a node backend that aggregates Redfish data with
node-local collectors, since FCM metrics are not available
from the BMC.

Fixes: https://tracker.ceph.com/issues/77521
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e982412a7a1f1ec6fc2fe70d11e839365b50aa91)

12 days agonode-proxy: rename firmwares to firmware with legacy aliases
Guillaume Abrioux [Mon, 15 Jun 2026 13:18:48 +0000 (15:18 +0200)]
node-proxy: rename firmwares to firmware with legacy aliases

Let's use 'firmware' as the standard name in node-proxy, cephadm,
and orch hardware status.

We still accept 'firmwares' as a deprecated alias and read legacy
cache payloads transparently for backward compatibility.

Fixes: https://tracker.ceph.com/issues/77410
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 1cd4b32d72a4a14cbd797187e791e038422f4fc3)

12 days agonode-proxy: override with atollon specific
Guillaume Abrioux [Wed, 10 Jun 2026 10:51:47 +0000 (12:51 +0200)]
node-proxy: override with atollon specific

This adds AtollonSystem for AMI/Atollon BMCs:
- memory Id mapping,
- storage description fixes,
- StorageControllers based drive enrichment

It also wires vendor selection through cephadm (hw_monitoring_vendor)
and show slot/firmware in hardware status storage output.

Fixes: https://tracker.ceph.com/issues/77408
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 9b3bfd171afe6714cb23dc0fe55bacad671a94dc)

12 days agonode-proxy: add temperatures and fan speed
Guillaume Abrioux [Wed, 10 Jun 2026 10:51:14 +0000 (12:51 +0200)]
node-proxy: add temperatures and fan speed

This adds the temperatures category and fan speed information.

Fixes: https://tracker.ceph.com/issues/77408
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit deabf21144054ada7e6eb64d35c38adc44db130a)

12 days agomgr/dashboard: fix nested shell quoting in cephadm e2e start-cluster 69848/head
Afreen Misbah [Wed, 27 May 2026 00:07:38 +0000 (05:37 +0530)]
mgr/dashboard: fix nested shell quoting in cephadm e2e start-cluster

with_libvirt wraps commands in sg libvirt -c "$1", adding an extra
shell layer. Nested double quotes inside the outer double-quoted
string caused the argument to be split — with_libvirt received a
truncated $1, producing "Unterminated quoted string" on the remote
shell.

Drop the unnecessary inner double quotes around cephadm shell
arguments since cephadm shell accepts the command as separate args.
Use single quotes for the grep pattern inside the double-quoted
string so it survives the sg subshell.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit ae1fee05818e202287609ec1cbebd5f73ed4fd81)

12 days agomgr/dashboard: run kcli commands in libvritd group
Nizamudeen A [Thu, 2 Apr 2026 10:55:19 +0000 (16:25 +0530)]
mgr/dashboard: run kcli commands in libvritd group

Also https://github.com/ceph/ceph-build/pull/2562/
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 8293aa38bd9c9abca6353ebbdb64401bf3263017)

12 days agoMerge pull request #69377 from NitzanMordhai/wip-77281-tentacle
Neha Ojha [Tue, 30 Jun 2026 18:38:37 +0000 (11:38 -0700)]
Merge pull request #69377 from NitzanMordhai/wip-77281-tentacle

tentacle: qa: ignore evicted client warnings for singletone bluestore

Reviewed-by: Neha Ojha <nojha@redhat.com>
12 days agoMerge pull request #69369 from sseshasa/wip-77126-tentacle
Neha Ojha [Tue, 30 Jun 2026 18:37:20 +0000 (11:37 -0700)]
Merge pull request #69369 from sseshasa/wip-77126-tentacle

tentacle: mgr/DaemonServer: clarify ok-to-upgrade error message for CRUSH buckets

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
12 days agoMerge pull request #68508 from batrick/wip-76074-tentacle
Neha Ojha [Tue, 30 Jun 2026 18:36:12 +0000 (11:36 -0700)]
Merge pull request #68508 from batrick/wip-76074-tentacle

tentacle: mon/MonClient: check stopping for auth request handling

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 weeks agoceph-volume: skip internal raid mirror LVs in inventory 69703/head
Guillaume Abrioux [Thu, 18 Jun 2026 05:19:43 +0000 (07:19 +0200)]
ceph-volume: skip internal raid mirror LVs in inventory

ceph-volume inventory started including all LVM mapper devices after
c06bee965f1. On hosts with raid mirrored system volumes, that pulls in
hidden legs like var_rmeta_0 which have no /dev/vg/lv node and makes
cephadm's ceph-volume inventory call fail.

Skip those internal LVs in get_devices() and avoid rewriting the device
path to a missing lv_path in Device._parse().

Fixces: https://tracker.ceph.com/issues/77486

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit daec7e125a167bb8fd0fb9faaa04879f0bb215d2)

2 weeks agoceph-volume: fix inventory without /dev/vg/lv (slashed paths)
Guillaume Abrioux [Thu, 19 Mar 2026 11:30:42 +0000 (12:30 +0100)]
ceph-volume: fix inventory without /dev/vg/lv (slashed paths)

Ths makes ceph-volume use UdevData.preferred_block_path() in
get_devices() so it keeps /dev/vg/lv (slashed path form) when
it exists, else /dev/mapper/<name> (dashed path form).

This is needed for thin-pool LVs and environments where udev
does not create slashed paths.

Fixes: https://tracker.ceph.com/issues/75615
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 0e96c625f69179126f3472761d276f2c36aa7b29)
(cherry picked from commit 567590f7fff95a06fb29fec91a167be54febbd1c)

2 weeks agomClockScheduler: adjust mClock profile parameters to prevent backfill starvation 69773/head
Sridhar Seshasayee [Mon, 25 May 2026 12:14:54 +0000 (17:44 +0530)]
mClockScheduler: adjust mClock profile parameters to prevent backfill starvation

Adjust the 'background_best_effort' queue parameters across the
three standard mClock profiles (high_client_ops, balanced, and
high_recovery_ops) to ensure best effort ops are not starved.

Previously, the 'background_best_effort' queue carried a default allocation
of 0% (MIN) reservation and a weight of 1 under these profiles. When
concurrent client traffic is dense, the zero-reservation for example completely
starves backfill sub-ops (MSG_OSD_EC_READ) on pools with
'allow_ec_optimizations' set to false. This starvation forces the Primary OSD
to hold internal BlueStore transactions and PG object locks for extended
windows, causing severe client median (50th) latency inflation.

To prevent background starvation and resolve the effects of the primary lock
retention, the profile configurations are tuned as follows:

The following profile changes forces low-cost sub-ops to clear out of peer
queues rapidly to drop  primary locks, which helps improve the client
completion latency and tail latency (95th, 99th and 99.5th) percentile.

1. high_client_ops profile:
   - Grant 'background_best_effort' a safe 5% minimum reservation.
   - Scale the queue weight to 4.

2. balanced profile:
   - Grant 'background_best_effort' a 5% minimum reservation.
   - Set the queue weight to 2.

3. high_recovery_ops profile:
   - Grant 'background_best_effort' a 5% minimum reservation.
   - Set the queue weight to 2.

4. Modify the mClock config reference documentation to reflect the tuning
   changes to the best-effort QoS parameters across the profiles.

Note on Proportional Scaling Compatibility:
Configuring these changes shifts total reservations to 105% (e.g., 50%
client + 50% recovery + 5% best-effort under the Balanced profile). Under
heavy concurrent saturation, mClock's internal controls resolves this
gracefully via proportional down-scaling, preserving the underlying
device bandwidth limits for different classes of clients. For example instead
of the client being allocated 50% bandwidth, a slightly lower reservation is
allocated while shifting the remaining bandwidth to the best-effort queue.
This minor scaling shift is virtually unnoticeable to the client application,
but it prevents the internal queue deadlocks.

Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit 77421c83665fdfd3343c487793e37e003d8c1891)

Conflicts:
        src/common/mclock_common.h
- src/common/mclock_common.h doesn't exist in tentacle.
  mclock_common.h/cc was created as a refactor in later releases to share
  common bits between classic and crimson OSDs. Introduced in PR:
  https://github.com/ceph/ceph/pull/63516.

  Therefore, the profile parameters change is added to the original
  location in src/osd/mClockScheduler.cc.

2 weeks agosrc/messages, osd: Calculate and set cost for subOpReads for mClock scheduler
Sridhar Seshasayee [Mon, 28 Jul 2025 11:09:34 +0000 (16:39 +0530)]
src/messages, osd: Calculate and set cost for subOpReads for mClock scheduler

Previously, sub-op reads returned a hardcoded cost of 0, bypassing
mClock's background bandwidth and tag calculation mechanisms. This
allowed backfill operations to proceed un-metered, occasionally causing
backend resource contention and driving up client tail latencies.

Cost is calculated based on whether the complete chunk/shard or a subchunk
needs to be read. The possible cases are:
1. Read the complete chunk aligned length:
   - Cost is set to the length of the chunk aligned extent size.
2. Fragmented reads:
   - Consider the subchunk length and count to calculate the cost.
   - compute_cost evaluates the exact layout of fragmented shard bytes on
     disk by summing up the active subchunk allocations exactly once
     (`fragmented_shard_bytes += k.second * subchunk_size`).
   - Linear Extent Scaling: Scale the baseline footprint cleanly by
     multiplying it against the true count of read extents (`tl.size()`),
     achieving a highly efficient O(N) time complexity.

This linear cost model is compatible with pools running with
'allow_ec_optimizations' set to true. Under the FastEC optimized
pipeline, most operations are unified and bypass fragment slicing,
meaning requests will primarily match the Case 1 chunk-aligned path.
In Case 2 where applicable, the O(N) loop ensures that cost will
scale proportionally according to the layout.

It is important to note that the amount of data to read was set to an upper
bound defined by osd_recovery_max_chunk (8 MiB) and was rounded up to the
stripe width. The reason for setting a higher than actual upper bound is that
there may be cases where the object doesn't have the xattrs yet to determine
its size. Therefore, the amount to read was ultimatly set to ~(8 MiB / k)
where k is the number of data shards. This can cause mClock to prolong
the recovery times as items stay longer in the queue. To address this, the
amount to read is set to the remaining length of the object to recover
if the object size is known. Otherwise, the amount to read is set to the
recovery chunk size as before. Therefore, in some cases, only the first
recovery read could be costly if the object context is not known.

The MOSDECSubOpRead class introduces the following:
 - cost member. This necessitates an increment to the HEAD_VERSION and
   appropriate handling within the encode and decode methods.
 - compute_cost() that is called when creating the message by
   ECCommonL::ReadPipeline::do_read_op(). This calls into ECSubRead::cost()
   that performs the actual calculations to set the cost based on the cases
   mentioned above.
 - The same sequence applies to the EC optimized path in
   ECCommon::ReadPipeline::do_read_op().

Fixes: https://tracker.ceph.com/issues/71655
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit e79befea328e58366c43e490c129e2a467e6db84)

Conflicts:
        src/osd/ECMsgTypes.h
- Removed a couple of variable declarations related to recovery of OMAP
  header and entries in EC pools which is yet to be backported to
  tentacle. See commit: a5f4a4902075e343df154da61e3d205d2bd2a5d5.

2 weeks agoosd/scheduler: Classify EC subOp reads according to op priority for mClock
Sridhar Seshasayee [Tue, 22 Jul 2025 08:39:16 +0000 (14:09 +0530)]
osd/scheduler: Classify EC subOp reads according to op priority for mClock

The change brings MSG_OSD_EC_READ into the fold of mClock scheduler. This
improves the scheduling of client and other classes of operation as they
are no longer unnecessarily preempted by the 'immediate' queue.
EC SubOps are now handled as follows:

 - EC SubOp reads generated during recovery will either go into the
   'background_recovery' or 'background_best_effort' class based on
   the recovery priority set for the op. EC SubOp reads generated due
   to client will continue to be classified as 'immediate'.

 - EC SubOp writes generated as a result of client operations will
   continue to be classified as 'immediate'.

 - EC SubOp replies are considered high priority and therefore
   continue to be classed as 'immediate'.

Fixes: https://tracker.ceph.com/issues/71655
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit a0464c3d82825beddb5598b15a8752e567160a05)

 Conflicts:
         src/osd/scheduler/OpSchedulerItem.h
- enum SchedulerClass doesn't exist in tentacle.Therefore, the original
  enum op_scheduler_class is used.

  enum SchedulerClass was introduced when mclock_common.h/cc was created
  as a refactor in later releases to share common bits between classic and
  crimson OSDs. Introduced in PR: https://github.com/ceph/ceph/pull/63516.

2 weeks agorgw/lc: Warn against changing rgw_lc_max_objs once lifecycle is in use 69787/head
Matthew N. Heler [Tue, 16 Jun 2026 18:07:59 +0000 (13:07 -0500)]
rgw/lc: Warn against changing rgw_lc_max_objs once lifecycle is in use

Each bucket's lifecycle entry is hashed onto a shard by this count, so
changing it remaps existing entries and can leave duplicates behind.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
(cherry picked from commit 83189af8e663d867649d003afaa9d1cf09c88391)

2 weeks agotentacle: qa/rgw: Remove 'force-branch' from s3tests configs 69775/head
Adam C. Emerson [Wed, 17 Jun 2026 18:33:45 +0000 (14:33 -0400)]
tentacle: qa/rgw: Remove 'force-branch' from s3tests configs

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agotentacle: qa/rgw: Run s3-tests from within the Ceph repo
Adam C. Emerson [Mon, 29 Sep 2025 21:11:09 +0000 (17:11 -0400)]
tentacle: qa/rgw: Run s3-tests from within the Ceph repo

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agotentacle: test/rgw: Include s3-tests in Ceph repo
Adam C. Emerson [Fri, 26 Jun 2026 19:58:39 +0000 (15:58 -0400)]
tentacle: test/rgw: Include s3-tests in Ceph repo

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agoosd/scheduler/mClockScheduler: Fix line alignments
Sridhar Seshasayee [Tue, 22 Jul 2025 08:23:07 +0000 (13:53 +0530)]
osd/scheduler/mClockScheduler: Fix line alignments

Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit 913e8911760eeb21d48c6d1a8dd9cd8169dda23f)

2 weeks agoosd/scheduler/mClockScheduler: Log the size of high priority queues.
Sridhar Seshasayee [Tue, 22 Jul 2025 08:08:16 +0000 (13:38 +0530)]
osd/scheduler/mClockScheduler: Log the size of high priority queues.

Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit 89c7b217efec511be1cc5892bc181ae499bedaef)

2 weeks agoMerge pull request #69709 from tchaikov/wip-77608-tentacle
Neha Ojha [Fri, 26 Jun 2026 15:14:07 +0000 (08:14 -0700)]
Merge pull request #69709 from tchaikov/wip-77608-tentacle

tentacle: mgr/dashboard: skip the table when an nvmeof cli result has no columns

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 weeks agocommon/async: async_cond::notify/cancel must post to handler's associated executor
Shilpa Jagannath [Fri, 5 Jun 2026 18:42:35 +0000 (14:42 -0400)]
common/async: async_cond::notify/cancel must post to handler's associated executor

RGWDeleteMultiObj spawns child coroutines via spawn_throttle to delete
objects in parallel. each child coroutine carries the connection strand
as its associated executor, serializing concurrent operations on shared
state like the response formatter and ops_log_entries.

but in multisite env, concurrent deletions in the same bucket shard
contend on async_cond in RGWDataChangesLog::add_entry(). when notify()
fires, waiting coroutines resume on the raw io_context executor
instead of their connection strand, breaking the serialization that prevents data
races in send_partial_response()

any_completion_handler doesn't support post(). so post() to the
default executor and dispatch to the associated executor from there

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 04aceefad0ef2b0186b0854ae28b4fbc4ffa51c3)

2 weeks agotest/neorados: test cross-executor completions
Casey Bodley [Thu, 4 Jun 2026 18:19:38 +0000 (14:19 -0400)]
test/neorados: test cross-executor completions

repurpose ceph_test_neorados_completions to verify that completions are
delivered to the handler's associated executor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c4d9a406c8e9ed514067a37574dec88a794acd7c)

Conflicts:
qa/workunits/rados/test.sh  missing watch-notify changes
src/test/neorados/CMakeLists.txt  missing watch-notify changes

2 weeks agoosdc: deliver neorados completions to associated executor
Casey Bodley [Tue, 2 Jun 2026 20:17:59 +0000 (16:17 -0400)]
osdc: deliver neorados completions to associated executor

while Objecter delivers librados completions directly by calling
Context::complete(), neorados completions are passed in as
boost::asio::any_completion_handler and delivered to an asio executor
via boost::asio::defer() on completion

asio handlers may have an "associated executor" so callers can customize
where these completions are delivered. for example, multithreaded
applications often use strand executors to synchronize completion
handlers and prevent data races between concurrent operations

however, applications like radosgw that depend on strands for
thread-safety did not get it due to the fact that Objecter's
Op::complete() delivered all neorados completions to the default
io_context executor

use boost::asio::get_associated_executor() to respect the handler's
executor affinity, if any. but because the Op's handler is the
type-erased any_completion_handler, its associated executor is also
type-erased as any_completion_executor. that any_completion_executor
doesn't support the blocking::never_t property required by defer/post,
so defer() was changed to dispatch() which may call the handler directly
if Objecter is already running on the requested executor. i assume this
is safe, given that librados' Context-based completions already do this

Fixes: https://tracker.ceph.com/issues/76725
Co-Authored-by: Oguzhan Ozmen <oozmen@bloomberg.net>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit aabb5c70c56ed630a01c6f89d9981cdb6317ea34)

2 weeks agopython-common/cryptotools: stop using the removed X509Req API 69709/head
Kefu Chai [Sat, 13 Jun 2026 01:50:09 +0000 (09:50 +0800)]
python-common/cryptotools: stop using the removed X509Req API

pyOpenSSL deprecated OpenSSL.crypto.X509Req in 24.2.0 (2024-07-20) and
removed it in 26.3.0 (2026-06-12). as we don't pin pyopenssl, CI picked
up the new release, and create_self_signed_cert() started failing with:

  AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'

this took down run-tox-mgr, run-tox-mgr-dashboard-py3 and the mypy check.

we only used X509Req to build a subject name and then copied it into the
X509 cert. so drop it, and set the subject on the cert directly. the
resulting cert stays the same: subject from dname, issuer set to the same
subject, self-signed.

Fixes: https://tracker.ceph.com/issues/77391
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 1dda56b1a00a6cbf520d932332ff097716ab256e)

2 weeks agomgr/dashboard: skip the table when an nvmeof cli result has no columns
Kefu Chai [Tue, 23 Jun 2026 07:43:28 +0000 (15:43 +0800)]
mgr/dashboard: skip the table when an nvmeof cli result has no columns

The dashboard leaves prettytable unpinned.  prettytable commit 2574492 ("Apply
some Pylint rules (PLR)", #436) rewrote _stringify_row()'s row_height as
`max(_get_size(c)[1] for c in row)`, which raises ValueError("max() iterable
argument is empty") on a row with no cells.  The change is undocumented and
shipped in 3.18.0; get_string() trips on it when a table has a row but no
columns.

AnnotatedDataTextOutputFormatter builds such a table for an empty result, or
one whose only field is status or error_message, so NvmeofCLICommand.call()
returns -EINVAL and the command fails.  This broke run-tox-mgr-dashboard-py3
once the tox virtualenv picked up prettytable 3.18.0.

Return an empty string when there are no columns instead of formatting a
degenerate table.

Fixes: https://tracker.ceph.com/issues/77589
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
(cherry picked from commit 9dd7fd0b0a78871f7f71c89a061490f3ffc97605)

Conflicts:
    src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py
Resolution: tentacle has only the empty-result test case; updated its
expected stdout to ''

3 weeks agomgr/DaemonServer: Aggregate and globally sort OSDs for ok-to-upgrade 69542/head
Sridhar Seshasayee [Wed, 6 May 2026 15:11:33 +0000 (20:41 +0530)]
mgr/DaemonServer: Aggregate and globally sort OSDs for ok-to-upgrade

The 'ok-to-upgrade' command output sorting did not scale accurately
when target CRUSH buckets contained multiple child buckets (e.g., a
chassis containing multiple hosts). OSDs were previously sorted
individually per child bucket and appended sequentially. This created
fragmented, per-host sort segments rather than a globally sorted list
for the parent bucket.

Changes:

1. Fix the issue above by aggregating all child OSDs into a single vector prior
to executing a single, global sort operation based on PG counts. Additionally,
optimize memory efficiency and future-proof the logic by reserving continuous
vector blocks to avoid dynamic heap reallocations.

2. Add integration tests with chassis and rack based CRUSH hierarchies which
verifies the ok-to-upgrade functionality. In addition, the tests crucially
verify the order of OSDs returned is according to the ascending order of
acting PG count. Additionally, make minor fix-ups to lines that determine the
length of a list in JSON response by removing the redundant "| bc".

Fixes: https://tracker.ceph.com/issues/77272
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit 6761549c5a719f541a850f243318a1212b76c0a6)

3 weeks agoMerge PR #69115 into tentacle
Patrick Donnelly [Tue, 16 Jun 2026 18:49:22 +0000 (14:49 -0400)]
Merge PR #69115 into tentacle

* refs/pull/69115/head:
qa/rgw: remove ragweed from verify subsuite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge PR #69493 into tentacle
Patrick Donnelly [Tue, 16 Jun 2026 18:47:45 +0000 (14:47 -0400)]
Merge PR #69493 into tentacle

* refs/pull/69493/head:
20.2.2

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks ago20.2.2 69493/head v20.2.2
Ceph Release Team [Mon, 15 Jun 2026 14:56:49 +0000 (14:56 +0000)]
20.2.2

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
4 weeks agoMerge PR #69450 into tentacle
Patrick Donnelly [Mon, 15 Jun 2026 13:57:44 +0000 (09:57 -0400)]
Merge PR #69450 into tentacle

* refs/pull/69450/head:
osd: Allow multiple objects with same version in missing list.

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 weeks agoosd: Allow multiple objects with same version in missing list. 69450/head
Alex Ainscow [Wed, 8 Apr 2026 10:49:58 +0000 (11:49 +0100)]
osd: Allow multiple objects with same version in missing list.

Most of the time, a single version in a PG can only correspond to a single object.

However, following a PG merge it is possible, even likely, that two objects will
have the same version.   The PG Log works around this by discarding the log.

However, during backfill, it is possible for the missing list to be build with
these duplicate versions.

A recently added assert detected that this scenario was corrupting the reverse
missing list (rmissing). This behaviour has always existed, but was previously
unnoticed.  It could cause some bugs and potentially loop-asserts on OSDs,
although mostly would not be noticed.

Here we fix this properly, by converting rmissing to a multimap. This is wrapped
in some insert functions, which assert that the rmissing list does not end up
with duplicate entries.  The code is optimised for the case where there are no
duplicate versions.

Additionally, some of the old asserts have been rolled into the insert functions.

Fixes: https://tracker.ceph.com/issues/75778
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit f3940400952b444a31f59b633fa3fa35437c87a9)

4 weeks agoMerge PR #69436 into tentacle 69403/head
Patrick Donnelly [Fri, 12 Jun 2026 23:55:10 +0000 (19:55 -0400)]
Merge PR #69436 into tentacle

* refs/pull/69436/head:
mgr: guard close_section calls in get_perf_schema_python

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>