]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/rados/operations: Acting Set question 51740/head
Zac Dover [Tue, 4 Apr 2023 03:59:46 +0000 (13:59 +1000)]
doc/rados/operations: Acting Set question

Clear up a paragraph that describes the behavior of the Acting Set.

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

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

2 years agoMerge pull request #51568 from amathuria/wip-61231-quincy
Ilya Dryomov [Wed, 24 May 2023 20:41:13 +0000 (22:41 +0200)]
Merge pull request #51568 from amathuria/wip-61231-quincy

quincy: qa/tasks: Changing default mClock profile to high_recovery_ops

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #51428 from idryomov/wip-59393-quincy
Ilya Dryomov [Wed, 24 May 2023 20:15:24 +0000 (22:15 +0200)]
Merge pull request #51428 from idryomov/wip-59393-quincy

quincy: librbd: localize snap_remove op for mirror snapshots

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #51217 from adk3798/wip-59547-quincy
Adam King [Wed, 24 May 2023 19:40:10 +0000 (15:40 -0400)]
Merge pull request #51217 from adk3798/wip-59547-quincy

quincy: mgr/cephadm: allow setting mon crush locations through mon service spec

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #51455 from ajarr/wip-59711-quincy
Ilya Dryomov [Wed, 24 May 2023 18:12:02 +0000 (20:12 +0200)]
Merge pull request #51455 from ajarr/wip-59711-quincy

quincy:  mgr/rbd_support: recover from rados client blocklisting

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #51060 from idryomov/wip-59431-quincy
Ilya Dryomov [Wed, 24 May 2023 18:10:42 +0000 (20:10 +0200)]
Merge pull request #51060 from idryomov/wip-59431-quincy

quincy: qa/suites/rbd: install qemu-utils in addition to qemu-block-extra on Ubuntu

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #50920 from chrisphoffman/wip-59369-quincy
Ilya Dryomov [Wed, 24 May 2023 18:09:42 +0000 (20:09 +0200)]
Merge pull request #50920 from chrisphoffman/wip-59369-quincy

quincy: librbd: don't wait for a watch in send_acquire_lock() if client is blocklisted

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50873 from idryomov/wip-59208-quincy
Ilya Dryomov [Wed, 24 May 2023 18:09:02 +0000 (20:09 +0200)]
Merge pull request #50873 from idryomov/wip-59208-quincy

quincy: librbd: fix wrong attribute for rbd_quiesce_complete api

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #50837 from pkalever/wip-59062-quincy
Ilya Dryomov [Wed, 24 May 2023 18:07:47 +0000 (20:07 +0200)]
Merge pull request #50837 from pkalever/wip-59062-quincy

quincy: librbd: report better errors when failing to enable mirroring on an image

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #51432 from Svelar/wip-59686-quincy
Adam King [Wed, 24 May 2023 18:06:21 +0000 (14:06 -0400)]
Merge pull request #51432 from Svelar/wip-59686-quincy

quincy: cephadm: eliminate duplication of sections

Reviewed-by: Adam King <adking@redhat.com>
2 years agolibrbd: localize snap_remove op for mirror snapshots 51428/head
Christopher Hoffman [Wed, 19 Apr 2023 15:26:27 +0000 (15:26 +0000)]
librbd: localize snap_remove op for mirror snapshots

A client may attempt a lock request not quickly enough to
obtain exclusive lock for operations when another competing
client responds quicker. This can happen when a peer site has
different performance characteristics or latency. Instead of
relying on this unpredictable behavior, localize operation to
primary cluster.

Fixes: https://tracker.ceph.com/issues/59393
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit ac552c9b4d65198db8038d397a3060d5a030917d)

Conflicts:
src/cls/rbd/cls_rbd.cc [ commit 3a93b40721a1 ("librbd:
  s/boost::variant/std::variant/") not in quincy ]
src/librbd/mirror/snapshot/UnlinkPeerRequest.cc [ ditto ]

2 years agoMerge pull request #51356 from rhcs-dashboard/wip-59632-quincy
Adam King [Wed, 24 May 2023 18:04:16 +0000 (14:04 -0400)]
Merge pull request #51356 from rhcs-dashboard/wip-59632-quincy

quincy: mgr/cephadm: update monitoring stack versions

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #51173 from idryomov/wip-58887-quincy
Ilya Dryomov [Wed, 24 May 2023 17:53:26 +0000 (19:53 +0200)]
Merge pull request #51173 from idryomov/wip-58887-quincy

quincy: librbd: remove previous incomplete primary snapshot after successfully creating a new one

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agomgr/cephadm: verify mon spec exists before trying to grab from spec store 51217/head
Adam King [Tue, 2 May 2023 22:59:18 +0000 (18:59 -0400)]
mgr/cephadm: verify mon spec exists before trying to grab from spec store

In a normal deployment, we generally shouldn't have
to worry about this. This is more for teuthology
which does deployments in a weird way that can cause
there to be no mon spec in the cluster. Fixes an issue
seen when backporting the mon crush location work
to quincy where an upgrade test would fail with

```
[WRN] UPGRADE_REDEPLOY_DAEMON: Upgrading daemon mon.b on host smithi047 failed.
    Upgrade daemon: mon.b: Service mon not found.
```

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

2 years agodoc/cephadm: document setting mon crush locations through spec
Adam King [Thu, 12 Jan 2023 20:13:15 +0000 (15:13 -0500)]
doc/cephadm: document setting mon crush locations through spec

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

2 years agoqa/suites/orch/cephadm: teuth test for mon crush locations
Adam King [Thu, 12 Jan 2023 20:00:12 +0000 (15:00 -0500)]
qa/suites/orch/cephadm: teuth test for mon crush locations

Trying to add a feature where mon crush locations
can be set through the orchestrator using the mon
service spec. This is meant to be a test for that.

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

2 years agomgr/cephadm: Set mon crush locations based on service spec
Adam King [Mon, 28 Nov 2022 16:59:59 +0000 (11:59 -0500)]
mgr/cephadm: Set mon crush locations based on service spec

The part of this that added the --set-crush-location flag
when deploying the mon was handled in another commit. This
piece is to finish the functionality by having cephadm set
the location through commands to handle when multiple
bucket=loc pairs are specified for a single monitor

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

2 years agomgr/cephadm: redo service level config when spec is updated
Adam King [Mon, 28 Nov 2022 19:14:58 +0000 (14:14 -0500)]
mgr/cephadm: redo service level config when spec is updated

Previously, the service config function was only called
when we deploy a new daemon for that service. That meant
that updates to the spec such as changing a cert that don't
affect the daemon placement wouldn't trigger the service level
config to happen again. With this change, we now mark
the service as needing its config function ran if a daemon
for the service is added/removed or if the spec is updated.

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

2 years agomgr/cephadm: set --set-crush-location for mons based on crush location in spec
Adam King [Thu, 17 Nov 2022 11:42:33 +0000 (06:42 -0500)]
mgr/cephadm: set --set-crush-location for mons based on crush location in spec

Necessary to do this for stretch mode tiebreaker mon replacement

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

2 years agopython-common/service_spec: introduce mon spec with new crush_locations field
Adam King [Thu, 10 Nov 2022 20:01:33 +0000 (15:01 -0500)]
python-common/service_spec: introduce mon spec with new crush_locations field

In order to allow having cephadm set the crush locations
for the mons. For helping with setting up stretch mode
with a cephadm cluster

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

2 years agoMerge pull request #51216 from adk3798/wip-59545-quincy
Adam King [Wed, 24 May 2023 17:32:13 +0000 (13:32 -0400)]
Merge pull request #51216 from adk3798/wip-59545-quincy

quincy: cephadm: reschedule haproxy from an offline host

Reviewed-by: Michael Fritch <mfritch@suse.com>
2 years agoMerge pull request #51215 from adk3798/wip-59521-quincy
Adam King [Wed, 24 May 2023 17:30:53 +0000 (13:30 -0400)]
Merge pull request #51215 from adk3798/wip-59521-quincy

quincy: orchestrator: add `--no-destroy` arg to `ceph orch osd rm`

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #51053 from adk3798/quincy-revert-cephadm-ceph-exporter
Adam King [Wed, 24 May 2023 17:29:34 +0000 (13:29 -0400)]
Merge pull request #51053 from adk3798/quincy-revert-cephadm-ceph-exporter

quincy: Revert "ceph-exporter: cephadm changes"

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #51329 from trociny/wip-59618-quincy
Mykola Golub [Wed, 24 May 2023 16:53:51 +0000 (19:53 +0300)]
Merge pull request #51329 from trociny/wip-59618-quincy

quincy: rgw/rados: check_quota() uses real bucket owner

2 years agoMerge pull request #51044 from kotreshhr/wip-59416-quincy
Yuri Weinstein [Wed, 24 May 2023 14:29:08 +0000 (10:29 -0400)]
Merge pull request #51044 from kotreshhr/wip-59416-quincy

quincy: mgr: Add one finisher thread per module

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2 years agoMerge pull request #51300 from yuvalif/wip-yuval-bucket-name-quincy
Shilpa Jagannath [Wed, 24 May 2023 13:18:03 +0000 (09:18 -0400)]
Merge pull request #51300 from yuvalif/wip-yuval-bucket-name-quincy

quincy: rgw/lua: allow bucket name override in pre request

2 years agoMerge pull request #51726 from zdover23/wip-doc-2023-05-24-backport-51273-to-quincy
zdover23 [Wed, 24 May 2023 03:15:10 +0000 (13:15 +1000)]
Merge pull request #51726 from zdover23/wip-doc-2023-05-24-backport-51273-to-quincy

quincy: doc: Update jerasure.org references

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: Update jerasure.org references 51726/head
Anthony D'Atri [Tue, 23 May 2023 23:13:33 +0000 (19:13 -0400)]
doc: Update jerasure.org references

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

2 years agoMerge pull request #51721 from zdover23/wip-doc-2023-05-24-backport-51679-to-quincy
Anthony D'Atri [Tue, 23 May 2023 22:29:02 +0000 (18:29 -0400)]
Merge pull request #51721 from zdover23/wip-doc-2023-05-24-backport-51679-to-quincy

quincy: doc/mgr: edit "leaderboard" in telemetry.rst

2 years agoMerge pull request #51653 from zdover23/wip-doc-2023-05-22-backport-51319-to-quincy
zdover23 [Tue, 23 May 2023 22:13:01 +0000 (08:13 +1000)]
Merge pull request #51653 from zdover23/wip-doc-2023-05-22-backport-51319-to-quincy

quincy: doc: deprecate the cache tiering

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/mgr: edit "leaderboard" in telemetry.rst 51721/head
Zac Dover [Mon, 22 May 2023 20:06:52 +0000 (06:06 +1000)]
doc/mgr: edit "leaderboard" in telemetry.rst

Standardize the presentation of commands in the "Leaderboard" section of
doc/mgr/telemetry.rst.

Follow-up to https://github.com/ceph/ceph/pull/50977

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

2 years agoMerge pull request #51496 from cbodley/wip-55703-quincy
Yuri Weinstein [Tue, 23 May 2023 19:54:47 +0000 (15:54 -0400)]
Merge pull request #51496 from cbodley/wip-55703-quincy

quincy: rgw multisite: complete fix for metadata sync issue

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50892 from cfsnyder/wip-58511-quincy
Yuri Weinstein [Tue, 23 May 2023 19:51:13 +0000 (15:51 -0400)]
Merge pull request #50892 from cfsnyder/wip-58511-quincy

quincy: rgw: optimizations for handling ECANCELED errors from within get_obj_state

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50962 from yuvalif/wip-58284-quincy
Yuri Weinstein [Tue, 23 May 2023 19:49:15 +0000 (15:49 -0400)]
Merge pull request #50962 from yuvalif/wip-58284-quincy

quincy: rgw/notifications: send mtime in complete multipart upload event

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50208 from cfsnyder/wip-58212-quincy
Yuri Weinstein [Tue, 23 May 2023 19:47:15 +0000 (15:47 -0400)]
Merge pull request #50208 from cfsnyder/wip-58212-quincy

quincy: rgw: concurrency for multi object deletes

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49808 from yuvalif/wip-58285-quincy
Yuri Weinstein [Tue, 23 May 2023 19:46:17 +0000 (15:46 -0400)]
Merge pull request #49808 from yuvalif/wip-58285-quincy

quincy: rgw/notifications: sending metadata in COPY and CompleteMultipartUpload

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51512 from Matan-B/wip-61150-quincy
Yuri Weinstein [Tue, 23 May 2023 15:21:28 +0000 (11:21 -0400)]
Merge pull request #51512 from Matan-B/wip-61150-quincy

quincy: OSD: Fix check_past_interval_bounds()

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #51694 from zdover23/wip-doc-2023-05-23-backport-51682-to-quincy
Anthony D'Atri [Tue, 23 May 2023 12:10:56 +0000 (08:10 -0400)]
Merge pull request #51694 from zdover23/wip-doc-2023-05-23-backport-51682-to-quincy

quincy: doc/glossary: update bluestore entry

2 years agodoc/glossary: update bluestore entry 51694/head
Zac Dover [Mon, 22 May 2023 21:41:09 +0000 (07:41 +1000)]
doc/glossary: update bluestore entry

Update the BlueStore entry in the glossary, explaining that as of Reef
BlueStore and only BlueStore (and not FileStore) is the storage backend
for Ceph.

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

2 years agoMerge pull request #50979 from batrick/i59294
Yuri Weinstein [Mon, 22 May 2023 23:27:51 +0000 (19:27 -0400)]
Merge pull request #50979 from batrick/i59294

quincy: MgrMonitor: batch commit OSDMap and MgrMap mutations

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #50964 from ajarr/wip-58998-quincy
Yuri Weinstein [Mon, 22 May 2023 23:26:45 +0000 (19:26 -0400)]
Merge pull request #50964 from ajarr/wip-58998-quincy

quincy: mgr: store names of modules that register RADOS clients in the MgrMap

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50893 from cfsnyder/wip-59329-quincy
Yuri Weinstein [Mon, 22 May 2023 23:26:10 +0000 (19:26 -0400)]
Merge pull request #50893 from cfsnyder/wip-59329-quincy

quincy: kv/RocksDBStore: Add CompactOnDeletion support

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 years agoMerge pull request #50693 from kamoltat/wip-ksirivad-backport-quincy-50334
Yuri Weinstein [Mon, 22 May 2023 23:25:27 +0000 (19:25 -0400)]
Merge pull request #50693 from kamoltat/wip-ksirivad-backport-quincy-50334

quincy: pybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50480 from ljflores/wip-58954-quincy
Yuri Weinstein [Mon, 22 May 2023 23:24:51 +0000 (19:24 -0400)]
Merge pull request #50480 from ljflores/wip-58954-quincy

quincy: mgr/telemetry: make sure histograms are formatted in `all` commands

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2 years agodoc: deprecate the cache tiering 51653/head
Radosław Zarzyński [Tue, 2 May 2023 15:52:23 +0000 (17:52 +0200)]
doc: deprecate the cache tiering

This topic has been discussed many times; recently at the Dev
Summit of Cephalocon 2023.

This commit is the minial version of the work, contained entirely
within the `doc`. However, likely it will be expanded as there
were ideas like e.g. adding cache tiering back experimental feature
list (Sam) to warn users when deploying a new cluster.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 535b8db33ea03fbab7ef0c4df5251658f956b0c5)

2 years agoMerge pull request #51620 from zdover23/wip-doc-2023-05-21-backport-51618-to-quincy
zdover23 [Mon, 22 May 2023 01:27:31 +0000 (11:27 +1000)]
Merge pull request #51620 from zdover23/wip-doc-2023-05-21-backport-51618-to-quincy

quincy: doc: Add missing `ceph` command in documentation section `REPLACING A…

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: Add missing `ceph` command in documentation section `REPLACING AN OSD` 51620/head
Alexander Proschek [Sat, 20 May 2023 21:06:09 +0000 (14:06 -0700)]
doc: Add missing `ceph` command in documentation section `REPLACING AN OSD`

Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>
Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>
(cherry picked from commit 0557d5e465556adba6d25db62a40ba55a5dd2400)

2 years agoMerge pull request #51596 from zdover23/wip-doc-2023-05-20-backport-51594-to-quincy
zdover23 [Fri, 19 May 2023 20:19:48 +0000 (06:19 +1000)]
Merge pull request #51596 from zdover23/wip-doc-2023-05-20-backport-51594-to-quincy

quincy: doc/rados: edit data-placement.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit data-placement.rst 51596/head
Zac Dover [Fri, 19 May 2023 16:26:45 +0000 (02:26 +1000)]
doc/rados: edit data-placement.rst

Edit doc/rados/data-placement.rst.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 32600c27c4dca6b9d5fae9892c0a1660b672781c)

2 years agoMerge pull request #51586 from zdover23/wip-doc-2023-05-19-backport-51580-to-quincy
Anthony D'Atri [Fri, 19 May 2023 12:13:53 +0000 (08:13 -0400)]
Merge pull request #51586 from zdover23/wip-doc-2023-05-19-backport-51580-to-quincy

quincy: doc/radosgw: explain multisite dynamic sharding

2 years agodoc/radosgw: explain multisite dynamic sharding 51586/head
Zac Dover [Thu, 18 May 2023 21:07:02 +0000 (07:07 +1000)]
doc/radosgw: explain multisite dynamic sharding

Add a note to doc/radosgw/dynamicresharding.rst and a note to
doc/radosgw/multisite.rst that explains that dynamic resharding is not
supported in releases prior to Reef.

This commit is made in response to a request from Mathias Chapelain.

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

2 years agoMerge pull request #51577 from zdover23/wip-doc-2023-05-19-backport-51572-to-quincy
Anthony D'Atri [Thu, 18 May 2023 22:42:16 +0000 (18:42 -0400)]
Merge pull request #51577 from zdover23/wip-doc-2023-05-19-backport-51572-to-quincy

quincy: doc/rados: line-edit devices.rst

2 years agodoc/rados: line-edit devices.rst 51577/head
Zac Dover [Thu, 18 May 2023 14:13:41 +0000 (00:13 +1000)]
doc/rados: line-edit devices.rst

Edit doc/rados/operations/devices.rst.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8d589b43d76a4e291c96c3750d068dba18eb9309)

2 years agoMerge pull request #51490 from zdover23/wip-doc-2023-05-16-backport-51485-to-quincy
zdover23 [Thu, 18 May 2023 14:50:20 +0000 (00:50 +1000)]
Merge pull request #51490 from zdover23/wip-doc-2023-05-16-backport-51485-to-quincy

quincy: doc/start/os-recommendations: drop 4.14 kernel and reword guidance

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoqa/tasks: Change default mClock profile to high_recovery_ops 51568/head
Aishwarya Mathuria [Thu, 11 May 2023 17:20:15 +0000 (22:50 +0530)]
qa/tasks: Change default mClock profile to high_recovery_ops

With the new mClock default profile, tests were failing with "Exiting scrub checking -- not all pgs scrubbed" due to slower scrubs.
Changing the default profile to high_recovery_ops for testing purposes will fix this issue.

Fixes: https://tracker.ceph.com/issues/61228
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit a7c0029eccdc1bb9c49a943ed4d62295197f0de0)

2 years agoMerge pull request #51543 from zdover23/wip-doc-2023-05-18-backport-51534-to-quincy
Anthony D'Atri [Wed, 17 May 2023 22:44:15 +0000 (18:44 -0400)]
Merge pull request #51543 from zdover23/wip-doc-2023-05-18-backport-51534-to-quincy

quincy: doc/cephfs: line-edit "Mirroring Module"

2 years agodoc/cephfs: line-edit "Mirroring Module" 51543/head
Zac Dover [Wed, 17 May 2023 12:25:38 +0000 (22:25 +1000)]
doc/cephfs: line-edit "Mirroring Module"

Line-edit the "Mirroring Module" section of
doc/cephfs/cephfs-mirroring.rst. Add prompts and formatting where such
things contribute to the realization of adequate sentences.

This commit is a follow-up to https://github.com/ceph/ceph/pull/51505.

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

2 years agoMerge pull request #51521 from zdover23/wip-doc-2023-05-17-backport-51505-to-quincy
Anthony D'Atri [Wed, 17 May 2023 12:56:56 +0000 (08:56 -0400)]
Merge pull request #51521 from zdover23/wip-doc-2023-05-17-backport-51505-to-quincy

quincy: doc: explain cephfs mirroring `peer_add` step in detail

2 years agoMerge pull request #51525 from aaSharma14/wip-61179-quincy
Nizamudeen A [Wed, 17 May 2023 12:30:18 +0000 (18:00 +0530)]
Merge pull request #51525 from aaSharma14/wip-61179-quincy

quincy: mgr/dashboard: fix regression caused by cephPgImabalance alert

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agomgr/dashboard: fix regression caused by cephPgImabalance alert 51525/head
Aashish Sharma [Mon, 8 May 2023 07:19:13 +0000 (12:49 +0530)]
mgr/dashboard: fix regression caused by cephPgImabalance alert

because of an earlier fix delivered, there is a regression caused by it
due to which alerts are not getting displayed in the active alerts tab.
This PR intends to fix this issue.

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

2 years agodoc: explain cephfs mirroring `peer_add` step in detail 51521/head
Venky Shankar [Tue, 16 May 2023 05:25:34 +0000 (10:55 +0530)]
doc: explain cephfs mirroring `peer_add` step in detail

@zdover23 reached out regarding missing explanation for `peer_add`
step in cephfs mirroring documentation. Add some explanation and
and example to make the step clear.

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

2 years agoMerge pull request #51503 from zdover23/wip-doc-2023-05-16-backport-51492-to-quincy
Anthony D'Atri [Wed, 17 May 2023 00:49:59 +0000 (20:49 -0400)]
Merge pull request #51503 from zdover23/wip-doc-2023-05-16-backport-51492-to-quincy

quincy: doc/start: KRBD feature flag support note

2 years agomessages/MOSDMap: Remove get_oldest/newest 51512/head
Matan Breizman [Wed, 1 Feb 2023 09:56:44 +0000 (09:56 +0000)]
messages/MOSDMap: Remove get_oldest/newest

cluster_osdmap_trim_lower_bound and newest_map are public.

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

2 years agocrimson/osd: Rename MOSDMap::oldest_map users
Matan Breizman [Wed, 1 Feb 2023 09:32:53 +0000 (09:32 +0000)]
crimson/osd: Rename MOSDMap::oldest_map users

Note: this commit was manually fixed (crimson only)

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

2 years agomessages/MOSDMap: Rename oldest_map to cluster_osdmap_trim_lower_bound
Matan Breizman [Wed, 1 Feb 2023 08:49:19 +0000 (08:49 +0000)]
messages/MOSDMap: Rename oldest_map to cluster_osdmap_trim_lower_bound

Previously, MOSDMap messages sent to other OSDs were populated with the
superblocks's oldest_map. We should, instead, use the superblock's
cluster_osdmap_trim_lower_bound because oldest map is merely a marker
for each osd's trimming progress.

As specified in the docs:
***
We use cluster_osdmap_trim_lower_bound rather than a specific osd's oldest_map
because we don't necessarily trim all MOSDMap::oldest_map. In order to avoid
doing too much work at once we limit the amount of osdmaps trimmed using
``osd_target_transaction_size`` in OSD::trim_maps().
For this reason, a specific OSD's oldest_map can lag behind
OSDSuperblock::cluster_osdmap_trim_lower_bound
for a while.
***

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

2 years agocrimson/osd/osd.cc: Add cluster_osdmap_trim_lower_bound to print
Matan Breizman [Wed, 1 Feb 2023 09:46:57 +0000 (09:46 +0000)]
crimson/osd/osd.cc: Add cluster_osdmap_trim_lower_bound to print

Note: this commit was manually fixed (crimson only)

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

2 years agoosd/OSD.cc: Add cluster_osdmap_trim_lower_bound to status
Matan Breizman [Wed, 1 Feb 2023 09:42:25 +0000 (09:42 +0000)]
osd/OSD.cc: Add cluster_osdmap_trim_lower_bound to status

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

2 years agoosd: Rename max_oldest_map to cluster_osdmap_trim_lower_bound
Matan Breizman [Tue, 31 Jan 2023 09:13:38 +0000 (09:13 +0000)]
osd: Rename max_oldest_map to cluster_osdmap_trim_lower_bound

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

2 years agoosd: Remove oldest_stored_osdmap()
Matan Breizman [Thu, 3 Nov 2022 08:59:11 +0000 (08:59 +0000)]
osd: Remove oldest_stored_osdmap()

The only usage was for identyfing map gaps on new intervals.
We should use max_oldest_stored_osdmap() instead, since a specific
osd's oldest_map may lag behind.

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

2 years agoosd: Fix check_past_interval_bounds()
Matan Breizman [Wed, 2 Nov 2022 10:40:03 +0000 (10:40 +0000)]
osd: Fix check_past_interval_bounds()

When getting the required past interval bounds we use
oldest_map or current pg info (lec/ec).
Before this change we set oldest_map epoch using the
osd's superblock.oldest_map.
The fix will use the max_oldest_map received with other peers
instead since a specific osd's oldest_map can lag for a while
in order to avoid large workloads.

Fixes: https://tracker.ceph.com/issues/49689
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 0c611b362fb9cc4225f18283f74299551c2c5953)

2 years agodoc/dev/osd_internals: add past_intervals.rst
Samuel Just [Wed, 26 Oct 2022 04:46:24 +0000 (21:46 -0700)]
doc/dev/osd_internals: add past_intervals.rst

Add explanation of past_interals.

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

2 years agoosd: move OSDService::max_oldest_map into OSDSuperblock
Matan Breizman [Thu, 3 Nov 2022 07:51:35 +0000 (07:51 +0000)]
osd: move OSDService::max_oldest_map into OSDSuperblock

Persist max_oldest_map to the superblock.

Note: cherry-pick was manually edited (change in existing OSD members from original commit)

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

2 years agodoc/start: KRBD feature flag support note 51503/head
Zac Dover [Mon, 15 May 2023 17:04:43 +0000 (03:04 +1000)]
doc/start: KRBD feature flag support note

Add KRBD feature flag support note to doc/start/os-recommendations.rst.

This change was suggested by Anthony D'Atri in https://github.com/ceph/ceph/pull/51485.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2a619dba2d22749e6facaf8dd0d370e16a1672c4)

2 years agorgw/multisite: set truncated flag to true after fetching remote mdlogs. 51496/head
Shilpa Jagannath [Wed, 4 May 2022 14:40:41 +0000 (10:40 -0400)]
rgw/multisite: set truncated flag to true after fetching remote mdlogs.
This is in addition to 2ed1c3e. Ensures that the we continue syncing logs
that have been fetched already and don't end up cloning more logs prematurely.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 256f6b3a07505a5f67b6583e69f588cd1d408c6e)

2 years agorgw: read incremental metalog from master cluster based on truncate variable
gengjichao [Mon, 20 Jul 2020 02:33:00 +0000 (10:33 +0800)]
rgw: read incremental metalog from master cluster based on truncate variable
when the log entry in the meta.log object of the secondary cluster is empty,
the value of max_marker is also empty,which can't meet the requirement that
mdlog_marker <= max_marker,resulting in that the secondary cluster can't fetch
new log entry from the master cluster and infinite loop,finally, the secondary
cluster's metadata can't catch up the master cluster. when the truncate is false,
it means that the secondary cluster's meta.log is empyt,we can read more from
master cluster.

Fixes: https://tracker.ceph.com/issues/46563
Signed-off-by: gengjichao <gengjichao@jd.com>
(cherry picked from commit 2ed1c3e28a326e1422b0b6af47dd0af300ae85a2)
(cherry picked from commit 3b61154d39d6c4a1f29c6464e588589155982fcd)

2 years agoMerge pull request #51478 from zdover23/wip-doc-2023-05-15-backport-51473-to-quincy
Anthony D'Atri [Mon, 15 May 2023 16:51:46 +0000 (12:51 -0400)]
Merge pull request #51478 from zdover23/wip-doc-2023-05-15-backport-51473-to-quincy

quincy: doc/rados: edit devices.rst

2 years agodoc/start/os-recommendations: drop 4.14 kernel and reword guidance 51490/head
Ilya Dryomov [Fri, 12 May 2023 11:55:32 +0000 (13:55 +0200)]
doc/start/os-recommendations: drop 4.14 kernel and reword guidance

The 4.14 LTS kernel has less than a year left in terms of maintenance,
drop it.

Also, the current wording with an explicit list of kernels tends to go
stale: it's missing the latest 6.1 LTS kernel.

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

2 years agodoc/rados: edit devices.rst 51478/head
Zac Dover [Mon, 15 May 2023 01:01:19 +0000 (11:01 +1000)]
doc/rados: edit devices.rst

Line-edit doc/rados/operations/devices.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8321b457a25a4394439f908c500091ce30e0736a)

2 years agoMerge pull request #51470 from zdover23/wip-doc-2023-05-14-backport-51175-to-quincy
Anthony D'Atri [Sun, 14 May 2023 11:07:08 +0000 (07:07 -0400)]
Merge pull request #51470 from zdover23/wip-doc-2023-05-14-backport-51175-to-quincy

quincy: doc: add link to "documenting ceph" to index.rst

2 years agodoc: add link to "documenting ceph" to index.rst 51470/head
Zac Dover [Fri, 21 Apr 2023 20:59:04 +0000 (22:59 +0200)]
doc: add link to "documenting ceph" to index.rst

Add a link to the landing page of docs.ceph.com to direct documentation
contributors to documentation-related information.

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

2 years agoMerge pull request #51466 from zdover23/wip-doc-2023-05-13-backport-51463-to-quincy
zdover23 [Sat, 13 May 2023 14:18:44 +0000 (00:18 +1000)]
Merge pull request #51466 from zdover23/wip-doc-2023-05-13-backport-51463-to-quincy

quincy: doc/cephfs: edit fs-volumes.rst (1 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/cephfs: edit fs-volumes.rst (1 of x) 51466/head
Zac Dover [Fri, 12 May 2023 15:49:14 +0000 (01:49 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x)

Edit the syntax of the English language in the file
doc/cephfs/fs-volumes.rst up to (but not including) the section called
"FS Subvolumes".

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

2 years agoMerge pull request #51459 from zdover23/wip-doc-2023-05-12-backport-51458-to-quincy
zdover23 [Fri, 12 May 2023 13:28:55 +0000 (23:28 +1000)]
Merge pull request #51459 from zdover23/wip-doc-2023-05-12-backport-51458-to-quincy

quincy: doc/cephfs: rectify prompts in fs-volumes.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/cephfs: rectify prompts in fs-volumes.rst 51459/head
Zac Dover [Fri, 12 May 2023 10:35:25 +0000 (20:35 +1000)]
doc/cephfs: rectify prompts in fs-volumes.rst

Make sure all prompts are unselectable. This PR is meant to be
backported to Reef, Quincy, and Pacific, to get all of the prompts into
a fit state so that a line-edit can be performed on the Englsh language
in this file.

Follows https://github.com/ceph/ceph/pull/51427.

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

2 years agoMerge pull request #51435 from zdover23/wip-doc-2023-05-11-backport-51427-to-quincy
zdover23 [Fri, 12 May 2023 12:43:04 +0000 (22:43 +1000)]
Merge pull request #51435 from zdover23/wip-doc-2023-05-11-backport-51427-to-quincy

quincy: doc/cephfs: fix prompts in fs-volumes.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/cephfs: fix prompts in fs-volumes.rst 51435/head
Zac Dover [Wed, 10 May 2023 14:52:50 +0000 (00:52 +1000)]
doc/cephfs: fix prompts in fs-volumes.rst

Fixed a regression introduced in
e5355e3d66e1438d51de6b57eae79fab47cd0184 that broke the unselectable
prompts in the RST.

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

2 years agoqa/workunits/rbd: Add tests for rbd_support module recovery 51455/head
Ramana Raja [Sun, 5 Feb 2023 03:36:16 +0000 (22:36 -0500)]
qa/workunits/rbd: Add tests for rbd_support module recovery

... after the module's RADOS client is blocklisted.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit a2f15d4b2f876c79ee1de59fb79851b0eb505951)

2 years agomgr/rbd_support: recover from rados client blocklisting
Ramana Raja [Wed, 15 Feb 2023 15:12:54 +0000 (10:12 -0500)]
mgr/rbd_support: recover from rados client blocklisting

In certain scenarios the OSDs were slow to process RBD requests.
This lead to the rbd_support module's RBD client not being able to
gracefully handover a RBD exclusive lock to another RBD client.
After the condition persisted for some time, the other RBD client
forcefully acquired the lock by blocklisting the rbd_support module's
RBD client, and consequently blocklisted the module's RADOS client. The
rbd_support module stopped working. To recover the module, the entire
mgr service had to be restarted which reloaded other mgr modules.

Instead of recovering the rbd_support module from client blocklisting
by being disruptive to other mgr modules, recover the module
automatically without restarting the mgr serivce. On client getting
blocklisted, shutdown the module's handlers and blocklisted client,
create a new rados client for the module, and start the new handlers.

Fixes: https://tracker.ceph.com/issues/56724
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit cc0468738e5ddb98f7ac10b50e54446197b9c9a0)

2 years agopybind/rados: add ConnectionShutdown exception class
Ramana Raja [Thu, 12 Jan 2023 02:53:16 +0000 (21:53 -0500)]
pybind/rados: add ConnectionShutdown exception class

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit e452899013323def87a8b9e6edbdae66067a827c)

2 years agomgr/rbd_support: notify the thread waiting on pending snapshot
Ramana Raja [Tue, 17 Jan 2023 03:04:08 +0000 (22:04 -0500)]
mgr/rbd_support: notify the thread waiting on pending snapshot

... requests to be completed.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 38a7e3715f0cee225aa49f3331d85ad37e2b7422)

2 years agotest_cephadm: fix conf format 51432/head
Rongqi Sun [Wed, 8 Mar 2023 02:16:55 +0000 (10:16 +0800)]
test_cephadm: fix conf format

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit b3125f4449781828d310c5eaf43bc478b91cba4d)

2 years agocephadm: eliminate duplication of sections
Rongqi Sun [Tue, 7 Mar 2023 09:12:31 +0000 (17:12 +0800)]
cephadm: eliminate duplication of sections

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 0d1596e9275e8ca1b8c09b1490b3e595130aa97b)

2 years agocephadm: eliminate duplication of [global] section when applying set-extra-ceph-conf
Rongqi Sun [Wed, 1 Mar 2023 08:15:26 +0000 (16:15 +0800)]
cephadm: eliminate duplication of [global] section when applying set-extra-ceph-conf

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit ece7ccccc915392bced60c07703eb82142874516)

2 years agoMerge pull request #51372 from zdover23/wip-doc-2023-05-06-backport-51359-to-quincy
zdover23 [Wed, 10 May 2023 13:23:14 +0000 (23:23 +1000)]
Merge pull request #51372 from zdover23/wip-doc-2023-05-06-backport-51359-to-quincy

quincy: doc/cephfs: repairing inaccessible FSes

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #51420 from zdover23/wip-doc-2023-05-10-backport-51403-to-quincy
Anthony D'Atri [Wed, 10 May 2023 12:24:07 +0000 (08:24 -0400)]
Merge pull request #51420 from zdover23/wip-doc-2023-05-10-backport-51403-to-quincy

quincy: doc/start: fix "Planet Ceph" link

2 years agodoc/start: fix "Planet Ceph" link 51420/head
Zac Dover [Tue, 9 May 2023 03:39:10 +0000 (13:39 +1000)]
doc/start: fix "Planet Ceph" link

Fix a link to Planet Ceph on the doc/start/get-involved.rst page.

Reported 2023 Apr 21, here:
https://pad.ceph.com/p/Report_Documentation_Bugs

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

2 years agoMerge pull request #51398 from zdover23/wip-doc-2023-05-09-backport-51394-to-quincy
Anthony D'Atri [Tue, 9 May 2023 08:48:53 +0000 (04:48 -0400)]
Merge pull request #51398 from zdover23/wip-doc-2023-05-09-backport-51394-to-quincy

quincy: doc/dev/encoding.txt: update per std::optional

2 years agoMerge pull request #51401 from zdover23/wip-doc-2023-05-09-backport-51392-to-quincy
Anthony D'Atri [Tue, 9 May 2023 08:37:46 +0000 (04:37 -0400)]
Merge pull request #51401 from zdover23/wip-doc-2023-05-09-backport-51392-to-quincy

quincy: doc: update multisite doc

2 years agodoc: update multisite doc 51401/head
parth-gr [Mon, 8 May 2023 13:53:29 +0000 (19:23 +0530)]
doc: update multisite doc

cmd for getting zone group was spelled incorrectly
Updated to rdosgw-admin

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit edab93b2f15b19f05a86aab499ba11b56135aaf3)

2 years agodoc/dev/encoding.txt: update per std::optional 51398/head
Radoslaw Zarzynski [Mon, 8 May 2023 14:41:22 +0000 (14:41 +0000)]
doc/dev/encoding.txt: update per std::optional

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 622829cebcca8ae4ec6f0463a4d74c909998a92d)