]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
3 months agotest: multi client file read/write test for extending writes
Venky Shankar [Tue, 20 May 2025 12:20:39 +0000 (12:20 +0000)]
test: multi client file read/write test for extending writes

Credit to @anoopcs9 for the reproducer.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 624cb4ce5931faa7a0ecb6673312ff7f9624050c)

 Conflicts:
src/test/libcephfs/test.cc

Test InodeGetPut is not in squid branch.

3 months agoclient: do not check file size when inode does not have Fc caps
Venky Shankar [Tue, 20 May 2025 12:19:41 +0000 (12:19 +0000)]
client: do not check file size when inode does not have Fc caps

Since the client is holding Fr caps, the read request can be
directly sent to the OSD. The offset/in->size comparison check
is causing the read request to return with no data since in->size
isn't yet updated when another client does an extending write.

Introduced-by: 942474c2f5b4c696364f3b7411ae7d96444edfa8
Fixes: http://tracker.ceph.com/issues/70726
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 2b74598afc52d1a6cb98ef6b524ec162360cf040)

3 months agoclient: Fix signed comparison warning
Adam Emerson [Wed, 27 Nov 2024 22:17:14 +0000 (17:17 -0500)]
client: Fix signed comparison warning

https://tracker.ceph.com/issues/68552

Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit e81fbe4ebf9e8aa977409bcf84f2694ea0333ff1)

3 months agoclient: Fix aio zerobyte file read
Kotresh HR [Fri, 27 Sep 2024 19:48:23 +0000 (01:18 +0530)]
client: Fix aio zerobyte file read

The following test fails when run with objectcacher
disabled.

TestClient.LlreadvLlwritevZeroBytes Failure - nonblocking.cc

ceph/src/osdc/Striper.cc: 186: FAILED ceph_assert(len > 0)

Traceback:
 ceph version Development (no_version) squid (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x125) [0x7fc0a340aafe]
 2: (ceph::register_assert_context(ceph::common::CephContext*)+0) [0x7fc0a340ad20]
 3: (Striper::file_to_extents(ceph::common::CephContext*, file_layout_t const*, ...)+0x184) [0x562727e13ab4]
 4: (Striper::file_to_extents(ceph::common::CephContext*, char const*, ...)+0x97) [0x562727e145d1]
 5: (Striper::file_to_extents(ceph::common::CephContext*, inodeno_t, ...)+0x75) [0x562727d29520]
 6: (Filer::read_trunc(inodeno_t, file_layout_t const*, snapid_t, ...)+0x61) [0x562727d66ea5]
 7: (Client::C_Read_Sync_NonBlocking::retry()+0x10c) [0x562727cd8a8e]
 8: (Client::_read(Fh*, long, unsigned long, ceph::buffer::v15_2_0::list*, Context*)+0x578) [0x562727d10cb6]
 9: (Client::_preadv_pwritev_locked(Fh*, iovec const*, int, long, bool, ...)+0x3a7) [0x562727d18159]
 10: (Client::ll_preadv_pwritev(Fh*, iovec const*, int, long, bool, ...)+0x179) [0x562727d18b99]
 11: (TestClient_LlreadvLlwritevZeroBytes_Test::TestBody()+0x592) [0x562727ca5352]
 12: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, ...)+0x1b) [0x562727d9dea3]
 13: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, ...)+0x80) [0x562727da2b26]
 14: (testing::Test::Run()+0xb4) [0x562727d927ae]
 15: (testing::TestInfo::Run()+0x104) [0x562727d92988]
 16: (testing::TestSuite::Run()+0xb2) [0x562727d92b34]
 17: (testing::internal::UnitTestImpl::RunAllTests()+0x36b) [0x562727d95303]
 18: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, ...)(), char const*)+0x1b) [0x562727d9e15f]
 19: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, ...)+0x80) [0x562727da3083]
 20: (testing::UnitTest::Run()+0x63) [0x562727d92813]
 21: (RUN_ALL_TESTS()+0x11) [0x562727c828d9]
 22: main()

The patch fixes the same.

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

3 months agoclient: Fix caps_ref[c]<0 assert
Kotresh HR [Mon, 30 Sep 2024 07:15:04 +0000 (12:45 +0530)]
client: Fix caps_ref[c]<0 assert

When libcephfs aio tests (src/test/client) are run
with objectcacher disabled (ceph_test_client --client_oc=false),
the TestClient.LlreadvLlwritev fails and core dumps. The client
hits the assert 'caps_ref[c]<0'.

This patch fixes the same. There is no need to give out cap_ref
and take it again between multiple read because of short reads.
In some cases, the get_caps used to fail in C_Read_Sync_NonBlocking::finish
causing cap_ref to go negative when put_cap_ref is done at last in
C_Read_Finish::finish_io

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

3 months agoclient: Fix libcephfs aio metadata corruption.
Kotresh HR [Thu, 26 Sep 2024 05:20:32 +0000 (10:50 +0530)]
client: Fix libcephfs aio metadata corruption.

Problem:
With cephfs nfs-ganesha, there were following
asserts hit while doing write on a file.

1. FAILED ceph_assert((bool)_front == (bool)_size)
2. FAILED ceph_assert(cap_refs[c] > 0)

Cause:
In aio path, the client_lock was not being held
in the internal callback after the io is done where
it's expected to be taken leading to corruption.

Fix:
Take client_lock in the callback

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

3 months agotest/client: Fix aio nonblocking test
Kotresh HR [Sat, 28 Sep 2024 17:49:30 +0000 (23:19 +0530)]
test/client: Fix aio nonblocking test

The same bufferlist is used without cleaning
for multiple calls. The test 'LlreadvLlwritev'
used to fail because of it. Fixed the same.

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

3 months agoqa: Add libcephfs client test with objectcacher disabled
Kotresh HR [Sat, 28 Sep 2024 18:04:50 +0000 (23:34 +0530)]
qa: Add libcephfs client test with objectcacher disabled

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

3 months agoqa: Add data read/write test for nfs-ganesha
Kotresh HR [Thu, 26 Sep 2024 15:53:21 +0000 (21:23 +0530)]
qa: Add data read/write test for nfs-ganesha

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

3 months agoclient: asynchronous fsync can decrement request ref twice
Venky Shankar [Fri, 30 May 2025 18:11:19 +0000 (18:11 +0000)]
client: asynchronous fsync can decrement request ref twice

After the asynchronous execution context is woken up when waiting
for Fb caps reference to be released causing the clien to crash
as per:

```
0x00007f3115b2452c in __pthread_kill_implementation () from /lib64/libc.so.6
0x00007f3115ad7686 in raise () from /lib64/libc.so.6
0x00007f3115ac1833 in abort () from /lib64/libc.so.6
0x00007f3113375d0a in ceph::__ceph_assert_fail (assertion=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/common/assert.cc:74
0x00007f3113375e6f in ceph::__ceph_assert_fail (ctx=...) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/common/assert.cc:79
0x00007f311237db1d in xlist<MetaRequest*>::item::~item (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/include/xlist.h:31
MetaRequest::~MetaRequest (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/MetaRequest.cc:65
Client::put_request (this=0x564b491726c0, request=0x7f301c0165c0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:2140
0x00007f31123c88ad in Client::C_nonblocking_fsync_state::advance (this=0x7f307002e9f0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:11905
0x00007f3112331ccd in Context::complete (this=0x7f3070009250, r=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/include/Context.h:99
0x00007f311246a964 in Client::signal_context_list(std::__cxx11::list<Context*, std::allocator<Context*> >&) [clone .constprop.0] (ls=std::__cxx11::list = {...}, this=<optimized out>)
    at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:4257
0x00007f3112395f45 in Client::put_cap_ref (this=0x564b491726c0, in=0x7f306807be90, cap=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:3611
0x00007f31123331f3 in Client::C_Write_Finisher::finish_io (r=0, this=0x7f30240442d0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:11381
Client::CWF_iofinish::finish (this=<optimized out>, r=0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.h:1481
0x00007f3112331ccd in Context::complete (this=0x7f302401afd0, r=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/include/Context.h:99
0x00007f31123c5242 in Client::C_Lock_Client_Finisher::finish (this=0x7f302403c9d0, r=0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/client/Client.cc:11372
0x00007f3112331ccd in Context::complete (this=0x7f302403c9d0, r=<optimized out>) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/include/Context.h:99
0x00007f31134374ad in Finisher::finisher_thread_entry (this=0x564b491730b0) at /usr/src/debug/ceph-19.2.0-124.el9cp.x86_64/src/common/Finisher.cc:72
0x00007f3115b227e2 in start_thread () from /lib64/libc.so.6
0x00007f3115ba7800 in clone3 () from /lib64/libc.so.6
0x0000000000000000 in ?? ()
```

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

3 months agoclient: fix memory leak in Client::CRF_iofinish::complete
Shachar Sharon [Tue, 22 Oct 2024 12:06:54 +0000 (15:06 +0300)]
client: fix memory leak in Client::CRF_iofinish::complete

Commit 1210ddf7a ("Client: Add non-blocking helper classes") introduced
Client::C_Read_Finisher Context object for async READ operations, but
it has a read-after-free bug which may cause memory leak when calling
libcephf's non-blocking ceph_ll_nonblocking_readv_writev API with async
READ:

ceph_ll_nonblocking_readv_writev (READ)
  Client::ll_preadv_pwritev
  ...
    Client::_read_async
      Context::complete
        Client::CRF_iofinish::complete
          Client::CRF_iofinish::finish
          CRF->finish_io()
            Client::C_Read_Finisher::finish_io
            ...
            delete this; // frees CRF_iofinish->CRF
          if (CRF->iofinished) // use-after-free of CRF
            delete this; // may not get here

A possible memory leak depends on timing and race with other thread
allocation which alters the memory address of CRF->iofinished to
false, thus skipping the last delete operation.

The check of `if (CRF->iofinished)` is unnecessary: it is always set to
true upon calling CRF->finish_io(). Thus, there is no need to have the
override function Client::CRF_iofinish::complete() as it now has the
same logic as Context::complete(). Removed.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
(cherry picked from commit 6dc77563d4dac8c7e2f41dae445acba7694fa192)

3 months 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 months agoosd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects
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 months 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>
3 months 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

3 months 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

3 months 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

3 months agodoc/radosgw: Cosmetic improvements in dynamicresharding.rst
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 months 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 months 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 months 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 months 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 months agodoc: mgr/dashboard: add OAuth2 SSO documentation
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 months 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 months 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 months 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 months agodoc/radosgw: edit cloud-transition (1 of x)
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 months agoMerge pull request #63955 from zdover23/wip-doc-2025-06-16-backport-63821-to-squid
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 months 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 months 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 months 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 months agodoc/radosgw/admin.rst: explain bucket and uid flags for bucket quota
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 months 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 months 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 months 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 months agoceph.spec.in: add man/rgw-gap-list
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 months agodoc/dev: Debuggging with gdb
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 months agodoc/dev: update link to backporter manual
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 months 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 months agoceph.spec.in: add man/rgw-gap-list
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 months 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 months 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 months agodoc/cephfs: document first-damage.py
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 months 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 months 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 months 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 months 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 months 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 months 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 months 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>
4 months agoMerge pull request #63948 from zdover23/wip-doc-2025-06-16-backport-63918-to-squid
Anthony D'Atri [Mon, 16 Jun 2025 17:05:33 +0000 (13:05 -0400)]
Merge pull request #63948 from zdover23/wip-doc-2025-06-16-backport-63918-to-squid

squid: doc/cephfs: Update deprecation notice in experimental-features.rst

4 months agoMerge pull request #63958 from zdover23/wip-doc-2025-06-16-backport-63320-to-squid
Anthony D'Atri [Mon, 16 Jun 2025 16:50:07 +0000 (12:50 -0400)]
Merge pull request #63958 from zdover23/wip-doc-2025-06-16-backport-63320-to-squid

squid: doc/rados/operations: Fix unordered list in health-checks.rst

4 months agodoc/rados/operations: Fix unordered list in health-checks.rst
Ville Ojamo [Fri, 16 May 2025 08:26:56 +0000 (15:26 +0700)]
doc/rados/operations: Fix unordered list in health-checks.rst

Fix missing empty line before an unordered list that caused it to be
rendered wrong.

Also, the sentences in each list item start with a capital case letter
so add the missing full stop at the end.

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

4 months agodoc/cephfs: Update deprecation notice in experimental-features.rst
Ville Ojamo [Fri, 13 Jun 2025 09:39:35 +0000 (16:39 +0700)]
doc/cephfs: Update deprecation notice in experimental-features.rst

The "inline data" feature was not removed on Quincy so update
deprecation notice to refer to "a future release" instead.

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

4 months agodoc/src: edit osd.yaml.in (osd_deep_scrub_interval_cv)
Zac Dover [Mon, 9 Jun 2025 12:59:08 +0000 (22:59 +1000)]
doc/src: edit osd.yaml.in (osd_deep_scrub_interval_cv)

Improve the English in the "desc" field of the
"osd_deep_scrub_interval_cv" variable, as suggested by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63490#discussion_r2124893516.

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

4 months agoMerge pull request #62628 from rhcs-dashboard/wip-70766-squid
afreen23 [Mon, 16 Jun 2025 08:25:56 +0000 (13:55 +0530)]
Merge pull request #62628 from rhcs-dashboard/wip-70766-squid

squid: mgr/dashboard: upgrading nvmeof doesn't update configuration

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #63942 from zdover23/wip-doc-2025-06-16-backport-63934-to-squid
Anthony D'Atri [Mon, 16 Jun 2025 03:28:07 +0000 (23:28 -0400)]
Merge pull request #63942 from zdover23/wip-doc-2025-06-16-backport-63934-to-squid

squid: doc/rados/configuration: Improve ceph-conf.rst

4 months agodoc/rados/configuration: Improve ceph-conf.rst
Anthony D'Atri [Sun, 15 Jun 2025 02:09:11 +0000 (22:09 -0400)]
doc/rados/configuration: Improve ceph-conf.rst

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

4 months agoMerge pull request #63287 from afreen23/wip-71292-squid
afreen23 [Sat, 14 Jun 2025 13:29:27 +0000 (18:59 +0530)]
Merge pull request #63287 from afreen23/wip-71292-squid

squid: mgr/dashboard: deprecate transifex-i18ntool and support transifex cli

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #62435 from cbodley/wip-70596-squid
Adam Emerson [Fri, 13 Jun 2025 20:57:49 +0000 (16:57 -0400)]
Merge pull request #62435 from cbodley/wip-70596-squid

squid: rgw/iam: add policy evaluation for Arn-based Conditions

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
4 months agoMerge pull request #63915 from zdover23/wip-doc-2025-06-13-backport-63005-to-squid
Anthony D'Atri [Fri, 13 Jun 2025 18:52:20 +0000 (14:52 -0400)]
Merge pull request #63915 from zdover23/wip-doc-2025-06-13-backport-63005-to-squid

squid: doc/radosgw: Promptify CLI commands and fix formatting in layout.rst

4 months agoMerge pull request #63911 from avanthakkar/fix-mypy-squid
Avan [Fri, 13 Jun 2025 11:44:03 +0000 (17:14 +0530)]
Merge pull request #63911 from avanthakkar/fix-mypy-squid

squid: python-common: fix mypy errors in earmarking.py

Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 months agoMerge pull request #63700 from zdover23/wip-doc-2025-06-04-backport-62893-to-squid
Zac Dover [Fri, 13 Jun 2025 08:09:19 +0000 (18:09 +1000)]
Merge pull request #63700 from zdover23/wip-doc-2025-06-04-backport-62893-to-squid

squid: doc/radosgw: edit sentence in metrics.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/radosgw: edit sentence in metrics.rst
Zac Dover [Mon, 21 Apr 2025 07:52:02 +0000 (17:52 +1000)]
doc/radosgw: edit sentence in metrics.rst

Change the wording of a sentence in doc/radosgw/metrics.rst so that its
articles read as though they were written by a native speaker of the
English language.

This commit is being raised as part of a diagnostic process aimed at
discovering why the ReadtheDocs check is failing on PR
https://github.com/ceph/ceph/pull/62877.

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

4 months agoMerge pull request #63774 from zdover23/wip-doc-2025-06-06-backport-63740-to-squid
Zac Dover [Fri, 13 Jun 2025 06:54:00 +0000 (16:54 +1000)]
Merge pull request #63774 from zdover23/wip-doc-2025-06-06-backport-63740-to-squid

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agosquid: python-common: fix mypy errors in earmarking.py
John Mulligan [Fri, 1 Nov 2024 15:25:35 +0000 (11:25 -0400)]
squid: python-common: fix mypy errors in earmarking.py

Fix various errors found by running mypy with python 3.12 on the
python-common subtree. Uses a Protocol as a stand-in for actual file
system integration objects.

Part of an effort to get ceph tox environments passing on Python 3.12.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit b77829c45e213d3e984789b903d50d9267be5c74)

4 months agodoc/radosgw: Promptify CLI commands and fix formatting in layout.rst
Ville Ojamo [Mon, 28 Apr 2025 09:19:22 +0000 (16:19 +0700)]
doc/radosgw: Promptify CLI commands and fix formatting in layout.rst

Move two example CLI command blocks to use a bash prompt
block with the correct privileged prompt instead of
hardcoded unprivileged prompt.

Don't use the directory "bin/" in command "bin/radosgw-admin"
especially when the next commands also don't use it.

Fix 2 instances of double-backtick missing the second
backtick that caused the rendered doc to be jumbled.

Do not use _emphasis_ that renders as underscores, instead
use RST syntax for italic for the word.

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

4 months agodoc/mgr: edit telemetry (3 of x)
Zac Dover [Thu, 5 Jun 2025 02:24:08 +0000 (12:24 +1000)]
doc/mgr: edit telemetry (3 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits the third hundred lines in doc/mgr/telemetry.rst.

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

4 months agopython-common: fix mypy errors in earmarking.py
John Mulligan [Fri, 1 Nov 2024 15:25:35 +0000 (11:25 -0400)]
python-common: fix mypy errors in earmarking.py

Fix various errors found by running mypy with python 3.12 on the
python-common subtree. Uses a Protocol as a stand-in for actual file
system integration objects.

Part of an effort to get ceph tox environments passing on Python 3.12.

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

4 months agosquid: mgr/dashboard: deprecate transifex-i18ntool and support transifex cli
Afreen Misbah [Wed, 14 May 2025 17:16:05 +0000 (22:46 +0530)]
squid: mgr/dashboard: deprecate transifex-i18ntool and support transifex cli

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

- backport of https://github.com/ceph/ceph/pull/63039 for squid

Signed-off-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #63787 from guits/wip-71535-squid
Guillaume Abrioux [Thu, 12 Jun 2025 14:20:02 +0000 (16:20 +0200)]
Merge pull request #63787 from guits/wip-71535-squid

squid: node-proxy: address `ceph orch hardware status` cmd

4 months agoMerge pull request #63652 from zdover23/wip-doc-2025-06-03-backport-63634-to-squid
Zac Dover [Thu, 12 Jun 2025 13:01:19 +0000 (23:01 +1000)]
Merge pull request #63652 from zdover23/wip-doc-2025-06-03-backport-63634-to-squid

squid: doc/start: edit documenting-ceph.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #63905 from zdover23/wip-doc-2025-06-12-backport-63875-to-squid
Zac Dover [Thu, 12 Jun 2025 13:00:10 +0000 (23:00 +1000)]
Merge pull request #63905 from zdover23/wip-doc-2025-06-12-backport-63875-to-squid

squid: doc/mgr: edit telemetry.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/mgr: edit telemetry.rst
Zac Dover [Wed, 11 Jun 2025 12:19:07 +0000 (22:19 +1000)]
doc/mgr: edit telemetry.rst

Follow up on the suggestion made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63826#discussion_r2136820769.

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

4 months agomgr/dashboard: upgrading nvmeof doesn't update configuration
Nizamudeen A [Mon, 24 Mar 2025 11:39:04 +0000 (17:09 +0530)]
mgr/dashboard: upgrading nvmeof doesn't update configuration

Happens from 19.2.0 to any of the latest upgrade

During upgrade I get
```
Failed to set Dashboard config for nvmeof: dashboard nvmeof-gateway-add failed: JSON array/object not allowed {"prefix": "dashboard nvmeof-gateway-add", "name": "nvmeof.rbd", "group": null, "daemon_name": "nvmeof.rbd.ceph-node-01.irpssg"} retval: -22
```

which is fixed by handling the group_name when its not there in spec.

And the other error was
```
Failed to set Dashboard config for nvmeof: dashboard nvmeof-gateway-add failed: Traceback (most recent call last): File "/usr/share/ceph/mgr/mgr_module.py", line 1864, in _handle_command return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf) File "/usr/share/ceph/mgr/mgr_module.py", line 499, in call return self.func(mgr, **kwargs) File "/usr/share/ceph/mgr/mgr_module.py", line 535, in check return func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/services/nvmeof_cli.py", line 28, in add_nvmeof_gateway NvmeofGatewaysConfig.add_gateway(name, service_url, group, daemon_name) File "/usr/share/ceph/mgr/dashboard/services/nvmeof_conf.py", line 61, in add_gateway gateway['daemon_name'] = daemon_name TypeError: 'str' object does not support item assignment retval: -22
```

which is fixed by properly updating the config to the newer format that
is available in newer version

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

 Conflicts:
src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py
 -  kept test file and only added the relavant test files

4 months agoMerge pull request #63849 from zdover23/wip-doc-2025-06-10-backport-63836-to-squid
Zac Dover [Thu, 12 Jun 2025 05:14:20 +0000 (15:14 +1000)]
Merge pull request #63849 from zdover23/wip-doc-2025-06-10-backport-63836-to-squid

squid: doc/rados/operations: Address suggestions for stretch-mode.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #63777 from zdover23/wip-doc-2025-06-06-backport-63741-to-squid
Zac Dover [Thu, 12 Jun 2025 04:40:51 +0000 (14:40 +1000)]
Merge pull request #63777 from zdover23/wip-doc-2025-06-06-backport-63741-to-squid

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #63771 from zdover23/wip-doc-2025-06-06-backport-63739-to-squid
Zac Dover [Thu, 12 Jun 2025 03:26:23 +0000 (13:26 +1000)]
Merge pull request #63771 from zdover23/wip-doc-2025-06-06-backport-63739-to-squid

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #63861 from zdover23/wip-doc-2025-06-11-backport-63842-to-squid
Zac Dover [Thu, 12 Jun 2025 03:25:39 +0000 (13:25 +1000)]
Merge pull request #63861 from zdover23/wip-doc-2025-06-11-backport-63842-to-squid

squid: doc/rados: enhance "pools.rst"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #63830 from zdover23/wip-doc-2025-06-10-backport-63745-to-squid
Zac Dover [Thu, 12 Jun 2025 03:24:57 +0000 (13:24 +1000)]
Merge pull request #63830 from zdover23/wip-doc-2025-06-10-backport-63745-to-squid

squid: doc/rados/ops: edit cache-tiering.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/mgr: edit telemetry (4 of x)
Zac Dover [Thu, 5 Jun 2025 03:05:54 +0000 (13:05 +1000)]
doc/mgr: edit telemetry (4 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits the final part of doc/mgr/telemetry.rst.

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

4 months agoMerge pull request #63864 from zdover23/wip-doc-2025-06-11-backport-63826-to-squid
Anthony D'Atri [Wed, 11 Jun 2025 16:32:23 +0000 (12:32 -0400)]
Merge pull request #63864 from zdover23/wip-doc-2025-06-11-backport-63826-to-squid

squid: doc/mgr: edit telemetry.rst

4 months agoMerge pull request #63867 from zdover23/wip-doc-2025-06-11-backport-63827-to-squid
Anthony D'Atri [Wed, 11 Jun 2025 16:31:40 +0000 (12:31 -0400)]
Merge pull request #63867 from zdover23/wip-doc-2025-06-11-backport-63827-to-squid

squid: doc/mgr: edit telemetry.rst (lines 300-400)

4 months agoMerge pull request #63828 from zdover23/wip-doc-2025-06-10-rados-ops-user-management...
Zac Dover [Wed, 11 Jun 2025 00:28:40 +0000 (10:28 +1000)]
Merge pull request #63828 from zdover23/wip-doc-2025-06-10-rados-ops-user-management-58235-followup-squid-only

doc/rados: edit ops/user-management.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/mgr: edit telemetry.rst (lines 300-400)
Zac Dover [Tue, 10 Jun 2025 02:54:18 +0000 (12:54 +1000)]
doc/mgr: edit telemetry.rst (lines 300-400)

Edit doc/mgr/telemetry.rst (lines 300-400).

Follow up on the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63741 (except for the one about
including Lovecraftian lore in the dummy user data in this file).

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

4 months agodoc/mgr: edit telemetry.rst
Zac Dover [Tue, 10 Jun 2025 02:50:13 +0000 (12:50 +1000)]
doc/mgr: edit telemetry.rst

Edit doc/mgr/telemetry.rst.

Follow up on the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63740.

Make several changes that were not earmarked in that PR, but that
nonetheless improve the quality of the English in telemetry.rst.

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

4 months agodoc/rados: enhance "pools.rst"
Zac Dover [Tue, 10 Jun 2025 10:58:22 +0000 (20:58 +1000)]
doc/rados: enhance "pools.rst"

Add a link to the instructions for modifying a user's caps for a given
pool. Add this link where it makes sense to add it. Add this link where
the reader would naturally want to have the link.

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

4 months agoMerge pull request #63846 from zdover23/wip-doc-2025-06-10-backport-63841-to-squid
Ilya Dryomov [Tue, 10 Jun 2025 13:56:25 +0000 (15:56 +0200)]
Merge pull request #63846 from zdover23/wip-doc-2025-06-10-backport-63841-to-squid

squid: doc/rbd: add mirroring troubleshooting info

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
4 months agodoc/rados/operations: Address suggestions for stretch-mode.rst
Anthony D'Atri [Mon, 9 Jun 2025 15:02:04 +0000 (11:02 -0400)]
doc/rados/operations: Address suggestions for stretch-mode.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
fixup

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

4 months agodoc/rbd: add mirroring troubleshooting info
Zac Dover [Tue, 10 Jun 2025 10:38:54 +0000 (20:38 +1000)]
doc/rbd: add mirroring troubleshooting info

Add a note to doc/rbd/rbd-mirroring.rst that directs the reader to set
both "site-a" and "site-b" to have the same pool names in the event that
rbd throws the error message "failed to import peer bootstrap token".

This information was reported to the Ceph upstream by Petr Tlapa in June
of 2025, and credit for its development goes to Petr.

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

4 months agodoc/rados/ops: edit cache-tiering.rst
Zac Dover [Thu, 5 Jun 2025 03:28:13 +0000 (13:28 +1000)]
doc/rados/ops: edit cache-tiering.rst

Remove part of a sentence that might have led readers to think that it
is a good idea to deploy cache tiering on releases prior to Reef.

This incorporates Anthony D'Atri's suggestion from here: https://github.com/ceph/ceph/pull/63614#discussion_r2116020937

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

4 months agoMerge pull request #62909 from zdover23/wip-doc-2025-04-22-backport-62877-to-squid
Zac Dover [Tue, 10 Jun 2025 06:03:48 +0000 (16:03 +1000)]
Merge pull request #62909 from zdover23/wip-doc-2025-04-22-backport-62877-to-squid

squid: doc/radosgw: Improve and more consistent formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #62502 from zdover23/wip-doc-2025-03-26-backport-62459-to-squid
Zac Dover [Tue, 10 Jun 2025 06:00:00 +0000 (16:00 +1000)]
Merge pull request #62502 from zdover23/wip-doc-2025-03-26-backport-62459-to-squid

squid: src/common: add guidance for deep-scrubbing ratio warning

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/rados: edit ops/user-management.rst
Zac Dover [Tue, 10 Jun 2025 03:04:13 +0000 (13:04 +1000)]
doc/rados: edit ops/user-management.rst

Edit an sentence in the imperative mood so that it matches the general
form of imperative sentences immediately preceding commands that contain
replaceable portions.

This commit targets only the Squid release branch.

Follows up on https://github.com/ceph/ceph/pull/58235/.

Tracker: https://tracker.ceph.com/issues/66617

Signed-off-by: Zac Dover <zac.dover@proton.me>
4 months agoMerge pull request #62852 from cbodley/wip-70957-squid
Yuri Weinstein [Mon, 9 Jun 2025 14:47:57 +0000 (07:47 -0700)]
Merge pull request #62852 from cbodley/wip-70957-squid

squid: common: CephContext::_refresh_perf_values() checks for null _mempool_perf

Reviewed-by: Laura Flores <lflores@redhat.com>
4 months agoMerge pull request #62534 from yuvalif/wip-70687-squid
Yuri Weinstein [Mon, 9 Jun 2025 14:46:56 +0000 (07:46 -0700)]
Merge pull request #62534 from yuvalif/wip-70687-squid

squid: RGW|Bucket Notification: fix for v2 topics rgw-admin list operation

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #62400 from sajibreadd/wip-67700-squid
Yuri Weinstein [Mon, 9 Jun 2025 14:46:01 +0000 (07:46 -0700)]
Merge pull request #62400 from sajibreadd/wip-67700-squid

squid: OSD: Split osd_recovery_sleep into settings applied to degraded or clean PGs

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 months agoMerge pull request #63815 from zdover23/wip-doc-2025-06-09-backport-62714-to-squid
Anthony D'Atri [Mon, 9 Jun 2025 14:02:32 +0000 (10:02 -0400)]
Merge pull request #63815 from zdover23/wip-doc-2025-06-09-backport-62714-to-squid

squid: doc/rados/operations: Improve stretch-mode.rst

4 months agodoc/rados/operations: Additional improvements to placement-groups.rst
Anthony D'Atri [Mon, 2 Jun 2025 18:35:23 +0000 (14:35 -0400)]
doc/rados/operations: Additional improvements to placement-groups.rst

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

4 months agodoc/rados/operations: Improve stretch-mode.rst
Anthony D'Atri [Mon, 7 Apr 2025 18:37:53 +0000 (14:37 -0400)]
doc/rados/operations: Improve stretch-mode.rst

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