]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agomirror-notification mirror-notification
sajibreadd [Wed, 14 May 2025 07:12:00 +0000 (09:12 +0200)]
mirror-notification

5 months ago19.2.1 61667/head v19.2.1
Ceph Release Team [Fri, 31 Jan 2025 23:14:13 +0000 (23:14 +0000)]
19.2.1

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
5 months agocontainer/build.sh: fix up org vs. repo naming
Dan Mick [Thu, 23 Jan 2025 02:28:15 +0000 (18:28 -0800)]
container/build.sh: fix up org vs. repo naming

release builds were using the wrong container repo name because of
confused variable naming and inadequate separation.  Keep the hostname,
org name, and repo name in separate variables, and assemble the full
path with a version when tagging is done.

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

5 months agocontainer/build.sh: don't require repo creds on NO_PUSH
Dan Mick [Fri, 24 Jan 2025 19:00:28 +0000 (11:00 -0800)]
container/build.sh: don't require repo creds on NO_PUSH

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

5 months agocontainer/Containerfile: replace CEPH_VERSION var for backward compat
Dan Mick [Fri, 3 Jan 2025 03:15:54 +0000 (19:15 -0800)]
container/Containerfile: replace CEPH_VERSION var for backward compat

CEPH_VERSION used to be present in the env to hold the ref.  Other projects
relied on this.  Make life easier for them.

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

6 months agorgw: Don't crash on exceptions from pool listing
Adam Emerson [Thu, 9 Jan 2025 16:46:32 +0000 (11:46 -0500)]
rgw: Don't crash on exceptions from pool listing

Fixes: https://tracker.ceph.com/issues/69303
Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit 4318b188740634ead65a986680f9186541c9d1b0)

Fixes: https://tracker.ceph.com/issues/69476
Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit 84d7d71b43fe5d3c90ec7078ebecd5a1fcb58fc4)

6 months agoqa/rgw: bump keystone/barbican from 2023.1 to 2024.1
Casey Bodley [Thu, 5 Dec 2024 19:57:14 +0000 (14:57 -0500)]
qa/rgw: bump keystone/barbican from 2023.1 to 2024.1

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3162581d2dec6d7006081ef052cfbc0f9bc9d615)
(cherry picked from commit 305e0e5992d5584bfe73992393cd4c15cf64affd)

6 months agoMerge pull request #61172 from idryomov/wip-69324-squid
Ilya Dryomov [Mon, 23 Dec 2024 22:05:46 +0000 (23:05 +0100)]
Merge pull request #61172 from idryomov/wip-69324-squid

squid: rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agoMerge pull request #61168 from idryomov/wip-68998-squid
Ilya Dryomov [Mon, 23 Dec 2024 22:04:58 +0000 (23:04 +0100)]
Merge pull request #61168 from idryomov/wip-68998-squid

squid: librbd: avoid data corruption on flatten when object map is inconsistent

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agorbd: drop --pool option from "rbd group image {add,rm}" 61172/head
Ilya Dryomov [Fri, 20 Dec 2024 10:16:58 +0000 (11:16 +0100)]
rbd: drop --pool option from "rbd group image {add,rm}"

It stopped working with removal of get_special_pool_group_names() in
commit 3e8624f157a1 ("rbd: add support for namespaces") over six years
ago.  Given how much time has passed, stop accepting this option.

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

6 months agorbd: handle --{group,image}-namespace in "rbd group image {add,rm}"
Ilya Dryomov [Tue, 17 Dec 2024 15:06:17 +0000 (16:06 +0100)]
rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

Currently only passing the namespace as part of the group or image spec
works.  If --group-namespace or --image-namespace options are used, the
namespace isn't picked up.

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

Conflicts:
src/tools/rbd/action/Group.cc [ "rbd group info" and "rbd group
  snap info" commands not in squid ]

6 months agotest/librbd: add TestInternal.FlattenInconsistentObjectMap 61168/head
Ilya Dryomov [Tue, 17 Dec 2024 08:57:44 +0000 (09:57 +0100)]
test/librbd: add TestInternal.FlattenInconsistentObjectMap

Inject an object map with all possible inconsistencies before
flattening to ensure that something similar to commit 40af4f87b64f
("librbd: flatten operation should use object map") doesn't reappear
in a different form.

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

6 months agolibrbd: avoid data corruption on flatten when object map is inconsistent
Ilya Dryomov [Wed, 27 Nov 2024 10:11:16 +0000 (11:11 +0100)]
librbd: avoid data corruption on flatten when object map is inconsistent

By making flatten skip copyup in case the object is marked
OBJECT_EXISTS or OBJECT_EXISTS_CLEAN, commit 40af4f87b64f ("librbd:
flatten operation should use object map") introduced a critical
regression.  If the object map becomes inconsistent (e.g. because
flatten gets interrupted by killing "rbd flatten" process or a client
running on the clone crashes after updating the object map but before
writing to the image), the following attempt to flatten would corrupt
the clone if the copyup is actually still needed.

By design, it's impossible to tell whether the object is "known to
exist" based on the object map -- only telling whether the object is
"known to NOT exist" is possible (i.e. only OBJECT_NONEXISTENT state
is reliable).  Negating OBJECT_NONEXISTENT tells that the object "may
exist", not that the object is "known to exist".  This is reflected in
the name of object_may_exist() helper that was introduced together with
the object map implementation.  Something like object_may_not_exist()
simply can't be constructed given the rest of librbd.

This effectively reverts commits 4c86bccf07b8 ("librbd: add
object_may_not_exist helper") and 40af4f87b64f ("librbd: flatten
operation should use object map").

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

6 months agoMerge pull request #61070 from ivancich/wip-69209-squid
Casey Bodley [Thu, 19 Dec 2024 18:04:21 +0000 (13:04 -0500)]
Merge pull request #61070 from ivancich/wip-69209-squid

squid: rgw: optimize bucket listing to skip past regions of namespaced entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61138 from cbodley/wip-69308-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:44:03 +0000 (08:44 -0800)]
Merge pull request #61138 from cbodley/wip-69308-squid

squid: rgw/lc: Fix lifecycle not working while bucket versioning is suspended

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61120 from ivancich/wip-69269-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:43:26 +0000 (08:43 -0800)]
Merge pull request #61120 from ivancich/wip-69269-squid

squid: qa/rgw: force Hadoop to run under Java 1.8

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61119 from yuvalif/wip-yuval-fix-notif-test-regression
Yuri Weinstein [Thu, 19 Dec 2024 16:42:58 +0000 (08:42 -0800)]
Merge pull request #61119 from yuvalif/wip-yuval-fix-notif-test-regression

squid: test/rgw/notifications: fix test regression

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 months agoMerge pull request #61101 from ivancich/wip-69256-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:41:54 +0000 (08:41 -0800)]
Merge pull request #61101 from ivancich/wip-69256-squid

squid: qa/rgw: pull Apache artifacts from mirror instead of archive.apache.org

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61053 from smanjara/wip-69210-squid
Yuri Weinstein [Thu, 19 Dec 2024 16:40:41 +0000 (08:40 -0800)]
Merge pull request #61053 from smanjara/wip-69210-squid

squid: qa/rgw: fix s3 java tests by forcing gradle to run on Java 8

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #60467 from zdover23/wip-doc-2024-10-24-backport-60465-to-squid
Zac Dover [Wed, 18 Dec 2024 21:44:56 +0000 (07:44 +1000)]
Merge pull request #60467 from zdover23/wip-doc-2024-10-24-backport-60465-to-squid

squid: doc/cephfs: edit "Disabling Volumes Plugin"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agorgw/lc: Fix lifecycle not working while bucket versioning is suspended 61138/head
Trang Tran [Thu, 24 Oct 2024 10:49:20 +0000 (17:49 +0700)]
rgw/lc: Fix lifecycle not working while bucket versioning is suspended

Signed-off-by: Trang Tran <tttrangptit@gmail.com>
(cherry picked from commit e1f3344216011a61b65013aec26220f180f4cfaf)

6 months agoMerge pull request #61095 from idryomov/wip-69178-squid
Ilya Dryomov [Wed, 18 Dec 2024 08:00:10 +0000 (09:00 +0100)]
Merge pull request #61095 from idryomov/wip-69178-squid

squid: librbd/migration/HttpClient: avoid reusing ssl_stream after shut down

Reviewed-by: Ramana Raja <rraja@redhat.com>
7 months agoMerge pull request #58144 from ljflores/wip-66463-squid
Laura Flores [Tue, 17 Dec 2024 18:35:24 +0000 (12:35 -0600)]
Merge pull request #58144 from ljflores/wip-66463-squid

squid: test/neorados: remove depreciated RemoteReads cls test

7 months agoqa/rgw: force Hadoop to run under Java 1.8 61120/head
J. Eric Ivancich [Mon, 16 Dec 2024 18:21:35 +0000 (13:21 -0500)]
qa/rgw: force Hadoop to run under Java 1.8

The Hadoop test installs Java 1.8 but then just runs the default
version. This makes sure it will run the version it installed.

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

7 months agosquid: test/rgw/notifications: fix test regression 61119/head
Yuval Lifshitz [Tue, 17 Dec 2024 17:52:23 +0000 (17:52 +0000)]
squid: test/rgw/notifications: fix test regression

from commit: 05e2ade13292e7d924e6385ea234f58c13eb2d51

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
7 months agoMerge pull request #60604 from rhcs-dashboard/wip-68811-squid
afreen23 [Tue, 17 Dec 2024 15:20:59 +0000 (20:50 +0530)]
Merge pull request #60604 from rhcs-dashboard/wip-68811-squid

squid: mgr/dashboard: rm nvmeof conf based on its daemon name

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agoMerge pull request #61109 from NitzanMordhai/wip-68972-squid
Matan Breizman [Tue, 17 Dec 2024 13:41:53 +0000 (15:41 +0200)]
Merge pull request #61109 from NitzanMordhai/wip-68972-squid

squid: qa/suites/crimson-rados/perf: add ssh keys

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 months agoMerge pull request #61096 from afreen23/wip-69201-squid
afreen23 [Tue, 17 Dec 2024 08:05:51 +0000 (13:35 +0530)]
Merge pull request #61096 from afreen23/wip-69201-squid

squid: mgr/dashboard: handle infinite values for pools

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 months agoqa/suites/crimson-rados/perf: add ssh keys 61109/head
Nitzan Mordechai [Mon, 7 Oct 2024 10:21:58 +0000 (10:21 +0000)]
qa/suites/crimson-rados/perf: add ssh keys

cbt use ssh connection by defualt, without ssh_keys the task
won't generate public key and the cbt task will fail

Fixes: https://tracker.ceph.com/issues/68421
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 471ebae9240192a4e143c00894e1736dd1921308)

7 months agoqa/rgw: pull Apache artifacts from mirror instead of archive.apache.org 61101/head
J. Eric Ivancich [Fri, 13 Dec 2024 20:47:30 +0000 (15:47 -0500)]
qa/rgw: pull Apache artifacts from mirror instead of archive.apache.org

Currently maven and kafka are pulled from archive.apache.org. This
uses Apache's "closer" calculator to find a mirror to use instead.

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

7 months agomgr/dashboard: handle infinite values for pools 61096/head
Afreen [Wed, 6 Mar 2024 20:22:16 +0000 (01:52 +0530)]
mgr/dashboard: handle infinite values for pools

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

Issue:
======
Json parsing is failing because of Infinity values present in pools
meteadata. "read_balance": {"score_acting": Infinity, "score_stable":
Infinity,}
Due to this entire pool list is not rendered.

Fix:
====
Added a handler for checking "inf" values and replacing them with a
string "Infinity" so that json parsing does not fail on frontend.

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 82d100ad264c35d79262c1983a8005d8d4791855)

7 months agolibrbd/migration/HttpClient: socket isn't shut down on some state transitions 61095/head
Ilya Dryomov [Thu, 12 Dec 2024 20:32:39 +0000 (21:32 +0100)]
librbd/migration/HttpClient: socket isn't shut down on some state transitions

If shut_down() gets delayed until a) the state transition from
STATE_RESET_CONNECTING completes and the reconnect is unsuccessful or
b) the state transition from STATE_RESET_DISCONNECTING completes (i.e.
next_state is STATE_UNINITIALIZED or STATE_RESET_CONNECTING), the
socket needs to be shut down before m_on_shutdown is invoked.  The line
of thought here is the same as for the corresponding state transitions
that don't involve STATE_SHUTTING_DOWN.

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

7 months agolibrbd/migration/HttpClient: avoid hitting an assert in advance_state()
Ilya Dryomov [Wed, 11 Dec 2024 15:25:13 +0000 (16:25 +0100)]
librbd/migration/HttpClient: avoid hitting an assert in advance_state()

If the shutdown gets delayed until the state transition from
STATE_RESET_CONNECTING completes and the reconnect is successful
(i.e. next_state is STATE_READY), we eventually hit "unexpected
state transition" assert in advance_state().  The reason is that
advance_state() would update m_state and call disconnect() under
STATE_READY instead of STATE_SHUTTING_DOWN.  After the disconnect
maybe_finalize_shutdown() would enter advance_state() again with
STATE_SHUTDOWN as next_state, but the transition to that from
STATE_READY is invalid.

Plug this by not transitioning to next_state if current_state is
STATE_SHUTTING_DOWN.

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

7 months agolibrbd/migration/HttpClient: ignore stream_truncated when shutting down SSL
Ilya Dryomov [Mon, 9 Dec 2024 10:19:57 +0000 (11:19 +0100)]
librbd/migration/HttpClient: ignore stream_truncated when shutting down SSL

Propagate ec to handle_disconnect() and use it to suppress
stream_truncated errors.  Here is a quote from Beast documentation [1]:

  // Gracefully shutdown the SSL/TLS connection
  error_code ec;
  stream.shutdown(ec);
  // Non-compliant servers don't participate in the SSL/TLS shutdown process and
  // close the underlying transport layer. This causes the shutdown operation to
  // complete with a `stream_truncated` error. One might decide not to log such
  // errors as there are many non-compliant servers in the wild.
  if(ec != net::ssl::error::stream_truncated)
      log(ec);

... and a commit that made ignoring stream_truncated safe [2]:

  // ssl::error::stream_truncated, also known as an SSL "short read",
  // indicates the peer closed the connection without performing the
  // required closing handshake
  // [...]
  // When a short read would cut off the end of an HTTP message,
  // Beast returns the error beast::http::error::partial_message.
  // Therefore, if we see a short read here, it has occurred
  // after the message has been completed, so it is safe to ignore it.

[1] https://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast/using_io/ssl_tls_shutdown.html
[2] https://github.com/boostorg/beast/commit/094f5ec5cb3be1c3ce2d985564f1f39e9bed74ff

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

7 months agolibrbd/migration/HttpClient: propagate ec to handle_handshake()
Ilya Dryomov [Sat, 7 Dec 2024 11:37:29 +0000 (12:37 +0100)]
librbd/migration/HttpClient: propagate ec to handle_handshake()

Get rid of get_callback_adapter() which only obfuscates the error:

  handle_handshake: failed to complete SSL handshake: (337047686) Unknown error 337047686

vs

  handle_handshake: failed to complete SSL handshake: certificate verify failed (SSL routines, tls_process_server_certificate)

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

7 months agolibrbd/migration/HttpClient: drop SslHttpSession::m_ssl_enabled
Ilya Dryomov [Sat, 7 Dec 2024 12:52:41 +0000 (13:52 +0100)]
librbd/migration/HttpClient: drop SslHttpSession::m_ssl_enabled

The remaining callers of disconnect() call it only when m_ssl_enabled
is set to true (i.e. after the handshake is completed):

- shut_down(), in STATE_READY
- maybe_finalize_reset(), very shortly after transitioning out of
  STATE_READY as part of performing a reset
- advance_state(), on a transition to STATE_READY that is intercepted
  by a previously delayed shut down

m_ssl_enabled isn't used outside of disconnect() and on top of that
is never cleared.

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

7 months agolibrbd/migration/HttpClient: don't call disconnect() in handle_handshake()
Ilya Dryomov [Sat, 7 Dec 2024 11:22:52 +0000 (12:22 +0100)]
librbd/migration/HttpClient: don't call disconnect() in handle_handshake()

With m_ssl_enabled set to false, disconnect() is a no-op.  Since
m_ssl_enabled is flipped to true only when the handshake succeeds,
calling disconnect() on "failed to complete handshake" error is bogus
(as would be attempting to shut down SSL there).

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

7 months agolibrbd/migration/HttpClient: avoid reusing ssl_stream after shut down
Ilya Dryomov [Fri, 6 Dec 2024 15:51:51 +0000 (16:51 +0100)]
librbd/migration/HttpClient: avoid reusing ssl_stream after shut down

ssl_stream objects can't be reused after shut down: despite
a successful reconnect and handshake, any attempt to read or write
fails with "end of stream" (beast.http:1) or "protocol is shutdown"
(asio.ssl:337690831) error respectively.  This doesn't appear to be
documented, but Beast and ASIO authors both mention that the stream
must be destroyed and recreated [1][2].

This was missed because the only integration test with a big enough
image used http instead of https.

[1] https://github.com/boostorg/beast/issues/821#issuecomment-338354949
[2] https://github.com/chriskohlhoff/asio/issues/804#issuecomment-872746894

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

7 months agolibrbd/migration/HttpClient: don't shut down socket in resolve_host()
Ilya Dryomov [Fri, 6 Dec 2024 13:42:55 +0000 (14:42 +0100)]
librbd/migration/HttpClient: don't shut down socket in resolve_host()

resolve_host() is called from init() and issue() when transitioning out
of STATE_UNINITIALIZED and from advance_state() right after the call to
shutdown_socket().  In all three cases the socket should get closed, so
drop the redundant call and place asserts in connect() implementations
instead.

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

7 months agolibrbd/migration/HttpClient: fix some error messages in handle_receive()
Ilya Dryomov [Tue, 3 Dec 2024 15:20:16 +0000 (16:20 +0100)]
librbd/migration/HttpClient: fix some error messages in handle_receive()

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

7 months agolibrbd/migration/HttpClient: log ec details in handle_{issue,receive}()
Ilya Dryomov [Tue, 3 Dec 2024 15:16:39 +0000 (16:16 +0100)]
librbd/migration/HttpClient: log ec details in handle_{issue,receive}()

Logging just the (negated) value makes tracking down the error category
and message unnecessarily hard.

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

7 months agoMerge pull request #61080 from zdover23/wip-doc-2024-12-14-backport-61077-to-squid
Anthony D'Atri [Fri, 13 Dec 2024 20:08:29 +0000 (15:08 -0500)]
Merge pull request #61080 from zdover23/wip-doc-2024-12-14-backport-61077-to-squid

squid: doc/cephfs: edit 3rd 3rd of mount-using-kernel-driver

7 months agodoc/cephfs: edit 3rd 3rd of mount-using-kernel-driver 61080/head
Zac Dover [Fri, 13 Dec 2024 06:12:49 +0000 (16:12 +1000)]
doc/cephfs: edit 3rd 3rd of mount-using-kernel-driver

Edit the third third of doc/cephfs/mount-using-kernel-driver.rst in
preparation for correcting mount commands that may not work in Reef as
described in this documentation.

This commit edits only English-language strings in
doc/cephfs/mount-using-kernel-driver.rst. No technical content (that is,
no commands and no settings) have been altered in this commit.

Technical alterations to this file will be made only after the English
is unambiguous.

This PR follows the following two PRs:
https://github.com/ceph/ceph/pull/61048 - 1st 3rd
https://github.com/ceph/ceph/pull/61049 - 2nd 3rd

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 9c7580a2935511d009c9e66885e76635aa504ee8)

7 months agorgw: optimize bucket listing to skip past regions of namespaced entries 61070/head
J. Eric Ivancich [Fri, 22 Nov 2024 17:40:24 +0000 (12:40 -0500)]
rgw: optimize bucket listing to skip past regions of namespaced entries

When listing a bucket and the parameters are such that we're not
listing namespaced entries, this commit adds an optimization to
advance the marker such that we skip past a whole region of namespaced
entries rather than evaluating each entry one-by-one.

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

7 months agoMerge pull request #61026 from adk3798/wip-69184-squid
Yuri Weinstein [Thu, 12 Dec 2024 16:59:31 +0000 (08:59 -0800)]
Merge pull request #61026 from adk3798/wip-69184-squid

squid: qa/tasks/nvme_loop: update task to work with new nvme list format

Reviewed-by: Laura Flores <lflores@redhat.com>
7 months agoMerge pull request #59624 from NitzanMordhai/wip-67138-squid
Yuri Weinstein [Thu, 12 Dec 2024 16:58:40 +0000 (08:58 -0800)]
Merge pull request #59624 from NitzanMordhai/wip-67138-squid

squid: suites/upgrade/quincy-x: update the ignore list

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
7 months agoMerge pull request #61063 from zdover23/wip-doc-2024-12-12-backport-60955-to-squid
Anthony D'Atri [Thu, 12 Dec 2024 13:45:12 +0000 (08:45 -0500)]
Merge pull request #61063 from zdover23/wip-doc-2024-12-12-backport-60955-to-squid

squid: doc/dev: instruct devs to backport

7 months agodoc/dev: instruct devs to backport 61063/head
Zac Dover [Wed, 4 Dec 2024 20:43:12 +0000 (21:43 +0100)]
doc/dev: instruct devs to backport

Add a note to doc/dec/development-workflow.rst that instructs developers
to do their own backports. This change was requested by Laura Flores on
04 Dec 2024.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5d584b4badb606d372c266424f59076408f62f40)

7 months agoqa/rgw: force s3 java tests to run gradle on Java 8 61053/head
J. Eric Ivancich [Mon, 9 Dec 2024 22:23:59 +0000 (17:23 -0500)]
qa/rgw: force s3 java tests to run gradle on Java 8

Previously gradle would run using the default Java version. This looks
for Java 8 using `alternatives` and sets JAVA_HOME to the
corresponding directory prior to launching gradle.

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

7 months agoqa/tasks/nvme_loop: update task to work with new nvme list format 61026/head
Adam King [Tue, 3 Dec 2024 20:22:22 +0000 (15:22 -0500)]
qa/tasks/nvme_loop: update task to work with new nvme list format

Specifically on some centos 9 tests, we've seen that a newer
version of some nvme related package is causing this task to fail
with "KeyError: 'DevicePath'" due to the format of the output
of the nvme list command changing. This patch adds handling for
the new format we've seen while also still supporting the old
format (necessary for the tests running on ubuntu).

Fixes: https://tracker.ceph.com/issues/69067
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit ce487613d08b0c0d73172ce6ababcb75855f6ae6)

7 months agoMerge pull request #59896 from avanthakkar/wip-68166-squid
Adam King [Mon, 9 Dec 2024 15:34:42 +0000 (10:34 -0500)]
Merge pull request #59896 from avanthakkar/wip-68166-squid

squid: mgr/nfs: generate user_id & access_key for apply_export(CephFS)

Reviewed-by: Adam King <adking@redhat.com>
7 months agodoc: nit fixes for nfs doc 59896/head
Avan Thakkar [Tue, 3 Sep 2024 13:15:47 +0000 (18:45 +0530)]
doc: nit fixes for nfs doc

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes some doc lint and also fixed qa tests for having both 3 & 4 protocols
by default in expot config.

(cherry picked from commit b895e596a88a9f4b0fe07dce082b369f4f04b8d2)

7 months agomgr/nfs: add additional tests for cmount_path & user_id deletion
Avan Thakkar [Thu, 29 Aug 2024 10:39:14 +0000 (16:09 +0530)]
mgr/nfs: add additional tests for cmount_path & user_id deletion

Add unit tests for unique user ID generation, deletion and `cmount_path` handling in FSAL exports

- Ensure unique user ID generation for different FSAL blocks when creating exports.
- Test deletion behavior when multiple exports share the same user ID and one has a unique ID.
- Test default behavior when no `cmount_path` is provided (defaults to `/`).
- Add tests to validate error handling for invalid `cmount_path` values.

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

7 months agomgr/nfs: ensure user_id for create_export_from_dict
Avan Thakkar [Wed, 28 Aug 2024 14:30:10 +0000 (20:00 +0530)]
mgr/nfs: ensure user_id for create_export_from_dict

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

7 months agodoc: Update pendingreleasenotes for CephFS NFS exports
Avan Thakkar [Tue, 27 Aug 2024 07:43:11 +0000 (13:13 +0530)]
doc: Update pendingreleasenotes for CephFS NFS exports

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

7 months agodoc: cmount_path documentation for CEPHFS nfs exports
Avan Thakkar [Tue, 27 Aug 2024 07:42:06 +0000 (13:12 +0530)]
doc: cmount_path documentation for CEPHFS nfs exports

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

7 months agomgr/nfs: adopt API & unit tests for nfs exports
Avan Thakkar [Tue, 27 Aug 2024 06:33:17 +0000 (12:03 +0530)]
mgr/nfs: adopt API & unit tests for nfs exports

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 1abb4113ca121ff4ed152c868eabd9bba7812a9e)

7 months agomgr/nfs: add cmount_path
avanthakkar [Tue, 10 Oct 2023 17:06:28 +0000 (22:36 +0530)]
mgr/nfs: add cmount_path

Implementing necessary changes for the NFS module to align with the new export block format introduced in nfs-ganesha-V5.6.
The purpose of these changes is to enhance memory efficiency for exports. To achieve this goal, we have introduced a new field
called cmount_path under the FSAL block of export. Initially, this is applicable only to CephFS-based exports.

Furthermore, the newly created CephFS exports will now share the same user_id and secret_access_key, which are determined based
on the NFS cluster name and filesystem name. This results in each export on the same filesystem using a shared connection,
thereby optimizing resource usage.

Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: fix a unit test failure

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: enable user management on a per-fs basis

Add back the ability to create a user for a cephfs export but do
it only for a cluster+filesystem combination. According to the
ganesha devs this ought to continue sharing a cephfs client connection
across multiple exports.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
mgr/nfs: add more unit tests with cmount_path

Add more unit tests for CEPHFS based NFS exports with
newly added cmount_path field under FSAL.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: fix rgw nfs export when no existing exports

Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: generate user_id & access_key for apply_export(CEPHFS)

Generate user_id & secret_access_key for CephFS based exports
for apply export. Also ensure the export FSAL block has
`cmount_path`.

Fixes: https://tracker.ceph.com/issues/63377
Signed-off-by: avanthakkar <avanjohn@gmail.com>
mgr/nfs: simplify validation, update f-strings, add generate_user_id function

- Improved validation to check cmount_path as a superset of path
- Replaced format method with f-strings
- Added generate_user_id function using SHA-1 hash
- Enhanced error handling and integrated new user_id generation

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 9c70adf8080c053950e89b220195e3aa47991f86)

7 months agoMerge pull request #60971 from zdover23/wip-doc-2024-12-06-backport-60929-to-squid
Anthony D'Atri [Fri, 6 Dec 2024 05:54:21 +0000 (06:54 +0100)]
Merge pull request #60971 from zdover23/wip-doc-2024-12-06-backport-60929-to-squid

squid: doc/dev/release-process.rst: New container build/release process

7 months agodoc/dev/release-process.rst: New container build/release process 60971/head
Dan Mick [Wed, 4 Dec 2024 01:15:41 +0000 (17:15 -0800)]
doc/dev/release-process.rst: New container build/release process

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

7 months agoMerge pull request #60962 from dmick/wip-69119-squid
Dan Mick [Thu, 5 Dec 2024 23:25:30 +0000 (15:25 -0800)]
Merge pull request #60962 from dmick/wip-69119-squid

squid: Modify container/ software to support release containers and the promotion of prerelease containers

7 months agoMerge pull request #60447 from mohit84/wip-68665-squid
SrinivasaBharathKanta [Thu, 5 Dec 2024 09:26:08 +0000 (14:56 +0530)]
Merge pull request #60447 from mohit84/wip-68665-squid

squid: AsyncMessenger: Don't decrease l_msgr_active_connections if it is negative

7 months agoMerge pull request #59973 from sseshasa/wip-68223-squid
SrinivasaBharathKanta [Thu, 5 Dec 2024 09:25:20 +0000 (14:55 +0530)]
Merge pull request #59973 from sseshasa/wip-68223-squid

squid: common/options: Change HDD OSD shard configuration defaults for mClock

7 months agocontainer/{Containerfile,build.sh}: use a secret to pass secrets 60962/head
Dan Mick [Thu, 21 Nov 2024 03:11:24 +0000 (19:11 -0800)]
container/{Containerfile,build.sh}: use a secret to pass secrets

Use podman's build --secret mechanism to pass credentials for
download.ceph.com

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

7 months agocontainer/Containerfile: allow failure from curl to stop build
Dan Mick [Thu, 21 Nov 2024 02:23:50 +0000 (18:23 -0800)]
container/Containerfile: allow failure from curl to stop build

curl doesn't actually fail unless -f is used; also, add
some sh -e flags.

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

7 months agocontainer/Containerfile: purge .repo files with secrets before commit
Dan Mick [Thu, 21 Nov 2024 02:18:59 +0000 (18:18 -0800)]
container/Containerfile: purge .repo files with secrets before commit

ceph.repo had creds in it for download.ceph.com/prerelease.
Remove the .repo files we construct, since they're not necessary
once the container is built (no one should be dnf'ing anything
in the container).

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

7 months agocontainer/Containerfile fix boolean IS_RELEASE usage
Dan Mick [Wed, 20 Nov 2024 00:44:17 +0000 (16:44 -0800)]
container/Containerfile fix boolean IS_RELEASE usage

Existing syntax was just wrong.

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

7 months agocontainer/make-manifest-list.py: use LOCALMANIFEST throughout
Dan Mick [Wed, 20 Nov 2024 00:40:05 +0000 (16:40 -0800)]
container/make-manifest-list.py: use LOCALMANIFEST throughout

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

7 months agocontainers/make-manifest.py: Add --promote
Dan Mick [Sat, 16 Nov 2024 00:21:26 +0000 (16:21 -0800)]
containers/make-manifest.py: Add --promote

The promote function finds the latest image on the prerelease repo,
finds all its tags, and copies them all to the release repo.

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

7 months agocontainer/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD
Dan Mick [Fri, 15 Nov 2024 01:49:15 +0000 (17:49 -0800)]
container/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD

Used for accessing download.ceph.com

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

7 months agocontainer/build.sh:
Dan Mick [Thu, 14 Nov 2024 22:28:32 +0000 (14:28 -0800)]
container/build.sh:

- change repo path to prerelease
- remove image id arg for release push
- include 'v' in version name for release push

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

7 months agocontainer/make-manifest-list.py
Dan Mick [Fri, 1 Nov 2024 02:55:36 +0000 (19:55 -0700)]
container/make-manifest-list.py

- don't print command failure in worker; let the caller print them
  if desired (allow silent failure)
- allow for empty tags list
- look for CEPH_SHA1.  GIT_COMMIT was the sha1 of the ceph-container.git
  commit
- change default paths to prerelease
- add --dry-run to avoid final push
- rename 'HOST' to 'CONTAINER_HOST'
- Use ARCH_SPECIFIC_HOST instead of CONTAINER_HOST (which is used by podman)

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

7 months agoMerge pull request #60949 from zdover23/wip-doc-2024-12-04-backport-60930-to-squid
Anthony D'Atri [Wed, 4 Dec 2024 21:37:47 +0000 (22:37 +0100)]
Merge pull request #60949 from zdover23/wip-doc-2024-12-04-backport-60930-to-squid

squid: doc/rados: fix sentences in health-checks (3 of x)

7 months agodoc/rados: fix sentences in health-checks (3 of x) 60949/head
Zac Dover [Wed, 4 Dec 2024 02:13:05 +0000 (03:13 +0100)]
doc/rados: fix sentences in health-checks (3 of x)

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the second third of
doc/rados/operations/health-checks.rst.

Note to (I hope soon) future Zac: There are a a couple of places near
the end of this file where the sentences are ungrammatical. Update these
in a separate PR (in isolation, so that the grammar and technical
accuracy of these sentences can be the primary focus of the reviewers).

Zac: cf. 000228

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

7 months agodoc/cephfs: edit "Disabling Volumes Plugin" 60467/head
Zac Dover [Thu, 24 Oct 2024 04:52:58 +0000 (14:52 +1000)]
doc/cephfs: edit "Disabling Volumes Plugin"

Improve the English language in the section 'Disabling Volumes Plugin"
(which here becomes "Disabling the Volumes Plugin") in the
doc/cephfs/troubleshooting.rst file.

The change here is similar to a change introduced in
https://github.com/ceph/ceph/pull/60448/. That PR seems to be unable to
pass the "make check", and this PR is part of a test to see if breaking
the changes in that PR into several smaller changes results in mergeable
PRs.

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

7 months agoMerge pull request #60931 from zdover23/wip-doc-2024-12-04-backport-60619-to-squid
Anthony D'Atri [Wed, 4 Dec 2024 07:58:56 +0000 (08:58 +0100)]
Merge pull request #60931 from zdover23/wip-doc-2024-12-04-backport-60619-to-squid

squid: doc/rados: fix sentences in health-checks (2 of x)

7 months agodoc/rados: fix sentences in health-checks (2 of x) 60931/head
Zac Dover [Tue, 3 Dec 2024 11:02:43 +0000 (12:02 +0100)]
doc/rados: fix sentences in health-checks (2 of x)

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the second third of
doc/rados/operations/health-checks.rst.

Zac: cf. 000228

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

7 months agoMerge pull request #60920 from zdover23/wip-doc-2024-12-03-backport-60917-to-squid
Anthony D'Atri [Tue, 3 Dec 2024 14:35:23 +0000 (15:35 +0100)]
Merge pull request #60920 from zdover23/wip-doc-2024-12-03-backport-60917-to-squid

squid: doc/rados: make sentences agree in health-checks.rst

7 months agodoc/rados: make sentences agree in health-checks.rst 60920/head
Zac Dover [Tue, 3 Dec 2024 08:28:09 +0000 (09:28 +0100)]
doc/rados: make sentences agree in health-checks.rst

Make sentences agree at the head of each section in
doc/rados/operations/health-checks.rst. The sentences were sometimes in
the imperative mood and sometimes in the declarative mood.

This commit edits the first third of
doc/rados/operations/health-checks.rst.

Zac: cf. 000228

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

7 months agoMerge pull request #60880 from ShwetaBhosale1/fix_issue_69075_cephadm_bootstrap_messa...
Adam King [Mon, 2 Dec 2024 13:48:40 +0000 (08:48 -0500)]
Merge pull request #60880 from ShwetaBhosale1/fix_issue_69075_cephadm_bootstrap_message_with_default_image

Squid: cephadm: bootstrap should not have "This is a development version of cephadm" message

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
7 months agoMerge pull request #60893 from zdover23/wip-doc-2024-12-01-backport-60882-to-squid
Anthony D'Atri [Sun, 1 Dec 2024 13:48:40 +0000 (08:48 -0500)]
Merge pull request #60893 from zdover23/wip-doc-2024-12-01-backport-60882-to-squid

squid: os/bluestore: Improve documentation introduced by #57722

7 months agoMerge pull request #60896 from zdover23/wip-doc-2024-12-01-backport-60892-to-squid
Anthony D'Atri [Sun, 1 Dec 2024 13:47:26 +0000 (08:47 -0500)]
Merge pull request #60896 from zdover23/wip-doc-2024-12-01-backport-60892-to-squid

squid: doc/glossary.rst: add "Dashboard Plugin"

7 months agodoc/glossary.rst: add "Dashboard Plugin" 60896/head
Zac Dover [Sat, 30 Nov 2024 16:50:53 +0000 (17:50 +0100)]
doc/glossary.rst: add "Dashboard Plugin"

Add an entry below the (Mimic-era and therefore outdated but
nonetheless historically important) Dashboard Plugin key word in the
glosssary, which before now had never been added to the glossary.

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

7 months agoos/bluestore: Improve documentation introduced by #57722 60893/head
Anthony D'Atri [Thu, 28 Nov 2024 18:09:39 +0000 (13:09 -0500)]
os/bluestore: Improve documentation introduced by #57722

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

7 months agoMerge pull request #60662 from zdover23/wip-doc-2024-11-07-backport-60642-to-squid
Zac Dover [Sat, 30 Nov 2024 15:40:46 +0000 (01:40 +1000)]
Merge pull request #60662 from zdover23/wip-doc-2024-11-07-backport-60642-to-squid

squid: doc/rgw/notification: clarified the notification_v2 behavior upon upg…

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agoMerge pull request #60885 from zdover23/wip-doc-2024-11-29-backport-60884-to-squid
Anthony D'Atri [Fri, 29 Nov 2024 22:52:22 +0000 (17:52 -0500)]
Merge pull request #60885 from zdover23/wip-doc-2024-11-29-backport-60884-to-squid

squid: doc/radosgw: update rgw_dns_name doc

7 months agodoc/radosgw: update rgw_dns_name doc 60885/head
Zac Dover [Fri, 29 Nov 2024 03:12:02 +0000 (13:12 +1000)]
doc/radosgw: update rgw_dns_name doc

Update doc/radosgw/s3/commons.rst with the changes made by Jiffin Tony
Thottan in https://github.com/ceph/ceph/pull/54524 and the suggestions
made in that same PR by Anthony D'Atri.

Explain how to set rgw_dns_name to a domain name in order to configure
access to virtual hosted buckets.

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

7 months agoMerge pull request #60867 from zdover23/wip-doc-2024-11-28-backport-60860-to-squid
Anthony D'Atri [Fri, 29 Nov 2024 01:55:50 +0000 (20:55 -0500)]
Merge pull request #60867 from zdover23/wip-doc-2024-11-28-backport-60860-to-squid

squid: doc/radosgw: Improve archive-sync-module.rst more

7 months agoMerge pull request #60107 from cbodley/wip-68378-squid
SrinivasaBharathKanta [Fri, 29 Nov 2024 01:30:56 +0000 (07:00 +0530)]
Merge pull request #60107 from cbodley/wip-68378-squid

squid: cmake: use ExternalProjects to build isa-l and isa-l_crypto libraries

7 months agoMerge pull request #59147 from NitzanMordhai/wip-67473-squid
SrinivasaBharathKanta [Fri, 29 Nov 2024 01:30:18 +0000 (07:00 +0530)]
Merge pull request #59147 from NitzanMordhai/wip-67473-squid

squid: suites: test should ignore osd_down warnings

7 months agocommon/options: Change HDD OSD shard configuration defaults for mClock 59973/head
Sridhar Seshasayee [Tue, 3 Sep 2024 05:39:08 +0000 (11:09 +0530)]
common/options: Change HDD OSD shard configuration defaults for mClock

Based on tests performed at scale on a HDD based cluster, it was found
that scheduling with mClock was not optimal with multiple OSD shards. For
e.g., in the scaled cluster with multiple OSD node failures, the client
throughput was found to be inconsistent across test runs coupled with
multiple reported slow requests.

However, the same test with a single OSD shard and with multiple worker
threads yielded significantly better results in terms of consistency of
client and recovery throughput across multiple test runs.

For more details see https://tracker.ceph.com/issues/66289.

Therefore, as an interim measure until the issue with multiple OSD shards
(or multiple mClock queues per OSD) is investigated and fixed, the
following change to the default HDD OSD shard configuration is made:

 - osd_op_num_shards_hdd = 1 (was 5)
 - osd_op_num_threads_per_shard_hdd = 5 (was 1)

The other changes in this commit include:
 - Doc change to the OSD and mClock config reference describing
   this change.
 - OSD troubleshooting entry on the procedure to change the shard
   configuration for clusters affected by this issue running on older
   releases.
 - Add release note for this change.

Fixes: https://tracker.ceph.com/issues/66289
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 0d81e721378e6d7a647c5a4f6aab3cede1a828d3)

Conflicts:
        doc/rados/troubleshooting/troubleshooting-osd.rst
- Included the troubleshooting entry before the "Flapping OSDs" section.
        PendingReleaseNotes
- Moved the release note under 19.0.0 section.

7 months agocephadm: bootstap should not have "This is a development version of cephadm" message 60880/head
Shweta Bhosale [Thu, 28 Nov 2024 10:52:57 +0000 (16:22 +0530)]
cephadm: bootstap should not have "This is a development version of cephadm" message

Fixes: https://tracker.ceph.com/issues/69075
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
7 months agoMerge pull request #60864 from zdover23/wip-doc-2024-11-28-backport-59225-to-squid
Zac Dover [Thu, 28 Nov 2024 05:04:28 +0000 (15:04 +1000)]
Merge pull request #60864 from zdover23/wip-doc-2024-11-28-backport-59225-to-squid

squid: doc/glossary: add "flapping OSD"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agodoc/radosgw: Improve archive-sync-module.rst more 60867/head
Anthony D'Atri [Wed, 27 Nov 2024 16:39:38 +0000 (11:39 -0500)]
doc/radosgw: Improve archive-sync-module.rst more

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

7 months agodoc/glossary: add "flapping OSD" 60864/head
Zac Dover [Wed, 14 Aug 2024 18:08:14 +0000 (04:08 +1000)]
doc/glossary: add "flapping OSD"

Add an entry for "Flapping OSD" to the glossary.

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

7 months agoMerge pull request #60616 from YiteGu/wip-68790-squid
SrinivasaBharathKanta [Wed, 27 Nov 2024 12:18:33 +0000 (17:48 +0530)]
Merge pull request #60616 from YiteGu/wip-68790-squid

squid: blk/KernelDevice: using join() to wait thread end is more safe

7 months agoMerge pull request #60660 from sseshasa/wip-68856-squid
SrinivasaBharathKanta [Wed, 27 Nov 2024 12:18:21 +0000 (17:48 +0530)]
Merge pull request #60660 from sseshasa/wip-68856-squid

squid: common,osd: Use last valid OSD IOPS value if measured IOPS is unrealistic

7 months agoMerge pull request #59372 from NitzanMordhai/wip-67646-squid
SrinivasaBharathKanta [Wed, 27 Nov 2024 12:17:41 +0000 (17:47 +0530)]
Merge pull request #59372 from NitzanMordhai/wip-67646-squid

squid: mgr/rest: Trim  requests array and limit size

7 months agoMerge pull request #60852 from zdover23/wip-doc-2024-11-27-backport-60846-to-squid
Anthony D'Atri [Tue, 26 Nov 2024 21:59:03 +0000 (16:59 -0500)]
Merge pull request #60852 from zdover23/wip-doc-2024-11-27-backport-60846-to-squid

squid: doc/radosgw: Improve archive-sync-module.rst

7 months agodoc/radosgw: Improve archive-sync-module.rst 60852/head
Anthony D'Atri [Tue, 26 Nov 2024 16:13:06 +0000 (11:13 -0500)]
doc/radosgw: Improve archive-sync-module.rst

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
(cherry picked from commit 303ce155a34fdf2cde63b948d204aca339dd5682)