]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 months agomgr/dashboard: fix image filter's query on rbd-details grafana panel 62531/head
Aashish Sharma [Tue, 25 Mar 2025 11:35:05 +0000 (17:05 +0530)]
mgr/dashboard: fix image filter's query on rbd-details grafana panel

The image filter on the RBD Details grafana panel is using a query with a type "label_values(ceph_rbd_read_ops{cluster=~\"$cluster\", , pool=\"$pool\"}, image)". The extra comma needs to be removed.

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

3 months agoMerge pull request #62526 from cbodley/wip-69811-squid
Casey Bodley [Thu, 27 Mar 2025 21:48:57 +0000 (17:48 -0400)]
Merge pull request #62526 from cbodley/wip-69811-squid

squid: rgw/s3: remove local variable 'uri' that shadows member variable

Reviewed-by: Joseph Mundackal <jmundackal@bloomberg.net>
3 months agoMerge pull request #62219 from idryomov/wip-66419-squid
Yuri Weinstein [Thu, 27 Mar 2025 14:20:40 +0000 (07:20 -0700)]
Merge pull request #62219 from idryomov/wip-66419-squid

squid: qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 months agoMerge pull request #61817 from zdover23/wip-doc-2025-02-14-backport-61688-to-squid
Zac Dover [Thu, 27 Mar 2025 12:40:57 +0000 (22:40 +1000)]
Merge pull request #61817 from zdover23/wip-doc-2025-02-14-backport-61688-to-squid

squid: doc/dev/release-process.rst: release builds cannot build containers

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61952 from zdover23/wip-doc-2025-02-21-backport-61948-to-squid
Zac Dover [Thu, 27 Mar 2025 12:40:38 +0000 (22:40 +1000)]
Merge pull request #61952 from zdover23/wip-doc-2025-02-21-backport-61948-to-squid

squid: doc/cephadm/services: Re-improve osd.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61664 from zdover23/wip-doc-2025-02-06-backport-61616-to-squid
Zac Dover [Thu, 27 Mar 2025 12:39:40 +0000 (22:39 +1000)]
Merge pull request #61664 from zdover23/wip-doc-2025-02-06-backport-61616-to-squid

squid: doc/cephadm: clarify "Monitoring OSD State"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
3 months agoMerge pull request #62290 from zdover23/wip-doc-2025-03-14-backport-62258-to-squid
Zac Dover [Thu, 27 Mar 2025 12:33:43 +0000 (22:33 +1000)]
Merge pull request #62290 from zdover23/wip-doc-2025-03-14-backport-62258-to-squid

squid: doc/rados/configuration/bluestore-config-ref: Fix lowercase typos

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62377 from zdover23/wip-doc-2025-03-19-backport-61670-to-squid
Zac Dover [Thu, 27 Mar 2025 12:32:28 +0000 (22:32 +1000)]
Merge pull request #62377 from zdover23/wip-doc-2025-03-19-backport-61670-to-squid

squid: common/options: fix the description of osd_max_scrubs

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 months agorgw/s3: remove local variable 'uri' that shadows member variable 62526/head
Casey Bodley [Tue, 14 Jan 2025 16:26:26 +0000 (11:26 -0500)]
rgw/s3: remove local variable 'uri' that shadows member variable

fixes "Invalid group uri" errors from `s3cmd setacl --acl-public s3://bucketname`
introduced by account changes for squid

Fixes: https://tracker.ceph.com/issues/69527
Reported-by: Yixin Jin <yjin@akamai.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4257d11936cfcf0c96e6fabda72514236bbeeb4a)

3 months agoMerge pull request #62346 from phlogistonjohn/wip-70154-squid
Adam King [Wed, 26 Mar 2025 19:39:50 +0000 (15:39 -0400)]
Merge pull request #62346 from phlogistonjohn/wip-70154-squid

squid: container: small container image improvements

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
3 months agoMerge pull request #62155 from cbodley/wip-70343-squid
Casey Bodley [Wed, 26 Mar 2025 13:00:24 +0000 (09:00 -0400)]
Merge pull request #62155 from cbodley/wip-70343-squid

squid: radosgw-admin: lower default thread pool size

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agoMerge pull request #61159 from ivancich/wip-69295-squid
Yuri Weinstein [Tue, 25 Mar 2025 20:11:27 +0000 (13:11 -0700)]
Merge pull request #61159 from ivancich/wip-69295-squid

squid: rgw: append query string to redirect URL if present

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61092 from shashalu/fix-data-corruption-ETIMEDOUT-squid
Yuri Weinstein [Tue, 25 Mar 2025 17:36:26 +0000 (10:36 -0700)]
Merge pull request #61092 from shashalu/fix-data-corruption-ETIMEDOUT-squid

squid: rgw: fix data corruption when rados op return ETIMEDOUT

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62467 from ljflores/wip-squid-62422
Laura Flores [Tue, 25 Mar 2025 16:53:07 +0000 (11:53 -0500)]
Merge pull request #62467 from ljflores/wip-squid-62422

squid: PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

3 months agoMerge pull request #62309 from adamemerson/wip-55179-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:20:21 +0000 (08:20 -0700)]
Merge pull request #62309 from adamemerson/wip-55179-squid

squid: rgw: Deleting an object with null version fix

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agoMerge pull request #62306 from adamemerson/wip-67207-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:19:22 +0000 (08:19 -0700)]
Merge pull request #62306 from adamemerson/wip-67207-squid

squid: qa/multisite: add extra checkpoints in datalog_autotrim testcase

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agoMerge pull request #61147 from cbodley/wip-69317-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:17:51 +0000 (08:17 -0700)]
Merge pull request #61147 from cbodley/wip-69317-squid

squid: rgw/posix: std::ignore return value of write()

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61134 from cbodley/wip-69297-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:17:11 +0000 (08:17 -0700)]
Merge pull request #61134 from cbodley/wip-69297-squid

squid: rgw/abortmp: Race condition on AbortMultipartUpload

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61104 from cbodley/wip-69260-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:16:08 +0000 (08:16 -0700)]
Merge pull request #61104 from cbodley/wip-69260-squid

squid: <common> fix formatter buffer out-of-bounds

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61051 from cbodley/wip-69213-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:14:54 +0000 (08:14 -0700)]
Merge pull request #61051 from cbodley/wip-69213-squid

squid: rgw: fix bucket link operation

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #60982 from cbodley/wip-69152-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:14:17 +0000 (08:14 -0700)]
Merge pull request #60982 from cbodley/wip-69152-squid

squid: radosgw-admin: bucket link/unlink support accounts

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #62327 from NitzanMordhai/wip-70496-squid
SrinivasaBharathKanta [Tue, 25 Mar 2025 04:16:30 +0000 (09:46 +0530)]
Merge pull request #62327 from NitzanMordhai/wip-70496-squid

squid: OSDMonitor: exclude destroyed OSDs from "ceph node ls" output

3 months agoPendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands 62467/head
Laura Flores [Thu, 20 Mar 2025 21:19:30 +0000 (16:19 -0500)]
PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

Added a release note for `ceph osd rm-pg-upmap-primary` and documentation to
complement #62190.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 4dee7917bf010dc6d8e24f0ef437bd8a41c355c9)

*Note: PendingReleaseNotes was modified to have the release note under the v19.2.2 section.

3 months agoMerge pull request #62421 from ljflores/wip-70592-squid
NitzanMordhai [Mon, 24 Mar 2025 07:43:32 +0000 (09:43 +0200)]
Merge pull request #62421 from ljflores/wip-70592-squid

squid: mon, osd: add command to remove invalid pg-upmap-primary entries

3 months agoMerge pull request #62363 from athanatos/wip-70537-squid
NitzanMordhai [Mon, 24 Mar 2025 07:43:15 +0000 (09:43 +0200)]
Merge pull request #62363 from athanatos/wip-70537-squid

squid: osd: fix osd mclock queue item leak

3 months agoMerge pull request #62393 from rhcs-dashboard/wip-70556-squid
Nizamudeen A [Mon, 24 Mar 2025 06:45:14 +0000 (12:15 +0530)]
Merge pull request #62393 from rhcs-dashboard/wip-70556-squid

squid: mgr/dashboard: add xlmtodict import and fix lifecycle get request

3 months agoMerge pull request #62449 from zdover23/wip-doc-2025-03-23-backport-62366-to-squid
Anthony D'Atri [Sun, 23 Mar 2025 12:28:57 +0000 (08:28 -0400)]
Merge pull request #62449 from zdover23/wip-doc-2025-03-23-backport-62366-to-squid

squid: doc/radosgw: Improve layout.rst

3 months agodoc/radosgw: Improve layout.rst 62449/head
Anthony D'Atri [Tue, 18 Mar 2025 18:54:10 +0000 (14:54 -0400)]
doc/radosgw: Improve layout.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit a7e2fab008519416d5bd91f2163ea51e82c440af)

3 months agoMerge pull request #62443 from zdover23/wip-doc-2025-03-22-backport-62422-to-squid
Anthony D'Atri [Sat, 22 Mar 2025 14:54:28 +0000 (10:54 -0400)]
Merge pull request #62443 from zdover23/wip-doc-2025-03-22-backport-62422-to-squid

squid: doc/cephadm/services: Add mention of --zap for OSD removal

3 months agodoc/cephadm/services: Add mention of --zap for OSD removal 62443/head
Anthony D'Atri [Fri, 21 Mar 2025 21:59:02 +0000 (17:59 -0400)]
doc/cephadm/services: Add mention of --zap for OSD removal

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 20b621fceb865403e19e1d7876f81e670829ff59)

3 months agoMerge pull request #62427 from zdover23/wip-doc-2025-03-21-backport-62426-to-squid
Anthony D'Atri [Fri, 21 Mar 2025 16:07:33 +0000 (12:07 -0400)]
Merge pull request #62427 from zdover23/wip-doc-2025-03-21-backport-62426-to-squid

squid: doc/cephadm/services: Correct indentation in osd.rst

4 months agodoc/cephadm/services: Correct indentation in osd.rst 62427/head
Anthony D'Atri [Fri, 21 Mar 2025 03:29:57 +0000 (23:29 -0400)]
doc/cephadm/services: Correct indentation in osd.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 7b5f73f4c17acc7cd0aab87db528e5232c8f05e1)

4 months agoMerge pull request #61832 from idryomov/wip-69911-squid
Yuri Weinstein [Thu, 20 Mar 2025 22:37:59 +0000 (15:37 -0700)]
Merge pull request #61832 from idryomov/wip-69911-squid

squid: librbd: fix mirror image status summary in a namespace

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
4 months agomon, osd: add command to remove invalid pg-upmap-primary entries 62421/head
Laura Flores [Fri, 7 Mar 2025 06:22:00 +0000 (06:22 +0000)]
mon, osd: add command to remove invalid pg-upmap-primary entries

The current rm-pg-upmap-primary command checks that the pgid exists
in the pgmap before continuing to remove it. Due to https://tracker.ceph.com/issues/66867,
some invalid pg-upmap-primary entires may exist for pools that have been removed.
Currently, these mappings are impossible to remove since the pgids no longer
exist in the pgmap.

This new command, rm-pg-upmap-primary-all, allows users the ability to remove
any and all pg-upmap-primary mappings in the osdmap at once, which includes
valid and invalid entries.

This command may also be helpful when upgrading from versions where users
are plagued by https://tracker.ceph.com/issues/61948. Users may use an upgraded
mon to remove all pg-upmap-primray entries (valid and invalid) so they continue
to upgrade to a safe version.

See manual testing for this patch here: https://tracker.ceph.com/issues/67179#note-12

Fixes: https://tracker.ceph.com/issues/67179
Fixes: https://tracker.ceph.com/issues/69760
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 6e9e2033bf0f4779bdfac9a3a4f29115459c8c0e)

4 months agoMerge pull request #62131 from cbodley/wip-70312-squid
Casey Bodley [Thu, 20 Mar 2025 18:14:47 +0000 (14:14 -0400)]
Merge pull request #62131 from cbodley/wip-70312-squid

squid: rgw: /admin/account APIs accept negative values

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #60980 from cbodley/wip-69145-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:36:53 +0000 (07:36 -0700)]
Merge pull request #60980 from cbodley/wip-69145-squid

squid: radosgw-admin: 'user create' rejects uids matching the account id format

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #60979 from cbodley/wip-69146-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:35:58 +0000 (07:35 -0700)]
Merge pull request #60979 from cbodley/wip-69146-squid

squid: radosgw-admin: allow 'sync group pipe modify' with existing user

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #60952 from igomon-bloomberg/wip-65912-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:34:17 +0000 (07:34 -0700)]
Merge pull request #60952 from igomon-bloomberg/wip-65912-squid

squid: rgw/s3-notifications: use user-name/password topic attributes for SASL authentication

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
4 months agoMerge pull request #60783 from jzhu116-bloomberg/wip-68983-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:33:22 +0000 (07:33 -0700)]
Merge pull request #60783 from jzhu116-bloomberg/wip-68983-squid

squid: rgw/lc: delete expired delete-marker when processing Expiration lc action with Days specified

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62154 from cbodley/wip-70340-squid
Casey Bodley [Thu, 20 Mar 2025 13:24:33 +0000 (09:24 -0400)]
Merge pull request #62154 from cbodley/wip-70340-squid

squid: rgw: use object ARN for InitMultipart permissions

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62404 from zdover23/wip-doc-2025-03-20-backport-62394-to-squid
Zac Dover [Thu, 20 Mar 2025 12:07:35 +0000 (22:07 +1000)]
Merge pull request #62404 from zdover23/wip-doc-2025-03-20-backport-62394-to-squid

squid: doc/radosgw /notifications: fix topic details

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/radosgw /notifications: fix topic details 62404/head
Laimis Juzeliūnas [Wed, 19 Mar 2025 12:33:04 +0000 (14:33 +0200)]
doc/radosgw /notifications: fix topic details

This commit fixes documentation about many-to-many topic relationship for notifications. The current sentence states the same fact twice instead of clarifying.

Fixes: https://tracker.ceph.com/issues/64956
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit 058b95abe62893c5c13f02cdf7dd438b0a95a128)

4 months agoMerge pull request #62137 from adamemerson/wip-68836-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:32:52 +0000 (16:32 -0700)]
Merge pull request #62137 from adamemerson/wip-68836-squid

[CVE-2024-48916] rgw/sts: fix to disallow unsupported JWT algorithms

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 months agoMerge pull request #62134 from kchheda3/wip-70311-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:31:39 +0000 (16:31 -0700)]
Merge pull request #62134 from kchheda3/wip-70311-squid

squid: rgw/log: Fix crash during shutdown with ops-log enable.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #62093 from cbodley/wip-70264-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:29:06 +0000 (16:29 -0700)]
Merge pull request #62093 from cbodley/wip-70264-squid

squid: rgw/rados: enable object deletion at rados pool quota

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #62064 from cbodley/wip-70239-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:28:11 +0000 (16:28 -0700)]
Merge pull request #62064 from cbodley/wip-70239-squid

squid: rgw: PutObjectLockConfiguration can enable object lock on existing buckets

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62033 from cbodley/wip-70207-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:27:26 +0000 (16:27 -0700)]
Merge pull request #62033 from cbodley/wip-70207-squid

squid: qa/rgw: configure 'iam root' accounts outside of rgw/verify

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62340 from phlogistonjohn/wip-70507-squid
Adam King [Wed, 19 Mar 2025 18:04:24 +0000 (14:04 -0400)]
Merge pull request #62340 from phlogistonjohn/wip-70507-squid

squid: build-with-container: two small fixes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
4 months agoMerge pull request #62379 from zdover23/wip-doc-2025-03-19-backport-62367-to-squid
Anthony D'Atri [Wed, 19 Mar 2025 14:11:50 +0000 (10:11 -0400)]
Merge pull request #62379 from zdover23/wip-doc-2025-03-19-backport-62367-to-squid

squid: doc/cephadm: Add PG autoscaler advice to upgrade.rst

4 months agomgr/dashboard: add xlmtodict import and fix lifecycle get request 62393/head
Pedro Gonzalez Gomez [Wed, 12 Feb 2025 19:24:57 +0000 (20:24 +0100)]
mgr/dashboard: add xlmtodict import and fix lifecycle get request

Fixes: https://tracker.ceph.com/issues/70128
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 567c9e76674f490cdb88f77545da197d54e5fe85)

 Conflicts:
ceph.spec.in
debian/control
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.ts
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/tox.ini

accepted incoming and removed jmespath dependency

4 months agoMerge PR #62095 into squid
Patrick Donnelly [Wed, 19 Mar 2025 11:59:23 +0000 (07:59 -0400)]
Merge PR #62095 into squid

* refs/pull/62095/head:
include/cephfs: dump optmetadata
mds: set alternate_name for new fullbit dentries
qa: test alternate_name recovery during mds failover
client: avoid multiple calls to path_walk
libcephfs: getcwd after chdir for API constraint
client: unwrap dentries for getcwd
client: refactor / optimize chdir
test/libcephfs: test getcwd with case insensitive dir
test/libcephfs: refactor ManyNestedDirs
include/filepath: add iterators for components
cmake/cephfs: fix options to enable client and dependencies
pybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z
pybind/cephfs: increment ref before calling out to c++
client: skip unexpected command replies
mgr: indicate map message is acked instead of unhandled
osdc/Objecter: convert to ms_dispatch2 for ack
client: indicate maps are acked not processed
msg: add alternate statuses for ms_dispatch2 handling
tools/cephfs_mirror: do not process maps with fast dispatch
doc: add docs for volumes interface for charmap
qa: add tests for subvolume charmap settings
pybind/mgr/volumes: wire up charmap for subvol/subvolgroup
pybind/mgr: send MDS commands through cephfs client
pybind/cephfs: wire up mds_command2
mgr: add module method to send notifications
libcephfs: add mds_command2 for asynchronous commands
mgr: excise CephFS client from mgr C++ base
mgr: use std namespace
doc: add docs for CephFS charmap config
qa: add charmap tests
qa: add helpful exceptions for attr changes
qa: ignore libicu leaks
client: add wrappings for charmap manipuluation of dentry names
client: add dir_result_t::dentry::print
win32: add libicu Windows build
CMakeLists: add boost::locale dependency for client
install-deps: unconditionally install boost libraries
test/libcephfs: update root operation return values
client: refactor all path traversals through path_walk
test/libcephfs: test parallel creates
test/libcephfs: add test for lookup failure after readdir
client: init dentry shared_gen with invalid value
client: add _lookup debugging
client: remove redundant check
client: dump InodeStat from mds
mds: encode optmetadata in InodeStat sent to clients
mds: check client features for charmap
mds: add client feature bit for charmap
mds: wire up vxattr for changing charmap
mds: inherit charmap on mkdir
mds,include: add charmap optmetadata
mds,include: add inode_t optional metadata
client: hide alternate_name from API
client: move alternate_name once
client: optimize alternate_name passing to helper
client: relocate definition
client: print dentry with alternate_name on dump
client: move inode dump to print method
mds: add debugging for encoding lease stat
mds: make encode_lease a proper method
mds: add fscrypt metadata for inode stat size
client: use DentryRef for ref counting in MetaRequest
client: add DentryRef
client: add helper for determining if a perm check is necessary
client: cache client_permissions config
client: add debugging for conf changes
client: sort configs
client/UserPerm: add print method
client: note mount parameters in debug log
client: print stat mode in octal
common: add missing op string
include/filepath: add empty path check
python-common: add a utils function to replace distutils.util.strtobool

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #62384 from aaSharma14/wip-70546-squid
Aashish Sharma [Wed, 19 Mar 2025 11:56:00 +0000 (17:26 +0530)]
Merge pull request #62384 from aaSharma14/wip-70546-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62383 from aaSharma14/wip-70548-squid
Aashish Sharma [Wed, 19 Mar 2025 11:55:40 +0000 (17:25 +0530)]
Merge pull request #62383 from aaSharma14/wip-70548-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62382 from aaSharma14/wip-70547-squid
Aashish Sharma [Wed, 19 Mar 2025 11:55:19 +0000 (17:25 +0530)]
Merge pull request #62382 from aaSharma14/wip-70547-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62381 from aaSharma14/wip-70549-squid
Aashish Sharma [Wed, 19 Mar 2025 11:54:57 +0000 (17:24 +0530)]
Merge pull request #62381 from aaSharma14/wip-70549-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet 62384/head
Piyush Agarwal [Wed, 22 Jan 2025 05:21:58 +0000 (10:51 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet

Fixes:- https://tracker.ceph.com/issues/70229
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 09807250719b566c3c20fe57d2f323eb81b38ee5)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet 62383/head
Piyush Agarwal [Tue, 21 Jan 2025 23:46:03 +0000 (05:16 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet

Fixes:- https://tracker.ceph.com/issues/70227
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 171954e7dd677d1b73db65555736d82cefefc62e)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet 62382/head
Piyush Agarwal [Tue, 21 Jan 2025 08:32:51 +0000 (14:02 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet

Fixes:- https://tracker.ceph.com/issues/70228
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit f155abe51879f219b2dc944851ef1bc5f4577fe9)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet 62381/head
Piyush Agarwal [Thu, 2 Jan 2025 08:52:03 +0000 (14:22 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet

Tracker:- https://tracker.ceph.com/issues/69404
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 1772dc1cdf0a5fd47bf4954c343b18f70d357304)

4 months agodoc/cephadm: Add PG autoscaler advice to upgrade.rst 62379/head
Anthony D'Atri [Tue, 18 Mar 2025 19:35:34 +0000 (15:35 -0400)]
doc/cephadm: Add PG autoscaler advice to upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit ee69f52193996d528410a71c2c67fc27b47dee31)

4 months agocommon/options: fix the description of osd_max_scrubs 62377/head
Satoru Takeuchi [Thu, 12 Dec 2024 00:40:41 +0000 (00:40 +0000)]
common/options: fix the description of osd_max_scrubs

osd_max_scrubs takes effect even though mclock is used.

```
$ ceph config show-with-defaults osd.0 | grep '^osd_max_scrubs' | sed -E -e 's/( +)/ /g'
osd_max_scrubs 3 default
$ ceph config show-with-defaults osd.0 | grep '^osd.* override ' | sed -E -e 's/( +)/ /g'
osd_delete_sleep 0.000000 override
osd_delete_sleep_hdd 0.000000 override
osd_delete_sleep_hybrid 0.000000 override
osd_delete_sleep_ssd 0.000000 override
osd_pg_delete_cost 15728640 override
osd_recovery_sleep 0.000000 override
osd_recovery_sleep_hdd 0.000000 override
osd_recovery_sleep_hybrid 0.000000 override
osd_recovery_sleep_ssd 0.000000 override
osd_scrub_sleep 0.000000 override
osd_snap_trim_sleep 0.000000 override
osd_snap_trim_sleep_hdd 0.000000 override
osd_snap_trim_sleep_hybrid 0.000000 override
osd_snap_trim_sleep_ssd 0.000000 override
```

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 153639ca7f47e58b00377d86ba6baadc45431a48)

4 months agoMerge pull request #62353 from aaSharma14/wip-70524-squid
Aashish Sharma [Wed, 19 Mar 2025 05:52:18 +0000 (11:22 +0530)]
Merge pull request #62353 from aaSharma14/wip-70524-squid

squid: mgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN(Not only IP)

Reviewed-by: Naman Munet <naman.munet@ibm.com>
4 months agoMerge pull request #62375 from zdover23/wip-doc-2025-03-19-backport-62371-to-squid
Zac Dover [Wed, 19 Mar 2025 05:30:43 +0000 (15:30 +1000)]
Merge pull request #62375 from zdover23/wip-doc-2025-03-19-backport-62371-to-squid

squid: doc/dev/developer_guide/essentials: update mailing lists

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/dev/developer_guide/essentials: update mailing lists 62375/head
Laimis Juzeliūnas [Tue, 18 Mar 2025 22:24:50 +0000 (00:24 +0200)]
doc/dev/developer_guide/essentials: update mailing lists

Update information for subscribing to Ceph development mailing lists as current documentation is outdated.

Fixes: https://tracker.ceph.com/issues/64580
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit e7bf607269335ac40d91cb4b8f265064ffaac402)

4 months agodmclock/.../dmclock_server: do not clean clients with requests 62363/head
Samuel Just [Thu, 13 Feb 2025 04:16:47 +0000 (04:16 +0000)]
dmclock/.../dmclock_server: do not clean clients with requests

PriorityQueueBase::do_clean() shouldn't remove ClientRec instances which
still have queued requests.  Otherwise, very low priority clients might
end up having requests actually lost, which shouldn't be possible.

In the OSD, this resulted in PGRecovery items being lost if queued with
background_best_effort while expanding a cluster.  Such items can
legitimately sit in the queue for a long period of time as they
represent background data migration which is allowed to be starved by an
aggressive client workload.  Dropping the items broke an assumption in
the OSD that all items enqueued would eventually be dequeued resulting
in resources being leaked.

Fixes: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 35cf0f6c1355ff420c431340ac36d9a3c029d6c2)

4 months agotest/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class
Samuel Just [Thu, 13 Feb 2025 04:06:49 +0000 (04:06 +0000)]
test/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class

Otherwise, scheduler will yield a delay eventually.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0938a592e922c284cb939561dd1bd1589e154ae3)

4 months agotest/osd/TestMClockScheduler: create_item should pass prio < cutoff
Samuel Just [Thu, 13 Feb 2025 03:54:28 +0000 (03:54 +0000)]
test/osd/TestMClockScheduler: create_item should pass prio < cutoff

Cutoff is set to 12, so let's pass something < 12 rather than 12.
Comments in some tests suggest that the intent is for create_item
to create things in the mclock queue rather than the high_queue.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5562ecbcdb1b0ae43145cb7ea9c7a3c76e6449f4)

4 months agotest/osd/TestMClockScheduler: add test for very slow dequeue
Samuel Just [Thu, 13 Feb 2025 02:55:27 +0000 (02:55 +0000)]
test/osd/TestMClockScheduler: add test for very slow dequeue

Related: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b35589f7eb39e6bfabe7df1c55281f41925eca61)

4 months agoosd/scheduler/mClockScheduler: add constructor to specify idle/erase/check times
Samuel Just [Thu, 13 Feb 2025 03:45:42 +0000 (19:45 -0800)]
osd/scheduler/mClockScheduler: add constructor to specify idle/erase/check times

Useful for unit test, default times are *really* long.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 8b7b0463792d85575996e65752087a25c9a3a65a)

4 months agoosd/scheduler/mClockScheduler: move constructor to header
Samuel Just [Thu, 13 Feb 2025 03:48:18 +0000 (19:48 -0800)]
osd/scheduler/mClockScheduler: move constructor to header

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 35b6176d90e1c48ba899b9ed0fd807ad8b290e0d)

4 months agosrc/dmclock: remove superfluous license files
Samuel Just [Sat, 15 Feb 2025 01:23:12 +0000 (01:23 +0000)]
src/dmclock: remove superfluous license files

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c95539ec3704c2372b4152bc8af5223a2fe7c55d)

4 months agosrc/dmclock: copy dmclock submodule into ceph.git
Samuel Just [Thu, 13 Feb 2025 04:15:25 +0000 (20:15 -0800)]
src/dmclock: copy dmclock submodule into ceph.git

Copies dmclock.git at e4ccdcfa828 into ceph.git.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c625008dae9fb067e5f567031d5c8c355f2672c2)

4 months agoMerge pull request #61891 from k0ste/wip-70067-squid
Adam Kupczyk [Tue, 18 Mar 2025 12:35:42 +0000 (13:35 +0100)]
Merge pull request #61891 from k0ste/wip-70067-squid

squid: os/bluestore: fix the problem that _estimate_log_size_N calculates the log size incorrectly

4 months agomgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN... 62353/head
Aashish Sharma [Tue, 26 Nov 2024 09:56:38 +0000 (15:26 +0530)]
mgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN(Not only IP)

When configuring the RGW Multisite endpoints from the UI allow FQDN, at the moment when using a FQDN it's not allowed

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

 Conflicts:
src/pybind/mgr/dashboard/frontend/package-lock.json (conflicts
with typescript package version, kept the existing one)
src/pybind/mgr/dashboard/frontend/package.json (conflicts with
typescript package version, kept the existing one)
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts (conflicts with automated system user creation in main)
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts (conflicts with oauthAddressTest validator)

4 months agoinclude/cephfs: dump optmetadata 62095/head
Patrick Donnelly [Tue, 11 Mar 2025 19:03:59 +0000 (15:03 -0400)]
include/cephfs: dump optmetadata

For inspection from `dump tree` MDS command.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 7ad1937547d0fe8c5302cd822d6cad57bdc6140f)

4 months agomds: set alternate_name for new fullbit dentries
Patrick Donnelly [Tue, 11 Mar 2025 19:01:46 +0000 (15:01 -0400)]
mds: set alternate_name for new fullbit dentries

Fixes: 9fbf37ade38bc1d057eda2459b0ccfd2ab40626a
Fixes: https://tracker.ceph.com/issues/70409
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 5fc94be121f8f99d0d46a2e7b41a05a9956e2fce)

Conflicts:
src/mds/journal.cc: code movement caused by referent inode changeset

4 months agoqa: test alternate_name recovery during mds failover
Patrick Donnelly [Tue, 11 Mar 2025 19:18:03 +0000 (15:18 -0400)]
qa: test alternate_name recovery during mds failover

Fixes: https://tracker.ceph.com/issues/70409
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit db2784581ecefd3c1a7042915e1549c4e87e3097)

4 months agoclient: avoid multiple calls to path_walk
Patrick Donnelly [Tue, 11 Mar 2025 14:28:01 +0000 (10:28 -0400)]
client: avoid multiple calls to path_walk

When we wrap a dname after a path walk, we cannot do another path walk.
Originally this method was setup to permit that but with (upcoming) encryption
it cannot work. The dname from the path_walk is in the encrypted namespace so
we cannot do another lookup in a second path_walk.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit af8d267e5f8123eaf3cb311b7d608025468429f9)

4 months agolibcephfs: getcwd after chdir for API constraint
Patrick Donnelly [Wed, 12 Mar 2025 14:33:02 +0000 (10:33 -0400)]
libcephfs: getcwd after chdir for API constraint

libcephfs semantics require that the old path to the cwd be returned when
getcwd is encounters an unlinked directory in the current working directory.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit c7c5089ff95d6c68e009686bf4ff74772ad4ff67)

4 months agoclient: unwrap dentries for getcwd
Patrick Donnelly [Tue, 11 Mar 2025 14:51:38 +0000 (10:51 -0400)]
client: unwrap dentries for getcwd

This was missed in the path_walk refactor. readdir is not the only way to "get"
dentry names.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit cda2a6e6facb24eba96afb51341720336febdd54)

4 months agoclient: refactor / optimize chdir
Patrick Donnelly [Tue, 11 Mar 2025 14:49:50 +0000 (10:49 -0400)]
client: refactor / optimize chdir

In particular: there's no reason to do a getcwd after chdir.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 3bfd614a358dc664469f8d5f56e9248818495bb2)

4 months agotest/libcephfs: test getcwd with case insensitive dir
Patrick Donnelly [Tue, 11 Mar 2025 16:13:33 +0000 (12:13 -0400)]
test/libcephfs: test getcwd with case insensitive dir

Unfortunately, it's not easy to refactor this test into a shared method without
setting up an explicit test class which has been avoided up to this point. So
I'm going to just copy the code. Sorry.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 28bdb8e565f0b6b3090808f4759c70693d92eb05)

4 months agotest/libcephfs: refactor ManyNestedDirs
Patrick Donnelly [Tue, 11 Mar 2025 14:53:02 +0000 (10:53 -0400)]
test/libcephfs: refactor ManyNestedDirs

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit d62a3795902ab5b61d7b4f605fd170ac9e78c639)

4 months agoinclude/filepath: add iterators for components
Patrick Donnelly [Tue, 11 Mar 2025 14:50:50 +0000 (10:50 -0400)]
include/filepath: add iterators for components

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit a33faa7c413c4b166b267a1d4892d0ffdf01490c)

4 months agocmake/cephfs: fix options to enable client and dependencies
Casey Bodley [Wed, 5 Mar 2025 18:22:38 +0000 (13:22 -0500)]
cmake/cephfs: fix options to enable client and dependencies

invoking cmake with -DWITH_LIBCEPHFS=OFF fails to configure the client target:

CMake Error at src/client/CMakeLists.txt:13 (target_link_libraries):
  Target "client" links to:

    Boost::locale

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

because the client target is not conditional on WITH_LIBCEPHFS in src/CMakeLists.txt:

add_subdirectory(client)

if(WITH_LIBCEPHFS)

because client is also needed for ceph-fuse, make the client and its
dependencies depend on WITH_LIBCEPHFS OR WITH_FUSE

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

4 months agopybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z
Patrick Donnelly [Tue, 4 Mar 2025 14:45:23 +0000 (09:45 -0500)]
pybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z

For some newer versions of cython, it appears it requires explicitly specifying
noexcept but old versions of Cython 0.29.Z do not understand that attribute.

See: https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#exception-values-and-noexcept

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 90ac7409279d103f8811cf31f3a530d8fff7ba12)

4 months agopybind/cephfs: increment ref before calling out to c++
Patrick Donnelly [Wed, 5 Mar 2025 16:15:20 +0000 (11:15 -0500)]
pybind/cephfs: increment ref before calling out to c++

At the time this construction seemed safe since the caller should have a
reference but it could conveivably be the only ref. We don't want the ref count
to reach 0.

Additionally, catch errors so this callback is genuinely noexcept.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 395263ceb2f351d540359f52694b48b2824e1291)

4 months agoclient: skip unexpected command replies
Patrick Donnelly [Tue, 18 Feb 2025 19:35:16 +0000 (14:35 -0500)]
client: skip unexpected command replies

Instead of marking the message as handled, give another component (or Client) a
chance to process.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 616fdd1ae394195a2628fef6f6808e035b71069d)

4 months agomgr: indicate map message is acked instead of unhandled
Patrick Donnelly [Tue, 18 Feb 2025 19:20:57 +0000 (14:20 -0500)]
mgr: indicate map message is acked instead of unhandled

This avoids messages like:

    2025-02-18T05:31:17.738+0000 7f5206546640  0 ms_deliver_dispatch: unhandled message 0x5632d05f0700 fsmap(e 9) from mon.0 v2:172.21.3.230:40412/0

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 56cb05775a937159ee0e6e26e30fe204accb5223)

4 months agoosdc/Objecter: convert to ms_dispatch2 for ack
Patrick Donnelly [Tue, 18 Feb 2025 18:46:58 +0000 (13:46 -0500)]
osdc/Objecter: convert to ms_dispatch2 for ack

Convert ms_dispatch to ms_dispatch2 to enable indicating that a map message is
acknowledged and instead of processed (or deliberately not processed).

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit f060ee867f5423fd040f658877ad7ef9f57e9ba6)

4 months agoclient: indicate maps are acked not processed
Patrick Donnelly [Tue, 18 Feb 2025 18:45:22 +0000 (13:45 -0500)]
client: indicate maps are acked not processed

Ancillary change: do not do client upkeep after map processing.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 2810ed0f60833d1c1806d2c84db3116b11f72e37)

4 months agomsg: add alternate statuses for ms_dispatch2 handling
Patrick Donnelly [Tue, 18 Feb 2025 17:41:52 +0000 (12:41 -0500)]
msg: add alternate statuses for ms_dispatch2 handling

Many dispatchers return false to allow other dispatchers also common messages
like MOSDMap or MFSMap. They implicitly depend on some dispatcher which is
always at the "tail" of the dispatcher queue to return "true" indicating the
msg was processed to avoid messages like:

    2025-02-18T05:31:17.738+0000 7f5206546640  0 ms_deliver_dispatch: unhandled message 0x5632d05f0700 fsmap(e 9) from mon.0 v2:172.21.3.230:40412/0

but this cannot always happen when some libraries like the RadosClient used standalone.

So, add a variant for encapsulating other indications for how the message was
processed by dispatch2.  For example, a message may be "acknowledged" but
explicitly allow other dispatchers to try processing the message.

Note: we're using a variant to avoid updating all of the ms_dispatch code to
use the sentinel classes.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit c9d0913f53b0c4d632746075c05c2f2187d77c02)

Conflicts:
src/nvmeof/NVMeofGwMonitorClient.cc: not present in squid
src/nvmeof/NVMeofGwMonitorClient.h: not present in squid

4 months agotools/cephfs_mirror: do not process maps with fast dispatch
Patrick Donnelly [Tue, 18 Feb 2025 18:48:39 +0000 (13:48 -0500)]
tools/cephfs_mirror: do not process maps with fast dispatch

This acquires a lock which is a no-no in the messenger.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 3b79bdbee04c270c227be3dd1cb6dfe392646f8d)

4 months agodoc: add docs for volumes interface for charmap
Patrick Donnelly [Mon, 10 Feb 2025 17:22:49 +0000 (12:22 -0500)]
doc: add docs for volumes interface for charmap

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 404d7e3278119149660d8aa1a12bac6ce6396118)

4 months agoqa: add tests for subvolume charmap settings
Patrick Donnelly [Wed, 8 Jan 2025 19:45:01 +0000 (14:45 -0500)]
qa: add tests for subvolume charmap settings

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 71c57121cf62b2b8b576e5d21bb71bdbccb6960d)

4 months agopybind/mgr/volumes: wire up charmap for subvol/subvolgroup
Patrick Donnelly [Wed, 8 Jan 2025 14:51:32 +0000 (09:51 -0500)]
pybind/mgr/volumes: wire up charmap for subvol/subvolgroup

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit a6eeec80d77366fef71f1e13c037a3095823cbf5)

4 months agopybind/mgr: send MDS commands through cephfs client
Patrick Donnelly [Wed, 5 Feb 2025 16:22:08 +0000 (11:22 -0500)]
pybind/mgr: send MDS commands through cephfs client

To avoid linking to the CephFS client statically, use the dynamically-linked
`cephfs` module to send commands to the MDS.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit f7329814c917f290df54807d16a31b3108223b9f)

4 months agopybind/cephfs: wire up mds_command2
Patrick Donnelly [Wed, 5 Feb 2025 16:21:41 +0000 (11:21 -0500)]
pybind/cephfs: wire up mds_command2

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 72d0a76e8c5cbb357e4f4c355e8630ec8aa02088)

4 months agomgr: add module method to send notifications
Patrick Donnelly [Wed, 5 Feb 2025 16:19:25 +0000 (11:19 -0500)]
mgr: add module method to send notifications

For use by MgrModule.send_command to signal MDS command completion.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit b3ec7385ab2755fa3fa98ab98ed03257c93d315c)

4 months agolibcephfs: add mds_command2 for asynchronous commands
Patrick Donnelly [Wed, 5 Feb 2025 16:18:34 +0000 (11:18 -0500)]
libcephfs: add mds_command2 for asynchronous commands

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 62601ef64202a3514cd805936535671eee836448)