]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
12 days agoMerge PR #65293 into wip-jcollin-testing-20250924.090849-squid wip-jcollin-testing-20250924.090849-squid testing/wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:20 +0000 (14:39 +0530)]
Merge PR #65293 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65293/head:
cephfs: session tracker accounts for killing sessions

12 days agoMerge PR #65294 into wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:16 +0000 (14:39 +0530)]
Merge PR #65294 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65294/head:
qa: test failure for duplicate retention spec
mgr/snap_schedule: fix message format error

12 days agoMerge PR #65296 into wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:12 +0000 (14:39 +0530)]
Merge PR #65296 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65296/head:
mgr/volumes: Fix json.loads for test on mon caps
mgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps
mgr/volumes: Keep mon caps if auth key has remaining mds/osd caps

12 days agoMerge PR #65298 into wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:09 +0000 (14:39 +0530)]
Merge PR #65298 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65298/head:
qa/suites/upgrade: update ignorelist with cephfs specific warnings (under stress-split)
qa/suites/upgrade: add "Replacing daemon mds" to ignorelist

12 days agoMerge PR #65299 into wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:05 +0000 (14:39 +0530)]
Merge PR #65299 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65299/head:
qa: Run test_admin with the squid client

12 days agoMerge PR #65347 into wip-jcollin-testing-20250924.090849-squid
Jos Collin [Wed, 24 Sep 2025 09:09:00 +0000 (14:39 +0530)]
Merge PR #65347 into wip-jcollin-testing-20250924.090849-squid

* refs/pull/65347/head:
qa: Add test for subvolume_ls on osd full
mds: Fix readdir when osd is full.

12 days agoMerge pull request #65636 from adk3798/squid-cephadm-pin-cheroot
Adam King [Tue, 23 Sep 2025 21:10:40 +0000 (17:10 -0400)]
Merge pull request #65636 from adk3798/squid-cephadm-pin-cheroot

squid: pybind/mgr: pin cheroot version in requirements-required.txt

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 days agoMerge pull request #65588 from adamemerson/wip-perfcounters-unique-string-squid
Yuri Weinstein [Tue, 23 Sep 2025 19:12:58 +0000 (12:12 -0700)]
Merge pull request #65588 from adamemerson/wip-perfcounters-unique-string-squid

squid: common: Allow PerfCounters to return a provided service ID

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 days agoMerge pull request #65556 from jzhu116-bloomberg/wip-72972-squid
Yuri Weinstein [Tue, 23 Sep 2025 19:12:09 +0000 (12:12 -0700)]
Merge pull request #65556 from jzhu116-bloomberg/wip-72972-squid

squid: rgw: discard olh_ attributes when copying object from a versioning-suspended bucket to a versioning-disabled bucket

Reviewed-by: Adam Emerson <aemerson@redhat.com>
12 days agomgr/dashboard: bump cheroot to > 10.0
Nizamudeen A [Fri, 19 Apr 2024 08:07:11 +0000 (13:37 +0530)]
mgr/dashboard: bump cheroot to > 10.0

Fixes: https://tracker.ceph.com/issues/55837
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1ec74a8360d1c4abb39754320eba118d080e3499)

13 days agoMerge pull request #65639 from zdover23/wip-doc-2025-09-23-squid-remove-cloud-restore-rst
Casey Bodley [Tue, 23 Sep 2025 13:24:28 +0000 (09:24 -0400)]
Merge pull request #65639 from zdover23/wip-doc-2025-09-23-squid-remove-cloud-restore-rst

squid: doc/radosgw: remove cloud-restore from squid

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 days agoMerge pull request #61451 from anoopcs9/wip-69556-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:57 +0000 (17:40 +0530)]
Merge pull request #61451 from anoopcs9/wip-69556-squid

squid: mds: Fix invalid access of mdr->dn[0].back()

Reviewed-by: Rishabh Dave <ridave@redhat.com>
13 days agoMerge pull request #62391 from neesingh-rh/wip-70416-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:47 +0000 (17:40 +0530)]
Merge pull request #62391 from neesingh-rh/wip-70416-squid

squid: cephfs-shell: add option to remove xattr

Reviewed-by: Rishabh Dave <ridave@redhat.com>
13 days agoMerge pull request #64652 from rishabh-d-dave/wip-72200-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:35 +0000 (17:40 +0530)]
Merge pull request #64652 from rishabh-d-dave/wip-72200-squid

squid: mgr/vol: keep and show clone source info

Reviewed-by: Rishabh Dave <ridave@redhat.com>
13 days agoMerge pull request #65279 from joscollin/wip-67809-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:25 +0000 (17:40 +0530)]
Merge pull request #65279 from joscollin/wip-67809-squid

squid: mds: add more debug logs and log events

Reviewed-by: Rishabh Dave <ridave@redhat.com>
13 days agoMerge pull request #65280 from joscollin/wip-69369-squid
Rishabh Dave [Tue, 23 Sep 2025 12:09:50 +0000 (17:39 +0530)]
Merge pull request #65280 from joscollin/wip-69369-squid

squid: qa: use a larger timeout for kernel_untar_build workunit

Reviewed-by: Rishabh Dave <ridave@redhat.com>
13 days agoMerge pull request #63019 from batrick/wip-71094-squid
Jos Collin [Tue, 23 Sep 2025 03:09:30 +0000 (08:39 +0530)]
Merge pull request #63019 from batrick/wip-71094-squid

squid: mds: check for snapshots on parent snaprealms

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agoMerge pull request #62499 from batrick/wip-70663-squid
Jos Collin [Tue, 23 Sep 2025 02:43:42 +0000 (08:13 +0530)]
Merge pull request #62499 from batrick/wip-70663-squid

squid:  client: ll_walk will process absolute paths as relative

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agoMerge pull request #65629 from phlogistonjohn/jjm-s-65514
David Galloway [Tue, 23 Sep 2025 02:27:19 +0000 (19:27 -0700)]
Merge pull request #65629 from phlogistonjohn/jjm-s-65514

squid: build-with-container: add argument groups to organize options

13 days agodoc/radosgw: remove cloud-restore from squid
Zac Dover [Tue, 23 Sep 2025 02:09:52 +0000 (12:09 +1000)]
doc/radosgw: remove cloud-restore from squid

Remove doc/radosgw/cloud-restore.rst from the Squid branch.

cloud-restore does not appear in index.rst, so its removal from
index.rst is unnecessary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 days agoMerge pull request #64090 from vshankar/wip-cephfs-client-fixes-squid
Jos Collin [Tue, 23 Sep 2025 02:06:52 +0000 (07:36 +0530)]
Merge pull request #64090 from vshankar/wip-cephfs-client-fixes-squid

squid: client: cephfs user-space client fixes

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agopybind/mgr: pin cheroot version in requirements-required.txt
Adam King [Mon, 22 Sep 2025 21:05:07 +0000 (17:05 -0400)]
pybind/mgr: pin cheroot version in requirements-required.txt

With python 3.10 (didn't seem to happen with python 3.12) the
pybind/mgr/cephadm/tests/test_node_proxy.py test times out.
This appears to be related to a new release of the cheroot
package and a github issues describing the same problem
we're seeing has been opened by another user
https://github.com/cherrypy/cheroot/issues/769

It is worth noting that the workaround described in that
issue does also work for us. If you add

```
import cheroot
cheroot.server.HTTPServer._serve_unservicable = lambda: None
```

after the existing imports in test_node_proxy.py the
test hanging issue also disappears. Also worth noting the
particular pin of

cheroot~=10.0

was chosen as it matches the existing pin being used
in pybind/mgr/dashboard/constraints.txt

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6231955b5d00ae6b3630ee94e85b2449092ef0fe)

13 days agoMerge pull request #61274 from kotreshhr/wip-68940-squid
Jos Collin [Tue, 23 Sep 2025 01:41:10 +0000 (07:11 +0530)]
Merge pull request #61274 from kotreshhr/wip-68940-squid

squid: ceph-fuse: Improve fuse mount usage message

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agoMerge pull request #62517 from salieri11/wip-70631-squid
Jos Collin [Tue, 23 Sep 2025 01:36:49 +0000 (07:06 +0530)]
Merge pull request #62517 from salieri11/wip-70631-squid

squid: mds: add MDS asok command for dumping stray directories

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agoMerge pull request #65133 from chrisphoffman/wip-72645-squid
Jos Collin [Tue, 23 Sep 2025 01:28:13 +0000 (06:58 +0530)]
Merge pull request #65133 from chrisphoffman/wip-72645-squid

squid: client: use path supplied in statfs

Reviewed-by: Jos Collin <jcollin@redhat.com>
13 days agobuild-with-container: add argument groups to organize options
John Mulligan [Fri, 12 Sep 2025 17:52:25 +0000 (13:52 -0400)]
build-with-container: add argument groups to organize options

Use the argparse add_argument_group feature to organize the mass of
arguments into more sensible categories. Hopefully, someone reading
over the `--help` output can now more easily see options that
are useful rather than being overwhelmed by a wall of text.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 71a1be4dd0aea004da56c2f518ee70a281a3f7d3)

2 weeks agomgr/vol: move reusable parts from async_cloner
Rishabh Dave [Wed, 14 Feb 2024 09:52:47 +0000 (15:22 +0530)]
mgr/vol: move reusable parts from async_cloner

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 8c536f78907fe1d42e1df612604d5872019b501d)

Conflicts:
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
- commit 8c536f78907f was missing which led to conflict.

2 weeks agorgw: Record the `service_unique_id`, if present, in the SrviceMap
Adam C. Emerson [Mon, 8 Sep 2025 18:19:20 +0000 (14:19 -0400)]
rgw: Record the `service_unique_id`, if present, in the SrviceMap

For consistency and ease associating the two.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 3a94a7b2ed02d20b2bc839b283e60cf4778f69e4)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agocommon: Allow PerfCounters to return a provided service ID
Adam C. Emerson [Fri, 5 Sep 2025 15:31:40 +0000 (11:31 -0400)]
common: Allow PerfCounters to return a provided service ID

Dashboard has asked for a unique identifier that can be associated
with services. This commit provides a component of that
functionality. Enforcing uniqueness is beyond the scope of this PR and
is the responsibility of cluster setup and orchestration. The scope of
uniqueness is a matter of policy and up to the design of cluster setup
and orchestration software.

We provide the `--service_unique_id` argument that can be passed on
the command line when executing a Ceph service that uses
`global_init`. If non-empty, a `service_unique_id` section is added to
the PerfCounters dump for that service. This section has a single
entry whose name is set to the argument of `service_unique_id` and
whose value is arbitrary. If unspecified or empty, no
`service_unique_id` section is added.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 6dc322421f7a3758251fe29e3f35934231358011)
Conflicts:
src/common/options/global.yaml.in
 - Preceding options not in Squid

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #65219 from cbodley/wip-72715-squid
Yuri Weinstein [Thu, 18 Sep 2025 15:20:45 +0000 (08:20 -0700)]
Merge pull request #65219 from cbodley/wip-72715-squid

squid: rgw/s3: remove 'aws-chunked' from Content-Encoding response

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #62051 from k0ste/wip-65923-squid
Yuri Weinstein [Thu, 18 Sep 2025 15:19:59 +0000 (08:19 -0700)]
Merge pull request #62051 from k0ste/wip-65923-squid

squid: CephContext: acquire _fork_watchers_lock in notify_post_fork()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 weeks agoMerge pull request #63720 from batrick/wip-71554-squid
Christopher Hoffman [Wed, 17 Sep 2025 15:17:39 +0000 (11:17 -0400)]
Merge pull request #63720 from batrick/wip-71554-squid

squid: test/libcephfs: copy DT_NEEDED entries from input libraries

2 weeks agoMerge pull request #64936 from pritha-srivastava/wip-72464-squid
anrao19 [Wed, 17 Sep 2025 05:22:12 +0000 (10:52 +0530)]
Merge pull request #64936 from pritha-srivastava/wip-72464-squid

squid: rgw: check all JWKS for STS

2 weeks agorgw: discard olh_ attributes when copying object from a versioning-suspended bucket...
Jane Zhu [Wed, 20 Aug 2025 18:38:23 +0000 (18:38 +0000)]
rgw: discard olh_ attributes when copying object from a versioning-suspended bucket to a versioning-disabled bucket

Signed-off-by: Jane Zhu <jzhu116@bloomberg.net>
(cherry picked from commit 3fed58f43c3cb3977130926a2d1bca551deefade)

2 weeks agoMerge pull request #65550 from stackhpc/doc-balancer-squid
Anthony D'Atri [Tue, 16 Sep 2025 20:48:05 +0000 (15:48 -0500)]
Merge pull request #65550 from stackhpc/doc-balancer-squid

squid: doc: Fixes a typo in balancer operations

2 weeks agodoc: Fixes a typo in balancer operations
Tyler Brekke [Tue, 24 Jun 2025 19:12:33 +0000 (12:12 -0700)]
doc: Fixes a typo in balancer operations

Signed-off-by: Tyler Brekke <tbrekke@digitalocean.com>
(cherry picked from commit b038b8093d01a5e676ffa419607489a79261ef29)

2 weeks agoMerge pull request #65486 from tobias-urdin/squid-rgw-admin-bucket-pagination
Adam Emerson [Tue, 16 Sep 2025 19:32:01 +0000 (15:32 -0400)]
Merge pull request #65486 from tobias-urdin/squid-rgw-admin-bucket-pagination

squid: rgw/admin: Add max-entries and marker to bucket list

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #59922 from mchangir/wip-68077-squid
Milind Changire [Mon, 15 Sep 2025 07:08:33 +0000 (12:38 +0530)]
Merge pull request #59922 from mchangir/wip-68077-squid

squid: qa: relocate subvol creation overrides and test

3 weeks agoMerge pull request #61857 from batrick/wip-69956-squid
Milind Changire [Mon, 15 Sep 2025 07:02:56 +0000 (12:32 +0530)]
Merge pull request #61857 from batrick/wip-69956-squid

squid: mds: do not schedule quiesce for non-head imported inodes

3 weeks agoMerge pull request #64539 from batrick/wip-72163-squid
Milind Changire [Mon, 15 Sep 2025 07:01:59 +0000 (12:31 +0530)]
Merge pull request #64539 from batrick/wip-72163-squid

squid:  mds: nudge log for unstable locks after early reply

3 weeks agoMerge pull request #65492 from rhcs-dashboard/wip-72987-squid
afreen23 [Mon, 15 Sep 2025 07:01:44 +0000 (12:31 +0530)]
Merge pull request #65492 from rhcs-dashboard/wip-72987-squid

squid: mgr/dashboard : Fixed mirrored image usage info bar

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 weeks agoMerge pull request #65162 from joscollin/wip-72154-squid
Milind Changire [Mon, 15 Sep 2025 07:01:03 +0000 (12:31 +0530)]
Merge pull request #65162 from joscollin/wip-72154-squid

squid: mds: dump export_ephemeral_random_pin as double

3 weeks agomgr/dashboard : Fixed mirrored image usage info bar
Abhishek Desai [Thu, 7 Aug 2025 07:50:38 +0000 (13:20 +0530)]
mgr/dashboard : Fixed mirrored image usage info bar
fixes : https://tracker.ceph.com/issues/72431

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 3a192b7c38e3f1669f3deee31702ba802d7411fd)

3 weeks agoradosgw-admin: Pass max_entries for bucket list
Tobias Urdin [Thu, 24 Jul 2025 21:42:46 +0000 (23:42 +0200)]
radosgw-admin: Pass max_entries for bucket list

The changes in [1] did not take into account that
radosgw-admin code calls `RGWBucketAdminOp::info`
directly and passes a `RGWBucketAdminOpState`
struct where max_entries is not initialized so
we should not assume that it's zero.

This in turn broke the `bucket list --uid foo` and
`bucket stats --uid foo` commands as the output was
changed and thus not keeping backward compatibility.

This change makes sure that we populate max_entries
in `RGWBucketAdminOpState` if `--max-entries` argument
was specified otherwise we set it to zero to keep the
backward compatibility in the output format.

[1] https://github.com/ceph/ceph/pull/62777

Fixes: https://tracker.ceph.com/issues/72049
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 3909c6554cdfcf1b05b5e32297b2e65e9c67af2b)

3 weeks agorgw/qa: Move admin pagination tests
Tobias Urdin [Mon, 5 May 2025 15:20:31 +0000 (17:20 +0200)]
rgw/qa: Move admin pagination tests

Move the tests into qa directory and add it to the
rgw/verify suite so that we can run it in teuthology.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 57cbc9b6599be1e84c5bc209936080c4a04bb891)

3 weeks agorgw/doc: Add doc for admin bucket list pagination
Tobias Urdin [Fri, 11 Apr 2025 08:37:45 +0000 (10:37 +0200)]
rgw/doc: Add doc for admin bucket list pagination

This adds the documentation for the admin bucket list
pagination change.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 7fa025e08a21b03ce91556ffb936b9f26ffdc00f)

3 weeks agorgw/admin: Add max-entries and marker to bucket list
Tobias Urdin [Fri, 11 Apr 2025 08:13:57 +0000 (10:13 +0200)]
rgw/admin: Add max-entries and marker to bucket list

This adds pagination to the /admin/bucket endpoint for the
Admin API.

If a user has a lot of buckets the /admin/bucket endpoint
that is listing buckets can be so long that the HTTP request
gets a timeout.

This adds the ``max-entries`` and ``marker`` query parameters
to the API to support pagination. If ``max-entries`` is given
we introduce a new format for the HTTP response body the same
way that metadata API does, if it's not given we return the
response with the same body as before and thus retaining the
backward compatibility of the API.

This adds a Python3 based test suite that tests all of this
functionality to verify the behaviour and the HTTP response
body itself.

This fixes the pagination mentioned in tracker [1] and thus
fixes (or atleast partially fixes) that.

[1] https://tracker.ceph.com/issues/22168

Fixes: https://tracker.ceph.com/issues/22168
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 1d5523ec0bec916e0a87fdcb8d27b67753e477b6)

3 weeks agoMerge pull request #65475 from rhcs-dashboard/wip-72965-squid
Nizamudeen A [Thu, 11 Sep 2025 06:17:41 +0000 (11:47 +0530)]
Merge pull request #65475 from rhcs-dashboard/wip-72965-squid

squid: monitoring: add user-agent headers to the urllib

3 weeks agomonitoring: add user-agent headers to the urllib
Nizamudeen A [Wed, 10 Sep 2025 13:00:36 +0000 (18:30 +0530)]
monitoring: add user-agent headers to the urllib

The documentation started raising 403 suddenly. Adding User-Agent
headers to the request

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b8fe487010483681bbc8ddb8dfe18b40ebfd346b)

3 weeks agoMerge pull request #64741 from cbodley/wip-71544-squid
Adam Emerson [Tue, 9 Sep 2025 21:45:29 +0000 (17:45 -0400)]
Merge pull request #64741 from cbodley/wip-71544-squid

squid: rgw/lc: stop using merge_and_store_attrs in remove_bucket_config

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 weeks agoMerge pull request #65302 from guits/wip-72781-squid
Guillaume Abrioux [Tue, 9 Sep 2025 12:52:08 +0000 (14:52 +0200)]
Merge pull request #65302 from guits/wip-72781-squid

squid: ceph-volume: drop udevadm subprocess calls

4 weeks agomgr/volumes: Fix json.loads for test on mon caps
Enrico Bocchi [Tue, 5 Nov 2024 08:26:04 +0000 (09:26 +0100)]
mgr/volumes: Fix json.loads for test on mon caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
(cherry picked from commit b008ef9eb690618608f902c67f8df1fb8a587e33)

4 weeks agomgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps
Enrico Bocchi [Wed, 16 Oct 2024 09:40:26 +0000 (11:40 +0200)]
mgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
(cherry picked from commit 403d5411364e2fddd70d98a6f120b26e416c1d99)

4 weeks agomgr/volumes: Keep mon caps if auth key has remaining mds/osd caps
Enrico Bocchi [Mon, 26 Aug 2024 11:30:02 +0000 (13:30 +0200)]
mgr/volumes: Keep mon caps if auth key has remaining mds/osd caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
(cherry picked from commit 0882bbe8a4470f82993d87b7c02b19aa7fe7fbcc)

4 weeks agoqa/suites/upgrade: update ignorelist with cephfs specific warnings (under stress...
Venky Shankar [Tue, 15 Jul 2025 04:04:34 +0000 (09:34 +0530)]
qa/suites/upgrade: update ignorelist with cephfs specific warnings (under stress-split)

The warnings are expected as the MDSs are upgraded and restarted.

Fixes: http://tracker.ceph.com/issues/71615
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit aeefebd81b98332494d8a8104c43e2831bf6a869)

4 weeks agoqa/suites/upgrade: add "Replacing daemon mds" to ignorelist
Venky Shankar [Wed, 16 Jul 2025 05:27:29 +0000 (10:57 +0530)]
qa/suites/upgrade: add "Replacing daemon mds" to ignorelist

Since this warning is expected when monitors replace an active
MDS daemon due to an higher affinity standby.

Fixes: http://tracker.ceph.com/issues/50279
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 6dffa503a2b4d45bac2d303fda193e3b19084a8f)

4 weeks agoqa: Run test_admin with the squid client
Kotresh HR [Mon, 30 Sep 2024 11:09:00 +0000 (16:39 +0530)]
qa: Run test_admin with the squid client

This is required to test the features involving
fixes both in client and mds. This is to make
sure the older clients are not broken with the
fix. The version 19.2.2 is used for client.

The test suite sets up the cluster with squid
19.2.2 and upgrades only the ceph cluster node
leaving the client node.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit a4f97c0aa92c37113b33d63b57f2fae870f403a1)

4 weeks agoqa: Add test for subvolume_ls on osd full
Kotresh HR [Thu, 24 Jul 2025 17:31:12 +0000 (17:31 +0000)]
qa: Add test for subvolume_ls on osd full

Fixes: https://tracker.ceph.com/issues/72260
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 8547e57ebc4022ca6750149f49b68599a8af712e)

4 weeks agomds: Fix readdir when osd is full.
Kotresh HR [Thu, 24 Jul 2025 09:33:06 +0000 (09:33 +0000)]
mds: Fix readdir when osd is full.

Problem:
The readdir wouldn't list all the entries in the directory
when the osd is full with rstats enabled.

Cause:
The issue happens only in multi-mds cephfs cluster. If rstats
is enabled, the readdir would request 'Fa' cap on every dentry,
basically to fetch the size of the directories. Note that 'Fa' is
CEPH_CAP_GWREXTEND which maps to CEPH_CAP_FILE_WREXTEND and is
used by CEPH_STAT_RSTAT.

The request for the cap is a getattr call and it need not go to
the auth mds. If rstats is enabled, the getattr would go with
the mask CEPH_STAT_RSTAT which mandates the requirement for
auth-mds in 'handle_client_getattr', so that the request gets
forwarded to auth mds if it's not the auth. But if the osd is full,
the indode is fetched in the 'dispatch_client_request' before
calling the  handler function of respective op, to check the
FULL cap access for certain metadata write operations. If the inode
doesn't exist, ESTALE is returned. This is wrong for the operations
like getattr, where the inode might not be in memory on the non-auth
mds and returning ESTALE is confusing and client wouldn't retry. This
is introduced by the commit 6db81d8479b539d which fixes subvolume
deletion when osd is full.

Fix:
Fetch the inode required for the FULL cap access check for the
relevant operations in osd full scenario. This makes sense because
all the operations would mostly be preceded with lookup and load
the inode in memory or they would handle ESTALE gracefully.

Fixes: https://tracker.ceph.com/issues/72260
Introduced-by: 6db81d8479b539d3ca6b98dc244c525e71a36437
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 1ca8f334f944ff78ba12894f385ffb8c1932901c)

4 weeks agoqa: test failure for duplicate retention spec
Milind Changire [Wed, 13 Mar 2024 04:55:24 +0000 (10:25 +0530)]
qa: test failure for duplicate retention spec

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 074f05ae294a50f8b6a22fb58d03b46bfb956966)

4 weeks agomgr/snap_schedule: fix message format error
Milind Changire [Tue, 16 Jan 2024 12:17:53 +0000 (17:47 +0530)]
mgr/snap_schedule: fix message format error

Fixes: https://tracker.ceph.com/issues/64042
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 59ec7a9bcda76aa6a71a1d34a1e6ca609af467f0)

4 weeks agocephfs: session tracker accounts for killing sessions
Abhishek Lekshmanan [Wed, 2 Apr 2025 13:57:42 +0000 (15:57 +0200)]
cephfs: session tracker accounts for killing sessions

Fixes: https://tracker.ceph.com/issues/70770
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
(cherry picked from commit bb52cb72abe9540affce713fa3078e9b0f59d65a)

4 weeks agoMerge pull request #65417 from ceph/fix-api-tests-squid
David Galloway [Fri, 5 Sep 2025 22:14:37 +0000 (18:14 -0400)]
Merge pull request #65417 from ceph/fix-api-tests-squid

squid: pybind/mgr/dashboard: Use teuthology's actual requirements

4 weeks agopybind/mgr/dashboard: Use teuthology's actual requirements
David Galloway [Fri, 5 Sep 2025 17:58:43 +0000 (13:58 -0400)]
pybind/mgr/dashboard: Use teuthology's actual requirements

Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 22a87d959bca74478de1e2d9f86859676385491d)

4 weeks agoMerge pull request #65244 from ceph/wip-yuriw-squid-p2p-squid
Yuri Weinstein [Fri, 5 Sep 2025 15:19:44 +0000 (08:19 -0700)]
Merge pull request #65244 from ceph/wip-yuriw-squid-p2p-squid

qa/tests: added 19.2.3 to the mix

Reviewed-by: Laura Flores <lflores@redhat.com>
4 weeks agoMerge pull request #65379 from zdover23/wip-doc-2025-09-04-backport-65325-to-squid
Zac Dover [Thu, 4 Sep 2025 03:51:52 +0000 (13:51 +1000)]
Merge pull request #65379 from zdover23/wip-doc-2025-09-04-backport-65325-to-squid

squid: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Tue, 2 Sep 2025 00:31:41 +0000 (10:31 +1000)]
doc/cephfs: edit troubleshooting.rst

Update the "Disconnected+Remounted FS" section in
doc/cephfs/troubleshooting.rst, as suggested by Venky Shankar in https://github.com/ceph/ceph/pull/65129/files#r2312903062

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f4b40422fefaa993441396a5c31fbfd3d8714595)

5 weeks agoMerge pull request #65202 from zdover23/wip-doc-2025-08-25-backport-65185-to-squid
Zac Dover [Mon, 1 Sep 2025 04:29:25 +0000 (14:29 +1000)]
Merge pull request #65202 from zdover23/wip-doc-2025-08-25-backport-65185-to-squid

squid: doc/cephfs: edit troubleshooting.rst (Slow MDS)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65206 from zdover23/wip-doc-2025-08-26-backport-64074-to-squid
Zac Dover [Mon, 1 Sep 2025 04:28:54 +0000 (14:28 +1000)]
Merge pull request #65206 from zdover23/wip-doc-2025-08-26-backport-64074-to-squid

squid: doc/rados/configuration: Mention show-with-defaults and ceph-conf

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65211 from zdover23/wip-doc-2025-08-26-backport-65180-to-squid
Zac Dover [Mon, 1 Sep 2025 04:28:20 +0000 (14:28 +1000)]
Merge pull request #65211 from zdover23/wip-doc-2025-08-26-backport-65180-to-squid

squid: doc/dev:update blkin.rst doc for lttng trace

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65238 from zdover23/wip-doc-2025-08-26-backport-65230-to-squid
Zac Dover [Mon, 1 Sep 2025 04:27:46 +0000 (14:27 +1000)]
Merge pull request #65238 from zdover23/wip-doc-2025-08-26-backport-65230-to-squid

squid: doc/rados/operations: Improve health-checks.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65311 from zdover23/wip-doc-2025-08-30-backport-8ff129c89-to...
Zac Dover [Mon, 1 Sep 2025 04:27:09 +0000 (14:27 +1000)]
Merge pull request #65311 from zdover23/wip-doc-2025-08-30-backport-8ff129c89-to-squid

squid: doc/dev/crimson: Update docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agodoc/dev/crimson: Update docs
Matan Breizman [Wed, 13 Aug 2025 08:11:30 +0000 (08:11 +0000)]
doc/dev/crimson: Update docs

* CPU allocation missed some information and was confusing.
* Drop alienized term when possible
* introdice release/debug builds

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 8ff129c89ffcd4831dcd9d8b8f0d49687cc57183)

5 weeks agoMerge pull request #63130 from kshtsk/wip-71208-squid
Venky Shankar [Fri, 29 Aug 2025 14:07:04 +0000 (19:37 +0530)]
Merge pull request #63130 from kshtsk/wip-71208-squid

squid: qa/tasks/cephfs/mount: use 'ip route' instead 'route'

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 weeks agoceph-volume: drop udevadm subprocess calls
Guillaume Abrioux [Thu, 14 Aug 2025 11:43:40 +0000 (11:43 +0000)]
ceph-volume: drop udevadm subprocess calls

Calling udevadm via subprocess can cause processes to pile up
under heavy load on production clusters.
This commit switches to reading udev data directly from /run/udev/data,
which is mounted as tmpfs.

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

5 weeks agoqa: use a larger timeout for kernel_untar_build workunit
Venky Shankar [Wed, 6 Nov 2024 10:05:44 +0000 (10:05 +0000)]
qa: use a larger timeout for kernel_untar_build workunit

Fixes: http://tracker.ceph.com/issues/68855
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit b65d7492af0c0e31f5bf891554b7608fa4c9f395)

5 weeks agomds: add the event when creating the batch head
Xiubo Li [Wed, 31 Jul 2024 02:14:59 +0000 (10:14 +0800)]
mds: add the event when creating the batch head

This could help us the debug the slow request or deadlock bugs and
we could know which stage the request has been in.

Fixes: https://tracker.ceph.com/issues/67280
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 7e08760a0e560759fa73e7b889494bdb60a03ff3)

5 weeks agomds: print the path depth to help debug mds issue
Xiubo Li [Wed, 31 Jul 2024 02:48:01 +0000 (10:48 +0800)]
mds: print the path depth to help debug mds issue

From the path depth we can get more useful info, such as whether
the path_traverse() acquired any locks, etc.

Fixes: https://tracker.ceph.com/issues/67280
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 5d8aa5245cb7e5d819651898533130e463b373fe)

5 weeks agodoc/cephfs: edit troubleshooting.rst (Slow MDS)
Zac Dover [Fri, 22 Aug 2025 08:39:29 +0000 (18:39 +1000)]
doc/cephfs: edit troubleshooting.rst (Slow MDS)

Move the "Slow requests (MDS)" section immediately after the first
section in this document ("Slow/Stuck Operations"), because the first
procedure on the page directs the reader to undertake the operation in
"Slow requests (MDS)" before trying anything else.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 55af6643c9a119afc4e22e2591774e1d68ef5580)

5 weeks agoMerge pull request #65183 from zdover23/wip-doc-2025-08-22-backport-64726-to-squid
Zac Dover [Wed, 27 Aug 2025 19:56:48 +0000 (05:56 +1000)]
Merge pull request #65183 from zdover23/wip-doc-2025-08-22-backport-64726-to-squid

squid: doc/man/8: Improve mount.ceph.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65137 from zdover23/wip-doc-2025-08-20-backport-65128-to-squid
Zac Dover [Wed, 27 Aug 2025 19:56:26 +0000 (05:56 +1000)]
Merge pull request #65137 from zdover23/wip-doc-2025-08-20-backport-65128-to-squid

squid: doc/rados: repair short underline

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65249 from ceph/squid-pipelineee-backports
David Galloway [Wed, 27 Aug 2025 18:10:07 +0000 (14:10 -0400)]
Merge pull request #65249 from ceph/squid-pipelineee-backports

squid: Recent pipeline backports

5 weeks agoMerge pull request #64668 from cbodley/wip-72255-squid
Casey Bodley [Wed, 27 Aug 2025 17:21:34 +0000 (13:21 -0400)]
Merge pull request #64668 from cbodley/wip-72255-squid

squid: qa/rgw: remove hadoop-s3a subsuite

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 weeks agoMerge pull request #65242 from afreen23/wip-72734-squid
afreen23 [Wed, 27 Aug 2025 15:04:31 +0000 (20:34 +0530)]
Merge pull request #65242 from afreen23/wip-72734-squid

squid: mgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
5 weeks agomgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses
Afreen Misbah [Thu, 21 Aug 2025 09:41:43 +0000 (15:11 +0530)]
mgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses

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

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

 Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.html

5 weeks agoMerge pull request #64842 from NitzanMordhai/wip-72418-squid
NitzanMordhai [Wed, 27 Aug 2025 09:16:59 +0000 (12:16 +0300)]
Merge pull request #64842 from NitzanMordhai/wip-72418-squid

squid: monitor: Enhance historic ops command output and error handling

5 weeks agoRemove git clean -fdx
Dan Mick [Tue, 26 Aug 2025 00:45:21 +0000 (17:45 -0700)]
Remove git clean -fdx

either
1) a source tarball is supplied, in which case the local dir is
   irrelevant, or
2) make-debs calls make-dist, which doesn't care about a dirty cwd

so it just punishes the unaware by removing things that they may
have wanted to keep.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit ad529cce49c466daa02bb3b90804ff6a6ec548e8)

5 weeks agomake-debs.sh: invoke tar with --no-same-owner
Dan Mick [Sat, 23 Aug 2025 00:43:24 +0000 (17:43 -0700)]
make-debs.sh: invoke tar with --no-same-owner

When running as a normal user, tar does not attempt to preserve
owners set on the tar content files.  When running as root, it does.
Containerized builds are running as root.  Stop make-debs.sh from
trying to set other owners for files, and leaving files in the
host system with mapped UIDs other than the user running the container
(which causes jenkins to be unable to clear the workspace).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 46c540444dd0dc4b4572e71ef452436a3b580d51)

5 weeks agomake-debs.sh: make "skip debug packages" conditional
Dan Mick [Thu, 21 Aug 2025 20:00:43 +0000 (13:00 -0700)]
make-debs.sh: make "skip debug packages" conditional

Now that we're using make-debs.sh as a builder inside containers,
the default should be to build all the packages, including debug.
(Also, fix a typo.)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 86d6e931bd10bc15252d76aa58e4835a72742fcd)

5 weeks agoqa/tests: added 19.2.3 to the mix
Yuri Weinstein [Tue, 26 Aug 2025 14:42:30 +0000 (07:42 -0700)]
qa/tests: added 19.2.3 to the mix

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 weeks agodoc/rados/operations: Improve health-checks.rst
Anthony D'Atri [Tue, 26 Aug 2025 11:38:58 +0000 (07:38 -0400)]
doc/rados/operations: Improve health-checks.rst

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

5 weeks agoMerge pull request #65228 from aaSharma14/wip-72687-squid
Aashish Sharma [Tue, 26 Aug 2025 11:45:29 +0000 (17:15 +0530)]
Merge pull request #65228 from aaSharma14/wip-72687-squid

squid: Handle failures in metric parsing

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
5 weeks agoMerge pull request #65087 from zdover23/wip-doc-2025-08-18-backport-64921-to-squid
Zac Dover [Tue, 26 Aug 2025 08:47:57 +0000 (18:47 +1000)]
Merge pull request #65087 from zdover23/wip-doc-2025-08-18-backport-64921-to-squid

squid: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoHandle failures in metric parsing
Anmol Babu [Thu, 3 Jul 2025 13:25:39 +0000 (18:55 +0530)]
Handle failures in metric parsing

fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2345460
Signed-off-by: Anmol Babu <anmolbabu@Anmols-MacBook-Pro.local>
(cherry picked from commit f29e3f307c46401328e920204cbe893fbd837c65)

Conflicts:
src/exporter/DaemonMetricCollector.cc

5 weeks agorgw/s3: remove 'aws-chunked' from Content-Encoding response
Casey Bodley [Thu, 10 Jul 2025 13:47:04 +0000 (09:47 -0400)]
rgw/s3: remove 'aws-chunked' from Content-Encoding response

PutObject stores some of the generic http request headers in object
attrs so they can be returned as response headers in Get/HeadObject

S3 has its own `aws-chunked` value for the `Content-Encoding` header,
which it says does _not_ get stored with the object or returned with
Get/HeadObject

we've been storing this header with objects forever, so omitting the
value on PutObject doesn't fix the issue for existing objects. instead,
add the necessary filtering to Get/HeadObject

Fixes: https://tracker.ceph.com/issues/21128
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4a802b864a6f9d45506197dfb1bc23cf852e51f8)

5 weeks agodoc/dev:update blkin.rst doc for lttng trace
lizhipeng [Fri, 22 Aug 2025 03:53:52 +0000 (11:53 +0800)]
doc/dev:update blkin.rst doc for lttng trace
fixes:https://tracker.ceph.com/issues/72059

Signed-off-by: lizhipeng <qiuxinyidian@gmail.com>
(cherry picked from commit 3029cc9afdee352fb22db0895c5d3ec4a35277d3)

6 weeks agodoc/rados/configuration: Mention show-with-defaults and ceph-conf
Niklas Hambüchen [Sat, 21 Jun 2025 17:46:13 +0000 (19:46 +0200)]
doc/rados/configuration: Mention show-with-defaults and ceph-conf

A small improvement based on
"Why is it still so difficult to just dump all config and where it comes from?"
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/EZSLRYBYEWDA6YIARQVMUKQUWHAE3PGR/

`show-with-defaults` is very useful, and `ceph-conf` is mentioned
so that it's clear that it's legacy, and the user doesn't have to
wonder if it's actually useful but was forgotten in the list.

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
(cherry picked from commit 978ab834c464b993ec77c914cb36da47211a1cd4)

6 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Sat, 9 Aug 2025 00:25:31 +0000 (10:25 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "Slow Requests (MDS)" in
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit edb3d2be60fd38a1957878bdfa9a9d9d415cc94c)

6 weeks agoMerge pull request #65167 from rhcs-dashboard/wip-72678-squid
Nizamudeen A [Mon, 25 Aug 2025 07:08:38 +0000 (12:38 +0530)]
Merge pull request #65167 from rhcs-dashboard/wip-72678-squid

squid: mgr/dashboard: fix nvmeof mtls

6 weeks agoMerge pull request #65186 from phlogistonjohn/jjm-squid-bwc
David Galloway [Fri, 22 Aug 2025 18:18:50 +0000 (14:18 -0400)]
Merge pull request #65186 from phlogistonjohn/jjm-squid-bwc

squid: backport build-with-container patches from main