]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 weeks agorgw: fix empty storage class on display of multipart uploads 64313/head
J. Eric Ivancich [Tue, 22 Oct 2024 17:17:14 +0000 (13:17 -0400)]
rgw: fix empty storage class on display of multipart uploads

Some multipart uploads do not have a stored storage class, however the
code is written such that an empty storage class is treated as the
"STANDARD" storage class. So when encoding the storage class in JSON,
use the canonical storage.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit eab096c188d2430ccc3e865b614b845f1a92af08)

2 weeks agoMerge pull request #64147 from zdover23/wip-doc-2025-06-25-backport-64088-to-squid
Zac Dover [Wed, 2 Jul 2025 13:19:28 +0000 (23:19 +1000)]
Merge pull request #64147 from zdover23/wip-doc-2025-06-25-backport-64088-to-squid

squid: doc: Fixed a spelling error.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64284 from zdover23/wip-doc-2025-07-01-backport-64239-to-squid
Zac Dover [Wed, 2 Jul 2025 13:18:18 +0000 (23:18 +1000)]
Merge pull request #64284 from zdover23/wip-doc-2025-07-01-backport-64239-to-squid

squid: doc/mgr/crash.rst: remove outdated module enabling instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64287 from zdover23/wip-doc-2025-07-01-backport-64255-to-squid
Zac Dover [Wed, 2 Jul 2025 13:17:56 +0000 (23:17 +1000)]
Merge pull request #64287 from zdover23/wip-doc-2025-07-01-backport-64255-to-squid

squid: doc/rados/configuration: Small improvements in ceph-conf.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64170 from zdover23/wip-doc-2025-06-25-backport-64163-to-squid
Zac Dover [Wed, 2 Jul 2025 13:10:01 +0000 (23:10 +1000)]
Merge pull request #64170 from zdover23/wip-doc-2025-06-25-backport-64163-to-squid

squid: doc: Fix unterminated inline literal in ceph-conf.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #60360 from adk3798/squid-ganesha-set-io-flusher-fail-true
Adam King [Tue, 1 Jul 2025 15:52:05 +0000 (11:52 -0400)]
Merge pull request #60360 from adk3798/squid-ganesha-set-io-flusher-fail-true

squid: mgr/cephadm: add "allow_set_io_flusher_fail = true;" to ganesha conf

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #59932 from adk3798/wip-68138-squid
Adam King [Tue, 1 Jul 2025 15:50:29 +0000 (11:50 -0400)]
Merge pull request #59932 from adk3798/wip-68138-squid

squid: mgr/cephadm: open ceph-exporter when firewalld is enabled

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #63567 from cbodley/wip-70374-squid
Casey Bodley [Tue, 1 Jul 2025 15:14:24 +0000 (11:14 -0400)]
Merge pull request #63567 from cbodley/wip-70374-squid

squid: rgw: trigger resharding of versioned buckets sooner

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 weeks agoMerge pull request #64081 from adk3798/wip-67499-squid
Adam King [Tue, 1 Jul 2025 14:56:06 +0000 (10:56 -0400)]
Merge pull request #64081 from adk3798/wip-67499-squid

squid: mgr/nfs: scrape nfs monitoring endpoint

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #62593 from adk3798/squid-cephadm-sidecar-redeploy
Adam King [Tue, 1 Jul 2025 14:51:13 +0000 (10:51 -0400)]
Merge pull request #62593 from adk3798/squid-cephadm-sidecar-redeploy

squid: cephadm: stop sidecar systemd units when restarting main units

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61905 from adk3798/squid-stop-orch-on-cleanup
Adam King [Tue, 1 Jul 2025 14:50:10 +0000 (10:50 -0400)]
Merge pull request #61905 from adk3798/squid-stop-orch-on-cleanup

squid: qa/cephadm: stop cephadm mgr module during cleanup

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61902 from adk3798/squid-cephadm-fix-vrrp-typo
Adam King [Tue, 1 Jul 2025 14:28:20 +0000 (10:28 -0400)]
Merge pull request #61902 from adk3798/squid-cephadm-fix-vrrp-typo

squid: mgr/cephadm: fix typo with vrrp_interfaces in keepalive setup

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61350 from adk3798/squid-cephadm-rgw-no-multisite-traffic
Adam King [Tue, 1 Jul 2025 14:26:41 +0000 (10:26 -0400)]
Merge pull request #61350 from adk3798/squid-cephadm-rgw-no-multisite-traffic

squid: mgr/cephadm: allow disabling rgw_run_sync_thread through spec

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agodoc/rados/configuration: Small improvements in ceph-conf.rst 64287/head
Ville Ojamo [Mon, 30 Jun 2025 07:30:34 +0000 (14:30 +0700)]
doc/rados/configuration: Small improvements in ceph-conf.rst

Fix a missing space typo.

Use title case in section titles.

Use ref for hyperlink to a section that already has a label instead of
linking to title text of the section.

Use privileged command prompt for all ceph commands except ceph commands
that invoke help.

Use INI preformatted block for last remaining block that was just using
plain preformatted.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit 6687c9767d9764f34d7099ba6980992dd8ae8737)

2 weeks agodoc/mgr/crash.rst: remove outdated module enabling instructions 64284/head
Kefu Chai [Sun, 29 Jun 2025 02:55:30 +0000 (10:55 +0800)]
doc/mgr/crash.rst: remove outdated module enabling instructions

The crash module has been enabled by default since commit 18f253aa in
Nautilus and is now in the always_on_modules list. However, the
documentation still contained instructions for manually enabling it.

When users followed these outdated instructions, they encountered:
```
  module 'crash' is already enabled (always-on)
```

The module cannot be disabled either. Running:
```
  ceph mgr module disable crash
```

Returns the error:
```
  Error EINVAL: module 'crash' cannot be disabled (always-on)
```
In this change, we remove the obsolete enabling instructions and clarify
that this module is always active and cannot be disabled.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 0fcd7677586f7edf3eb091420a8ace0c4f887167)

2 weeks agoMerge pull request #64227 from adamemerson/wip-71577-squid
Yuri Weinstein [Mon, 30 Jun 2025 17:09:08 +0000 (10:09 -0700)]
Merge pull request #64227 from adamemerson/wip-71577-squid

squid: qa/rgw: fix perl tests missing Amazon::S3 module

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 weeks agoqa/rgw: fix perl tests missing Amazon::S3 module 64227/head
Mark Kogan [Wed, 25 Jun 2025 12:21:49 +0000 (12:21 +0000)]
qa/rgw: fix perl tests missing Amazon::S3 module

and a second case where perl tests can fail without error output

1. fix errors like: `Can't locate Amazon/S3.pm in @INC (you may need to
   install the Amazon::S3 module)`
by priming the perl tests with installing the Amazon::S3 module from cpan

ex:
```
2025-06-23T19:18:40.162 INFO:tasks.workunit.client.0.smithi090.stderr:Can't locate Amazon/S3.pm in @INC (you may need to install the Amazon::S3 module) (@INC contains: /usr/local/lib64/perl5/5.32 ...
```

2. log an error when RGW process is not detected

Fixes: https://tracker.ceph.com/issues/71577
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit 7faa23f160c9f4b40d25fe27f2345dbf999b0c84)

Conflicts:
qa/suites/rgw/multifs/0-install.yaml
 - Doesn't exist in this branch, or support for it, so duplicated in
   individual tests.
qa/suites/rgw/multifs/tasks/rgw_bucket_quota.yaml
qa/suites/rgw/multifs/tasks/rgw_multipart_upload.yaml
qa/suites/rgw/multifs/tasks/rgw_user_quota.yaml
 - Has overrides no longer needed in main

Fixes: https://tracker.ceph.com/issues/71873
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #64196 from idryomov/wip-71838-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:29:35 +0000 (16:29 +0200)]
Merge pull request #64196 from idryomov/wip-71838-squid

squid: librbd/migration/QCOWFormat: don't complete read_clusters() inline

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 weeks agoMerge pull request #64092 from idryomov/wip-70951-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:28:32 +0000 (16:28 +0200)]
Merge pull request #64092 from idryomov/wip-70951-squid

squid: rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

Reviewed-by: VinayBhaskar-V <vvarada@redhat.com>
3 weeks agoMerge pull request #64097 from idryomov/wip-71335-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:27:39 +0000 (16:27 +0200)]
Merge pull request #64097 from idryomov/wip-71335-squid

squid: librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 weeks agoMerge pull request #64113 from zdover23/wip-doc-2025-06-23-backport-64103-to-squid
Zac Dover [Thu, 26 Jun 2025 20:28:36 +0000 (06:28 +1000)]
Merge pull request #64113 from zdover23/wip-doc-2025-06-23-backport-64103-to-squid

squid: doc/radosgw: improve "pubsub_push_pending" info

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agolibrbd/migration/QCOWFormat: don't complete read_clusters() inline 64196/head
Ilya Dryomov [Wed, 25 Jun 2025 10:24:35 +0000 (12:24 +0200)]
librbd/migration/QCOWFormat: don't complete read_clusters() inline

When the cluster needs to be read, the completion is posted to ASIO.
However, in the two special cases (cluster DNE and zero cluster), the
completion is completed inline at the moment.  This violates invariants
and can eventually lead to a lockup.  For example, in a scenario of
a read from a clone image whose parent is under migration:

  io::ObjectReadRequest::read_parent()
    io::util::read_parent()
      < image_lock is taken for read >
      io::ImageDispatchSpec::send()
        migration::ImageDispatch::read()
          migration::QCOWFormat::ReadRequest::send()
            ...
            migration::QCOWFormat::ReadRequest::read_clusters()
              < cluster DNE >
              migration::QCOWFormat::ReadRequest::handle_read_clusters()
                io::AioCompletion::complete()
                  io::ObjectReadRequest::copyup()
                    is_copy_on_read()
                      < image_lock is taken for read >

copyup() expects to be called with no locks held, but going through
QCOWFormat in the "cluster DNE" case essentially maintains image_lock
taken in read_parent() and then it's taken again by the same thread in
is_copy_on_read().  Under pthreads, it's not a problem:

  A thread may hold multiple concurrent read locks on rwlock (that is,
  successfully call the pthread_rwlock_rdlock() function n times). If
  so, the thread must perform matching unlocks (that is, it must call
  the pthread_rwlock_unlock() function n times).

But according to C++ standard it's undefined behavior:

  If lock_shared is called by a thread that already owns the mutex in
  any mode (exclusive or shared), the behavior is undefined.

Other, longer and more elaborate, call chains are possible too and
there it may end up being a write lock, a tripped assertion, etc.  To
avoid this, make the special cases in read_clusters() behave the same
as the main path.

Fixes: https://tracker.ceph.com/issues/71838
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit a02cc13191d5e695620791c883ff1460d2e42f57)

3 weeks agolibrbd/migration/QCOWFormat: rename handle_read_cluster()
Ilya Dryomov [Wed, 25 Jun 2025 10:55:06 +0000 (12:55 +0200)]
librbd/migration/QCOWFormat: rename handle_read_cluster()

... to handle_read_clusters() as it's a callback for read_clusters().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 9d9c73435341f98cecf0a450357408f8d49624fa)

3 weeks agoMerge pull request #64155 from zdover23/wip-doc-2025-06-25-backport-64107-to-squid 64144/head
Zac Dover [Wed, 25 Jun 2025 13:11:36 +0000 (23:11 +1000)]
Merge pull request #64155 from zdover23/wip-doc-2025-06-25-backport-64107-to-squid

squid: doc/radosgw: remove "pubsub_event_triggered"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #64132 from afreen23/wip-71808-squid
afreen23 [Wed, 25 Jun 2025 09:52:44 +0000 (15:22 +0530)]
Merge pull request #64132 from afreen23/wip-71808-squid

squid: mgr/dashboard: Add --force flag for listeners

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 weeks agodoc: Fix unterminated inline literal in ceph-conf.rst 64170/head
Kefu Chai [Wed, 25 Jun 2025 03:34:50 +0000 (11:34 +0800)]
doc: Fix unterminated inline literal in ceph-conf.rst

Add missing space after closing backticks to properly terminate inline literal.

Sphinx was generating a warning due to an unterminated inline literal
string:

```
/home/kefu/dev/ceph/doc/rados/configuration/ceph-conf.rst:320: WARNING: Inline literal start-string without end-string.
```

This fix ensures the inline literal is properly closed and eliminates the
build warning.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 7f79f3d6aa7f71c9b2434b843036a3f1da660231)

3 weeks agomgr/dashboard: Add --force flag for listeners 64132/head
Afreen Misbah [Mon, 16 Jun 2025 15:16:39 +0000 (20:46 +0530)]
mgr/dashboard: Add --force flag for listeners

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

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

Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts
        src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-listeners-list/nvmeof-listeners-list.component.ts

3 weeks agoMerge pull request #64049 from cbodley/wip-71751-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:58:50 +0000 (12:58 -0700)]
Merge pull request #64049 from cbodley/wip-71751-squid

squid: fix: the RGW crash caused by special characters

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #63928 from cbodley/wip-71671-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:58:21 +0000 (12:58 -0700)]
Merge pull request #63928 from cbodley/wip-71671-squid

squid: qa/rgw: bump maven version in hadoop task to resolve 404 Not Found

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #61162 from ivancich/wip-69182-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:57:42 +0000 (12:57 -0700)]
Merge pull request #61162 from ivancich/wip-69182-squid

squid: Revert "rgw/auth: Fix the return code returned by AuthStrategy,"

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agodoc/radosgw: remove "pubsub_event_triggered" 64155/head
Zac Dover [Mon, 23 Jun 2025 08:07:40 +0000 (18:07 +1000)]
doc/radosgw: remove "pubsub_event_triggered"

Remove "pubsub_event_triggered" from the list of "Notification
Performance Statistics". It is obsolete.

Fixes: https://tracker.ceph.com/issues/71789
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 44dc57fc15749583fc13560c9409b7687df7c223)

3 weeks agodoc: Fixed a spelling error. 64147/head
Stellios Williams [Mon, 23 Jun 2025 10:54:31 +0000 (20:54 +1000)]
doc: Fixed a spelling error.

Corrected communicte to communicate

Signed-off-by: Instelligence.io <github@instelligence.io>
(cherry picked from commit c328902e3929d9841f952948b0336ec5b20d36fa)

3 weeks agoMerge pull request #64139 from zdover23/wip-doc-2025-06-25-backport-64106-to-squid
Zac Dover [Tue, 24 Jun 2025 17:45:56 +0000 (03:45 +1000)]
Merge pull request #64139 from zdover23/wip-doc-2025-06-25-backport-64106-to-squid

squid: doc/radosgw: add "persistent_topic_size"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64126 from zdover23/wip-doc-2025-06-24-backport-64104-to-squid
Zac Dover [Tue, 24 Jun 2025 16:42:33 +0000 (02:42 +1000)]
Merge pull request #64126 from zdover23/wip-doc-2025-06-24-backport-64104-to-squid

squid: doc/radosgw: remove "pubsub_event_lost"

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agodoc/radosgw: add "persistent_topic_size" 64139/head
Zac Dover [Mon, 23 Jun 2025 08:35:05 +0000 (18:35 +1000)]
doc/radosgw: add "persistent_topic_size"

Add "persistent_topic_size" to the list of "Notification Performance
Statistics" in doc/radosgw/notifications.rst.

Fixes: https://tracker.ceph.com/issues/71792
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5f96ade1734d1ab7053b792a1df4e316e31691a5)

3 weeks agoMerge pull request #63718 from NitzanMordhai/wip-71542-squid
SrinivasaBharathKanta [Tue, 24 Jun 2025 06:21:26 +0000 (11:51 +0530)]
Merge pull request #63718 from NitzanMordhai/wip-71542-squid

squid: qa/suites: wait longer before stopping OSDs with valgrind

3 weeks agodoc/radosgw: remove "pubsub_event_lost" 64126/head
Zac Dover [Mon, 23 Jun 2025 08:18:07 +0000 (18:18 +1000)]
doc/radosgw: remove "pubsub_event_lost"

Remove "pubsub_event_lost" from the list of "Notification Performance
Statistics" in doc/radosgw/notifications.rst. "pubsub_event_lost" is now
obsolete.

Fixes: https://tracker.ceph.com/issues/71790
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b308f50d1e0c2d238c3b2bf54df99cc7ac2ac679)

3 weeks agoMerge pull request #63154 from NitzanMordhai/wip-71224-squid
SrinivasaBharathKanta [Mon, 23 Jun 2025 23:47:23 +0000 (05:17 +0530)]
Merge pull request #63154 from NitzanMordhai/wip-71224-squid

squid: osd_types: Restore new_object marking for delete missing entries

3 weeks agoMerge pull request #63341 from amathuria/wip-69774-squid
SrinivasaBharathKanta [Mon, 23 Jun 2025 23:29:24 +0000 (04:59 +0530)]
Merge pull request #63341 from amathuria/wip-69774-squid

squid: mon/test_mon_osdmap_prune: Use first_pinned instead of first_committed

3 weeks agoMerge pull request #64012 from cbodley/wip-71674-squid
Yuri Weinstein [Mon, 23 Jun 2025 22:43:26 +0000 (15:43 -0700)]
Merge pull request #64012 from cbodley/wip-71674-squid

squid: build: Fix opentelemetry-cpp build failure on Noble

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
3 weeks agoMerge pull request #59621 from pponnuvel/wip-67741-squid
Yuri Weinstein [Mon, 23 Jun 2025 17:23:12 +0000 (10:23 -0700)]
Merge pull request #59621 from pponnuvel/wip-67741-squid

squid: client: Prevent race condition when printing Inode in ll_sync_inode

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agorgw: make sure max_objs_per_shard is appropriate in debugging scenarios 63567/head
J. Eric Ivancich [Thu, 22 May 2025 20:15:56 +0000 (16:15 -0400)]
rgw: make sure max_objs_per_shard is appropriate in debugging scenarios

When we have a versioned bucket, we reduce max_objs_per_shard by a
factor of 3 to account for the extra bucket index entries required in
such buckets. And during debugging, we may want to induce early
resharding by setting max_objs_per_shard to an artificially low
value. Combined, that math could result in max_objs_per_shard with a
value of 0 that would cause a division by zero crash. This fixes that.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 27f9c103f1a98b78b9bd58d0e669d557c3851702)

Conflicts:
src/rgw/driver/rados/rgw_rados.cc
  calculate_preferred_shards() changes from #57538 not on squid

3 weeks agoMerge pull request #64118 from zdover23/wip-doc-2025-06-24-backport-64075-to-squid
Zac Dover [Mon, 23 Jun 2025 14:51:23 +0000 (00:51 +1000)]
Merge pull request #64118 from zdover23/wip-doc-2025-06-24-backport-64075-to-squid

squid: doc/rados/operations: Actually mention `upmap_max_deviation` setting â€¦

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #63853 from adk3798/wip-69513-squid
Yuri Weinstein [Mon, 23 Jun 2025 14:23:39 +0000 (07:23 -0700)]
Merge pull request #63853 from adk3798/wip-69513-squid

squid: mgr/cephadm: fixing logic in cert-store save_cert method

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
Reviewed-by: Adam King adking@redhat.com
3 weeks agoMerge pull request #64095 from zdover23/wip-doc-2025-06-23-backport-64026-to-squid
Anthony D'Atri [Mon, 23 Jun 2025 14:14:48 +0000 (10:14 -0400)]
Merge pull request #64095 from zdover23/wip-doc-2025-06-23-backport-64026-to-squid

squid: doc/radosgw: update aws specification link

3 weeks agodoc/rados/operations: Actually mention `upmap_max_deviation` setting name 64118/head
Niklas Hambüchen [Sat, 21 Jun 2025 17:53:34 +0000 (19:53 +0200)]
doc/rados/operations: Actually mention `upmap_max_deviation` setting name

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

3 weeks agodoc/radosgw: improve "pubsub_push_pending" info 64113/head
Zac Dover [Mon, 23 Jun 2025 08:47:05 +0000 (18:47 +1000)]
doc/radosgw: improve "pubsub_push_pending" info

Explain in greater detail what the counter "pubsub_push_pending" counts.

Fixes: https://tracker.ceph.com/issues/71793
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 26f2c0ebbe364cd27f8f0ae1adc954ce206371b7)

3 weeks agodoc/radosgw: update aws specification link 64095/head
Zac Dover [Thu, 19 Jun 2025 06:24:24 +0000 (16:24 +1000)]
doc/radosgw: update aws specification link

Update the link to the AWS specification format.

Fixes: https://tracker.ceph.com/issues/68619
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit cca1a17d07fd31ccf13acf846ad13e6fad85d5f2)

3 weeks agolibrbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup 64097/head
Kefu Chai [Tue, 3 Jun 2025 08:07:33 +0000 (16:07 +0800)]
librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup

Previously, SyncPoint allocated two C_Gather instances tracked by raw
pointers but failed to properly clean them up when only a single sync
point existed, causing memory leaks detected by AddressSanitizer.

This change fixes the leak by modifying AbstractWriteLog::shut_down()
to check for prior sync points in the chain. When the current sync point
is the only one present, we now activate the m_prior_log_entries_persisted
context to ensure:

- The onfinish callback executes and releases the captured strong
  reference to the enclosing SyncPoint
- The parent m_sync_point_persist context completes and gets properly
  released

This ensures all allocated contexts are cleaned up correctly during
shutdown, eliminating the memory leak.

The ASan report:

```
Indirect leak of 2064 byte(s) in 1 object(s) allocated from:
    #0 0x56440919ae2d in operator new(unsigned long) (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/unittest_librbd+0x2f3de2d) (BuildId: 6a04677c6ee5235f1a41815df807f97c5b96d4cd)
    #1 0x56440bd67751 in __gnu_cxx::new_allocator<Context*>::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h:127:27
    #2 0x56440bd676e0 in std::allocator<Context*>::allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/allocator.h:185:32
    #3 0x56440bd676e0 in std::allocator_traits<std::allocator<Context*>>::allocate(std::allocator<Context*>&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:464:20
    #4 0x56440bd6730b in std::_Vector_base<Context*, std::allocator<Context*>>::_M_allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:346:20
    #5 0x7fd33e00e8d1 in std::vector<Context*, std::allocator<Context*>>::reserve(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/vector.tcc:78:22
    #6 0x7fd33e00c51c in librbd::cache::pwl::SyncPoint::SyncPoint(unsigned long, ceph::common::CephContext*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/SyncPoint.cc:20:27
    #7 0x56440bd65f26 in decltype(::new((void*)(0)) librbd::cache::pwl::SyncPoint(std::declval<unsigned long&>(), std::declval<ceph::common::CephContext*&>())) std::construct_at<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(librbd::cache::pwl::SyncPoint*, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:97:39
    #8 0x56440bd65b98 in void std::allocator_traits<std::allocator<librbd::cache::pwl::SyncPoint>>::construct<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint>&, librbd::cache::pwl::SyncPoint*, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:518:4
    #9 0x56440bd657d3 in std::_Sp_counted_ptr_inplace<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:519:4
    #10 0x56440bd65371 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(librbd::cache::pwl::SyncPoint*&, std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:651:6
    #11 0x56440bd65163 in std::__shared_ptr<librbd::cache::pwl::SyncPoint, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1342:14
    #12 0x56440bd650e6 in std::shared_ptr<librbd::cache::pwl::SyncPoint>::shared_ptr<std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:409:4
    #13 0x56440bd65057 in std::shared_ptr<librbd::cache::pwl::SyncPoint> std::allocate_shared<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint> const&, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:862:14
    #14 0x56440bca97e7 in std::shared_ptr<librbd::cache::pwl::SyncPoint> std::make_shared<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:878:14
    #15 0x56440bd443c8 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::new_sync_point(librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1905:20
    #16 0x56440bd42e4c in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::flush_new_sync_point(librbd::cache::pwl::C_FlushRequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1951:3
    #17 0x56440bd9cbf2 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::flush_new_sync_point_if_needed(librbd::cache::pwl::C_FlushRequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1990:5
    #18 0x56440bd9c636 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*)::'lambda'(librbd::cache::pwl::GuardedRequestFunctionContext&)::operator()(librbd::cache::pwl::GuardedRequestFunctionContext&) const /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:2152:9
    #19 0x56440bd9b9b4 in boost::detail::function::void_function_obj_invoker<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*)::'lambda'(librbd::cache::pwl::GuardedRequestFunctionContext&), void, librbd::cache::pwl::GuardedRequestFunctionContext&>::invoke(boost::detail::function::function_buffer&, librbd::cache::pwl::GuardedRequestFunctionContext&) /opt/ceph/include/boost/function/function_template.hpp:100:11
    #20 0x56440bd29321 in boost::function_n<void, librbd::cache::pwl::GuardedRequestFunctionContext&>::operator()(librbd::cache::pwl::GuardedRequestFunctionContext&) const /opt/ceph/include/boost/function/function_template.hpp:789:14
    #21 0x56440bd28d85 in librbd::cache::pwl::GuardedRequestFunctionContext::finish(int) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/Request.h:335:5
    #22 0x5644091e0fe0 in Context::complete(int) /home/jenkins-build/build/workspace/ceph-pull-requests/src/include/Context.h:102:5
    #23 0x56440bd9b378 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::detain_guarded_request(librbd::cache::pwl::C_BlockIORequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::GuardedRequestFunctionContext*, bool) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1202:20
    #24 0x56440bd96c50 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:2154:3
    #25 0x56440bd1e4b5 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::shut_down(Context*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:703:3
    #26 0x56440bdb9022 in librbd::cache::pwl::TestMockCacheSSDWriteLog_compare_and_write_compare_matched_Test::TestBody() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librbd/cache/pwl/test_mock_SSDWriteLog.cc:403:7
```

Fixes: https://tracker.ceph.com/issues/71335
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 05fd6f90e6e528c628af7fbb106b73e89d57464c)

3 weeks agorbd-mirror: release lock before calling m_async_op_tracker.finish_op() 64092/head
VinayBhaskar-V [Wed, 16 Apr 2025 15:52:21 +0000 (21:22 +0530)]
rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

m_async_op_tracker.finish_op() in InstanceReplayer::start_image_replayers
may invoke a completion that re-enters code paths that attempt to acquire
the same mutex (m_lock), violating the non-recursive lock constraint.
This can be fixed by releasing the lock before calling
m_async_op_tracker.finish_op().

Fixes: https://tracker.ceph.com/issues/70951
Signed-off-by: VinayBhaskar-V <vvarada@redhat.com>
(cherry picked from commit 07e44074ae5d18dc1248e557fd1aa2dbe39792c6)

3 weeks agoMerge pull request #64073 from ronen-fr/wip-rf-64048-squid
Ronen Friedman [Sun, 22 Jun 2025 05:52:45 +0000 (08:52 +0300)]
Merge pull request #64073 from ronen-fr/wip-rf-64048-squid

squid: osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agomgr/nfs: scrape nfs monitoring endpoint 64081/head
avanthakkar [Wed, 3 Jan 2024 11:52:33 +0000 (17:22 +0530)]
mgr/nfs: scrape nfs monitoring endpoint

Fixes: https://tracker.ceph.com/issues/62558
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 5fb45e5fb8330721e03b04d493202c9c845e33b1)

Conflicts:
src/pybind/mgr/cephadm/service_discovery.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2

3 weeks agomgr/cephadm: allow disabling rgw_run_sync_thread through spec 61350/head
Adam King [Mon, 15 Jul 2024 18:14:00 +0000 (14:14 -0400)]
mgr/cephadm: allow disabling rgw_run_sync_thread through spec

This is desirable for an RGW service that you don't want to
send multisite sync data so the RGW daemons can focus more
on handling IO. Note they may still receive mulsitie sync
data unless they are removed from the zone and zonegroup
replication endpoints

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

Conflicts:
src/python-common/ceph/deployment/service_spec.py

3 weeks agomgr/cephadm: fixing logic in cert-store save_cert method 63853/head
Redouane Kachach [Mon, 16 Dec 2024 11:17:50 +0000 (12:17 +0100)]
mgr/cephadm: fixing logic in cert-store save_cert method

the previous code was not saving the certificates correctly, it just
overwritten the same entry reducing all the certificates to only
one. The new logic traverse and save all the certificates from the
cert dictionary.

Fixes: https://tracker.ceph.com/issues/69252
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit b71ec88c13c836e753becf807c07c46ad6076428)

Conflicts:
src/pybind/mgr/cephadm/tests/test_cephadm.py

3 weeks agoosd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects 64073/head
Ronen Friedman [Thu, 19 Jun 2025 15:27:38 +0000 (10:27 -0500)]
osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

'osd_scrub_auto_repair_num_errors' limits the number of damaged objects
that we will try to auto-repair during a scrub. Its documentation
referred to "number of errors", which did not fit the implementation.

Fixes: https://tracker.ceph.com/issues/71754
Fixes: Red Hat BZ2316244
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 680b58ffd0bf5b213ec525f8d783297fb0b14343)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #63363 from cbodley/wip-71375-squid
Yuri Weinstein [Fri, 20 Jun 2025 15:38:32 +0000 (08:38 -0700)]
Merge pull request #63363 from cbodley/wip-71375-squid

squid: rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63438 from mkogan1/wip-71421-squid
anrao19 [Fri, 20 Jun 2025 15:16:42 +0000 (20:46 +0530)]
Merge pull request #63438 from mkogan1/wip-71421-squid

squid: rgw/d3n: fix valgrind invalid read during exit

4 weeks agoMerge pull request #63193 from jzhu116-bloomberg/wip-71177-squid
anrao19 [Fri, 20 Jun 2025 15:13:14 +0000 (20:43 +0530)]
Merge pull request #63193 from jzhu116-bloomberg/wip-71177-squid

squid: rgw: prefetch data from versioned object instance head

4 weeks agoMerge pull request #64058 from zdover23/wip-doc-2025-06-20-backport-63163-to-squid
Anthony D'Atri [Fri, 20 Jun 2025 13:26:28 +0000 (09:26 -0400)]
Merge pull request #64058 from zdover23/wip-doc-2025-06-20-backport-63163-to-squid

squid: doc/radosgw: Cosmetic improvements in dynamicresharding.rst

4 weeks agodoc/radosgw: Cosmetic improvements in dynamicresharding.rst 64058/head
Ville Ojamo [Wed, 7 May 2025 09:48:24 +0000 (16:48 +0700)]
doc/radosgw: Cosmetic improvements in dynamicresharding.rst

Make reference to config section a hyperlink.

Capitalization consistency: use title case in section titles, fix two
invalid capitalizations in text.

Promptify CLI example commands.

A JSON key-value pair is a "property" and not an "object".

Use an ordered list instead of inline code with hardcoded list numbers.

Use the American "canceled" (majority of occurrences in doc/) instead of
"cancelled".

Use admonitions instead of spelling out "Note:".
Clarify language on sharding cleanup for multisite.

Format JSON keys as inline code.

Indent example JSON output from radosgw-admin correctly (same as real
output) with 4 spaces.

Use colon instead of full stop at the end of text that describes the
following example command. Move admonition to after such example
command.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit cbb9ab7716ae98ab80e485a6a4e3149e49be88aa)

4 weeks agofix: typo remove whitespace 64049/head
mertsunacoglu [Tue, 10 Jun 2025 12:11:59 +0000 (14:11 +0200)]
fix: typo remove whitespace

Signed-off-by: mertsunacoglu <emin.sunacoglu@clyso.com>
(cherry picked from commit 343db61578adafc25716df8e071c4282ed084fbf)

4 weeks agofix: Revert url_decode to old behaviour
Emin [Tue, 10 Jun 2025 09:03:21 +0000 (11:03 +0200)]
fix: Revert url_decode to old behaviour

Signed-off-by: Emin <emin.sunacoglu@clyso.com>
(cherry picked from commit c603ce719aca906d75af60e7d31bf13db09d8ec6)

4 weeks agofix: remove double url_decode from the copy_source and fix url_decode
Emin [Mon, 26 May 2025 14:11:19 +0000 (16:11 +0200)]
fix: remove double url_decode from the copy_source and fix url_decode

Signed-off-by: Emin <emin.sunacoglu@clyso.com>
(cherry picked from commit 1510987b8606d8906ba53d4f343a788209707bcf)

4 weeks agofix:Add empty string check after url_decode
Emin [Wed, 21 May 2025 12:53:45 +0000 (14:53 +0200)]
fix:Add empty string check after url_decode

Signed-off-by: Emin <emin.sunacoglu@clyso.com>
(cherry picked from commit c43ea6253d01c538ea08b371b159a7360c2042cf)

4 weeks agoMerge pull request #62905 from adk3798/squid-cephadm-rm-cluster-zap-devices
Yuri Weinstein [Thu, 19 Jun 2025 16:31:10 +0000 (09:31 -0700)]
Merge pull request #62905 from adk3798/squid-cephadm-rm-cluster-zap-devices

squid: cephadm: check "ceph_device_lvm" field instead of "ceph_device" during zap

Reviewed-by: Adam King adking@redhat.com
4 weeks agoMerge pull request #64021 from zdover23/wip-doc-2025-06-19-backport-63983-to-squid
Anthony D'Atri [Thu, 19 Jun 2025 11:09:35 +0000 (07:09 -0400)]
Merge pull request #64021 from zdover23/wip-doc-2025-06-19-backport-63983-to-squid

squid: doc/radosgw/admin.rst: explain bucket and uid flags for bucket quota

4 weeks agoMerge pull request #64024 from zdover23/wip-doc-2025-06-19-backport-63907-to-squid
Anthony D'Atri [Thu, 19 Jun 2025 11:07:37 +0000 (07:07 -0400)]
Merge pull request #64024 from zdover23/wip-doc-2025-06-19-backport-63907-to-squid

squid: doc/radosgw: edit cloud-transition (1 of x)

4 weeks agoMerge pull request #64033 from zdover23/wip-doc-2025-06-19-backport-60440-to-squid
Anthony D'Atri [Thu, 19 Jun 2025 10:51:45 +0000 (06:51 -0400)]
Merge pull request #64033 from zdover23/wip-doc-2025-06-19-backport-60440-to-squid

squid: doc: mgr/dashboard: add OAuth2 SSO documentation

4 weeks agodoc: mgr/dashboard: add OAuth2 SSO documentation 64033/head
Pedro Gonzalez Gomez [Tue, 22 Oct 2024 19:11:56 +0000 (21:11 +0200)]
doc: mgr/dashboard: add OAuth2 SSO documentation

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 3e63860433a53d7d92d593beb3a4a02643b6ea98)

doc: mgr/dashboard: add --enable-auth flag

Add an instruction that includes the --enable-auth flag in a "git orch
apply mgmt-gateway" command, in accordance with a request made by
afreen23 here: https://github.com/ceph/ceph/pull/60440#discussion_r1953530599

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

4 weeks agoMerge pull request #63441 from zdover23/wip-doc-2025-05-23-backport-63360-to-squid
Zac Dover [Thu, 19 Jun 2025 05:57:40 +0000 (15:57 +1000)]
Merge pull request #63441 from zdover23/wip-doc-2025-05-23-backport-63360-to-squid

squid: doc/rgw: use 'confval' directive to render sts config options

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #63649 from zdover23/wip-doc-2025-06-03-backport-63644-to-squid
Zac Dover [Thu, 19 Jun 2025 05:17:34 +0000 (15:17 +1000)]
Merge pull request #63649 from zdover23/wip-doc-2025-06-03-backport-63644-to-squid

squid: doc/rados/operations: Additional improvements to placement-groups.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #63768 from zdover23/wip-doc-2025-06-06-backport-63735-to-squid
Zac Dover [Thu, 19 Jun 2025 05:01:34 +0000 (15:01 +1000)]
Merge pull request #63768 from zdover23/wip-doc-2025-06-06-backport-63735-to-squid

squid: doc/mgr: edit telemetry (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agodoc/radosgw: edit cloud-transition (1 of x) 64024/head
Zac Dover [Thu, 12 Jun 2025 11:28:57 +0000 (21:28 +1000)]
doc/radosgw: edit cloud-transition (1 of x)

Edit the first hundred lines of doc/radosgw/cloud-transition.rst.

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

4 weeks agoMerge pull request #63955 from zdover23/wip-doc-2025-06-16-backport-63821-to-squid 63695/head
Zac Dover [Thu, 19 Jun 2025 04:52:14 +0000 (14:52 +1000)]
Merge pull request #63955 from zdover23/wip-doc-2025-06-16-backport-63821-to-squid

squid: doc/src: edit osd.yaml.in (osd_deep_scrub_interval_cv)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #63990 from zdover23/wip-doc-2025-06-18-backport-60954-to-squid
Zac Dover [Thu, 19 Jun 2025 04:50:49 +0000 (14:50 +1000)]
Merge pull request #63990 from zdover23/wip-doc-2025-06-18-backport-60954-to-squid

squid: doc/dev: update link to backporter manual

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #63993 from zdover23/wip-doc-2025-06-18-backport-44861-to-squid
Zac Dover [Thu, 19 Jun 2025 04:50:14 +0000 (14:50 +1000)]
Merge pull request #63993 from zdover23/wip-doc-2025-06-18-backport-44861-to-squid

squid: doc/dev: Debuggging with gdb

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #63998 from zdover23/wip-doc-2025-06-18-backport-62804-to-squid
Zac Dover [Thu, 19 Jun 2025 04:48:58 +0000 (14:48 +1000)]
Merge pull request #63998 from zdover23/wip-doc-2025-06-18-backport-62804-to-squid

squid: ceph.spec.in: add man/rgw-gap-list

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
4 weeks agodoc/radosgw/admin.rst: explain bucket and uid flags for bucket quota 64021/head
Hyun Jin Kim [Tue, 17 Jun 2025 13:01:28 +0000 (09:01 -0400)]
doc/radosgw/admin.rst: explain bucket and uid flags for bucket quota

Clarify behavior of bucket and uid flags when setting a quota with
quota-scope=bucket.

Signed-off-by: Hyun Jin Kim <hello.hyunjin@gmail.com>
(cherry picked from commit d5c7b4d62c71ca2a57b7d9a552eae03f0f620cef)

4 weeks agobuild: Fix opentelemetry-cpp build failure on Noble 64012/head
Adam C. Emerson [Tue, 1 Apr 2025 21:00:32 +0000 (17:00 -0400)]
build: Fix opentelemetry-cpp build failure on Noble

The version of the opentelemetry-cpp we currently use has a missing
include in the Jaeger exporter.

Newer versions remove the Jaeger exporter entirely.

While upgrading sometime would be good, it doesn't have to happen
right now.

Thus do I hereby update the opentelemetry-cpp submodule.

Fixes: https://tracker.ceph.com/issues/62804
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 9c797f52a46edcd4ceb4bfb1a5c42c221230168b)

4 weeks agoMerge pull request #63996 from zdover23/wip-doc-2025-06-18-backport-62749-to-squid
Zac Dover [Wed, 18 Jun 2025 15:08:56 +0000 (01:08 +1000)]
Merge pull request #63996 from zdover23/wip-doc-2025-06-18-backport-62749-to-squid

squid: doc/rgw: add man documentation for the rgw-gap-list tool

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agodoc/rgw: add man documentation for the rgw-gap-list tool 63996/head
J. Eric Ivancich [Wed, 9 Apr 2025 15:47:31 +0000 (11:47 -0400)]
doc/rgw: add man documentation for the rgw-gap-list tool

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 12eb87463cdf952b9d16eac899f1ca40670ca2bc)

4 weeks agoMerge pull request #63728 from ivancich/wip-70898-squid
Zac Dover [Wed, 18 Jun 2025 11:42:09 +0000 (21:42 +1000)]
Merge pull request #63728 from ivancich/wip-70898-squid

squid: doc/rgw: add man documentation for the rgw-gap-list tool

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
4 weeks agoceph.spec.in: add man/rgw-gap-list 63998/head
Matan Breizman [Mon, 14 Apr 2025 07:32:24 +0000 (07:32 +0000)]
ceph.spec.in: add man/rgw-gap-list

Introduced in https://github.com/ceph/ceph/pull/62749
Centos builds fail with:
```
error: Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz
```

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

4 weeks agodoc/dev: Debuggging with gdb 63993/head
Matan Breizman [Wed, 2 Feb 2022 10:11:53 +0000 (10:11 +0000)]
doc/dev: Debuggging with gdb

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

4 weeks agodoc/dev: update link to backporter manual 63990/head
Zac Dover [Wed, 4 Dec 2024 20:33:59 +0000 (21:33 +0100)]
doc/dev: update link to backporter manual

Update the link to the backporter manual, in
doc/dev/development-workflow.rst. Laura Flores requested this change on
04 Dec 2024.

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

4 weeks agoMerge pull request #63241 from vshankar/wip-integrate-blockdif-with-mirror-daemon...
Venky Shankar [Wed, 18 Jun 2025 04:13:34 +0000 (09:43 +0530)]
Merge pull request #63241 from vshankar/wip-integrate-blockdif-with-mirror-daemon-squid

squid: integrate blockdiff with cephfs-mirror daemon

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 weeks agoceph.spec.in: add man/rgw-gap-list 63728/head
Matan Breizman [Mon, 14 Apr 2025 07:32:24 +0000 (07:32 +0000)]
ceph.spec.in: add man/rgw-gap-list

Introduced in https://github.com/ceph/ceph/pull/62749
Centos builds fail with:
```
error: Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz
```

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

4 weeks agodoc/rgw: add man documentation for the rgw-gap-list tool
J. Eric Ivancich [Wed, 9 Apr 2025 15:47:31 +0000 (11:47 -0400)]
doc/rgw: add man documentation for the rgw-gap-list tool

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 12eb87463cdf952b9d16eac899f1ca40670ca2bc)

4 weeks agoMerge pull request #63977 from zdover23/wip-doc-2025-06-17-backport-63951-to-squid
Anthony D'Atri [Tue, 17 Jun 2025 12:51:54 +0000 (08:51 -0400)]
Merge pull request #63977 from zdover23/wip-doc-2025-06-17-backport-63951-to-squid

squid: doc/cephfs: document first-damage.py

4 weeks agodoc/cephfs: document first-damage.py 63977/head
Zac Dover [Mon, 16 Jun 2025 08:02:49 +0000 (18:02 +1000)]
doc/cephfs: document first-damage.py

Document the use of first-damage.py.

Fixes: https://tracker.ceph.com/issues/71628
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d88cdf039d02055d3379eb91a5a9bab655d40d2d)

4 weeks agoMerge pull request #60396 from neesingh-rh/wip-68592-squid
Kotresh HR [Tue, 17 Jun 2025 07:04:29 +0000 (12:34 +0530)]
Merge pull request #60396 from neesingh-rh/wip-68592-squid

squid: mgr/vol : shortening the name of helper method

4 weeks agoMerge pull request #59005 from neesingh-rh/wip-67300-squid
Kotresh HR [Tue, 17 Jun 2025 06:57:27 +0000 (12:27 +0530)]
Merge pull request #59005 from neesingh-rh/wip-67300-squid

squid: pybind/ceph_argparse: Fix error message for ceph tell command

4 weeks agoMerge pull request #63405 from clwluvw/wip-71172
Yuri Weinstein [Mon, 16 Jun 2025 23:10:18 +0000 (16:10 -0700)]
Merge pull request #63405 from clwluvw/wip-71172

squid: rgw-admin: report correct error code for non-existent bucket on deletion

Reviewed-by:Alex Wojno <awojno@bloomberg.net>

4 weeks agoMerge pull request #62892 from pritha-srivastava/wip-70969-squid
Yuri Weinstein [Mon, 16 Jun 2025 23:07:33 +0000 (16:07 -0700)]
Merge pull request #62892 from pritha-srivastava/wip-70969-squid

squid: rgw/iam: correcting the caps for OIDC Provider for a user.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63710 from ceph/dvanders_backport_quotados_squid
Yuri Weinstein [Mon, 16 Jun 2025 22:24:03 +0000 (15:24 -0700)]
Merge pull request #63710 from ceph/dvanders_backport_quotados_squid

squid: rgw: Changed discard buffer size

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 weeks agoMerge pull request #63065 from pritha-srivastava/wip-71113-squid
Adam Emerson [Mon, 16 Jun 2025 21:15:29 +0000 (17:15 -0400)]
Merge pull request #63065 from pritha-srivastava/wip-71113-squid

squid: rgw/sts: correcting authentication in case s3 ops are directed to a primary from secondary after  assumerole.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 weeks agoqa/rgw/sts: run s3tests against both auth orders 61162/head
Casey Bodley [Tue, 19 Nov 2024 16:22:57 +0000 (11:22 -0500)]
qa/rgw/sts: run s3tests against both auth orders

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

4 weeks agoqa/rgw/keystone: run s3tests against both auth orders
Casey Bodley [Fri, 4 Oct 2024 14:51:01 +0000 (10:51 -0400)]
qa/rgw/keystone: run s3tests against both auth orders

we've only been testing the default configuration for
`rgw_s3_auth_order: sts, external, local`, but local before external
should work too. split the s3tests task into two jobs, one for each
auth order

relates to https://tracker.ceph.com/issues/68393

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

4 weeks agoRevert "rgw/auth: Fix the return code returned by AuthStrategy,"
Pritha Srivastava [Tue, 19 Nov 2024 16:20:58 +0000 (21:50 +0530)]
Revert "rgw/auth: Fix the return code returned by AuthStrategy,"

This reverts commit 6f7ef8620e52be776ef633bb962a4309996529df.

the above fix introduced regression for ec2 auth when rgw_s3_auth_order
has local before external.

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

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 543fd1041f5684bcf2a68b691f32096bea47c5f3)

4 weeks agoMerge pull request #62722 from ivancich/wip-70827-squid
Adam Emerson [Mon, 16 Jun 2025 19:23:05 +0000 (15:23 -0400)]
Merge pull request #62722 from ivancich/wip-70827-squid

squid: rgw: fix bug with rgw-gap-list

Reviewed-by: Casey Bodley <cbodley@redhat.com>