]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 weeks agoclient: During fscrypt write, ensure we get Fr cap
Christopher Hoffman [Mon, 3 Feb 2025 19:13:31 +0000 (19:13 +0000)]
client: During fscrypt write, ensure we get Fr cap

During fscrypt write will require Fr cap. It's best to ensure
this requirement is handled at the cap level instead of at the mode
level. Otherwise, O_WRONLY flag won't be enforced.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agotest/libcephfs: Add skips to tests where mount root is a subdir
Christopher Hoffman [Fri, 31 Jan 2025 18:53:14 +0000 (18:53 +0000)]
test/libcephfs: Add skips to tests where mount root is a subdir

When dir_prefix is a subdir, skip tests that expect
behavior of "/" to be on root of filesystem.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Use enc_name when linking a fscrypt enabled inode
Christopher Hoffman [Mon, 27 Jan 2025 17:33:25 +0000 (17:33 +0000)]
client: Use enc_name when linking a fscrypt enabled inode

Fixes: https://tracker.ceph.com/issues/64163
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Do not encrypt '.' or '..'
Christopher Hoffman [Fri, 24 Jan 2025 14:28:11 +0000 (14:28 +0000)]
client: Do not encrypt '.' or '..'

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Use symlink_plain for decrypted fscrypt name
Christopher Hoffman [Thu, 23 Jan 2025 20:22:10 +0000 (20:22 +0000)]
client: Use symlink_plain for decrypted fscrypt name

Use symlink_plain for only the value of a decrypted fscrypt
dname.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: fscrypt last block
Christopher Hoffman [Thu, 16 Jan 2025 23:37:51 +0000 (23:37 +0000)]
client: fscrypt last block

Support two edge cases in fscrypt last block.

1. When fscrypt last block is not the first block
2. Make sure to clean up SaferCond, allowing for successive
   truncates utilizing lastblock.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Do not decrypt bl on trim read
Christopher Hoffman [Wed, 8 Jan 2025 20:20:10 +0000 (20:20 +0000)]
client: Do not decrypt bl on trim read

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: set symlink dest to proper value
Christopher Hoffman [Wed, 8 Jan 2025 17:53:25 +0000 (17:53 +0000)]
client: set symlink dest to proper value

Fixes: https://tracker.ceph.com/issues/69442
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agotest: Add function policy populator for reuse in fscrypt tests.
Christopher Hoffman [Wed, 8 Jan 2025 17:05:48 +0000 (17:05 +0000)]
test: Add function policy populator for reuse in fscrypt tests.

Fixes: https://tracker.ceph.com/issues/69161
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: change conditional to check for is locked.
Christopher Hoffman [Wed, 8 Jan 2025 15:32:23 +0000 (15:32 +0000)]
client: change conditional to check for is locked.

Fixes: https://tracker.ceph.com/issues/64137
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agofuse client, fscrypt, test: Implement and create tests for S_ENCRYPTED in inode i_flags
Christopher Hoffman [Thu, 19 Dec 2024 15:33:24 +0000 (15:33 +0000)]
fuse client, fscrypt, test: Implement and create tests for S_ENCRYPTED in inode i_flags

This PR adds test for S_ENCRYPTED bit in the i_flags field of Inode.
The test implements 2 quering methods: using FS_IOC_GETFLAGS and STATX_ATTR_ENCRYPTED

Fixes: https://tracker.ceph.com/issues/64129
Author: Igor Golikov <igolikov@ibm.com>
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Use correct sizes on write_success
Christopher Hoffman [Wed, 18 Dec 2024 15:38:02 +0000 (15:38 +0000)]
client: Use correct sizes on write_success

Fixes: https://tracker.ceph.com/issues/69302
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: clear logical size on open(O_TRUNC)
Christopher Hoffman [Wed, 18 Dec 2024 15:03:15 +0000 (15:03 +0000)]
client: clear logical size on open(O_TRUNC)

Fixes: https://tracker.ceph.com/issues/65613
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agotest, client: implement tests for not supported FALLOC ops, use policy to determine...
Christopher Hoffman [Tue, 17 Dec 2024 16:09:20 +0000 (16:09 +0000)]
test, client: implement tests for not supported FALLOC ops, use policy to determine the padding size for encrypted filename

Adding test for not supported FALLOC ops on the encypted tree
Using policy to determine the padding length for encrypted file names and symlinks

Fixes: https://tracker.ceph.com/issues/64162
https://tracker.ceph.com/issues/64131
Author: Igor Golikov <igolikov@ibm.com>
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Add fscrypt last block
Christopher Hoffman [Mon, 9 Dec 2024 18:59:50 +0000 (18:59 +0000)]
client: Add fscrypt last block

Add logic to support fscrypt last block. Includes sending
truncated last block data (decrypted->trunc->encrypted)
from client to mds. The server then writes the last block
on successful truncate.

Fixes: https://tracker.ceph.com/issues/69160
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Ensure file_cache cap is released.
Christopher Hoffman [Fri, 8 Nov 2024 14:00:43 +0000 (14:00 +0000)]
client: Ensure file_cache cap is released.

Fixes: https://tracker.ceph.com/issues/68798
Fixes: https://tracker.ceph.com/issues/68831
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Various fixes to fix multi-fuse client
Christopher Hoffman [Tue, 22 Oct 2024 17:34:27 +0000 (17:34 +0000)]
client: Various fixes to fix multi-fuse client

Provide various fixes in which size used in
multi-fuse client tests.

Fixes: https://tracker.ceph.com/issues/68431
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoqa: Convert and create tests for libcephfs fscrypt
Christopher Hoffman [Tue, 8 Oct 2024 12:10:59 +0000 (12:10 +0000)]
qa: Convert and create tests for libcephfs fscrypt

Convert existing tests to use teuthology framework.
Create tests to test N>1 fscrypt clients

Fixes: https://tracker.ceph.com/issues/66577
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Update fscrypt_file when mds info is newer
Christopher Hoffman [Tue, 24 Sep 2024 15:13:01 +0000 (15:13 +0000)]
client: Update fscrypt_file when mds info is newer

Fixes: https://tracker.ceph.com/issues/68233
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoqa: Add tests of interopability of fscrypt between fuse/kernel
Christopher Hoffman [Tue, 24 Sep 2024 13:25:48 +0000 (13:25 +0000)]
qa: Add tests of interopability of fscrypt between fuse/kernel

Fixes: https://tracker.ceph.com/issues/66577
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoObjectCacher: handle nullptr hole case
Christopher Hoffman [Thu, 5 Sep 2024 17:36:45 +0000 (17:36 +0000)]
ObjectCacher: handle nullptr hole case

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoObjectCacher: On RetryRead, ensure "hole" value is used
Christopher Hoffman [Wed, 28 Aug 2024 22:07:28 +0000 (22:07 +0000)]
ObjectCacher: On RetryRead, ensure "hole" value is used

On C_RetryRead, ensure "hole" value instead of pointer
to a pointer is used to allow populating vector of holes.

Fixes: https://tracker.ceph.com/issues/67659
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: When calling update_inode_file_size, provide correct size
Christopher Hoffman [Fri, 23 Aug 2024 19:19:31 +0000 (19:19 +0000)]
client: When calling update_inode_file_size, provide correct size

Fixes: https://tracker.ceph.com/issues/67559
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Use effective_size in eof read
Christopher Hoffman [Thu, 8 Aug 2024 19:50:39 +0000 (19:50 +0000)]
client: Use effective_size in eof read

Fixes: https://tracker.ceph.com/issues/67347
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient/FSCrypt: securely erase crypto key
Christopher Hoffman [Thu, 1 Aug 2024 14:12:15 +0000 (14:12 +0000)]
client/FSCrypt: securely erase crypto key

Fixes: https://tracker.ceph.com/issues/64136
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Implement status for fscrypt key status
Christopher Hoffman [Fri, 19 Jul 2024 14:44:04 +0000 (14:44 +0000)]
client: Implement status for fscrypt key status

Fixes: https://tracker.ceph.com/issues/64130
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Add busy case on key removal
Christopher Hoffman [Wed, 17 Jul 2024 15:25:48 +0000 (15:25 +0000)]
client: Add busy case on key removal

Fixes: https://tracker.ceph.com/issues/64159
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agofuse: enable ioctl on dir for fscrypt
Christopher Hoffman [Thu, 27 Jun 2024 18:50:21 +0000 (18:50 +0000)]
fuse: enable ioctl on dir for fscrypt

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agosrc/test/libcephfs: add test cases for fscrypt key removal busy case
Christopher Hoffman [Thu, 27 Jun 2024 14:08:24 +0000 (14:08 +0000)]
src/test/libcephfs: add test cases for fscrypt key removal busy case

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoqa: Added workunits for testing problem snippets on rmw workloads
Christopher Hoffman [Mon, 17 Jun 2024 15:50:51 +0000 (15:50 +0000)]
qa: Added workunits for testing problem snippets on rmw workloads

Fixes: https://tracker.ceph.com/issues/66038
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoqa: Allow fscrypt testing on fuse
Christopher Hoffman [Mon, 17 Jun 2024 14:26:55 +0000 (14:26 +0000)]
qa: Allow fscrypt testing on fuse

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: fix non-encrypted case in read_sync
Christopher Hoffman [Tue, 21 May 2024 16:54:35 +0000 (16:54 +0000)]
client: fix non-encrypted case in read_sync

Only append pbl to bl if encrypted case.

Fixes: https://tracker.ceph.com/issues/65964
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: fscrypt rmw fails when endoff end of block or file
Christopher Hoffman [Tue, 7 May 2024 00:59:11 +0000 (00:59 +0000)]
client: fscrypt rmw fails when endoff end of block or file
Fscrypt rmw fails when end of a write lines up with end of
a block or end of the file.

Fixes: https://tracker.ceph.com/issues/65745
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: During lookup of fscrypt symlink, use target fscrypt info.
Christopher Hoffman [Wed, 24 Apr 2024 17:38:44 +0000 (17:38 +0000)]
client: During lookup of fscrypt symlink, use target fscrypt info.

During a lookup of fscrypt enabled symlink, use target fscrypt
info. This must be used because enc key for each file is derived
from master_key+nonce.

Fixes: https://tracker.ceph.com/issues/65615
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Fix logic in need read start/end to account for fscrypt.
Christopher Hoffman [Thu, 11 Apr 2024 17:37:55 +0000 (17:37 +0000)]
client: Fix logic in need read start/end to account for fscrypt.

Fix the logic in need read start/end. We need to make sure that a
whole block is read when a rmw is issued, regardless if it starts
at offset 0 or not. Change size that may be read from where offset
starts to the whole fscrypt block.

Fixes: https://tracker.ceph.com/issues/64819
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: After a rebase, no lock is necessary.
Christopher Hoffman [Wed, 3 Apr 2024 14:48:01 +0000 (14:48 +0000)]
client: After a rebase, no lock is necessary.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoClient: fix O_TRUNC issue
Christopher Hoffman [Mon, 1 Apr 2024 18:34:35 +0000 (18:34 +0000)]
Client: fix O_TRUNC issue

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Ensure symlink plaintext is set
Christopher Hoffman [Mon, 4 Mar 2024 19:43:58 +0000 (19:43 +0000)]
client: Ensure symlink plaintext is set

When creating symlink, ensure symlink_plain is set in fscrypt and
non-fscrypt cases.

Fixes: https://tracker.ceph.com/issues/64691
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: rmw doesn't get_cap_ref like it should. After rmw,
Christopher Hoffman [Mon, 12 Feb 2024 16:15:14 +0000 (16:15 +0000)]
client: rmw doesn't get_cap_ref like it should. After rmw,
it put_cap_ref and it didn't happen. Issue with bool need_read.

Fixes: https://tracker.ceph.com/issues/64307
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoPopulate add key return
Christopher Hoffman [Thu, 18 Jan 2024 15:40:53 +0000 (15:40 +0000)]
Populate add key return

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agotest: Add test for semantics
Christopher Hoffman [Mon, 4 Dec 2023 14:22:04 +0000 (14:22 +0000)]
test: Add test for semantics

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: On fscrypt enabled directories, only allow read/write to files
Christopher Hoffman [Fri, 1 Dec 2023 17:18:03 +0000 (17:18 +0000)]
client: On fscrypt enabled directories, only allow read/write to files
in dir when unlocked. Client should not be able to read/write the encrypted payload.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agofscrypt: Add tests for add key, remove key, set policy.
Christopher Hoffman [Wed, 8 Nov 2023 17:56:14 +0000 (17:56 +0000)]
fscrypt: Add tests for add key, remove key, set policy.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient: Allow setpolicy only on dir and when it is empty.
Christopher Hoffman [Thu, 14 Dec 2023 17:13:38 +0000 (17:13 +0000)]
client: Allow setpolicy only on dir and when it is empty.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoAdd multi user support on a unlock claim.
Christopher Hoffman [Mon, 30 Oct 2023 22:31:45 +0000 (22:31 +0000)]
Add multi user support on a unlock claim.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
6 weeks agoclient,test,osdc: add beginnings of fscrypt support
Yehuda Sadeh [Fri, 12 May 2023 17:24:31 +0000 (13:24 -0400)]
client,test,osdc: add beginnings of fscrypt support

Signed-off-by: Yehuda Sadeh <ysadehwe@ibm.com>
6 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>
6 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>
6 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>
6 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>
6 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

6 weeks agodoc/cephfs: edit troubleshooting.rst
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>
6 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>
6 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>
6 weeks agoMerge pull request #65013 from Naveenaidu/wip-naveen-update-cephadm-docs
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

6 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>
6 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>
6 weeks agodoc/man/cephadm: update --orphan-initial-daemons argument description
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>
6 weeks agotest/crimson/seastore/test_omap_manager: faster check mappings
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>
6 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>
6 weeks agodoc/cephfs: edit troubleshooting.rst
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>
6 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

6 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>
6 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>
6 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>
6 weeks ago.github: only run redmine-upkeep actions from ceph/ceph.git
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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 weeks agotest/crimson/seastore/test_omap_manager: add monotonic inc UT
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>
6 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>
6 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>
6 weeks agoMerge pull request #64861 from ronen-fr/wip-rf-pgdict gabrioux-main-12082025 wip-guits-main-2025-08-12-1500
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>
6 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>
6 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>
6 weeks agoMerge pull request #64575 from chanyoung/add-test-omap-update
Matan Breizman [Tue, 12 Aug 2025 11:00:04 +0000 (14:00 +0300)]
Merge pull request #64575 from chanyoung/add-test-omap-update

test/crimson/seastore/test_omap_manager: add heavy update UT

Reviewed-by: Samuel Just <sjust@redhat.com>
6 weeks agoMerge pull request #64812 from Matan-B/wip-matanb-crimson-seastore-trans-intr
Matan Breizman [Tue, 12 Aug 2025 10:57:18 +0000 (13:57 +0300)]
Merge pull request #64812 from Matan-B/wip-matanb-crimson-seastore-trans-intr

crimson/os/seastore: introduce with_repeat_trans_intr

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
6 weeks agoMerge pull request #64911 from rhcs-dashboard/dashboard-loading-state
afreen23 [Tue, 12 Aug 2025 08:38:23 +0000 (14:08 +0530)]
Merge pull request #64911 from rhcs-dashboard/dashboard-loading-state

mgr/dashboard: loading state for inventory card

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 weeks agoMerge pull request #64890 from cloudbehl/add-osd-ratio
afreen23 [Tue, 12 Aug 2025 07:08:36 +0000 (12:38 +0530)]
Merge pull request #64890 from cloudbehl/add-osd-ratio

prometheus: Add OSD full and nearfull ratio to prometheus

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 weeks agoMerge pull request #64753 from Hezko/nvmeof-cli-mtls-fix2
afreen23 [Tue, 12 Aug 2025 06:59:49 +0000 (12:29 +0530)]
Merge pull request #64753 from Hezko/nvmeof-cli-mtls-fix2

mgr/dashboard: fix nvmeof mtls

Reviewed-by: Nizamudeen A <nia@redhat.com>
6 weeks agoMerge pull request #64767 from bluikko/doc-notifications-fixes-cephadm
Zac Dover [Tue, 12 Aug 2025 06:59:07 +0000 (16:59 +1000)]
Merge pull request #64767 from bluikko/doc-notifications-fixes-cephadm

doc/radosgw: Small fixes and improvements in notifications.rst, part 1

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
6 weeks agoMerge PR #64716 into main
Venky Shankar [Tue, 12 Aug 2025 05:36:33 +0000 (11:06 +0530)]
Merge PR #64716 into main

* refs/pull/64716/head:

Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: Sachin Prabhu <sp@spui.uk>
6 weeks agocontainer: pass CUSTOM_CEPH_REPO_URL thru container build script
John Mulligan [Thu, 10 Jul 2025 13:51:10 +0000 (09:51 -0400)]
container: pass CUSTOM_CEPH_REPO_URL thru container build script

Update the build.sh script such that the environment variable
CUSTOM_CEPH_REPO_URL is passed to the container build command
as a build argument. This allows a developer or system outside of the
ceph CI to build container images similar to those produced by the
CI but using custom RPM packages.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
6 weeks agocontainer: add CUSTOM_CEPH_REPO_URL build argument
John Mulligan [Thu, 10 Jul 2025 13:50:54 +0000 (09:50 -0400)]
container: add CUSTOM_CEPH_REPO_URL build argument

Add a CUSTOM_CEPH_REPO_URL build argument to the Containerfile.
This configures the container to consume ceph packages from the repo
file indicated by this URL. This allows constructing a container image
"the ceph way" without requiring the use of CI built packages.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
6 weeks agotest/librbd/fsx:: Initialize effective_size variable to prevent undefined behavior
Edwin Rodriguez [Thu, 7 Aug 2025 15:31:18 +0000 (11:31 -0400)]
test/librbd/fsx:: Initialize effective_size variable to prevent undefined behavior

Fixes: https://tracker.ceph.com/issues/72454
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
6 weeks agoMerge pull request #64952 from Matan-B/wip-matanb-rgw-fifo-ftbfs
Ilya Dryomov [Mon, 11 Aug 2025 17:13:30 +0000 (19:13 +0200)]
Merge pull request #64952 from Matan-B/wip-matanb-rgw-fifo-ftbfs

neorados/cls/fifo/detail/fifo: include strtol.h

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 weeks agoneorados/cls/fifo/detail/fifo: include strtol.h
Matan Breizman [Mon, 11 Aug 2025 12:28:47 +0000 (12:28 +0000)]
neorados/cls/fifo/detail/fifo: include strtol.h

https://github.com/ceph/ceph/commit/a2d26647c011274b61805f8ac17c3422e9b9b63c

ftbfs:
```
/home/jenkins-build/build/workspace/ceph-pull-requests/src/neorados/cls/fifo/detail/fifo.h:630:14: error: no member named 'parse' in namespace 'ceph'; did you mean 'pause'?
  630 |     auto n = ceph::parse<decltype(m.num)>(num);
      |              ^~~~~~~~~~~
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 weeks agoMerge pull request #64773 from afreen23/freq-api-calls
afreen23 [Mon, 11 Aug 2025 11:44:43 +0000 (17:14 +0530)]
Merge pull request #64773 from afreen23/freq-api-calls

mgr/dashboard: Stop rules api being polled on every page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 weeks agoMerge pull request #64905 from rhcs-dashboard/mem-leak
afreen23 [Mon, 11 Aug 2025 11:34:34 +0000 (17:04 +0530)]
Merge pull request #64905 from rhcs-dashboard/mem-leak

mgr/dashboard: fix memory leak in prometheus service

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 weeks agotest/crimson/seastore/test_omap_manager: refactor list UT
Chanyoung Park [Mon, 11 Aug 2025 07:29:48 +0000 (07:29 +0000)]
test/crimson/seastore/test_omap_manager: refactor list UT

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>
6 weeks agotest/crimson/seastore/test_omap_manager: add innernode structural test
Chanyoung Park [Mon, 11 Aug 2025 06:56:35 +0000 (06:56 +0000)]
test/crimson/seastore/test_omap_manager: add innernode structural test

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>