]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 days agorgw/d4n: avoid reading head block (attrs) from cache,
Pritha Srivastava [Thu, 22 May 2025 04:20:50 +0000 (09:50 +0530)]
rgw/d4n: avoid reading head block (attrs) from cache,
if they have already been read while reading permissions
for an object.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
9 days agorgw/d4n: reading from local cache first in iterate()
Pritha Srivastava [Mon, 19 May 2025 11:27:15 +0000 (16:57 +0530)]
rgw/d4n: reading from local cache first in iterate()
method instead of checking directory first for existence
of cache blocks.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
9 days agorgw/d4n: optimizing iterate method to align
Pritha Srivastava [Wed, 7 May 2025 06:05:13 +0000 (11:35 +0530)]
rgw/d4n: optimizing iterate method to align
last block also with max_chunk_size(object size
or rgw_max_chunk_size) and to perform checks
based on object size.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
13 days agoMerge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc
afreen23 [Mon, 18 Aug 2025 15:25:43 +0000 (20:55 +0530)]
Merge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc

mgr/dashboard: [RGW] - Target Storage Class in s3 tiering Config

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
13 days agoMerge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2
Zac Dover [Mon, 18 Aug 2025 13:50:53 +0000 (23:50 +1000)]
Merge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4
Zac Dover [Mon, 18 Aug 2025 13:48:36 +0000 (23:48 +1000)]
Merge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:45:42 +0000 (23:45 +1000)]
Merge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:43:05 +0000 (23:43 +1000)]
Merge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #64626 from xxhdx1985126/wip-72173
Matan Breizman [Mon, 18 Aug 2025 09:11:45 +0000 (12:11 +0300)]
Merge pull request #64626 from xxhdx1985126/wip-72173

crimson/os/seastore: add support for OP_SPLIT_COLLECTION2

Reviewed-by: Samuel Just <sjust@redhat.com>
13 days agoMerge pull request #64828 from xxhdx1985126/wip-71363
Matan Breizman [Mon, 18 Aug 2025 09:09:56 +0000 (12:09 +0300)]
Merge pull request #64828 from xxhdx1985126/wip-71363

crimson/os/seastore: link RetiredExtentPlaceholder up to lba leaf nodes

Reviewed-by: Samuel Just <sjust@redhat.com>
13 days agoMerge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable...
Nizamudeen A [Mon, 18 Aug 2025 09:04:27 +0000 (14:34 +0530)]
Merge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable-and-height-consistent

mgr/dashboard: Made expandable table row height consistent across the cluster

13 days agoMerge pull request #65051 from jannisspeer/patch-4
Zac Dover [Mon, 18 Aug 2025 08:53:12 +0000 (18:53 +1000)]
Merge pull request #65051 from jannisspeer/patch-4

doc/cephfs: Update quota.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #64772 from rhcs-dashboard/form-and-style-fixes
afreen23 [Mon, 18 Aug 2025 07:40:03 +0000 (13:10 +0530)]
Merge pull request #64772 from rhcs-dashboard/form-and-style-fixes

mgr/dashboard: form and style fixes

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
13 days agodoc/cephfs: Update quota.rst 65051/head
Jannis Speer [Thu, 14 Aug 2025 16:49:48 +0000 (18:49 +0200)]
doc/cephfs: Update quota.rst

Make the user aware to adapt the client capabilities to enable the configuration of quotas.

Signed-off-by: Jannis Speer <Jannis.speer@tutanota.com>
doc/cephfs: fix broken link

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 days agoMerge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 06:26:47 +0000 (16:26 +1000)]
Merge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agodoc/cephfs: edit troubleshooting.rst 64939/head
Zac Dover [Mon, 11 Aug 2025 04:30:22 +0000 (14:30 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "Slow requests" in the file
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 weeks agoMerge pull request #65022 from gbregman/main
Ilya Dryomov [Sun, 17 Aug 2025 19:37:06 +0000 (21:37 +0200)]
Merge pull request #65022 from gbregman/main

pybind/rados: Add list_lockers() and break_lock() to Rados Python interface

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 weeks agoMerge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close
afreen23 [Sun, 17 Aug 2025 12:00:42 +0000 (17:30 +0530)]
Merge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close

mgr/dashboard: close token status subscription properly

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2 weeks agoMerge pull request #64945 from afreen23/fix-cap-thresholds
afreen23 [Sun, 17 Aug 2025 11:58:22 +0000 (17:28 +0530)]
Merge pull request #64945 from afreen23/fix-cap-thresholds

Replace capacity threshold data with prometheus metrics

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 weeks agoMerge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones
Venky Shankar [Sun, 17 Aug 2025 11:02:31 +0000 (16:32 +0530)]
Merge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones

qa/cephfs: increase clones for test_for_6_ongoing_clones

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge PR #64702 into main
Venky Shankar [Sun, 17 Aug 2025 10:57:43 +0000 (16:27 +0530)]
Merge PR #64702 into main

* refs/pull/64702/head:

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge pull request #64701 from izxl007/getattr
Venky Shankar [Sun, 17 Aug 2025 10:56:57 +0000 (16:26 +0530)]
Merge pull request #64701 from izxl007/getattr

fuse: improve error handling in fuse_ll_getattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge pull request #64804 from soumyakoduri/wip-skoduri-restore-expdate
Soumya Koduri [Sat, 16 Aug 2025 17:48:59 +0000 (23:18 +0530)]
Merge pull request #64804 from soumyakoduri/wip-skoduri-restore-expdate

rgw/restore: Update expiry-date of restored copies

Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agorgw/restore: Update expiry-date of restored copies 64804/head
Soumya Koduri [Thu, 31 Jul 2025 19:19:44 +0000 (00:49 +0530)]
rgw/restore: Update expiry-date of restored copies

As per AWS spec (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html),
if a `restore-object` request is re-issued on already restored copy, server needs to
update restoration period relative to the current time. These changes handles the same.

Note: this applies to only temporary restored copies

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 weeks agoMerge pull request #64372 from phlogistonjohn/jjm-smb-remotectl
Adam King [Fri, 15 Aug 2025 16:03:42 +0000 (12:03 -0400)]
Merge pull request #64372 from phlogistonjohn/jjm-smb-remotectl

smb: add remote control server

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
2 weeks agoMerge pull request #64787 from vshankar/wip-improve-cephfs-dr-doc
Zac Dover [Fri, 15 Aug 2025 02:12:25 +0000 (12:12 +1000)]
Merge pull request #64787 from vshankar/wip-improve-cephfs-dr-doc

doc/cephfs: update cephfs disaster recovery documentation

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 weeks agoMerge pull request #64981 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting
Zac Dover [Thu, 14 Aug 2025 13:45:16 +0000 (23:45 +1000)]
Merge pull request #64981 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64930 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-3
Zac Dover [Thu, 14 Aug 2025 13:40:22 +0000 (23:40 +1000)]
Merge pull request #64930 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-3

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64923 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-3
Zac Dover [Thu, 14 Aug 2025 13:35:30 +0000 (23:35 +1000)]
Merge pull request #64923 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-3

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64922 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-2
Zac Dover [Thu, 14 Aug 2025 13:12:39 +0000 (23:12 +1000)]
Merge pull request #64922 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64811 from ceph/fix-dependabot_dashboard_upgrades-main
Ernesto Puerta [Thu, 14 Aug 2025 12:09:31 +0000 (14:09 +0200)]
Merge pull request #64811 from ceph/fix-dependabot_dashboard_upgrades-main

dependabot: stop dashboard npm upgrade PRs

2 weeks agodoc/cephfs: edit troubleshooting.rst 64981/head
Zac Dover [Tue, 12 Aug 2025 06:44:05 +0000 (16:44 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the "Mount 5 Error" and "Mount 12 Error" sections of
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 weeks agoMerge pull request #64982 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting-2
Zac Dover [Thu, 14 Aug 2025 08:32:36 +0000 (18:32 +1000)]
Merge pull request #64982 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge pull request #65008 from chanyoung/omap-fast-check-mappings
Matan Breizman [Thu, 14 Aug 2025 07:12:09 +0000 (10:12 +0300)]
Merge pull request #65008 from chanyoung/omap-fast-check-mappings

test/crimson/seastore/test_omap_manager: faster check mappings

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agopybind/rados: Add list_lockers() and break_lock() to Rados Python interface. 65022/head
Gil Bregman [Thu, 14 Aug 2025 05:55:49 +0000 (08:55 +0300)]
pybind/rados: Add list_lockers() and break_lock() to Rados Python interface.

Fixes: https://tracker.ceph.com/issues/72544
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 weeks agomgr/dashboard: [RGW] - Target Storage Class in s3 tiering config 65020/head
Dnyaneshwari [Thu, 14 Aug 2025 05:15:52 +0000 (10:45 +0530)]
mgr/dashboard: [RGW] - Target Storage Class in s3 tiering config

Fixes: https://tracker.ceph.com/issues/72583
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2 weeks agoMerge pull request #65013 from Naveenaidu/wip-naveen-update-cephadm-docs 64991/head
Naveen Naidu [Thu, 14 Aug 2025 03:44:39 +0000 (09:14 +0530)]
Merge pull request #65013 from Naveenaidu/wip-naveen-update-cephadm-docs

doc/man/cephadm: update `--orphan-initial-daemons` argument description

2 weeks agoMerge pull request #63938 from tchaikov/wip-osd-recalc-decode
Kefu Chai [Thu, 14 Aug 2025 01:04:07 +0000 (09:04 +0800)]
Merge pull request #63938 from tchaikov/wip-osd-recalc-decode

osd: recalculate coll_t::_str during decode() to fix stale values

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agomgr/dashboard: Replace capacity threshold data with prometheus metrics 64945/head
Afreen Misbah [Mon, 11 Aug 2025 09:03:32 +0000 (14:33 +0530)]
mgr/dashboard: Replace capacity threshold data with prometheus metrics

- Fixes https://tracker.ceph.com/issues/72519
- the osd dump metrics is used in /api/osd/settings
- this metrics creates perf bottleneck when osds are 1000s
- replacing with similar prometheus metrics
- minor refactors - including renaming, comments.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 weeks agoMerge pull request #61770 from rkachach/fix_issue_69484
Redouane Kachach [Wed, 13 Aug 2025 17:05:08 +0000 (19:05 +0200)]
Merge pull request #61770 from rkachach/fix_issue_69484

Prometheus configuration generation improvements

Reviewed-by: nizamial09 <nia@redhat.com>
2 weeks agomgr/dashboard: form and style fixes 64772/head
Naman Munet [Thu, 31 Jul 2025 12:29:31 +0000 (17:59 +0530)]
mgr/dashboard: form and style fixes

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

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 weeks agodoc/man/cephadm: update --orphan-initial-daemons argument description 65013/head
Naveen Naidu [Wed, 13 Aug 2025 12:16:09 +0000 (17:46 +0530)]
doc/man/cephadm: update --orphan-initial-daemons argument description

Signed-off-by: Naveen Naidu <naveen.naidu@ibm.com>
2 weeks agotest/crimson/seastore/test_omap_manager: faster check mappings 65008/head
Chanyoung Park [Fri, 8 Aug 2025 16:54:41 +0000 (16:54 +0000)]
test/crimson/seastore/test_omap_manager: faster check mappings

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>
2 weeks agoMerge pull request #64998 from chanyoung/monotonic
Matan Breizman [Wed, 13 Aug 2025 07:44:50 +0000 (10:44 +0300)]
Merge pull request #64998 from chanyoung/monotonic

test/crimson/seastore/test_omap_manager: add monotonic inc UT

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agodoc/cephfs: edit troubleshooting.rst 64982/head
Zac Dover [Tue, 12 Aug 2025 06:46:12 +0000 (16:46 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the "Dynamic Debugging" section of doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
doc/cephfs: improve dynamic debugging section

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge pull request #64976 from phlogistonjohn/jjm-container-pkgs
Dan Mick [Wed, 13 Aug 2025 00:51:52 +0000 (17:51 -0700)]
Merge pull request #64976 from phlogistonjohn/jjm-container-pkgs

container: support building a container image with custom packages

2 weeks agoMerge pull request #64942 from chanyoung/redesign_depth3_split
Samuel Just [Tue, 12 Aug 2025 20:19:25 +0000 (13:19 -0700)]
Merge pull request #64942 from chanyoung/redesign_depth3_split

test/crimson/seastore/test_omap_manager: redesign depth3 split

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agoMerge pull request #64964 from edwinzrodriguez/ceph-wip-72454
Ilya Dryomov [Tue, 12 Aug 2025 19:09:28 +0000 (21:09 +0200)]
Merge pull request #64964 from edwinzrodriguez/ceph-wip-72454

test/librbd/fsx: initialize effective_size variable

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 weeks agoMerge PR #64821 into main
Patrick Donnelly [Tue, 12 Aug 2025 18:43:43 +0000 (14:43 -0400)]
Merge PR #64821 into main

* refs/pull/64821/head:
.github: only run redmine-upkeep actions from ceph/ceph.git
script/redmine-upkeep: add transform to resolve merged issue
script/redmine-upkeep: set default filter name/priority
script/redmine-upkeep: raise exception for PUT failures
script/redmine-upkeep: finish transform after application
script/redmine-upkeep: indicate log location in comments
script/redmine-upkeep: check envvar to see if running as action
script/redmine-upkeep: bullet issue list
script/redmine-upkeep: add stronger note on upkeep-failed tag in failure message
script/redmine-upkeep: do not raise commennt if upkeep-failed already present
script/redmine-upkeep: correct filter out of upkeep-failed
.github/workflows: allow redmine-upkeep to write comments

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 weeks agodoc/mgr: more consistent capitalization in smb.rst 64372/head
John Mulligan [Tue, 12 Aug 2025 14:34:37 +0000 (10:34 -0400)]
doc/mgr: more consistent capitalization in smb.rst

When not referring to a code object or field value or module name, try
to spell ID and SMB in all caps everywhere in the document.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agodoc: document remote control in the mgr smb file
John Mulligan [Fri, 4 Jul 2025 13:20:47 +0000 (09:20 -0400)]
doc: document remote control in the mgr smb file

It covers the remote control configuration object and the tls credential
resource and source object created to support it and future tls needs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks ago.github: only run redmine-upkeep actions from ceph/ceph.git 64821/head
Patrick Donnelly [Tue, 12 Aug 2025 15:55:04 +0000 (11:55 -0400)]
.github: only run redmine-upkeep actions from ceph/ceph.git

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: add transform to resolve merged issue
Patrick Donnelly [Wed, 16 Jul 2025 18:28:59 +0000 (14:28 -0400)]
script/redmine-upkeep: add transform to resolve merged issue

Few things:

- Add priority to transforms. Largely this is to have the "merged"
  transformation run first to update the "Merge Commit" field of the ticket
  before any other transform intends to look at that field. This avoids
  duplicating logic to set the Merge Commit field.

- Fix a bug where the github API cannot be trusted to indicate the Merge Commit
  for a PR. When the branch is rename or changed, the github backend clearly
  gets confused and gives the "HEAD" commit instead.

- Add new transform to resolve tickets that are merged to either Resolved or
  Pending Backport status.

* Note: filters on TAGS cannot be combined. There is some restructuring to deal with that.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoMerge pull request #64938 from chanyoung/omap-binary-search
Matan Breizman [Tue, 12 Aug 2025 16:50:00 +0000 (19:50 +0300)]
Merge pull request #64938 from chanyoung/omap-binary-search

crimson/.../string_kv_node_layout: switch linear to binary search

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agoscript/redmine-upkeep: set default filter name/priority
Patrick Donnelly [Mon, 4 Aug 2025 14:55:20 +0000 (10:55 -0400)]
script/redmine-upkeep: set default filter name/priority

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: raise exception for PUT failures
Patrick Donnelly [Wed, 16 Jul 2025 18:28:44 +0000 (14:28 -0400)]
script/redmine-upkeep: raise exception for PUT failures

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: finish transform after application
Patrick Donnelly [Wed, 16 Jul 2025 18:26:50 +0000 (14:26 -0400)]
script/redmine-upkeep: finish transform after application

Doing this at the end makes confusing error messages.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: indicate log location in comments
Patrick Donnelly [Wed, 16 Jul 2025 18:19:43 +0000 (14:19 -0400)]
script/redmine-upkeep: indicate log location in comments

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: check envvar to see if running as action
Patrick Donnelly [Wed, 16 Jul 2025 14:10:30 +0000 (10:10 -0400)]
script/redmine-upkeep: check envvar to see if running as action

This obviates --github-action in the workflow.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: bullet issue list
Patrick Donnelly [Wed, 16 Jul 2025 21:00:06 +0000 (17:00 -0400)]
script/redmine-upkeep: bullet issue list

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: add stronger note on upkeep-failed tag in failure message
Patrick Donnelly [Mon, 4 Aug 2025 14:53:28 +0000 (10:53 -0400)]
script/redmine-upkeep: add stronger note on upkeep-failed tag in failure message

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: do not raise commennt if upkeep-failed already present
Patrick Donnelly [Mon, 4 Aug 2025 14:48:48 +0000 (10:48 -0400)]
script/redmine-upkeep: do not raise commennt if upkeep-failed already present

If the script is run manually on an issue, don't leave a new comment if we
already have the issue tagged with upkeep-failed.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agoscript/redmine-upkeep: correct filter out of upkeep-failed
Patrick Donnelly [Mon, 4 Aug 2025 14:48:00 +0000 (10:48 -0400)]
script/redmine-upkeep: correct filter out of upkeep-failed

"!~" is the proper filter for "does not contain".

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks ago.github/workflows: allow redmine-upkeep to write comments
Patrick Donnelly [Wed, 16 Jul 2025 18:18:00 +0000 (14:18 -0400)]
.github/workflows: allow redmine-upkeep to write comments

Fixes errors like:

    Posting a comment to GitHub PR #62992.
    GitHub API error posting comment to PR #62992: 401 Client Error: Unauthorized for url: https://api.github.com/repos/ceph/ceph/issues/62992/comments - Response: {"message":"Requires authentication","documentation_url":"https://docs.github.com/rest/issues/comments#create-an-issue-comment","status":"401"}

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 weeks agotest/crimson/seastore/test_omap_manager: add monotonic inc UT 64998/head
Chanyoung Park [Wed, 23 Jul 2025 12:51:45 +0000 (12:51 +0000)]
test/crimson/seastore/test_omap_manager: add monotonic inc UT

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>
2 weeks agoMerge pull request #64501 from aainscow/ec_fixpack2_pr
Alex Ainscow [Tue, 12 Aug 2025 15:05:51 +0000 (16:05 +0100)]
Merge pull request #64501 from aainscow/ec_fixpack2_pr

Optimized Erasure Coding - Fixpack 2

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 weeks agoMerge pull request #64926 from chanyoung/faster-seastore-eph-dev
Matan Breizman [Tue, 12 Aug 2025 14:55:23 +0000 (17:55 +0300)]
Merge pull request #64926 from chanyoung/faster-seastore-eph-dev

crimson/.../ephemeral: faster seastore eph dev

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agomgr/smb: add tests applying & showing tls credential resources
John Mulligan [Tue, 1 Jul 2025 21:15:24 +0000 (17:15 -0400)]
mgr/smb: add tests applying & showing tls credential resources

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a tls credential resource test case
John Mulligan [Tue, 1 Jul 2025 19:53:57 +0000 (15:53 -0400)]
mgr/smb: add a tls credential resource test case

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/cephadm: support tls creds via uri in service spec
John Mulligan [Tue, 1 Jul 2025 23:08:02 +0000 (19:08 -0400)]
mgr/cephadm: support tls creds via uri in service spec

Support populating the cert data sent to the cephadm binary using
special `URI:` prefixed strings instead of putting the cert data itself
in the smb service spec. This avoids having an extra copy of the cert
floating around but still matches the behavior of other services where
cephadm writes the certs into files.

In the future we may be able to avoid even putting the data in here as
sambacc can use rados apis - but for simplicity and matching other
services we will send the data this way for now.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: make tls credential types work in smb show
John Mulligan [Tue, 1 Jul 2025 21:44:01 +0000 (17:44 -0400)]
mgr/smb: make tls credential types work in smb show

Update the handler code needed to make tls credential types work
corrently for `ceph smb show` commands.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add tls credential and remote control support to handler
John Mulligan [Wed, 2 Jul 2025 23:48:38 +0000 (19:48 -0400)]
mgr/smb: add tls credential and remote control support to handler

Use the new tls credential resource and remote control cluster field
to configure the tls creds for the remote control sidecar in the
service spec.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: remove unused generate_smb_service_spec function
John Mulligan [Tue, 1 Jul 2025 21:13:34 +0000 (17:13 -0400)]
mgr/smb: remove unused generate_smb_service_spec function

Remove the generate_smb_service_spec as it was unused (it was used
early on for a debug dump command). Leaving it would have meant
keeping it up-to-date with the real spec generating function and
unnecessary extra work.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add tls credential support to staging
John Mulligan [Wed, 2 Jul 2025 21:27:45 +0000 (17:27 -0400)]
mgr/smb: add tls credential support to staging

Add the necessary cross-check functions to staging.py for tls credential
resources. Add prune function for tls resources because they support
linked_to_cluster.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add external store key func for tls credential resources
John Mulligan [Tue, 1 Jul 2025 21:11:41 +0000 (17:11 -0400)]
mgr/smb: add external store key func for tls credential resources

For getting keys for an external store.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new entry class for tls credential resources
John Mulligan [Tue, 1 Jul 2025 15:28:02 +0000 (11:28 -0400)]
mgr/smb: add a new entry class for tls credential resources

Add a new entry class for the new tls credential resources. It should
work similarly to the join auth resources.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a uri lookup func to the MonKeyConfigStore
John Mulligan [Tue, 1 Jul 2025 23:08:24 +0000 (19:08 -0400)]
mgr/smb: add a uri lookup func to the MonKeyConfigStore

Add a new lookup_uri function to the MonKeyConfigStore - this allows the
store to return an entry given a URI. The URIs in the stores are
typically used to communicate to components outside the mgr module. But
there are occasions that we have a uri and want to look it up instead
of using a key.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: extend the mon key store to support raw data
John Mulligan [Tue, 1 Jul 2025 21:14:55 +0000 (17:14 -0400)]
mgr/smb: extend the mon key store to support raw data

Previously, a new protocol for raw data entries was added. Extend the
MonKeyStoreEntry to meet this protocol so that it can be used to retain
raw text/data blobs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add support for tls credential resoruces to sqlite store
John Mulligan [Tue, 1 Jul 2025 15:37:33 +0000 (11:37 -0400)]
mgr/smb: add support for tls credential resoruces to sqlite store

The sqlite store needs to be updated for each top-level resource type.
Update it for the newly added tls credential type. Configure it so that
it works similarly to the join auth resource such that the cert data is
not stored in the sqlite db - only in the layered mon store.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a RawConfigEntry protocol type
John Mulligan [Tue, 1 Jul 2025 21:15:10 +0000 (17:15 -0400)]
mgr/smb: add a RawConfigEntry protocol type

Previously, the ConfigEntry type was created to be general interface for
serializing structures to JSON and persist them in a store.
However, there are times we want to retain data in a store that is not
serialized JSON - but just raw data. Create a new protocol for that
purpose.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a remote control configuration to cluster resource
John Mulligan [Wed, 2 Jul 2025 22:15:16 +0000 (18:15 -0400)]
mgr/smb: add a remote control configuration to cluster resource

Add the remote control component to a field of the cluster resource.
A remote control side car can be explicitly enabled or implicitly
enabled by specifying the tls creds.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: create a new resource component for remote control
John Mulligan [Wed, 2 Jul 2025 22:15:03 +0000 (18:15 -0400)]
mgr/smb: create a new resource component for remote control

Remote control is a new optional feature of the samba-container. It runs
a small "sidecar" service that provides a (g)RPC interface that bridges
certain runtime operations, like disconnecting a particular client,
from the cloudy-gRPC world to samba's existing tooling.
Add a new type that can be used to configure this sidecar service.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new tls source component resource
John Mulligan [Wed, 2 Jul 2025 21:45:42 +0000 (17:45 -0400)]
mgr/smb: add a new tls source component resource

Add a new resource component for referencing a tls credential resource.
This works pretty much like the join auth resource in that a cluster
refers to a tls credential resource by name - avoiding having to have
potentially sensitive info stored in the cluster resource.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new tls credential resource type
John Mulligan [Wed, 2 Jul 2025 21:44:45 +0000 (17:44 -0400)]
mgr/smb: add a new tls credential resource type

Add a new TLS credential resource type that can currently store one
TLS certificate, TLS key, or TLS CA certificate. This is a new top-level
resource so that they can be use across clusters or managed
independently by different people and or private information can be kept
out a cluster resource stored in a file committed somewhere.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new BigString helper type for serializing yaml
John Mulligan [Wed, 2 Jul 2025 21:41:26 +0000 (17:41 -0400)]
mgr/smb: add a new BigString helper type for serializing yaml

Add a new BigString type that serves to help serialize resources to
YAML, causing it to use the multi-line literal style. A BigString is
a string so it should be transparent to other serializations, but
note that it should only be used in "simplified" structures.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: use a private constant for hidden value indicator
John Mulligan [Wed, 2 Jul 2025 21:42:40 +0000 (17:42 -0400)]
mgr/smb: use a private constant for hidden value indicator

When the password filter hides a value we replace it with a string
of asterisks - indicating that there was a value here. Move it
to a constant so it can be reused later.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new store namespace for tls_creds
John Mulligan [Wed, 2 Jul 2025 21:47:26 +0000 (17:47 -0400)]
mgr/smb: add a new store namespace for tls_creds

A new resource for tls credentials will be added soon. Prepare for
that by adding a store namespace for these resources.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new generalized enum for source references
John Mulligan [Wed, 2 Jul 2025 22:06:30 +0000 (18:06 -0400)]
mgr/smb: add a new generalized enum for source references

The join auth and users and groups sources typically specify a
source as a reference to a (local) resource. Right now this is
really the only supported value. Since they're all basically the same
add a new generic SourceReferenceType enum for future source
resource components.

Note that python doesn't allow subclassing enums that have values
assigned. This is the reason for the copy paste here.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a new TLSCredentialType enum
John Mulligan [Wed, 2 Jul 2025 21:47:56 +0000 (17:47 -0400)]
mgr/smb: add a new TLSCredentialType enum

Add a new TLSCredentialType to enums.py. This will be used in the future
to support a new resource type that manages TLS/SSL credential objects (
certs, keys, etc).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/cephadm: copy tls blobs from smb service spec to smb configuration
John Mulligan [Mon, 30 Jun 2025 23:11:47 +0000 (19:11 -0400)]
mgr/cephadm: copy tls blobs from smb service spec to smb configuration

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/cephadm: add a helper function for setting up smb config
John Mulligan [Mon, 30 Jun 2025 23:11:34 +0000 (19:11 -0400)]
mgr/cephadm: add a helper function for setting up smb config

Add a private helper function for copying values into the config_blobs
and similar dictionaries that are serialized and passed to cephadm for
configuration of smb. The helper automates the familiar pattern of
```
if value:
    config_blobs[key] = value
```

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agopython-common/deployment: add remote control sidecar config params
John Mulligan [Mon, 9 Jun 2025 17:19:06 +0000 (13:19 -0400)]
python-common/deployment: add remote control sidecar config params

Add parameters to the smb service spec for configuring the remote
control sidecar. The feature always controls the deployment (or not) of
the sidecar and the ssl/tls config params will be used to set up (m)TLS
for the sidecar.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agocephadm/smb: add support for remote control sidecar
John Mulligan [Mon, 9 Jun 2025 17:18:49 +0000 (13:18 -0400)]
cephadm/smb: add support for remote control sidecar

Add support for the remote control sidecar. The remote control server
is provided by the sambacc project. It is a small grpc server that
allows remote systems to get live information about connected clients
and disconnect clients or shares from the servers. The gRPC server
requires being run in mTLS mode to make changes.

Adding sidecar required adding a bunch of support for TLS/SSL certificate
management. I copied some of what other ceph containers do, like map
in a dedicated dir having certs. I expect some more stuff in the smb
daemon will require TLS support so I tried to make it a little more
generic than would be strictly needed by just this sidecar.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agocephadm: update type of populate_files first argument
John Mulligan [Wed, 16 Jul 2025 20:17:07 +0000 (16:17 -0400)]
cephadm: update type of populate_files first argument

The populate_files function's first argument was typed as `str` but
all places that str is used in that function can also use a
pathlib.Path. Update the type of that argument to match.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: improve error handling when _customize_resource is wrong
John Mulligan [Mon, 30 Jun 2025 21:46:10 +0000 (17:46 -0400)]
mgr/smb: improve error handling when _customize_resource is wrong

While working on other changes I noticed that if _customize_resource
does not return a resource object (something fairly easy to do like
accidentally delete a line) the error it produces is somewhat hard
to debug. Check the return from the function returns a non-false
object to provide better error reporting.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agomgr/smb: add a wrapper_type attribute for resourcelib fields
John Mulligan [Mon, 30 Jun 2025 21:18:36 +0000 (17:18 -0400)]
mgr/smb: add a wrapper_type attribute for resourcelib fields

Add a new wrapper_type attribute for resourcelib fields that will be
used for better YAML representations in a future change. The
wrapper_type attribute will be applied during the simplification
phase to prep the resulting object for serialization. It can be set
using the special _customize_resource function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #64861 from ronen-fr/wip-rf-pgdict
Ronen Friedman [Tue, 12 Aug 2025 13:33:02 +0000 (16:33 +0300)]
Merge pull request #64861 from ronen-fr/wip-rf-pgdict

test/standalone/scrub: improve build_pg_dicts() performance

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 weeks agoMerge pull request #64253 from arm7star/rgw-openssl
Casey Bodley [Tue, 12 Aug 2025 13:04:39 +0000 (09:04 -0400)]
Merge pull request #64253 from arm7star/rgw-openssl

rgw, common: OpenSSL provider support

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 weeks agocrimson/os/seastore/transaction_manager: linking retired placeholders to 64828/head
Xuehan Xu [Sun, 10 Aug 2025 15:45:51 +0000 (23:45 +0800)]
crimson/os/seastore/transaction_manager: linking retired placeholders to
lba leaf nodes must be synchronous with getting child pos

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 weeks agoMerge pull request #64675 from chanyoung/fix-omap-balance
Matan Breizman [Tue, 12 Aug 2025 11:01:09 +0000 (14:01 +0300)]
Merge pull request #64675 from chanyoung/fix-omap-balance

crimson/.../omap_btree_node_impl: pass pivot_idx for balancing

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>