]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
21 months agoexporter: add ceph_daemon labels to labeled counters as well 53695/head
avanthakkar [Tue, 19 Sep 2023 08:18:43 +0000 (13:48 +0530)]
exporter: add ceph_daemon labels to labeled counters as well

Exporter missed adding the `ceph_daemon` or `instance_id`
labels(in case if rgw metrics) to the new labeled performance counters.

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

21 months agoMerge pull request #53669 from rhcs-dashboard/wip-62963-reef
Nizamudeen A [Wed, 27 Sep 2023 05:25:01 +0000 (10:55 +0530)]
Merge pull request #53669 from rhcs-dashboard/wip-62963-reef

reef: mgr/dashboard: fix prometheus queries subscriptions

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53659 from zdover23/wip-doc-2023-09-26-backport-53657-to-reef
Anthony D'Atri [Tue, 26 Sep 2023 18:36:28 +0000 (14:36 -0400)]
Merge pull request #53659 from zdover23/wip-doc-2023-09-26-backport-53657-to-reef

reef: doc/architecture: edit "SDEH"

21 months agomgr/dashboard: fix prometheus queries subscriptions 53669/head
Pedro Gonzalez Gomez [Mon, 18 Sep 2023 16:34:28 +0000 (18:34 +0200)]
mgr/dashboard: fix prometheus queries subscriptions

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

21 months agodoc/architecture: edit "SDEH" 53659/head
Zac Dover [Mon, 25 Sep 2023 21:40:42 +0000 (07:40 +1000)]
doc/architecture: edit "SDEH"

Edit the front matter of the "Smart Daemons Enable Hyperscale" section
of doc/architecture.rst.

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

21 months agoMerge pull request #53652 from rhcs-dashboard/wip-62967-reef
Nizamudeen A [Mon, 25 Sep 2023 14:27:04 +0000 (19:57 +0530)]
Merge pull request #53652 from rhcs-dashboard/wip-62967-reef

reef: mgr/dashboard: remove empty popover when there are no health warns

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
21 months agomgr/dashboard: remove empty popover when there are no health warns 53652/head
Nizamudeen A [Fri, 15 Sep 2023 06:40:24 +0000 (12:10 +0530)]
mgr/dashboard: remove empty popover when there are no health warns

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

21 months agoMerge pull request #53632 from zdover23/wip-doc-2023-09-25-backport-53631-to-reef
Anthony D'Atri [Mon, 25 Sep 2023 05:16:59 +0000 (01:16 -0400)]
Merge pull request #53632 from zdover23/wip-doc-2023-09-25-backport-53631-to-reef

reef: doc/architecture: edit "HA Authentication"

21 months agodoc/architecture: edit "HA Authentication" 53632/head
Zac Dover [Mon, 25 Sep 2023 04:34:06 +0000 (14:34 +1000)]
doc/architecture: edit "HA Authentication"

Edit "High Availability Authentication" in doc/architecture.rst.

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

21 months agoMerge pull request #53619 from zdover23/wip-doc-2023-09-24-backport-53613-to-reef
Anthony D'Atri [Sat, 23 Sep 2023 18:02:19 +0000 (14:02 -0400)]
Merge pull request #53619 from zdover23/wip-doc-2023-09-24-backport-53613-to-reef

reef: doc/architecture: "Edit HA Auth"

21 months agodoc/architecture: "Edit HA Auth" 53619/head
Zac Dover [Sat, 23 Sep 2023 02:26:18 +0000 (12:26 +1000)]
doc/architecture: "Edit HA Auth"

Rewrite the explanation of how a client authenticates against a monitor.
This is a rewrite of a single paragraph, and has been set apart in its
own PR so that it can receive the maximum amount of scrutiny that the
upstream Ceph community can muster.

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

21 months agoMerge pull request #53543 from rhcs-dashboard/wip-62880-reef
Nizamudeen A [Fri, 22 Sep 2023 06:52:53 +0000 (12:22 +0530)]
Merge pull request #53543 from rhcs-dashboard/wip-62880-reef

reef: mgr/dashboard: align charts of landing page

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53585 from zdover23/wip-doc-2023-09-22-backport-53493-to-reef
Anthony D'Atri [Thu, 21 Sep 2023 18:20:59 +0000 (14:20 -0400)]
Merge pull request #53585 from zdover23/wip-doc-2023-09-22-backport-53493-to-reef

reef: doc/architecture: "Edit HA Auth" (one of several)

21 months agodoc/architecture: "Edit HA Auth" (one of several) 53585/head
Zac Dover [Sun, 17 Sep 2023 20:41:28 +0000 (06:41 +1000)]
doc/architecture: "Edit HA Auth" (one of several)

Edit "High Availability Authentication" in doc/architecture.rst.

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

21 months agoMerge pull request #53569 from zdover23/wip-doc-2023-09-21-backport-53176-to-reef
zdover23 [Thu, 21 Sep 2023 06:27:24 +0000 (16:27 +1000)]
Merge pull request #53569 from zdover23/wip-doc-2023-09-21-backport-53176-to-reef

reef: doc: add note for removing (automatic) partitioning policy

Reviewed-by: Venky Shankar <vshankar@redhat.com>
21 months agodoc: add note for removing (automatic) partitioning policy 53569/head
Venky Shankar [Mon, 28 Aug 2023 10:42:57 +0000 (16:12 +0530)]
doc: add note for removing (automatic) partitioning policy

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

22 months agomgr/dashboard: align charts of landing page 53543/head
Pedro Gonzalez Gomez [Tue, 12 Sep 2023 08:08:38 +0000 (10:08 +0200)]
mgr/dashboard: align charts of landing page

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

22 months agoMerge pull request #53536 from zdover23/wip-doc-2023-09-20-backport-53532-to-reef
Anthony D'Atri [Wed, 20 Sep 2023 00:15:09 +0000 (20:15 -0400)]
Merge pull request #53536 from zdover23/wip-doc-2023-09-20-backport-53532-to-reef

reef: doc/man: s/kvstore-tool/monstore-tool/

22 months agodoc/man: s/kvstore-tool/monstore-tool/ 53536/head
Zac Dover [Tue, 19 Sep 2023 13:12:34 +0000 (23:12 +1000)]
doc/man: s/kvstore-tool/monstore-tool/

s/kvstore-tool/monstore-tool/ in accordance with Ilya's remark here:
https://github.com/ceph/ceph/pull/53450#discussion_r1329804085

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

22 months agoMerge pull request #52950 from k0ste/wip-61722-reef
Adam Kupczyk [Tue, 19 Sep 2023 13:30:02 +0000 (15:30 +0200)]
Merge pull request #52950 from k0ste/wip-61722-reef

reef: Bluestore: fix bluestore collection_list latency perf counter

22 months agoMerge pull request #53519 from zdover23/wip-doc-2023-09-19-backport-53518-to-reef
Anthony D'Atri [Mon, 18 Sep 2023 23:54:49 +0000 (19:54 -0400)]
Merge pull request #53519 from zdover23/wip-doc-2023-09-19-backport-53518-to-reef

reef: doc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst

22 months agodoc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst 53519/head
Daniel Parkes [Mon, 18 Sep 2023 21:03:28 +0000 (23:03 +0200)]
doc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst

Typo Error in Doc cephfs-mirroring.rst , replace RAODS with RADOS
Typo Error in Doc deduplication.rst , replace RAODS with RADOS

Signed-off-by: Daniel Parkes <dparkes@redhat.com>
(cherry picked from commit 06358e8d17a0e0fbd5d94b14595ade778a4fb5eb)

22 months agoMerge pull request #53491 from zdover23/wip-doc-2023-09-18-backport-53490-to-reef
Anthony D'Atri [Sun, 17 Sep 2023 21:11:55 +0000 (17:11 -0400)]
Merge pull request #53491 from zdover23/wip-doc-2023-09-18-backport-53490-to-reef

reef: doc/architecture: "Edit HA Auth" (one of several)

22 months agodoc/architecture: "Edit HA Auth" (one of several) 53491/head
Zac Dover [Sun, 17 Sep 2023 08:56:40 +0000 (18:56 +1000)]
doc/architecture: "Edit HA Auth" (one of several)

Edit "High Availability Authentication" in doc/architecture.rst.

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

22 months agoMerge pull request #53488 from zdover23/wip-doc-2023-09-17-backport-53487-to-reef
Anthony D'Atri [Sun, 17 Sep 2023 14:44:27 +0000 (10:44 -0400)]
Merge pull request #53488 from zdover23/wip-doc-2023-09-17-backport-53487-to-reef

reef: doc/architecture: Edit "HA Auth"

22 months agodoc/architecture: Edit "HA Auth" 53488/head
Zac Dover [Sat, 16 Sep 2023 12:27:29 +0000 (22:27 +1000)]
doc/architecture: Edit "HA Auth"

Edit "High Availability Authentication" in doc/architecture.rst.

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

22 months agoMerge pull request #53413 from trociny/wip-62506-reef
Casey Bodley [Fri, 15 Sep 2023 15:35:09 +0000 (16:35 +0100)]
Merge pull request #53413 from trociny/wip-62506-reef

reef: rgw: handle http options CORS with v4 auth

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #53476 from zdover23/wip-doc-2023-09-15-backport-53450-to-reef
Anthony D'Atri [Fri, 15 Sep 2023 12:14:20 +0000 (08:14 -0400)]
Merge pull request #53476 from zdover23/wip-doc-2023-09-15-backport-53450-to-reef

reef: doc/man: edit ceph-monstore-tool.rst

22 months agodoc/man: edit ceph-monstore-tool.rst 53476/head
Zac Dover [Thu, 14 Sep 2023 03:24:11 +0000 (13:24 +1000)]
doc/man: edit ceph-monstore-tool.rst

Clean up the English in doc/man/8/ceph-monstore-tool.rst. Put all
commands in the imperative mood; make sentences more direct.

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

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

22 months agoMerge pull request #53429 from kamoltat/wip-ksirivad-reef-backport-50334
Kamoltat (Junior) Sirivadhna [Thu, 14 Sep 2023 20:57:59 +0000 (16:57 -0400)]
Merge pull request #53429 from kamoltat/wip-ksirivad-reef-backport-50334

reef: pybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
22 months agoMerge pull request #53451 from zdover23/wip-doc-2023-09-14-backport-53444-to-reef
Anthony D'Atri [Thu, 14 Sep 2023 03:42:39 +0000 (23:42 -0400)]
Merge pull request #53451 from zdover23/wip-doc-2023-09-14-backport-53444-to-reef

reef: doc/architecture: edit "High Avail. Monitors"

22 months agodoc/architecture: edit "High Avail. Monitors" 53451/head
Zac Dover [Wed, 13 Sep 2023 14:09:45 +0000 (00:09 +1000)]
doc/architecture: edit "High Avail. Monitors"

Improve the sentence structure in the "High Availability Monitors"
section of doc/architecture.rst.

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

22 months agoMerge pull request #53434 from zdover23/wip-doc-2023-09-13-backport-53423-to-reef
zdover23 [Wed, 13 Sep 2023 14:21:51 +0000 (00:21 +1000)]
Merge pull request #53434 from zdover23/wip-doc-2023-09-13-backport-53423-to-reef

reef: doc/architecture: edit "Cluster Map"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
22 months agodoc/architecture: edit "Cluster Map" 53434/head
Zac Dover [Tue, 12 Sep 2023 11:17:40 +0000 (21:17 +1000)]
doc/architecture: edit "Cluster Map"

Edit the section "Cluster Map" in doc/architecture.rst.

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

22 months agoMerge pull request #53427 from zdover23/wip-doc-2023-09-13-backport-53422-to-reef
Anthony D'Atri [Tue, 12 Sep 2023 18:58:10 +0000 (14:58 -0400)]
Merge pull request #53427 from zdover23/wip-doc-2023-09-13-backport-53422-to-reef

reef: doc/glossary: add "primary affinity" to glossary

22 months agoqa/workunits/mon/pg_autoscaler: Added bug-reproducer/test 53429/head
Kamoltat [Wed, 1 Mar 2023 21:07:54 +0000 (21:07 +0000)]
qa/workunits/mon/pg_autoscaler: Added bug-reproducer/test

Added a bug-reproducer/test to fix:

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 009430b5548db028fe8d48b2469544eca419b526)

22 months agopybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust
Kamoltat [Wed, 1 Mar 2023 20:32:47 +0000 (20:32 +0000)]
pybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust

Problem:

In the func `_maybe_adjust` we have this condition
where `if not p['would_adjust']: continue` which
would get triggered before `if p['pg_autoscale_mode'] == 'warn':`
if we don't have `pg_autoscale_mode` as `on`. This causes:
the autoscaler to not throw any warnings.

Solution:
Move `if p['pg_autoscale_mode'] == 'warn':` to be
higher than `if not p['would_adjust']: continue`.

Fixes: https://tracker.ceph.com/issues/58894
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit c43fe7f07631bd0d795b711a100b9220b996ace0)

22 months agodoc/glossary: add "primary affinity" to glossary 53427/head
Zac Dover [Tue, 12 Sep 2023 10:56:03 +0000 (20:56 +1000)]
doc/glossary: add "primary affinity" to glossary

Add "Primary Affinity" to the glossary and link to the information in
the RADOS documentation that (more or less) explains it.

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

22 months agoMerge pull request #53420 from zdover23/wip-doc-2023-09-12-backport-53389-to-reef
Anthony D'Atri [Tue, 12 Sep 2023 16:02:01 +0000 (12:02 -0400)]
Merge pull request #53420 from zdover23/wip-doc-2023-09-12-backport-53389-to-reef

doc: Add warning on manual CRUSH rule removal

22 months agoMerge pull request #53402 from rishabh-d-dave/wip-62806-reef
zdover23 [Tue, 12 Sep 2023 10:37:57 +0000 (20:37 +1000)]
Merge pull request #53402 from rishabh-d-dave/wip-62806-reef

reef: doc/cephfs: write cephfs commands fully in docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agodoc: Add warning on manual CRUSH rule removal 53420/head
Alvin Owyong [Mon, 11 Sep 2023 09:15:15 +0000 (17:15 +0800)]
doc: Add warning on manual CRUSH rule removal

Add warning for "osd erasure-code-profile rm" section under rados/operations.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
(cherry picked from commit f944fa8ddb022656dac3f1faebe81a7de37380f6)

22 months agorgw/auth: move http options v4 logic to get_v4_canonical_method() 53413/head
Tobias Urdin [Thu, 17 Aug 2023 11:45:06 +0000 (11:45 +0000)]
rgw/auth: move http options v4 logic to get_v4_canonical_method()

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit dbc0a4ed2dd6a92d06e585dda25b1325464efefb)

22 months agorgw/auth: handle HTTP OPTIONS with v4 auth
Tobias Urdin [Mon, 7 Aug 2023 20:34:43 +0000 (20:34 +0000)]
rgw/auth: handle HTTP OPTIONS with v4 auth

This adds code to properly verify the signature
for HTTP OPTIONS calls that is preflight CORS
requests passing the expected method in the
access-control-request-method header.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 814cae52baf04d9c3f0f3bd04b8e2daf16eb3874)

22 months agorgw/auth: check auth for http options requests
Tobias Urdin [Thu, 27 Jul 2023 14:59:45 +0000 (14:59 +0000)]
rgw/auth: check auth for http options requests

If we get a HTTP OPTIONS request we previously always
allowed the anonymous engine to handle the request even
if other auth was given in the request.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 135b6fc20e8ad094ed94e05bfb1975578abbbdab)

22 months agoMerge pull request #53394 from rhcs-dashboard/wip-62794-reef
Nizamudeen A [Tue, 12 Sep 2023 05:15:11 +0000 (10:45 +0530)]
Merge pull request #53394 from rhcs-dashboard/wip-62794-reef

reef: mgr/dashboard: display the groups in cephfs subvolume tab

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53382 from aaSharma14/wip-62767-reef
Nizamudeen A [Tue, 12 Sep 2023 04:39:21 +0000 (10:09 +0530)]
Merge pull request #53382 from aaSharma14/wip-62767-reef

reef: mgr/dashboard: Object gateway inventory card incorrect Buckets and user count

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agodoc/cephfs: write cephfs commands fully in docs 53402/head
Rishabh Dave [Mon, 11 Sep 2023 09:55:46 +0000 (15:25 +0530)]
doc/cephfs: write cephfs commands fully in docs

We write CephFS commands incompletely in docs. For example, "ceph tell
mds.a help" is simply written as "tell mds.a help". This might confuse
the reader and it won't harm to write the command in full.

Fixes: https://tracker.ceph.com/issues/62791
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit e63b573d3edc272d83ee1b5eb3dace037f762d87)

22 months agoMerge pull request #53352 from idryomov/wip-61505-reef
Ilya Dryomov [Mon, 11 Sep 2023 16:02:14 +0000 (18:02 +0200)]
Merge pull request #53352 from idryomov/wip-61505-reef

reef: qa/suites/upgrade: enable default RBD image features

Reviewed-by: Mykola Golub <mgolub@suse.com>
22 months agomgr/dashboard: CephFS add groups in subvolume tab 53394/head
Pedro Gonzalez Gomez [Thu, 31 Aug 2023 23:54:28 +0000 (01:54 +0200)]
mgr/dashboard: CephFS add groups in subvolume tab

Adds subvolume groups into the subvolume tabs in order to select the subvolumes from the appropiate group.
Also adds the capabilities to manage the subvolume groups of the subvolume in the different actions, create, edit, remove.

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

22 months agoMerge pull request #53392 from rhcs-dashboard/wip-62792-reef
Nizamudeen A [Mon, 11 Sep 2023 13:58:10 +0000 (19:28 +0530)]
Merge pull request #53392 from rhcs-dashboard/wip-62792-reef

reef: mgr/dashboard: fix rgw port manipulation error in dashboard

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agoMerge pull request #53386 from rhcs-dashboard/wip-62717-reef
Nizamudeen A [Mon, 11 Sep 2023 12:22:53 +0000 (17:52 +0530)]
Merge pull request #53386 from rhcs-dashboard/wip-62717-reef

reef: mgr/dashboard: remove green tick on old password field

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
22 months agoMerge pull request #53378 from rhcs-dashboard/wip-62786-reef
Nizamudeen A [Mon, 11 Sep 2023 12:22:09 +0000 (17:52 +0530)]
Merge pull request #53378 from rhcs-dashboard/wip-62786-reef

reef: mgr/dashboard: add validator for size field in the forms

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
22 months agomgr/dashboard: fix rgw port manipulation error in dashboard 53392/head
Nizamudeen A [Thu, 7 Sep 2023 08:15:00 +0000 (13:45 +0530)]
mgr/dashboard: fix rgw port manipulation error in dashboard

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

22 months agoMerge pull request #53388 from rhcs-dashboard/wip-62790-reef
Nizamudeen A [Mon, 11 Sep 2023 11:54:41 +0000 (17:24 +0530)]
Merge pull request #53388 from rhcs-dashboard/wip-62790-reef

reef: mgr/dashboard: images -> edit -> disable checkboxes for layering and deef-flatten

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agomgr/dashboard: images: disable checkboxes for layering & deef-flatten 53388/head
avanthakkar [Mon, 21 Aug 2023 16:51:32 +0000 (22:21 +0530)]
mgr/dashboard: images: disable checkboxes for layering & deef-flatten

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

22 months agomgr/dashboard: remove green tick on old password field 53386/head
Nizamudeen A [Wed, 30 Aug 2023 05:20:30 +0000 (10:50 +0530)]
mgr/dashboard: remove green tick on old password field

a green tick is showing to the field where we enter the old password in
login password change form. It starts showing green tick as soon as we
start typing on it. Removing that because its misleads the user.

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

22 months agoMerge pull request #53381 from aaSharma14/wip-62768-reef
Nizamudeen A [Mon, 11 Sep 2023 08:26:19 +0000 (13:56 +0530)]
Merge pull request #53381 from aaSharma14/wip-62768-reef

reef: mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53380 from aaSharma14/wip-62765-reef
Nizamudeen A [Mon, 11 Sep 2023 08:25:44 +0000 (13:55 +0530)]
Merge pull request #53380 from aaSharma14/wip-62765-reef

reef: mgr/dashboard: rgw multisite topology view shows blank table for multisite entities

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53379 from aaSharma14/wip-62766-reef
Nizamudeen A [Mon, 11 Sep 2023 08:25:11 +0000 (13:55 +0530)]
Merge pull request #53379 from aaSharma14/wip-62766-reef

reef: mgr/dashboard: replace sync progress bar with last synced timestamp in rgw multisite sync status card

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agomgr/dashboard: Object gateway inventory card incorrect Buckets and user count 53382/head
Aashish Sharma [Thu, 31 Aug 2023 10:46:32 +0000 (16:16 +0530)]
mgr/dashboard: Object gateway inventory card incorrect Buckets and user count

Inventory(Buckets and users) data is wrong when you have buckets across multiple daemons.

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

22 months agomgr/dashboard: Object gateway sync status cards keeps loading when multisite is not... 53381/head
Aashish Sharma [Thu, 31 Aug 2023 13:24:21 +0000 (18:54 +0530)]
mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

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

22 months agomgr/dashboard: rgw multisite topology view shows blank table for multisite entities 53380/head
Aashish Sharma [Fri, 1 Sep 2023 09:26:41 +0000 (14:56 +0530)]
mgr/dashboard: rgw multisite topology view shows blank table for multisite entities

Toplology view in multi-site dashboard displaying blank table regarding realm, zonegroup and zones in chrome browser

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

22 months agomgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite... 53379/head
Aashish Sharma [Mon, 4 Sep 2023 09:12:46 +0000 (14:42 +0530)]
mgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite sync status card

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

22 months agomgr/dashboard: add validator for size field in the forms 53378/head
Nizamudeen A [Thu, 31 Aug 2023 08:39:38 +0000 (14:09 +0530)]
mgr/dashboard: add validator for size field in the forms

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

22 months agoMerge pull request #53372 from zdover23/wip-doc-2023-09-11-backport-53371-to-reef
Anthony D'Atri [Sun, 10 Sep 2023 18:05:57 +0000 (14:05 -0400)]
Merge pull request #53372 from zdover23/wip-doc-2023-09-11-backport-53371-to-reef

reef: doc/architecture.rst - edit a sentence

22 months agodoc/architecture.rst - edit a sentence 53372/head
Zac Dover [Sun, 10 Sep 2023 16:31:30 +0000 (02:31 +1000)]
doc/architecture.rst - edit a sentence

Change the sentence structure of a sentence because the verb
"experience" looked like the abstract noun "experience" when I read it
with fresh eyes. I chose the perhaps TESOL-unfriendly verb "incur", but
I believe it is right.

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

22 months agoMerge pull request #53366 from zdover23/wip-doc-2023-09-10-backport-53353-to-reef
Anthony D'Atri [Sun, 10 Sep 2023 12:13:29 +0000 (08:13 -0400)]
Merge pull request #53366 from zdover23/wip-doc-2023-09-10-backport-53353-to-reef

reef: doc/architecture.rst - edit up to "Cluster Map"

22 months agodoc/architecture.rst - edit up to "Cluster Map" 53366/head
Zac Dover [Sun, 10 Sep 2023 03:10:09 +0000 (13:10 +1000)]
doc/architecture.rst - edit up to "Cluster Map"

Edit doc/architecture.rst up to "Cluster Map", but not including
"Cluster Map".

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

22 months agoMerge pull request #53349 from zdover23/wip-doc-2023-09-09-backport-53334-to-reef
zdover23 [Sun, 10 Sep 2023 03:58:41 +0000 (13:58 +1000)]
Merge pull request #53349 from zdover23/wip-doc-2023-09-09-backport-53334-to-reef

reef: doc: update test cluster commands in README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoqa/suites/upgrade: enable default RBD image features 53352/head
Ilya Dryomov [Fri, 2 Jun 2023 08:18:24 +0000 (10:18 +0200)]
qa/suites/upgrade: enable default RBD image features

Until commit 9fe05da41370 ("Revert "test: adjust rbd test case guards
to handle new defaults""), default RBD image features were enabled only
in Python API tests; C/C++ API tests were still exercising format 1
(6-7 years after its deprecation!).

Enable format 2 with default image features universally across upgrade
suites.

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

22 months agoMerge pull request #53347 from zdover23/wip-doc-2023-09-09-backport-53335-to-reef
Anthony D'Atri [Sat, 9 Sep 2023 14:48:48 +0000 (10:48 -0400)]
Merge pull request #53347 from zdover23/wip-doc-2023-09-09-backport-53335-to-reef

reef: doc/configuration: edit "bg" in mon-config-ref.rst

22 months agodoc: update test cluster commands in README.md 53349/head
Zac Dover [Fri, 8 Sep 2023 11:00:38 +0000 (21:00 +1000)]
doc: update test cluster commands in README.md

The "rbd" pool has not been created by default since Luminous. This
commit removes a command that assumed the existence of the "rbd" pool.

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

22 months agodoc/configuration: edit "bg" in mon-config-ref.rst 53347/head
Zac Dover [Fri, 8 Sep 2023 11:53:51 +0000 (21:53 +1000)]
doc/configuration: edit "bg" in mon-config-ref.rst

Edit the English in the section "Background" in
doc/rados/configuration/mon-config-ref.rst.

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

22 months agoMerge pull request #52927 from guits/wip-62039-reef
Guillaume Abrioux [Thu, 7 Sep 2023 12:58:46 +0000 (14:58 +0200)]
Merge pull request #52927 from guits/wip-62039-reef

reef: ceph-volume: add --osd-id option to raw prepare

22 months agoMerge pull request #52942 from ifed01/wip-ifed-fix-55260-ree
Guillaume Abrioux [Thu, 7 Sep 2023 12:57:22 +0000 (14:57 +0200)]
Merge pull request #52942 from ifed01/wip-ifed-fix-55260-ree

reef: os/bluestore: don't require bluestore_db_block_size when attaching new

22 months agoMerge pull request #52619 from guits/wip-62151-reef
Guillaume Abrioux [Thu, 7 Sep 2023 12:53:07 +0000 (14:53 +0200)]
Merge pull request #52619 from guits/wip-62151-reef

reef: ceph-volume: fix raw list for lvm devices

22 months agoMerge pull request #52980 from k0ste/wip-62155-reef
Guillaume Abrioux [Thu, 7 Sep 2023 12:52:50 +0000 (14:52 +0200)]
Merge pull request #52980 from k0ste/wip-62155-reef

reef: ceph-volume: fix raw list for lvm devices

22 months agoMerge pull request #52875 from ifed01/wip-ifed-encrypted-ceph-volume-ref
Guillaume Abrioux [Thu, 7 Sep 2023 12:51:42 +0000 (14:51 +0200)]
Merge pull request #52875 from ifed01/wip-ifed-encrypted-ceph-volume-ref

reef: ceph_volume: support encrypted volumes for lvm new-db/new-wal/migrate commands

22 months agoMerge pull request #53286 from guits/wip-62708-reef
Guillaume Abrioux [Thu, 7 Sep 2023 12:51:12 +0000 (14:51 +0200)]
Merge pull request #53286 from guits/wip-62708-reef

reef: ceph-volume/cephadm: support lv devices in inventory

22 months agoMerge pull request #53304 from rhcs-dashboard/wip-62719-reef
Nizamudeen A [Thu, 7 Sep 2023 10:26:42 +0000 (15:56 +0530)]
Merge pull request #53304 from rhcs-dashboard/wip-62719-reef

reef: mgr/dashboard: remove used and total used columns in favor of usage bar

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
22 months agoMerge pull request #53317 from zdover23/wip-doc-2023-09-07-backport-53300-to-reef 52972/head
Anthony D'Atri [Wed, 6 Sep 2023 16:42:14 +0000 (12:42 -0400)]
Merge pull request #53317 from zdover23/wip-doc-2023-09-07-backport-53300-to-reef

reef: doc/rados: add bulk flag to pools.rst

22 months agoMerge pull request #53315 from zdover23/wip-doc-2023-09-07-backport-53314-to-reef
zdover23 [Wed, 6 Sep 2023 16:28:47 +0000 (02:28 +1000)]
Merge pull request #53315 from zdover23/wip-doc-2023-09-07-backport-53314-to-reef

reef: doc/man: radosgw-admin.rst typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agodoc/rados: add bulk flag to pools.rst 53317/head
Zac Dover [Wed, 6 Sep 2023 06:14:42 +0000 (16:14 +1000)]
doc/rados: add bulk flag to pools.rst

Add a link in pools.rst to the section in placement-groups.rst
describing the commands used to manage pools that are flagged "--bulk".

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

22 months agodoc/man: radosgw-admin.rst typo 53315/head
Zac Dover [Wed, 6 Sep 2023 14:23:06 +0000 (00:23 +1000)]
doc/man: radosgw-admin.rst typo

Edit the text in the "bucket radoslist" entry.

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

22 months agoMerge pull request #53312 from zdover23/wip-doc-2023-09-07-backport-53302-to-reef
Anthony D'Atri [Wed, 6 Sep 2023 15:15:16 +0000 (11:15 -0400)]
Merge pull request #53312 from zdover23/wip-doc-2023-09-07-backport-53302-to-reef

reef: doc/man: remove docs about support for unix domain sockets

22 months agodoc/man: remove docs about support for unix domain sockets 53312/head
Zac Dover [Wed, 6 Sep 2023 06:33:43 +0000 (16:33 +1000)]
doc/man: remove docs about support for unix domain sockets

doc/man: support for unix domain sockets is not implemented, hence we
removed documentation about it.

(Note: the changes in this commit were the work of Rok Jaklič in
https://github.com/ceph/ceph/pull/48537. This pull request has been
raised because that pull request was for some mysterious reason causing
merge conflicts that were never resolved.)

Co-authored-by: Rok Jaklič rjaklic@gmail.com
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit fa40b7ef560fc60a107dad1604650e0bcf27e77e)

22 months agomgr/dashboard: remove used and total used columns in favor of usage bar 53304/head
Pedro Gonzalez Gomez [Mon, 4 Sep 2023 14:45:30 +0000 (16:45 +0200)]
mgr/dashboard: remove used and total used columns in favor of usage bar

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

22 months agoMerge pull request #53254 from rhcs-dashboard/wip-62657-reef
Nizamudeen A [Wed, 6 Sep 2023 05:20:18 +0000 (10:50 +0530)]
Merge pull request #53254 from rhcs-dashboard/wip-62657-reef

reef: mgr/dashboard: fix image columns naming

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoceph-volume: support partitions in inventory 53286/head
Guillaume Abrioux [Thu, 10 Aug 2023 09:01:22 +0000 (09:01 +0000)]
ceph-volume: support partitions in inventory

This makes ceph-volume report partitions in inventory.
A partition is a valid device for `ceph-volume lvm prepare`
so we should report them in inventory (when using `--list-all`
parameter).

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 00ba00fdfab8cb4969d46838e44cff3a03fc16ca)

22 months agoceph-volume: drop is_locked_raw_device()
Guillaume Abrioux [Thu, 10 Aug 2023 08:01:12 +0000 (08:01 +0000)]
ceph-volume: drop is_locked_raw_device()

This functions works for what it is supposed to do:

check if a device is busy.

That being said, this induces a race condition in `get_devices()`

Indeed, it does:

1/ `os.open()` with `(os.O_RDWR | os.O_EXCL)`
2/ `os.close()`

The second call has an effect: it triggers a udev event which causes
systemd-udevd to re-process the device. This seems to be a question of
millisecond but because of this, /sys (sysfs) isn't fully populated as
expected. Given that get_devices() collects a lot of details from sysfs
in a loop, some of these details can be missed.

ceph-volume overall doesn't make decisions based on `is_locked_raw_device()`
This detail is used only for reporting (inventory).
For this reason, dropping this function seems reasonnable.
As a compromise, we can check if the device has partitions and/or a FileSystem
on it.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 2422ad867dff9d526d7e8be543178c897991097f)

22 months agoceph-volume: add two unit tests
Guillaume Abrioux [Wed, 9 Aug 2023 08:22:13 +0000 (08:22 +0000)]
ceph-volume: add two unit tests

This adds two unit tests in order to cover `test_get_mapper_from_lv_path()`
and `test_get_lv_path_from_mapper()` functions from `api.lvm`

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit a485883f62df388ed19bd91a996ec543c0a9a30f)

22 months agocephadm: add new config option
Guillaume Abrioux [Tue, 8 Aug 2023 15:04:17 +0000 (15:04 +0000)]
cephadm: add new config option

This adds a new config option 'inventory_list_all' so one can make
the command `ceph orch device ls` report lvm devices too as they are
valid devices that can be used to be prepared as OSDs.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e98ec820cf3acd1711d09e63ec5df8787a369cef)

22 months agoceph-volume: add new parameter '--list-all' to inventory
Guillaume Abrioux [Tue, 8 Aug 2023 15:03:02 +0000 (15:03 +0000)]
ceph-volume: add new parameter '--list-all' to inventory

The inventory should report LV devices as they are valid devices that
can be used to be prepared as OSDs.

Fixes: https://tracker.ceph.com/issues/62362
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 605da29be9ef2903d4d84a624c4376963d6d8ed8)

22 months agoceph-volume: support type=lvm in get_devices()
Guillaume Abrioux [Tue, 8 Aug 2023 12:08:14 +0000 (12:08 +0000)]
ceph-volume: support type=lvm in get_devices()

LV devices are valid devices, they shouldn't be filtered in
`disk.get_devices()`

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 5470a86f9259843130d379515b96f5ced7969f27)

22 months agoceph-volume: add two helper functions
Guillaume Abrioux [Tue, 8 Aug 2023 12:06:41 +0000 (12:06 +0000)]
ceph-volume: add two helper functions

this adds `get_lv_path_from_mapper()` and `get_mapper_from_lv_path()`
functions in api.lvm.

they will help translating either an LV path from `/dev/mapper/LV`
to the format `/dev/VG/LV` or the opposite.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit c7164dfd599a1b406f9f1c870212cc0cbf08317d)

22 months agoMerge pull request #53220 from rhcs-dashboard/wip-62642-reef
Nizamudeen A [Tue, 5 Sep 2023 06:36:39 +0000 (12:06 +0530)]
Merge pull request #53220 from rhcs-dashboard/wip-62642-reef

reef: mgr/dashboard: cleanup rbd-mirror process in dashboard e2e

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
22 months agoMerge pull request #53267 from zdover23/wip-doc-2023-09-04-backport-53264-to-reef
Anthony D'Atri [Sun, 3 Sep 2023 22:13:04 +0000 (18:13 -0400)]
Merge pull request #53267 from zdover23/wip-doc-2023-09-04-backport-53264-to-reef

reef: doc/man/8: improve radosgw-admin.rst

22 months agodoc/man/8: improve radosgw-admin.rst 53267/head
Anthony D'Atri [Sun, 3 Sep 2023 13:56:44 +0000 (09:56 -0400)]
doc/man/8: improve radosgw-admin.rst

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

22 months agoMerge pull request #53261 from zdover23/wip-doc-2023-09-03-backport-50360-to-reef
Anthony D'Atri [Sun, 3 Sep 2023 12:17:18 +0000 (08:17 -0400)]
Merge pull request #53261 from zdover23/wip-doc-2023-09-03-backport-50360-to-reef

reef: doc/radosgw: multisite - edit "migrating a single-site"

22 months agodoc/radosgw: multisite - edit "migrating a single-site" 53261/head
tgfree [Fri, 3 Mar 2023 03:17:59 +0000 (11:17 +0800)]
doc/radosgw: multisite - edit "migrating a single-site"
Add the import step of the section "Migrating a Single-Site Deployment to Multi-Site"
in doc/radosgw/multisite.rst. The field "name" and "api_name" should be matched.

Signed-off-by: Qi Tao <tgfree7@gmail.com>
(cherry picked from commit 579c14055d202429ad25a469c30a3d68e0329391)