]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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)

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

reef: doc: Update jerasure.org references

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: Update jerasure.org references 51725/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 agorgw/multisite: fix ret handling in bucket read_sync_status() 51724/head
Shilpa Jagannath [Mon, 3 Apr 2023 17:44:35 +0000 (13:44 -0400)]
rgw/multisite: fix ret handling in bucket read_sync_status()

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

2 years agoMerge pull request #51615 from adk3798/wip-59636-reef
Adam King [Tue, 23 May 2023 23:18:48 +0000 (19:18 -0400)]
Merge pull request #51615 from adk3798/wip-59636-reef

reef: mgr/cephadm: allow configuring anonymous access for grafana

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #51663 from sseshasa/wip-61336-reef
Yuri Weinstein [Tue, 23 May 2023 22:59:10 +0000 (18:59 -0400)]
Merge pull request #51663 from sseshasa/wip-61336-reef

reef: osd/scheduler: Reset ephemeral changes to mClock built-in profile

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #51666 from amathuria/wip-61303-reef
Yuri Weinstein [Tue, 23 May 2023 22:57:24 +0000 (18:57 -0400)]
Merge pull request #51666 from amathuria/wip-61303-reef

reef: mClockScheduler: Set priority cutoff in the mClock Scheduler

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51720 from zdover23/wip-doc-2023-05-24-backport-51679-to-reef
Anthony D'Atri [Tue, 23 May 2023 22:29:08 +0000 (18:29 -0400)]
Merge pull request #51720 from zdover23/wip-doc-2023-05-24-backport-51679-to-reef

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

2 years agoMerge pull request #51714 from ljflores/wip-backport-pr-50482
Laura Flores [Tue, 23 May 2023 22:14:43 +0000 (17:14 -0500)]
Merge pull request #51714 from ljflores/wip-backport-pr-50482

reef: .github/milestone.yml: add reef

2 years agodoc/mgr: edit "leaderboard" in telemetry.rst 51720/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 #51128 from petrutlucian94/wip-59480-reef
Ilya Dryomov [Tue, 23 May 2023 18:59:28 +0000 (20:59 +0200)]
Merge pull request #51128 from petrutlucian94/wip-59480-reef

reef: win32_deps_build: avoid pip

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge PR #50755 into reef
Patrick Donnelly [Tue, 23 May 2023 18:21:42 +0000 (14:21 -0400)]
Merge PR #50755 into reef

* refs/pull/50755/head:
mds: add config to decide whether to mark dentry bad
qa: add missing scan_links step for data scan recovery
qa/tasks/cephfs: test damage to dentry's first is caught
qa/tasks/cephfs: use rank_asok and allow specifying rank
qa/tasks: allow specifying timeout command prefix to ceph
mds: provide test configs for creating first corruption
mds: catch damage to dentry's first field
mds: add debugging for pre_cow_old_inode
mds: cleanup code

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agorgw/multisite: Fix issue with parsing replication rules
Soumya Koduri [Tue, 16 May 2023 10:10:36 +0000 (15:40 +0530)]
rgw/multisite: Fix issue with parsing replication rules

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

2 years agorgw/archive: Correct the bucket sync status cmd output
Soumya Koduri [Mon, 20 Mar 2023 12:15:33 +0000 (17:45 +0530)]
rgw/archive: Correct the bucket sync status cmd output

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

2 years agorgw: Disable logging for datalog and bilog if zone doesn't export data
Soumya Koduri [Sat, 8 Apr 2023 12:23:24 +0000 (17:53 +0530)]
rgw: Disable logging for datalog and bilog if zone doesn't export data

Zones (such as archive zone) which do not export data should have
sync logging disabled.

Fixes# https://tracker.ceph.com/issues/59106

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

2 years agorgw/cloud-transition: New attrs to detect cloudtiered objects
Soumya Koduri [Tue, 25 Apr 2023 18:04:28 +0000 (23:34 +0530)]
rgw/cloud-transition: New attrs to detect cloudtiered objects

Add new attrs "RGW_ATTR_CLOUD_TIER_TYPE" and "RGW_ATTR_CLOUD_TIER_CONFIG"
to store details about cloud-tiered objects so that they get synced accordingly
in a multisite environment.

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

2 years agorgw: Dump tier_* config in RGWObjManifest
Soumya Koduri [Mon, 24 Apr 2023 17:44:15 +0000 (23:14 +0530)]
rgw: Dump tier_* config in RGWObjManifest

This was missed as part of refactoring done to encoder
and decoder methods (https://github.com/ceph/ceph/commit/2414c7584eb90bfff42d512879a0aa6b220d359e)

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

2 years agorgw/cloudtransition: Allow multisite zones to sync cloudtiered objects
Soumya Koduri [Wed, 19 Apr 2023 18:03:28 +0000 (23:33 +0530)]
rgw/cloudtransition: Allow multisite zones to sync cloudtiered objects

In a multisite configuration, zones should be able to fetch & sync
cloud-transitioned objects as well. To allow this, a new header
'x-rgwx-sync-cloudtiered' is added to be used by sync client to GET
such objects.

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

2 years agorgw/cloudtier: Fix bug with decoding tier_targets
Soumya Koduri [Wed, 19 Apr 2023 11:14:24 +0000 (16:44 +0530)]
rgw/cloudtier: Fix bug with decoding tier_targets

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

2 years agorgw/rados: cosmetic cleanup of attr handling
Casey Bodley [Sun, 19 Feb 2023 22:48:11 +0000 (17:48 -0500)]
rgw/rados: cosmetic cleanup of attr handling

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

2 years agorgw/rados: don't use attrset[] to create entries that don't exist
Casey Bodley [Sun, 19 Feb 2023 22:47:43 +0000 (17:47 -0500)]
rgw/rados: don't use attrset[] to create entries that don't exist

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

2 years agorgw: add s3 error message to cloud-tiered objects
Casey Bodley [Mon, 20 Feb 2023 13:52:39 +0000 (08:52 -0500)]
rgw: add s3 error message to cloud-tiered objects

better to tell the s3 client why their request failed than to log it as
an ERROR; this is normal/expected when cloud tiering is enabled

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

2 years agorgw: catch manifest decode errors in GetObj/PutObj/CopyObj
Casey Bodley [Sun, 19 Feb 2023 22:24:48 +0000 (17:24 -0500)]
rgw: catch manifest decode errors in GetObj/PutObj/CopyObj

if we read an object that doesn't have a manifest attribute,
RGWRados::get_obj_state_impl() adds an empty one and causes decode to
throw an end_of_buffer exception

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