]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/rados: pools.rst: "decreaesed" 51919/head
Zac Dover [Mon, 5 Jun 2023 03:26:20 +0000 (13:26 +1000)]
doc/rados: pools.rst: "decreaesed"

s/decreased/decreased/

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

2 years agoMerge pull request #51813 from rhcs-dashboard/wip-59651-reef
Avan [Mon, 5 Jun 2023 07:02:37 +0000 (12:32 +0530)]
Merge pull request #51813 from rhcs-dashboard/wip-59651-reef

reef: exporter: promethize counter names

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51912 from zdover23/wip-doc-2023-06-05-backport-51908-to-reef
Anthony D'Atri [Mon, 5 Jun 2023 01:05:32 +0000 (21:05 -0400)]
Merge pull request #51912 from zdover23/wip-doc-2023-06-05-backport-51908-to-reef

reef: doc/rados: edit pools.rst (1 of x)

2 years agodoc/rados: edit pools.rst (1 of x) 51912/head
Zac Dover [Sun, 4 Jun 2023 05:23:39 +0000 (15:23 +1000)]
doc/rados: edit pools.rst (1 of x)

Edit doc/rados/operations/pools.rst.

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

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

2 years agoMerge pull request #51904 from zdover23/wip-doc-2023-06-04-backport-51895-to-reef
Anthony D'Atri [Sun, 4 Jun 2023 01:01:18 +0000 (21:01 -0400)]
Merge pull request #51904 from zdover23/wip-doc-2023-06-04-backport-51895-to-reef

reef: doc/rados: edit troubleshooting-mon.rst (1 of x)

2 years agoMerge pull request #51906 from zdover23/wip-doc-2023-06-04-backport-51901-to-reef
Anthony D'Atri [Sun, 4 Jun 2023 00:59:17 +0000 (20:59 -0400)]
Merge pull request #51906 from zdover23/wip-doc-2023-06-04-backport-51901-to-reef

reef: doc/rados: edit log-and-debug.rst (2 of x)

2 years agodoc/rados: edit log-and-debug.rst (2 of x) 51906/head
Zac Dover [Sat, 3 Jun 2023 01:49:05 +0000 (11:49 +1000)]
doc/rados: edit log-and-debug.rst (2 of x)

Edit roughly the second half of
doc/rados/troubleshooting/log-and-debug.rst.

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

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

2 years agodoc/rados: edit troubleshooting-mon.rst (1 of x) 51904/head
Zac Dover [Sat, 3 Jun 2023 04:03:37 +0000 (14:03 +1000)]
doc/rados: edit troubleshooting-mon.rst (1 of x)

Edit the first 150 lines of
doc/rados/troubleshooting/troubleshooting-mon.rst.

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

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

2 years agoMerge pull request #51897 from zdover23/wip-doc-2023-06-04-backport-51896-to-reef
Anthony D'Atri [Sat, 3 Jun 2023 22:31:57 +0000 (18:31 -0400)]
Merge pull request #51897 from zdover23/wip-doc-2023-06-04-backport-51896-to-reef

reef: doc/rados: fix typos in pg-repair.rst

2 years agoMerge pull request #51902 from zdover23/wip-doc-2023-06-04-backport-51885-to-reef
Anthony D'Atri [Sat, 3 Jun 2023 22:26:54 +0000 (18:26 -0400)]
Merge pull request #51902 from zdover23/wip-doc-2023-06-04-backport-51885-to-reef

reef: doc/rados: edit log-and-debug.rst (1 of x)

2 years agodoc/rados: edit log-and-debug.rst (1 of x) 51902/head
Zac Dover [Fri, 2 Jun 2023 05:43:36 +0000 (15:43 +1000)]
doc/rados: edit log-and-debug.rst (1 of x)

Edit roughly the first half of
doc/rados/troubleshooting/log-and-debug.rst.

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

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

2 years agodoc/rados: fix typos in pg-repair.rst 51897/head
Zac Dover [Sat, 3 Jun 2023 05:17:57 +0000 (15:17 +1000)]
doc/rados: fix typos in pg-repair.rst

Fix one RST formatting error and one mistakenly-left-in plural noun in
doc/rados/operations/pg-repair.rst.

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

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

2 years agoMerge pull request #51886 from zdover23/wip-doc-2023-06-02-backport-51872-to-reef
zdover23 [Sat, 3 Jun 2023 01:30:35 +0000 (11:30 +1000)]
Merge pull request #51886 from zdover23/wip-doc-2023-06-02-backport-51872-to-reef

reef: doc: update the cephadm download instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #51839 from idryomov/wip-61368-reef
Yuri Weinstein [Fri, 2 Jun 2023 16:38:53 +0000 (12:38 -0400)]
Merge pull request #51839 from idryomov/wip-61368-reef

reef: tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agodoc: update the cephadm download instructions 51886/head
John Mulligan [Mon, 19 Sep 2022 17:46:48 +0000 (13:46 -0400)]
doc: update the cephadm download instructions

Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no loner work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Note from Zac Dover, June 1, 2023: Note: This commit is a cherry-pick of
d11cf0e, which was introduced by John Mulligan in #48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in #51843. This should be the final
main-branch-targeting commit that cleans up PR#51483.

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

2 years agoMerge pull request #51874 from zdover23/wip-doc-2023-06-02-backport-51859-to-reef
zdover23 [Fri, 2 Jun 2023 06:03:42 +0000 (14:03 +0800)]
Merge pull request #51874 from zdover23/wip-doc-2023-06-02-backport-51859-to-reef

reef: doc: add instructions for compiling cephadm

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: add instructions for compiling cephadm 51874/head
John Mulligan [Mon, 22 May 2023 18:20:19 +0000 (14:20 -0400)]
doc: add instructions for compiling cephadm

Now that cephadm is based on zipapp, add a short section to the
developer docs explaining how to build cephadm yourself.

Note: This commit is a cherry-pick of
9ad38033cc5c7f177cb8fe3bae696682687e0346, which was introduced by John
Mulligan in #48180. This is one of three commits introduced in that PR,
and this cherry-pick cleans up omissions I (Zac Dover) inadvertently
introduced while attempting to rectify the merge conflicts in #51843. I
expect that one more cherry-picked commit (specifically,
d11cf0e82aab8d4cef9d423e5d463a373eaf383a, which cannot be merged easily
until d7921e88d69b4bc355da9c0327cc33e59e7d7abb has been merged into
main, for reasons that are too
Rick-and-Morty-there-should-never-be-more-than-one-dot to go into here)
will follow this one.

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

2 years agoMerge pull request #51870 from zdover23/wip-doc-2023-06-01-backport-51857-to-reef
zdover23 [Thu, 1 Jun 2023 13:49:14 +0000 (21:49 +0800)]
Merge pull request #51870 from zdover23/wip-doc-2023-06-01-backport-51857-to-reef

reef: doc: make instructions to get an updated cephadm common

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: make instructions to get an updated cephadm common 51870/head
John Mulligan [Wed, 24 May 2023 17:42:26 +0000 (13:42 -0400)]
doc: make instructions to get an updated cephadm common

As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Note: This commit is a cherry-pick of
d7921e88d69b4bc355da9c0327cc33e59e7d7abb, which was introduced by John
Mulligan in https://github.com/ceph/ceph/pull/48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in https://github.com/ceph/ceph/pull/51843.
I expect that two more cherry-picked commits will follow this one.

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

2 years agoMerge pull request #51865 from rhcs-dashboard/wip-61554-reef
Nizamudeen A [Thu, 1 Jun 2023 09:02:32 +0000 (14:32 +0530)]
Merge pull request #51865 from rhcs-dashboard/wip-61554-reef

reef: mgr/dashboard: fix test_dashboard_e2e.sh failure

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agomgr/dashboard: fix test_dashboard_e2e.sh failure 51865/head
Nizamudeen A [Wed, 31 May 2023 05:39:25 +0000 (11:09 +0530)]
mgr/dashboard: fix test_dashboard_e2e.sh failure

The qa e2e is failing because the script is not adapted with cypress 10.

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

2 years agoMerge pull request #51846 from zdover23/wip-doc-2023-05-31-backport-51843-to-reef
zdover23 [Wed, 31 May 2023 13:20:18 +0000 (21:20 +0800)]
Merge pull request #51846 from zdover23/wip-doc-2023-05-31-backport-51843-to-reef

reef: doc: update the cephadm download instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: update the cephadm download instructions 51846/head
John Mulligan [Mon, 19 Sep 2022 17:46:48 +0000 (13:46 -0400)]
doc: update the cephadm download instructions

Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no longer work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

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

doc: make instructions to get an updated cephadm common

As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

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

2 years agoMerge pull request #51788 from pdvian/wip-61474-reef
Yuri Weinstein [Tue, 30 May 2023 19:22:21 +0000 (15:22 -0400)]
Merge pull request #51788 from pdvian/wip-61474-reef

reef: mon: Fix ceph versions command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51840 from cbodley/wip-doc-reef-rgw-reshard-feature
Casey Bodley [Tue, 30 May 2023 18:29:00 +0000 (14:29 -0400)]
Merge pull request #51840 from cbodley/wip-doc-reef-rgw-reshard-feature

reef: doc/rgw: fix multisite resharding feature to say Reef instead of Quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agodoc/rgw: fix multisite resharding feature to say Reef instead of Quincy 51840/head
Casey Bodley [Tue, 30 May 2023 15:30:05 +0000 (11:30 -0400)]
doc/rgw: fix multisite resharding feature to say Reef instead of Quincy

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

2 years agotools/ceph-dencoder: Fix incorrect type define for trash_watcher 51839/head
Chen Yuanrun [Thu, 25 May 2023 08:28:10 +0000 (08:28 +0000)]
tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Signed-off-by: Chen Yuanrun <chen-yuanrun@foxmail.com>
Fixes: https://tracker.ceph.com/issues/61368
(cherry picked from commit e10bcb6905b7e4da4b3a04307d3a2b546da6d5b1)

2 years agoMerge pull request #51824 from zdover23/wip-doc-2023-05-30-backport-51798-to-reef
Anthony D'Atri [Tue, 30 May 2023 14:32:58 +0000 (10:32 -0400)]
Merge pull request #51824 from zdover23/wip-doc-2023-05-30-backport-51798-to-reef

reef: doc/rados: edit balancer.rst

2 years agodoc/rados: edit balancer.rst 51824/head
Zac Dover [Mon, 29 May 2023 01:18:00 +0000 (09:18 +0800)]
doc/rados: edit balancer.rst

Edit doc/rados/operations/balancer.rst.

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

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

2 years agoMerge pull request #51767 from rhcs-dashboard/wip-61322-reef
Nizamudeen A [Mon, 29 May 2023 13:54:47 +0000 (19:24 +0530)]
Merge pull request #51767 from rhcs-dashboard/wip-61322-reef

reef: mgr/dashboard: batch backport hackathon prs

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoexporter: promethize counter names 51813/head
Pere Diaz Bou [Thu, 13 Apr 2023 16:55:04 +0000 (18:55 +0200)]
exporter: promethize counter names

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/59475
(cherry picked from commit 7087e76a036e35a733b185e987f0c9adc8f52007)

2 years agoMerge pull request #50748 from rhcs-dashboard/wip-59215-reef
Avan [Mon, 29 May 2023 12:24:21 +0000 (17:54 +0530)]
Merge pull request #50748 from rhcs-dashboard/wip-59215-reef

reef: exporter: user only counter dump/schema commands for extacting counters

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51792 from zdover23/wip-doc-2023-05-28-backport-51587-to-reef
Anthony D'Atri [Sat, 27 May 2023 23:54:38 +0000 (19:54 -0400)]
Merge pull request #51792 from zdover23/wip-doc-2023-05-28-backport-51587-to-reef

reef: doc/rados: edit bluestore-config-ref.rst (2 of x)

2 years agodoc/rados: edit bluestore-config-ref.rst (2 of x) 51792/head
Zac Dover [Fri, 26 May 2023 18:44:18 +0000 (04:44 +1000)]
doc/rados: edit bluestore-config-ref.rst (2 of x)

Edit the second part of doc/rados/configuration/bluestore-config-ref.rst.

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

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

2 years agoMerge pull request #51760 from ljflores/wip-reef-backport-pr-51270
yaarith [Fri, 26 May 2023 22:46:21 +0000 (18:46 -0400)]
Merge pull request #51760 from ljflores/wip-reef-backport-pr-51270

reef: mgr/telemetry: compile all channels and collections in selftest

Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
2 years agoMerge pull request #51789 from zdover23/wip-doc-2023-05-27-backport-51771-to-reef
Anthony D'Atri [Fri, 26 May 2023 22:39:42 +0000 (18:39 -0400)]
Merge pull request #51789 from zdover23/wip-doc-2023-05-27-backport-51771-to-reef

reef: doc/rados: edit bluestore-config-ref.rst (1 of x)

2 years agodoc/rados: edit bluestore-config-ref.rst (1 of x) 51789/head
Zac Dover [Fri, 26 May 2023 08:59:36 +0000 (18:59 +1000)]
doc/rados: edit bluestore-config-ref.rst (1 of x)

Edit the first part of doc/rados/configuration/bluestore-config-ref.rst.

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

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

2 years agomon: Fix ceph versions command 51788/head
Prashant D [Thu, 25 May 2023 22:09:02 +0000 (18:09 -0400)]
mon: Fix ceph versions command

The commit-id d3cca1d has introduced a bug where mgr/osd/mds
version information goes missing during the cluster upgrade.
Collect version information before checking the emptiness
of the map.

Fixes: https://tracker.ceph.com/issues/61453
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 3fbebe315f25a4d1ce8cb460710ba6da23dc40f4)

2 years agoMerge pull request #51764 from cbodley/wip-61454
Casey Bodley [Fri, 26 May 2023 17:34:12 +0000 (13:34 -0400)]
Merge pull request #51764 from cbodley/wip-61454

reef: rgw/rados: remove sal handles from RGWRados::Object ops

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agomgr/dashboard: ignore Details card in applitools vrt 51767/head
Nizamudeen A [Thu, 20 Apr 2023 07:35:46 +0000 (13:05 +0530)]
mgr/dashboard: ignore Details card in applitools vrt

because the details card includes the FSID and Ceph Version which can
change on different clusters.

also don't run the 800x600 resolution because for new dashboard it looks
really weird.

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

2 years agomgr/dashboard: remove deprecated preserveOnce
Nizamudeen A [Thu, 25 May 2023 08:13:12 +0000 (13:43 +0530)]
mgr/dashboard: remove deprecated preserveOnce

cypress is deprecating preserveOnce and instead favoring using
cy.session(). session is already introduced as part of the upgrade to
cypress 10. So removing the preserveOnce here

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

2 years agomgr/dashboard: fix the hosts e2e failure
Nizamudeen A [Wed, 24 May 2023 15:05:51 +0000 (20:35 +0530)]
mgr/dashboard: fix the hosts e2e failure

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

2 years agomgr/dashboard: fix the cephadm grafana e2e failure
Nizamudeen A [Wed, 24 May 2023 08:35:32 +0000 (14:05 +0530)]
mgr/dashboard: fix the cephadm grafana e2e failure

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

2 years agomgr/dashboard: update landing page e2e tests
Pedro Gonzalez Gomez [Fri, 31 Mar 2023 17:51:16 +0000 (19:51 +0200)]
mgr/dashboard: update landing page e2e tests

ignore the region that can vary on different clusters like charts

fixes: https://tracker.ceph.com/issues/59142
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 1157e3bff978b19573549c1af1a8fac720b678f6)

2 years agomgr/dashboard: update to cypress 10
Nizamudeen A [Wed, 8 Feb 2023 15:49:31 +0000 (21:19 +0530)]
mgr/dashboard: update to cypress 10

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

2 years agomgr/dashboard: fix create snapshot is disabled for rbd images
Nizamudeen A [Fri, 19 May 2023 11:18:14 +0000 (16:48 +0530)]
mgr/dashboard: fix create snapshot is disabled for rbd images

also the rename and rollback option in the snapshot list is enabled even if there isn't anything in the list

also disabled the Mirror Image Snapshot option in the Create RBD
Snapshot form (only shown for images configured with Snapshot mirroring)
with the helpe

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

2 years agomgr/dashboard: fix broken daemon details tab
Nizamudeen A [Mon, 22 May 2023 08:11:00 +0000 (13:41 +0530)]
mgr/dashboard: fix broken daemon details tab

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

2 years agomgr/dashboard: more visibility for keys
Nizamudeen A [Thu, 18 May 2023 08:14:01 +0000 (13:44 +0530)]
mgr/dashboard: more visibility for keys

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

2 years agomgr/dashboard: add helper on the rgw user Suspended
Nizamudeen A [Thu, 18 May 2023 12:10:42 +0000 (17:40 +0530)]
mgr/dashboard: add helper on the rgw user Suspended

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

2 years agomgr/dashboard: fix rgw roles breadcrumbs
Nizamudeen A [Thu, 18 May 2023 10:48:08 +0000 (16:18 +0530)]
mgr/dashboard: fix rgw roles breadcrumbs

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

2 years agomgr/dashboard: put some default values on rgw encryption config form
Nizamudeen A [Thu, 18 May 2023 12:03:44 +0000 (17:33 +0530)]
mgr/dashboard: put some default values on rgw encryption config form

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

2 years agomgr/dashboard: default encryption type to sse-s3 in rgw
Nizamudeen A [Wed, 17 May 2023 10:57:59 +0000 (16:27 +0530)]
mgr/dashboard: default encryption type to sse-s3 in rgw

by default the form doesn't select any values, so i am defaulting it to
sse-s3

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

2 years agomgr/dashboard:Change Daemons > Object Gateway section to Gateways
Ankush Behl [Thu, 18 May 2023 11:55:56 +0000 (17:25 +0530)]
mgr/dashboard:Change Daemons > Object Gateway section to Gateways
- Change the Daemons to Gateways
- Changing the breadcrums to call it Gateways
- In list page Calling Daemons List as Gateways List

Fixes: https://tracker.ceph.com/issues/61245
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
(cherry picked from commit eda2c573b285a61e365acb48384123f8854aa790)

2 years agomgr/dashboard: remove Selected Object Gateway dropdown
Nizamudeen A [Thu, 18 May 2023 06:24:53 +0000 (11:54 +0530)]
mgr/dashboard: remove Selected Object Gateway dropdown

Only from Daemons and Multisite page because its not needed there.

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

2 years agomgr/dashboard: reorder rgw daemons list items
Nizamudeen A [Wed, 17 May 2023 11:54:52 +0000 (17:24 +0530)]
mgr/dashboard: reorder rgw daemons list items

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

2 years agomgr/dashboard: merge running and size columns in services page
Pere Diaz Bou [Fri, 19 May 2023 09:54:38 +0000 (11:54 +0200)]
mgr/dashboard: merge running and size columns in services page

Fixes: https://tracker.ceph.com/issues/61295
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 3eeca5c5c42c85d1925828a2e9ac3d87c83a401b)

2 years agomgr/dashboard: show the host's IP address on Hosts page
Aashish Sharma [Wed, 17 May 2023 13:40:35 +0000 (19:10 +0530)]
mgr/dashboard: show the host's IP address on Hosts page

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

2 years agomgr/dashboard: Show a helper for Unmanaged checkbox in service creation form
Aashish Sharma [Wed, 17 May 2023 12:31:41 +0000 (18:01 +0530)]
mgr/dashboard: Show a helper for Unmanaged checkbox in service creation form

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

2 years agomgr/dashboard: Status column in Cluster > Hosts shows empty
Aashish Sharma [Wed, 17 May 2023 12:07:41 +0000 (17:37 +0530)]
mgr/dashboard: Status column in Cluster > Hosts shows empty

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

2 years agomgr/dashboard: add warning message on why osd creation disabled
Pere Diaz Bou [Wed, 17 May 2023 14:32:43 +0000 (16:32 +0200)]
mgr/dashboard: add warning message on why osd creation disabled

When no options are present when creating OSDs, you can see the form
with lots of things disabled without having a clear explanation. This
PR introduces a warning banner with a description on why it is
happening.

Fixes: https://tracker.ceph.com/issues/61223
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 1d6b318b1a95dc961838dba5b06ebb70b039ee86)

2 years agomgr/dashboard: filte hosts by services
Pere Diaz Bou [Wed, 17 May 2023 16:17:50 +0000 (18:17 +0200)]
mgr/dashboard: filte hosts by services

Fixes: https://tracker.ceph.com/issues/61242
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 510a582fa8bd04125a565afe12d245fc4dadff2f)

2 years agomgr/dashboard: Rename Cluster > Monitoring to Alerts and change Cluster>Users to...
Aashish Sharma [Wed, 17 May 2023 11:17:15 +0000 (16:47 +0530)]
mgr/dashboard: Rename Cluster > Monitoring to Alerts and change Cluster>Users to Cluster>Ceph Users

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

2 years agomgr/dashboard: rename Service>Details to Service>Daemons
Pere Diaz Bou [Wed, 17 May 2023 11:19:10 +0000 (13:19 +0200)]
mgr/dashboard: rename Service>Details to Service>Daemons

Daemons and services are not interchangeable in cephadm terms. As stated
in the docs: `A daemon is a systemd unit that is running and part of a
service.` https://docs.ceph.com/en/latest/cephadm/services/#daemon-status

Fixes: https://tracker.ceph.com/issues/61214
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit a0c59bf580adacb755334d9cc8f7c452223f9706)

2 years agomgr/dashboard: remove title tooltip of cards landing page
Pedro Gonzalez Gomez [Thu, 18 May 2023 12:16:10 +0000 (14:16 +0200)]
mgr/dashboard: remove title tooltip of cards landing page

Fixes: https://tracker.ceph.com/issues/61250
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit ac73126362f3ea0f26ae32218b86ad9f9ab73670)

2 years agomgr/dashboard: add-scroll-in-key-value-tables
Pedro Gonzalez Gomez [Thu, 18 May 2023 07:14:50 +0000 (09:14 +0200)]
mgr/dashboard: add-scroll-in-key-value-tables

Fixes: https://tracker.ceph.com/issues/61220
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 1ae6a035b4ebfcee0009ee67740d485a2f9b8a9b)

2 years agomgr/dashboard: fix spacing of embedded grafana buttons
Pedro Gonzalez Gomez [Thu, 18 May 2023 10:10:11 +0000 (12:10 +0200)]
mgr/dashboard: fix spacing of embedded grafana buttons

Fixes: https://tracker.ceph.com/issues/61220
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 5b7e850f67097f37276bc4bda87a65a79ce71b6c)

2 years agomgr/dashboard: fix tooltip for alerts silence matchers
avanthakkar [Wed, 17 May 2023 12:14:00 +0000 (17:44 +0530)]
mgr/dashboard: fix tooltip for alerts silence matchers

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

2 years agomgr/dashboard: fix Nan undefined values and add empty pipe on expand-cluster
Pedro Gonzalez Gomez [Thu, 18 May 2023 11:47:16 +0000 (13:47 +0200)]
mgr/dashboard: fix Nan undefined values and add empty pipe on expand-cluster

Fixes: https://tracker.ceph.com/issues/61207
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 764a1b67392f09a288a6f38d9d4f89d2a203cf57)

2 years agorgw/rados: remove sal handles from RGWRados::Object ops 51764/head
Casey Bodley [Sat, 18 Feb 2023 18:11:45 +0000 (13:11 -0500)]
rgw/rados: remove sal handles from RGWRados::Object ops

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

Conflicts:
src/rgw/driver/rados/rgw_rados.cc need_to_log_data()
src/rgw/driver/rados/rgw_rados.h reindex_obj()

2 years agorgw/sal: StoreObject doesn't store separate attrs
Casey Bodley [Sat, 18 Feb 2023 20:19:34 +0000 (15:19 -0500)]
rgw/sal: StoreObject doesn't store separate attrs

use RGWObjState::attrset instead

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

2 years agoMerge pull request #51717 from soumyakoduri/wip-skoduri-reef
Yuri Weinstein [Thu, 25 May 2023 20:12:13 +0000 (16:12 -0400)]
Merge pull request #51717 from soumyakoduri/wip-skoduri-reef

[reef] RGW backports

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51762 from neha-ojha/wip-reef-rc
Laura Flores [Thu, 25 May 2023 19:19:14 +0000 (14:19 -0500)]
Merge pull request #51762 from neha-ojha/wip-reef-rc

reef: src/ceph_release: dev -> rc

2 years agoMerge pull request #51731 from cbodley/wip-59351-again
Casey Bodley [Thu, 25 May 2023 19:15:36 +0000 (15:15 -0400)]
Merge pull request #51731 from cbodley/wip-59351-again

reef: cmake: cls_rgw and cls_fifo depend on fmt

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51735 from smanjara/wip-61406-reef
Yuri Weinstein [Thu, 25 May 2023 17:20:42 +0000 (13:20 -0400)]
Merge pull request #51735 from smanjara/wip-61406-reef

reef: rgw/multisite: handle shard_id correctly in data sync when bucket num_shards is 0

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51724 from smanjara/wip-61387-reef
Yuri Weinstein [Thu, 25 May 2023 17:20:00 +0000 (13:20 -0400)]
Merge pull request #51724 from smanjara/wip-61387-reef

reef: rgw/multisite: fix ret handling in bucket read_sync_status()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years ago doc/dev/release-checklists.rst: reef is in rc phase 51762/head
Neha Ojha [Thu, 25 May 2023 16:24:16 +0000 (16:24 +0000)]
 doc/dev/release-checklists.rst: reef is in rc phase

Signed-off-by: Neha Ojha <nojha@redhat.com>
2 years agodoc/dev/release-checklists.rst: add after dev freeze section
Neha Ojha [Tue, 14 Mar 2023 18:45:30 +0000 (18:45 +0000)]
doc/dev/release-checklists.rst: add after dev freeze section

- add release to redmine
- add milestone

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 1e048aade95880fe3c227f551bc91ac420701a8d)

2 years agosrc/ceph_release: dev -> rc
Neha Ojha [Thu, 25 May 2023 16:08:50 +0000 (16:08 +0000)]
src/ceph_release: dev -> rc

reef is now in rc phase

Signed-off-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51001 from ifed01/wip-ifed-bluefs-duplicate-dir-link-ree
Yuri Weinstein [Thu, 25 May 2023 16:04:21 +0000 (12:04 -0400)]
Merge pull request #51001 from ifed01/wip-ifed-bluefs-duplicate-dir-link-ree

reef: os/bluestore/bluefs: fix dir_link might add link that already exists in compact log

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50930 from ifed01/wip-ifed-fix-spillover-alert-ree
Yuri Weinstein [Thu, 25 May 2023 16:02:57 +0000 (12:02 -0400)]
Merge pull request #50930 from ifed01/wip-ifed-fix-spillover-alert-ree

reef: os/bluestore: fix spillover alert

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agomgr/telemetry: compile all channels and collections in selftest 51760/head
Laura Flores [Thu, 27 Apr 2023 18:22:47 +0000 (18:22 +0000)]
mgr/telemetry: compile all channels and collections in selftest

The selftest currently compiles only channels and collections that
are on by default. This change tests the compilation of all channels
and collections.

Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 70c5a4d54833f20a07f48488f29d9410d19f6bd4)

2 years agoMerge pull request #51755 from zdover23/wip-doc-2023-05-25-backport-51754-to-reef
Anthony D'Atri [Thu, 25 May 2023 11:14:13 +0000 (07:14 -0400)]
Merge pull request #51755 from zdover23/wip-doc-2023-05-25-backport-51754-to-reef

reef: doc/rados: fix link in common.rst

2 years agodoc/rados: fix link in common.rst 51755/head
Zac Dover [Thu, 25 May 2023 09:01:49 +0000 (19:01 +1000)]
doc/rados: fix link in common.rst

Fix a link in doc/rados/configuration/common.rst that was missing its
final letter, causing a 404 error when readers attempted to follow it.

This bug was reported by stalwart friend of the Ceph documentation
project Eugen Block, who is here credited as a co-author. This bug was
reported at https://pad.ceph.com/p/Report_Documentation_Bugs.

Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8128ce20fef3d75c6251691d10af21861c01e155)

2 years agoMerge pull request #51751 from zdover23/wip-doc-2023-05-25-backport-51745-to-reef
Anthony D'Atri [Thu, 25 May 2023 10:02:00 +0000 (06:02 -0400)]
Merge pull request #51751 from zdover23/wip-doc-2023-05-25-backport-51745-to-reef

reef: doc/rados: edit filestore-config-ref.rst

2 years agoMerge pull request #51162 from rhcs-dashboard/dependabot-pr-50580
Nizamudeen A [Thu, 25 May 2023 09:29:50 +0000 (14:59 +0530)]
Merge pull request #51162 from rhcs-dashboard/dependabot-pr-50580

reef: mgr/dashboard: bump webpack and @angular-devkit/build-angular

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #51077 from aaSharma14/wip-59447-reef
Nizamudeen A [Thu, 25 May 2023 09:28:50 +0000 (14:58 +0530)]
Merge pull request #51077 from aaSharma14/wip-59447-reef

reef: mgr/dashboard: Fix rbd snapshot creation

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agodoc/rados: edit filestore-config-ref.rst 51751/head
Zac Dover [Thu, 25 May 2023 00:16:51 +0000 (10:16 +1000)]
doc/rados: edit filestore-config-ref.rst

Edit doc/rados/configuration/filestore-config-ref.rst.

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

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

2 years agomgr/dashboard: bump webpack and @angular-devkit/build-angular 51162/head
dependabot[bot] [Sat, 18 Mar 2023 13:11:15 +0000 (13:11 +0000)]
mgr/dashboard: bump webpack and @angular-devkit/build-angular

Bumps [webpack](https://github.com/webpack/webpack) to 5.76.1 and updates ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together.

Updates `webpack` from 5.70.0 to 5.76.1
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.1)

Updates `@angular-devkit/build-angular` from 13.3.9 to 13.3.11
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/13.3.9...13.3.11)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a6514bd04a78ab71b6b47706942de3dee9055db5)

2 years agoMerge pull request #51739 from zdover23/wip-doc-2023-05-25-backport-50858-to-reef
Anthony D'Atri [Thu, 25 May 2023 02:14:22 +0000 (22:14 -0400)]
Merge pull request #51739 from zdover23/wip-doc-2023-05-25-backport-50858-to-reef

reef: doc/rados/operations: Acting Set question

2 years agoMerge pull request #51742 from zdover23/wip-doc-2023-05-25-backport-51730-to-reef
Anthony D'Atri [Thu, 25 May 2023 02:12:10 +0000 (22:12 -0400)]
Merge pull request #51742 from zdover23/wip-doc-2023-05-25-backport-51730-to-reef

reef: doc/rados/operations: Fix erasure-code-jerasure.rst fix

2 years agodoc/rados/operations: Fix erasure-code-jerasure.rst fix 51742/head
Anthony D'Atri [Wed, 24 May 2023 13:57:42 +0000 (09:57 -0400)]
doc/rados/operations: Fix erasure-code-jerasure.rst fix

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

2 years agodoc/rados/operations: Acting Set question 51739/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 agorgw/multisite: parse shard_id value correctly to handle num_shards 0 case 51735/head
Shilpa Jagannath [Tue, 18 Apr 2023 20:40:09 +0000 (16:40 -0400)]
rgw/multisite: parse shard_id value correctly to handle num_shards 0 case

For buckets that have num_shards set to 0, bucket instance
will not have a shard_id delimiter. When this bucket instance is parsed,
we end up assigning a value of -1 to shard_id, which is invalid
in data sync. This change ensures that we represent the shard_id correctly
by giving it a valid number

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

2 years agoMerge pull request #51712 from amathuria/wip-reef-change-default-scrub-cost
Laura Flores [Wed, 24 May 2023 17:06:58 +0000 (12:06 -0500)]
Merge pull request #51712 from amathuria/wip-reef-change-default-scrub-cost

reef: osd: Change scrub cost in case of mClock scheduler

2 years agoMerge pull request #51683 from athanatos/sjust/wip-scrub-59049-reef
Laura Flores [Wed, 24 May 2023 17:06:43 +0000 (12:06 -0500)]
Merge pull request #51683 from athanatos/sjust/wip-scrub-59049-reef

reef: src/osd/scrubber: process MapsCompared event syncronously

2 years agoMerge pull request #51323 from rhcs-dashboard/wip-59621-reef
Nizamudeen A [Wed, 24 May 2023 14:58:27 +0000 (20:28 +0530)]
Merge pull request #51323 from rhcs-dashboard/wip-59621-reef

reef: mgr/dashboard: fix the rbd mirroring configure check

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agocmake: cls_rgw and cls_fifo depend on fmt 51731/head
Casey Bodley [Mon, 22 May 2023 16:33:06 +0000 (12:33 -0400)]
cmake: cls_rgw and cls_fifo depend on fmt

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

2 years agoMerge pull request #51711 from Matan-B/wip-51388-reef
Matan [Wed, 24 May 2023 09:11:19 +0000 (11:11 +0200)]
Merge pull request #51711 from Matan-B/wip-51388-reef

reef: qa/suites/crimson: Enhance rbd api testing

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #51716 from Matan-B/wip-51312-reef
Matan [Wed, 24 May 2023 09:10:39 +0000 (11:10 +0200)]
Merge pull request #51716 from Matan-B/wip-51312-reef

reef: crimson/osd/ops_executer: Fix usage of Message's connection

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agorgw/sync-policy: Support disabling per-bucket replication 51717/head
Soumya Koduri [Fri, 20 Jan 2023 10:33:15 +0000 (16:03 +0530)]
rgw/sync-policy: Support disabling per-bucket replication

When the zones replicate, allow disabling replication
for specific buckets using sync policy.

These are the semantics to be followed while resolving the policy
conflicts -

==================================================
zonegroup bucket Result
==================================================
enabled enabled enabled
allowed enabled
forbidden disabled
allowed enabled enabled
allowed disabled
forbidden disabled
forbidden enabled disabled
allowed disabled
forbidden disabled

In case multiple group policies are set to reflect for any sync pair
(<source-zone,source-bucket>, <dest-zone,dest-bucket>), the following
rules are applied in the order -
1) Even if one policy status is FORBIDDEN, the sync will be disabled
2) Atleast one policy should be ENABLED for the sync to be allowed.

Various cases tested are outlined here -
https://docs.google.com/document/d/19oBQA-bYxLBR4BnekA2DTwJJaTFvjAfrqAk9G3RGU0I/edit#heading=h.4qac9dpc76m

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit aeb3a746180675bc5fcfaea4af839daadb0abdd7)