]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 weeks agomgr/cephadm: remove unused manages_own_next_action attribute 67737/head
John Mulligan [Tue, 10 Mar 2026 21:17:35 +0000 (17:17 -0400)]
mgr/cephadm: remove unused manages_own_next_action attribute

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove check for manages_own_next_action
John Mulligan [Mon, 9 Mar 2026 23:04:41 +0000 (19:04 -0400)]
mgr/cephadm: remove check for manages_own_next_action

Now all service classes will use a choose_next_action method that
they've customized or one inherited from the base class.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: move ceph specific action checks to function
John Mulligan [Mon, 9 Mar 2026 23:03:46 +0000 (19:03 -0400)]
mgr/cephadm: move ceph specific action checks to function

Move core ceph type services next action check to the
_ceph_service_needs_reconfig helper function. This is a private helper
that does not use choose_next_action because of the additional needs for
the last_config and monmap/extra conf that no other service needed to
care about. Moving the logic to a function shrinks the already-long
_check_daemons a bit and makes it possible to stop checking for
services that don't use choose_next_action in a future commit.

Plus cephadm always treats core ceph services a bit special anyway,
right? :-)

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove special haproxy related if-block
John Mulligan [Mon, 9 Mar 2026 21:15:02 +0000 (17:15 -0400)]
mgr/cephadm: remove special haproxy related if-block

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add custom choose_next_action to ingress service
John Mulligan [Mon, 9 Mar 2026 21:14:50 +0000 (17:14 -0400)]
mgr/cephadm: add custom choose_next_action to ingress service

The haproxy component of the  ingress service performs additional
checks to determine in the service needs to be redployed in the
case it is fronting nfs and the placement has changed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove special mgmt stack related if-block
John Mulligan [Mon, 9 Mar 2026 20:50:01 +0000 (16:50 -0400)]
mgr/cephadm: remove special mgmt stack related if-block

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add custom choose_next_action to monitoring services
John Mulligan [Mon, 9 Mar 2026 20:49:26 +0000 (16:49 -0400)]
mgr/cephadm: add custom choose_next_action to monitoring services

Like the previous commit, update the prometheus, node-exporter, and
alertmanager services to use choose_next_action and share the
logic of that function via next_action_for_mgmt_stack_service.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add custom choose_next_action to ceph exporter service
John Mulligan [Mon, 9 Mar 2026 20:48:53 +0000 (16:48 -0400)]
mgr/cephadm: add custom choose_next_action to ceph exporter service

The ceph exporter service (and similar monitoring stack services)
need to detect if andy dependencies in the mgmt stack support services have
changed and be redeployed if so.

Update the ceph exporter service that makes use of a common function
for checking for this need. A common function will be used instead of
messing around with inheritance because I'm simply not brave enough
to look at doing that and I know a function provides common
implementation without side-effecting the class hierarchy.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove special jaeger if-block in _check_daemons
John Mulligan [Mon, 9 Mar 2026 20:04:40 +0000 (16:04 -0400)]
mgr/cephadm: remove special jaeger if-block in _check_daemons

This is replaced with a jaeger agent service class method.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add custom choose_next_action to jaeger agent service
John Mulligan [Mon, 9 Mar 2026 20:04:06 +0000 (16:04 -0400)]
mgr/cephadm: add custom choose_next_action to jaeger agent service

The jaeger agent service must always be redeployed instead of
reconfigured when the dependencies have changed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove special nfs if-block in _check_daemons
John Mulligan [Mon, 9 Mar 2026 20:03:57 +0000 (16:03 -0400)]
mgr/cephadm: remove special nfs if-block in _check_daemons

This is replaced with a nfs service class method.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add custom choose_next_action to nfs service
John Mulligan [Mon, 9 Mar 2026 20:03:48 +0000 (16:03 -0400)]
mgr/cephadm: add custom choose_next_action to nfs service

The nfs service needs to use the deps difference to detect
if any non-kmip related dependencies changed and force a
redeploy instead of a reconfig when so.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: use new choose_next_action when so configured
John Mulligan [Mon, 9 Mar 2026 20:03:28 +0000 (16:03 -0400)]
mgr/cephadm: use new choose_next_action when so configured

Use the newly added choose_next_action when a CephadmService subclasss
sets the manages_own_next_action class attribute to true.
This allows us to incrementally "opt in" classes to use
the choose_next_action method until all classes have been updated
to use that instead of code directly in _check_daemons.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: move custom container args
John Mulligan [Tue, 10 Mar 2026 18:09:04 +0000 (14:09 -0400)]
mgr/cephadm: move custom container args

If a redeploy is needed when these change this can have priority
over the other blocks, and it will make later refactoring easier.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add new choose_next_action method to CephadmService
John Mulligan [Mon, 9 Mar 2026 20:02:53 +0000 (16:02 -0400)]
mgr/cephadm: add new choose_next_action method to CephadmService

Add a new method to the CephadmService ABC. This method allows
service types to customize behavior when determining what
action needs to be taken if dependencies are changed, etc.

The server.py method _check_daemons uses cascading if-statements
that would look for differences between old and new dependencies
and check various properties to customize the type of action
cephadm is to take next. For example:
the nfs service must be *redeploy*ed instead of *reconfig*ured
when a dependency other than a kmip configuration has been
changed. The new choose_next_action method will be added
to _check_daemons to eventually replace these special cases here
and associate them with the various CephadmService subclasses.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add a new Action enum class
John Mulligan [Tue, 10 Mar 2026 13:44:44 +0000 (09:44 -0400)]
mgr/cephadm: add a new Action enum class

Currently, the code base mostly uses strings to represent actions
(like 'start', 'redeploy, 'reconfig', ...). Add a new Action class
to utils.py to have a crisper typing-friendly representation for
actions.

This is added to support net new code. While I'd like to see this
used more the goal is to prevent errors in the new approach and I
don't plan on immediately going back through all of cephadm
and finding and replacing all action strings right away.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: avoid redundant call to cache.get_scheduled_daemon_action
John Mulligan [Mon, 9 Mar 2026 19:08:44 +0000 (15:08 -0400)]
mgr/cephadm: avoid redundant call to cache.get_scheduled_daemon_action

Avoid a redundant call to cache.get_scheduled_daemon_action by
saving the call result in two variables at the first call site.
One var may be changed but the other will retain the original
value until it is checked again later.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: remove unused _calc_daemon_deps
John Mulligan [Mon, 9 Mar 2026 19:00:55 +0000 (15:00 -0400)]
mgr/cephadm: remove unused _calc_daemon_deps

Former uses of this function always did the same actions that this
function took (redundantly) so it provided little value, and was
rarely used.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: replace _calc_daemon_deps in serve.py
John Mulligan [Mon, 9 Mar 2026 18:59:14 +0000 (14:59 -0400)]
mgr/cephadm: replace _calc_daemon_deps in serve.py

Replace the use of _calc_daemon_deps in serve.py with a direct call to
the method that _calc_daemon_deps uses. This avoids a bunch of redundant
calls just to get the service class since we just make the same set of
calls just above the call to _calc_daemon_deps . It removes the final
use of a rarely used "helper" function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: replace _calc_daemon_deps call in agent.py
John Mulligan [Mon, 9 Mar 2026 18:57:05 +0000 (14:57 -0400)]
mgr/cephadm: replace _calc_daemon_deps call in agent.py

Replace the use of _calc_daemon_deps in agent.py with direct call to the
method that _calc_daemon_deps uses. This avoids a bunch of redundant
calls just to get the service class (that we already have) and removes a
use of a rarely used "helper" function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add sorted_dependencies function
John Mulligan [Mon, 9 Mar 2026 18:54:51 +0000 (14:54 -0400)]
mgr/cephadm: add sorted_dependencies function

Add `sorted_dependencies` a light wrapper around get_dependencies that
enforces the invariant of returning a sorted list of dependencies.
In the future we may want to simply replace get_dependencies if
there's no place we don't want sorted dependencies but this keeps
the changes to a minimum for now.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: update formatting of get_dependencies arguments
John Mulligan [Mon, 9 Mar 2026 18:53:50 +0000 (14:53 -0400)]
mgr/cephadm: update formatting of get_dependencies arguments

Use the contemporary black-compatible formatting of multiple long
arguments for the get_dependencies function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add test coverage for action chosen in _check_daemons
John Mulligan [Wed, 11 Mar 2026 21:58:18 +0000 (17:58 -0400)]
mgr/cephadm: add test coverage for action chosen in _check_daemons

Add a test that verifies that the special cases for the
extra_entrypoint_args and extra_container_args are handled.  While all
containers take these params we test them for the custom container as
this is where they'd be most commonly used.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add test coverage for action chosen in _check_daemons
John Mulligan [Wed, 11 Mar 2026 19:44:39 +0000 (15:44 -0400)]
mgr/cephadm: add test coverage for action chosen in _check_daemons

Add a test that verifies that the special cases for the ingress daemon
when fronting nfs choice of action is handled.

Fix the error in the current code block so that the test passes. I have
discussed this with Shweta, the author of this code block, and we
agree it should have been `last_deps`.

NOTE: While this test tries to assert the correct action is chosen via a
mock, I have also examined that it takes the correct code path when by
viewing coverage results locally.

Co-authored-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add test coverage for action chosen in _check_daemons
John Mulligan [Wed, 11 Mar 2026 18:44:47 +0000 (14:44 -0400)]
mgr/cephadm: add test coverage for action chosen in _check_daemons

Add a test that verifies that the special cases for the nfs daemon's
choice of action is handled.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: add test coverage for action chosen in _check_daemons
John Mulligan [Wed, 11 Mar 2026 16:50:54 +0000 (12:50 -0400)]
mgr/cephadm: add test coverage for action chosen in _check_daemons

Add a test that verifies that the special cases for the jaeger daemon's
choice of action is handled.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agoMerge pull request #68003 from yuvalif/wip-yuval-75713
Yuval Lifshitz [Thu, 26 Mar 2026 13:13:32 +0000 (15:13 +0200)]
Merge pull request #68003 from yuvalif/wip-yuval-75713

test/rgw/notification: fix the cloudevents package version

3 weeks agoMerge pull request #67777 from pritha-srivastava/wip-rgw-d4n-cleaning
Mark Kogan [Thu, 26 Mar 2026 12:01:33 +0000 (14:01 +0200)]
Merge pull request #67777 from pritha-srivastava/wip-rgw-d4n-cleaning

rgw/d4n: erasing dirty object entry for delete markers

3 weeks agoMerge pull request #66524 from aainscow/umbrella-release
Radoslaw Zarzynski [Thu, 26 Mar 2026 11:43:47 +0000 (12:43 +0100)]
Merge pull request #66524 from aainscow/umbrella-release

Umbrella checklist kickoff!

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
3 weeks agoMerge pull request #67997 from rhcs-dashboard/abount-window
Aashish Sharma [Thu, 26 Mar 2026 07:08:19 +0000 (12:38 +0530)]
Merge pull request #67997 from rhcs-dashboard/abount-window

mgr/Dashboard : [Dashboard] Not able to open "About" window

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 weeks agoMerge pull request #66318 from aclamk/aclamk-fcm-plugin
Adam Kupczyk [Wed, 25 Mar 2026 23:11:42 +0000 (00:11 +0100)]
Merge pull request #66318 from aclamk/aclamk-fcm-plugin

FCM plugin for block device

3 weeks agoextblkdev/fcm: Add plugin identification for fcm 66318/head
Adam Kupczyk [Wed, 11 Feb 2026 12:03:18 +0000 (12:03 +0000)]
extblkdev/fcm: Add plugin identification for fcm

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: Do not enable set_keepcaps by default
Adam Kupczyk [Wed, 11 Feb 2026 15:14:16 +0000 (15:14 +0000)]
extblkdev/fcm: Do not enable set_keepcaps by default

When one runs FCM enabled hardware config.set_keepcaps must be set.
However, having it as default is inadvised.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: Change douts/derrs
Adam Kupczyk [Wed, 11 Feb 2026 11:29:48 +0000 (11:29 +0000)]
extblkdev/fcm: Change douts/derrs

Remove printing fcm values to dout(1).
Upgraded inability to access FCM log from dout to derr.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: Create perf counters with fcm stats
Adam Kupczyk [Wed, 11 Feb 2026 09:32:31 +0000 (09:32 +0000)]
extblkdev/fcm: Create perf counters with fcm stats

Created "extblkdev" section.
Each time plugin is asked to `get_stats()` also write to perf counters.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agofixup warning of fcm plugin core
Adam Kupczyk [Wed, 11 Feb 2026 09:30:45 +0000 (09:30 +0000)]
fixup warning of fcm plugin core

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: derr when FCM and no block device discard
Adam Kupczyk [Thu, 25 Sep 2025 09:13:28 +0000 (05:13 -0400)]
extblkdev/fcm: derr when FCM and no block device discard

Add derr message when FCM is in use but discard is not enabled.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: Refuse to operate on multimedia lvm block devices
Adam Kupczyk [Thu, 25 Sep 2025 07:03:12 +0000 (03:03 -0400)]
extblkdev/fcm: Refuse to operate on multimedia lvm block devices

BlueStore is selecting were data is put to the device.
Merging 2 FCM devices together means that BlueStore will see free space
on one of the devices, but not know the other is full and asking to put
data there. It will cause -ENOSPC while free space is reported.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev/fcm: Adapt FCM plugin to RHCS9
Adam Kupczyk [Wed, 24 Sep 2025 14:03:47 +0000 (10:03 -0400)]
extblkdev/fcm: Adapt FCM plugin to RHCS9

Device /sys content is different from what original plugin expected.
Adapted to it.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoadded FCM plugin
Martin Ohmacht [Thu, 11 Aug 2022 14:37:03 +0000 (10:37 -0400)]
added FCM plugin

Signed-off-by: Martin Ohmacht <mohmacht@us.ibm.com>
3 weeks agoMerge pull request #67289 from aclamk/aclamk-extblkdev-mandatory
Adam Kupczyk [Wed, 25 Mar 2026 19:22:42 +0000 (20:22 +0100)]
Merge pull request #67289 from aclamk/aclamk-extblkdev-mandatory

os/bluestore: Make extblkdev mandatory

3 weeks agoMerge pull request #65847 from pritha-srivastava/wip-rgw-sts-expired-creds
Casey Bodley [Wed, 25 Mar 2026 18:46:37 +0000 (14:46 -0400)]
Merge pull request #65847 from pritha-srivastava/wip-rgw-sts-expired-creds

rgw/sts: correct error code to 400 (from 403)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agotest/rgw/notification: fix the cloudevents package version 68003/head
Yuval Lifshitz [Wed, 25 Mar 2026 18:17:56 +0000 (18:17 +0000)]
test/rgw/notification: fix the cloudevents package version

Fixes: https://tracker.ceph.com/issues/75713
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #64641 from phlogistonjohn/jjm-smb-keybridge
John Mulligan [Wed, 25 Mar 2026 17:57:59 +0000 (13:57 -0400)]
Merge pull request #64641 from phlogistonjohn/jjm-smb-keybridge

smb: add keybridge support and fscrypt configuration

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
3 weeks agodocs: reorder mon and mds for future new releases 66524/head
Alex Ainscow [Mon, 2 Feb 2026 15:15:20 +0000 (15:15 +0000)]
docs: reorder mon and mds for future new releases

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agodoc: Check redmine-upkeep.yml to add umbrella.
Alex Ainscow [Wed, 11 Mar 2026 10:58:30 +0000 (10:58 +0000)]
doc: Check redmine-upkeep.yml to add umbrella.

Previous PR already added umbrella, therefore adding redmin-upkeep is a no-op.
Any future developer copying this needs to look at PR 67316

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoscript/ceph-release-notes: add umbrella
Alex Ainscow [Wed, 11 Mar 2026 10:53:34 +0000 (10:53 +0000)]
script/ceph-release-notes: add umbrella

Just add umbrella.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoosd: Remove unused osd_perf_counter "scrbcnt_write_blocked"
Alex Ainscow [Tue, 3 Mar 2026 10:41:11 +0000 (10:41 +0000)]
osd: Remove unused osd_perf_counter "scrbcnt_write_blocked"

This counter is no longer needed in umbrella.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa: qa tasks from the release checklist for Umbrella
Alex Ainscow [Mon, 2 Feb 2026 16:19:30 +0000 (16:19 +0000)]
qa: qa tasks from the release checklist for Umbrella

All the qa tasks in the umbrella release checklist.
This includes removing X-3 releases and adding X-1 releases
(where appropriate).

Also updated release-checklist.rst

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoinclude: Remove incorrect "available" comment for feature bit. (cleanup)
Alex Ainscow [Mon, 2 Feb 2026 16:19:30 +0000 (16:19 +0000)]
include: Remove incorrect "available" comment for feature bit. (cleanup)

This flag was not available, so I have deleted it.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa: add X-1 release (tentacle) to fs upgrade suite
Chris Harris [Mon, 19 Jan 2026 11:37:27 +0000 (11:37 +0000)]
qa: add X-1 release (tentacle) to fs upgrade suite

Add files for the tentacle release (X-1) to the qa/suites/fs/upgrade suites

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
3 weeks agoqa: remove reef code from fs
Chris Harris [Mon, 19 Jan 2026 11:19:36 +0000 (11:19 +0000)]
qa: remove reef code from fs

Remove the reef code from the fs upgrade suites as we no longer want to test X-3 releases

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
3 weeks agoosd: Remove octopus-depending code in Fast EC
Alex Ainscow [Tue, 9 Dec 2025 13:19:22 +0000 (13:19 +0000)]
osd: Remove octopus-depending code in Fast EC

We are leaving alone legacy EC

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoosd: Update remove after squid to remove after umbrella comment
Alex Ainscow [Tue, 9 Dec 2025 13:18:28 +0000 (13:18 +0000)]
osd: Update remove after squid to remove after umbrella comment

Following consulting with author, we don't yet want to remove.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa Upgrade to Umbrella
Chris Harris [Tue, 9 Dec 2025 11:58:27 +0000 (11:58 +0000)]
qa Upgrade to Umbrella

All the qa tasks in the umbrella release checklist

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
# Conflicts:
# qa/suites/upgrade/telemetry-upgrade/tentacle-x/1-tasks.yaml
# qa/workunits/test_telemetry_tentacle.sh
# qa/workunits/test_telemetry_tentacle_x.sh

3 weeks agodoc: Confirm DEPRECATED checklist item and clean up pg_scrubber
Alex Ainscow [Tue, 9 Dec 2025 11:13:28 +0000 (11:13 +0000)]
doc: Confirm DEPRECATED checklist item and clean up pg_scrubber

No DEPRECATED features.

Remove some code labeled as "Remove in Umbrella"

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa: update require-osd-release to umbrella
Alex Ainscow [Mon, 17 Feb 2025 18:34:56 +0000 (18:34 +0000)]
qa: update require-osd-release to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agotools/monmaptool: bump new cluster version to X
Alex Ainscow [Fri, 7 Feb 2025 16:13:57 +0000 (11:13 -0500)]
tools/monmaptool: bump new cluster version to X

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoosd/OSDMap: update to umbrella
Alex Ainscow [Fri, 10 Jan 2025 16:02:11 +0000 (16:02 +0000)]
osd/OSDMap: update to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa/workunits/cephtool/test: update to umbrella
Alex Ainscow [Fri, 10 Jan 2025 15:59:33 +0000 (10:59 -0500)]
qa/workunits/cephtool/test: update to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agomon/OSDMonitor: update to umbrella
Alex Ainscow [Fri, 10 Jan 2025 15:58:06 +0000 (10:58 -0500)]
mon/OSDMonitor: update to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agocommon/options/global.yaml.in: update for umbrella
Alex Ainscow [Fri, 10 Jan 2025 15:48:13 +0000 (15:48 +0000)]
common/options/global.yaml.in: update for umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agomon/MgrMonitor: update for umbrella
Alex Ainscow [Fri, 10 Jan 2025 15:47:04 +0000 (10:47 -0500)]
mon/MgrMonitor: update for umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoqa/standalone/mon/misc: update for umbrella
Alex Ainscow [Fri, 10 Jan 2025 15:45:07 +0000 (15:45 +0000)]
qa/standalone/mon/misc: update for umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agodoc: update compatset for umbrella
Alex Ainscow [Fri, 10 Jan 2025 04:44:25 +0000 (23:44 -0500)]
doc: update compatset for umbrella

The unknown bit shown in commit was picked as being "far in the future".
We have now used it and now need to move the bit one release at a time.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoinclude/ceph_features: add SERVER_UMBRELLA feature bit
Alex Ainscow [Thu, 9 Jan 2025 22:08:42 +0000 (17:08 -0500)]
include/ceph_features: add SERVER_UMBRELLA feature bit

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agocephadm,ceph-volume: update to umbrella
Alex Ainscow [Thu, 9 Jan 2025 21:40:25 +0000 (21:40 +0000)]
cephadm,ceph-volume: update to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agodoc/dev/release-checklist: add backport-create-issue
Alex Ainscow [Thu, 9 Jan 2025 21:39:16 +0000 (21:39 +0000)]
doc/dev/release-checklist: add backport-create-issue

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks ago*: add constants and release names
Alex Ainscow [Thu, 9 Jan 2025 21:05:26 +0000 (21:05 +0000)]
*: add constants and release names

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoceph_release: update to umbrella
Alex Ainscow [Thu, 9 Jan 2025 20:59:12 +0000 (20:59 +0000)]
ceph_release: update to umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agolibrbd: bump version
Alex Ainscow [Thu, 9 Jan 2025 20:57:49 +0000 (15:57 -0500)]
librbd: bump version

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agoCMakeLists.txt: update VERSION
Alex Ainscow [Thu, 9 Jan 2025 20:56:59 +0000 (15:56 -0500)]
CMakeLists.txt: update VERSION

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agodoc: reset for umbrella
Alex Ainscow [Thu, 4 Dec 2025 16:23:55 +0000 (16:23 +0000)]
doc: reset for umbrella

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agomgr/dashboard: [Dashboard] Not able to open "About" window 67997/head
pujaoshahu [Wed, 25 Mar 2026 14:20:57 +0000 (19:50 +0530)]
mgr/dashboard: [Dashboard] Not able to open "About" window

Fixes: https://tracker.ceph.com/issues/75702
Signed-off-by: pujaoshahu <pshahu@redhat.com>
3 weeks agomgr/smb: update fs.py to request all caps for the cephfs volume 64641/head
John Mulligan [Thu, 15 Jan 2026 15:17:06 +0000 (10:17 -0500)]
mgr/smb: update fs.py to request all caps for the cephfs volume

Update the authorizer class in fs.py to request all caps (*) for our
volume. This is necessary in order to make use of the fscrypt feature
from smbd.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agocephadm: add pid file directory option to cfg watch sidecar
John Mulligan [Mon, 10 Nov 2025 21:15:29 +0000 (16:15 -0500)]
cephadm: add pid file directory option to cfg watch sidecar

This will enable the config watch sidecar to signal processes
with a SIGHUP to tell them to reload configuration when config
watch has detected a configuration change. Currently only used
by keybridge.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agocephadm: add pidfile option to smb keybridge sidecar
John Mulligan [Mon, 10 Nov 2025 21:15:19 +0000 (16:15 -0500)]
cephadm: add pidfile option to smb keybridge sidecar

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: fix unit test assertion
John Mulligan [Mon, 22 Sep 2025 15:15:37 +0000 (11:15 -0400)]
mgr/smb: fix unit test assertion

The unit test was looking for the wrong string (but the right
condition). This fixes the string to check.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agodoc: add documentation for keybridge and fscrypt options
John Mulligan [Wed, 23 Jul 2025 12:42:33 +0000 (08:42 -0400)]
doc: add documentation for keybridge and fscrypt options

Add docs for the keybrige configuration and cephfs fscrypt options
added to the smb mgr module resource definitions.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add some keybridge related unit test cases
John Mulligan [Fri, 18 Jul 2025 14:24:56 +0000 (10:24 -0400)]
mgr/smb: add some keybridge related unit test cases

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add support for generating keybridge configuration
John Mulligan [Fri, 18 Jul 2025 15:13:32 +0000 (11:13 -0400)]
mgr/smb: add support for generating keybridge configuration

Add support for generating the sambacc configuration section for
keybridge. Add support for configuring smb shares for keybridge access.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add cross-check validation for keybridge scopes
John Mulligan [Fri, 18 Jul 2025 14:24:45 +0000 (10:24 -0400)]
mgr/smb: add cross-check validation for keybridge scopes

Validate that scope names are not re-used, etc. Check on things that
can't be done in single object validation.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add new cephfs parameter for getting fscrypt keys
John Mulligan [Tue, 22 Jul 2025 23:24:11 +0000 (19:24 -0400)]
mgr/smb: add new cephfs parameter for getting fscrypt keys

Add a new field to the cephfs configuration section for shares. This
section selects the keybridge scope and key name to use when acquiring
the key to use for fscrypt.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add keybridge configuration to cluster resource
John Mulligan [Tue, 22 Jul 2025 23:22:15 +0000 (19:22 -0400)]
mgr/smb: add keybridge configuration to cluster resource

Add keybridge service configuration classes and parameters to the
resources module. This supports enabling the keybridge, setting up
scopes for the keybridge and it's access control.

A helper class is added that parses and helps validate the scope names.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add enums that will be used for configuring keybridge
John Mulligan [Wed, 16 Jul 2025 21:55:44 +0000 (17:55 -0400)]
mgr/smb: add enums that will be used for configuring keybridge

Add a pair of enum types that will be used for configuring the
keybridge. The scope type identifies what kind of scope is being
used. The peer policy can be used to allow a dev or other user
more access to the keybridge api for development purposes.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: add raw data methods to MemConfigStore
John Mulligan [Fri, 18 Jul 2025 14:23:12 +0000 (10:23 -0400)]
mgr/smb: add raw data methods to MemConfigStore

Add the set_data/get_data methods to the MemConfigStore so that future
test updates will not fail to save tls credential objects.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/smb: fix a resource error unpacking str instead of list
John Mulligan [Fri, 18 Jul 2025 14:23:31 +0000 (10:23 -0400)]
mgr/smb: fix a resource error unpacking str instead of list

Add special handling for the case where a string is passed instead of a
list. Without this fix a string will be converted into a list of single
letter items, something pretty much no one ever wants. Raise an
exception instead.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agocephadm: add keybridge sidecar to smb daemon module
John Mulligan [Fri, 18 Jul 2025 16:20:17 +0000 (12:20 -0400)]
cephadm: add keybridge sidecar to smb daemon module

The keybridge uses the sambacc configuration but can also be passed
CLI options. Since cephadm writes the cert files, cephadm must also
pass the file names to use to the container args.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomgr/cephadm: enable setting up SSL/TLS files for keybridge sidecar
John Mulligan [Fri, 18 Jul 2025 16:20:29 +0000 (12:20 -0400)]
mgr/cephadm: enable setting up SSL/TLS files for keybridge sidecar

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agopython-common/deployment: add keybridge feature to smb service spec
John Mulligan [Wed, 16 Jul 2025 21:08:49 +0000 (17:08 -0400)]
python-common/deployment: add keybridge feature to smb service spec

The keybridge sidecar is enabled by the keybridge feature flag.
This sidecar will be used to help fetch keys over various protocols
for the ceph module to use to set up fs encryption.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agoMerge pull request #67314 from aainscow/block_non_4k_chunks v21.0.0
Alex Ainscow [Wed, 25 Mar 2026 12:00:36 +0000 (12:00 +0000)]
Merge pull request #67314 from aainscow/block_non_4k_chunks

mon: Deny EC optimizations (fast EC) for non-4k-aligned chunk-sizes.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
3 weeks agoMerge pull request #67723 from perezjosibm/wip-perezjos-tracker75202
Jose Juan Palacios-Perez [Wed, 25 Mar 2026 11:04:32 +0000 (11:04 +0000)]
Merge pull request #67723 from perezjosibm/wip-perezjos-tracker75202

qa/workunits: add crimson/test_crimson_dump_metrics.sh

3 weeks agoMerge pull request #67936 from shraddhaag/wip-shraddhaag-fix-crimson-qa
Shraddha Agrawal [Wed, 25 Mar 2026 10:41:37 +0000 (16:11 +0530)]
Merge pull request #67936 from shraddhaag/wip-shraddhaag-fix-crimson-qa

qa/distros/crimson-supported-all-distro: reinstate centos

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoos/bluestore: Make extblkdev missing a warning 67289/head
Adam Kupczyk [Mon, 16 Feb 2026 13:50:26 +0000 (13:50 +0000)]
os/bluestore: Make extblkdev missing a warning

When mounting BlueStore for OSD problem with extblkdev meta are fatal error.
When mounting BlueStore in other cases extblkdev are just derr messages.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev: Make preload one-time function
Adam Kupczyk [Tue, 10 Feb 2026 12:16:46 +0000 (12:16 +0000)]
extblkdev: Make preload one-time function

Subsequent calls to extblkdev::preload() do not do anything.
It is assumed that first call already loads all plugins that could be
loaded.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoos/bluestore: Add config bluestore_use_ebd
Adam Kupczyk [Thu, 22 Jan 2026 15:23:56 +0000 (15:23 +0000)]
os/bluestore: Add config bluestore_use_ebd

When EBD(extblkdev) plugin is in use usually it needs to present all the time.
For bluestore deployed with EBD plugin it makes it an error if bluestore tries
to mount and EBD plugin is not present.

Preload of extblkdev plugins was misplaced.
Moved loading plugins into BlueStore.
This way both OSD and tools can load plugins.

Plugins are now loaded only:
- before mkfs
- when extblkdev plugin is signalled in label meta

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoextblkdev: Expand interface, add plugin id retrieval
Adam Kupczyk [Thu, 22 Jan 2026 13:55:51 +0000 (13:55 +0000)]
extblkdev: Expand interface, add plugin id retrieval

Plugin identification is a tool to implement two features:
1) Check the plugin is initialized
2) Verify that the plugin initialzied is the proper one

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agorgw/sts: correct error code to 400 (from 403) 65847/head
Pritha Srivastava [Thu, 9 Oct 2025 06:05:13 +0000 (11:35 +0530)]
rgw/sts: correct error code to 400 (from 403)
for expires sts credentials.

Fixes: https://tracker.ceph.com/issues/73441
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 weeks agoMerge pull request #57395 from rzarzynski/wip-wip-crimson-ec-with-recovery
Radoslaw Zarzynski [Tue, 24 Mar 2026 20:54:54 +0000 (21:54 +0100)]
Merge pull request #57395 from rzarzynski/wip-wip-crimson-ec-with-recovery

crimson/osd: bring support for EC, including recovery

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoqa/distros/crimson-supported-all-distro: reinstate centos 67936/head
Shraddha Agrawal [Sun, 22 Mar 2026 11:08:00 +0000 (16:38 +0530)]
qa/distros/crimson-supported-all-distro: reinstate centos

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>