]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
21 months agoMerge pull request #53796 from rhcs-dashboard/wip-63078-quincy
Nizamudeen A [Wed, 4 Oct 2023 06:11:45 +0000 (11:41 +0530)]
Merge pull request #53796 from rhcs-dashboard/wip-63078-quincy

quincy: mgr/dashboard: enable protect option if layering enabled

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agomgr/dashboard: enable protect option if layering enabled 53796/head
avanthakkar [Tue, 26 Sep 2023 11:04:08 +0000 (16:34 +0530)]
mgr/dashboard: enable protect option if layering enabled

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

21 months agoMerge pull request #53749 from zdover23/wip-doc-2023-10-02-backport-53744-to-quincy
Anthony D'Atri [Mon, 2 Oct 2023 13:39:57 +0000 (09:39 -0400)]
Merge pull request #53749 from zdover23/wip-doc-2023-10-02-backport-53744-to-quincy

quincy: doc/architecture: edit "Calculating PG IDs"

21 months agodoc/architecture: edit "Calculating PG IDs" 53749/head
Zac Dover [Sun, 1 Oct 2023 23:43:37 +0000 (09:43 +1000)]
doc/architecture: edit "Calculating PG IDs"

Edit the section "Calcluating PG IDs" in doc/architecture.rst.

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

21 months agoMerge pull request #53705 from adk3798/wip-61550-quincy
Adam King [Sun, 1 Oct 2023 17:04:52 +0000 (13:04 -0400)]
Merge pull request #53705 from adk3798/wip-61550-quincy

quincy: mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts

Reviewed-by: John Mulligan <jmulligan@redhat.com>
21 months agoMerge pull request #53743 from zdover23/wip-doc-2023-10-01-backport-53740-to-quincy
Anthony D'Atri [Sun, 1 Oct 2023 13:04:36 +0000 (09:04 -0400)]
Merge pull request #53743 from zdover23/wip-doc-2023-10-01-backport-53740-to-quincy

quincy: doc/architecture: edit several sections

21 months agoMerge pull request #53098 from adk3798/quincy-keealive-unicast-or-interface
Yuri Weinstein [Sun, 1 Oct 2023 12:53:46 +0000 (05:53 -0700)]
Merge pull request #53098 from adk3798/quincy-keealive-unicast-or-interface

quincy: cephadm: Split multicast interface and unicast_ip in keepalived.conf

Reviewed-by: Adam King adking@redhat.com
21 months agoMerge pull request #52909 from adk3798/quincy-cephadm-fix-call
Yuri Weinstein [Sun, 1 Oct 2023 12:52:14 +0000 (05:52 -0700)]
Merge pull request #52909 from adk3798/quincy-cephadm-fix-call

quincy: cephadm: fix call timeout argument

Reviewed-by: John Mulligan <jmulligan@redhat.com>
21 months agoMerge pull request #53598 from idryomov/wip-62711-quincy
Yuri Weinstein [Sun, 1 Oct 2023 12:48:53 +0000 (05:48 -0700)]
Merge pull request #53598 from idryomov/wip-62711-quincy

quincy: qa/suites/{rbd,krbd}: disable POOL_APP_NOT_ENABLED health check

Reviewed-by: Ramana Raja <rraja@redhat.com>
21 months agoMerge pull request #53294 from ajarr/wip-62685-quincy
Yuri Weinstein [Sun, 1 Oct 2023 12:48:18 +0000 (05:48 -0700)]
Merge pull request #53294 from ajarr/wip-62685-quincy

quincy: librbd: kick ExclusiveLock state machine on client being blocklisted when waiting for lock

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
21 months agoMerge pull request #53275 from idryomov/wip-61707-quincy
Yuri Weinstein [Sun, 1 Oct 2023 12:47:26 +0000 (05:47 -0700)]
Merge pull request #53275 from idryomov/wip-61707-quincy

quincy: librbd: make CreatePrimaryRequest remove any unlinked mirror snapshots

Reviewed-by: Ramana Raja <rraja@redhat.com>
21 months agoMerge pull request #52879 from idryomov/wip-52913-quincy
Yuri Weinstein [Sun, 1 Oct 2023 12:46:32 +0000 (05:46 -0700)]
Merge pull request #52879 from idryomov/wip-52913-quincy

quincy: rbd-mirror: fix image replayer shut down description on force promote

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
21 months agodoc/architecture: edit several sections 53743/head
Zac Dover [Sat, 30 Sep 2023 04:58:41 +0000 (14:58 +1000)]
doc/architecture: edit several sections

Edit the following sections in doc/architecture.rst:

 1. Dynamic Cluster Management
 2. About Pools
 3. Mapping PGs to OSDs

The tone of "Dynamic Cluster Management" remains a bit too close to the
tone of marketing material, in my opinion, but I will return to firm it
up when I have finished a once-over of 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 9657c45fc12cd8522df72c9bb8820320758305e4)

21 months agoMerge pull request #53739 from zdover23/wip-doc-2023-09-30-backport-53726-to-quincy
Anthony D'Atri [Sat, 30 Sep 2023 09:43:17 +0000 (05:43 -0400)]
Merge pull request #53739 from zdover23/wip-doc-2023-09-30-backport-53726-to-quincy

quincy: doc/architecture: edit "Replication"

21 months agodoc/architecture: edit "Replication" 53739/head
Zac Dover [Thu, 28 Sep 2023 21:37:40 +0000 (07:37 +1000)]
doc/architecture: edit "Replication"

Edit "Replication" in the "Smart Daemons Enable Hyperscale" section of
doc/architecture.rst.

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

21 months agoMerge pull request #53731 from zdover23/wip-doc-2023-09-29-backport-53723-to-quincy
zdover23 [Sat, 30 Sep 2023 00:09:31 +0000 (10:09 +1000)]
Merge pull request #53731 from zdover23/wip-doc-2023-09-29-backport-53723-to-quincy

quincy: doc/architecture: edit "Data Scrubbing"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
21 months agoMerge pull request #53592 from trociny/wip-58479-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:06:01 +0000 (09:06 -0700)]
Merge pull request #53592 from trociny/wip-58479-quincy

quincy: rgw: fix FP error when calculating enteries per bi shard

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #53561 from cfsnyder/wip-58788-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:05:22 +0000 (09:05 -0700)]
Merge pull request #53561 from cfsnyder/wip-58788-quincy

quincy: rgwlc: prevent lc for one bucket from exceeding time budget

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
21 months agoMerge pull request #53441 from trociny/wip-61870-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:04:45 +0000 (09:04 -0700)]
Merge pull request #53441 from trociny/wip-61870-quincy

quincy: rgw: pick http_date in case of http_x_amz_date absence

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #53399 from trociny/wip-62753-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:04:11 +0000 (09:04 -0700)]
Merge pull request #53399 from trociny/wip-62753-quincy

quincy: rgw: fix 2 null versionID after convert_plain_entry_to_versioned

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #53396 from trociny/wip-62307-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:03:39 +0000 (09:03 -0700)]
Merge pull request #53396 from trociny/wip-62307-quincy

quincy: rgw/sync-policy: Correct "sync status" & "sync group" commands

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #52818 from cbodley/wip-62321-quincy
Yuri Weinstein [Fri, 29 Sep 2023 16:02:48 +0000 (09:02 -0700)]
Merge pull request #52818 from cbodley/wip-62321-quincy

quincy: rgw: fetch_remote_obj() preserves original part lengths for BlockDecrypt

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #51598 from alimaredia/wip-61174-quincy
Yuri Weinstein [Fri, 29 Sep 2023 15:57:11 +0000 (08:57 -0700)]
Merge pull request #51598 from alimaredia/wip-61174-quincy

quincy: rgw/swift: check position of first slash in slo manifest files

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
21 months agoMerge pull request #52626 from nbalacha/wip-62112-quincy
Yuri Weinstein [Fri, 29 Sep 2023 15:51:03 +0000 (08:51 -0700)]
Merge pull request #52626 from nbalacha/wip-62112-quincy

quincy: rbd-mirror: fix race preventing local image deletion

Reviewed-by: Mykola Golub <mgolub@suse.com>
21 months agodoc/architecture: edit "Data Scrubbing" 53731/head
Zac Dover [Thu, 28 Sep 2023 18:40:08 +0000 (04:40 +1000)]
doc/architecture: edit "Data Scrubbing"

Edit the "Data Scrubbing" listitem in the list of benefits conferred by
the use by OSDs of the aggregate power of the cluster, in the section
"Smart Daemons Enable Hyperscale" 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 d7b991646fcd36a1df7456e8e82c9d54a01e50f9)

21 months agoMerge pull request #53728 from zdover23/wip-doc-2023-09-29-backport-53707-to-quincy
Anthony D'Atri [Fri, 29 Sep 2023 02:53:54 +0000 (22:53 -0400)]
Merge pull request #53728 from zdover23/wip-doc-2023-09-29-backport-53707-to-quincy

quincy: doc/architecture: edit "OSD Membership and Status"

21 months agodoc/architecture: edit "OSD Membership and Status" 53728/head
Zac Dover [Thu, 28 Sep 2023 03:55:02 +0000 (13:55 +1000)]
doc/architecture: edit "OSD Membership and Status"

Edit "OSD Membership and Status" in 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 dbd85336b1aa3ef42cfc12495b3dc5142d4b8a28)

21 months agoMerge pull request #53706 from rhcs-dashboard/quincy-legacy-resolver-fix
Ilya Dryomov [Thu, 28 Sep 2023 07:26:49 +0000 (09:26 +0200)]
Merge pull request #53706 from rhcs-dashboard/quincy-legacy-resolver-fix

quincy: install-deps: remove the legacy resolver flags

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agoinstall-deps: remove the legacy resolver flags 53706/head
Nizamudeen A [Wed, 19 Jul 2023 14:05:05 +0000 (19:35 +0530)]
install-deps: remove the legacy resolver flags

This was a workaround that was introduced long time ago. This will be
something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be
downloaded or stored into the wheelhouse. Deps like jsonschema, parse,
mypy, cryptography etc.

[1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline

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

21 months agomgr/cephadm: also don't write client files/tuned profiles to maintenance hosts 53705/head
Adam King [Thu, 4 May 2023 16:55:55 +0000 (12:55 -0400)]
mgr/cephadm: also don't write client files/tuned profiles to maintenance hosts

Since they could have been taken offline for maintenance,
they should be treated the same as offline hosts in this
case and we should avoid trying to write files to them

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

21 months agoMerge pull request #53687 from zdover23/wip-doc-2023-09-27-backport-53685-to-quincy
Anthony D'Atri [Wed, 27 Sep 2023 19:15:13 +0000 (15:15 -0400)]
Merge pull request #53687 from zdover23/wip-doc-2023-09-27-backport-53685-to-quincy

quincy: doc/architecture: edit "OSDs service clients directly"

21 months agodoc/architecture: edit "OSDs service clients directly" 53687/head
Zac Dover [Tue, 26 Sep 2023 20:00:34 +0000 (06:00 +1000)]
doc/architecture: edit "OSDs service clients directly"

Edit "OSDs service clients directly" in the list in
"Smart Daemons Enable Hyperscale" in doc/architecure.rst.

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

21 months agoMerge pull request #53656 from cityofships/quincy
Anthony D'Atri [Tue, 26 Sep 2023 20:22:45 +0000 (16:22 -0400)]
Merge pull request #53656 from cityofships/quincy

quincy: doc/radosgw: fix command error blank

21 months agoMerge pull request #53660 from zdover23/wip-doc-2023-09-26-backport-53657-to-quincy
Anthony D'Atri [Tue, 26 Sep 2023 18:36:02 +0000 (14:36 -0400)]
Merge pull request #53660 from zdover23/wip-doc-2023-09-26-backport-53657-to-quincy

quincy: doc/architecture: edit "SDEH"

21 months agodoc/architecture: edit "SDEH" 53660/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 agodoc/radosgw: fix command error blank 53656/head
stevenhua [Tue, 1 Nov 2022 01:53:02 +0000 (09:53 +0800)]
doc/radosgw: fix command error blank

(cherry picked from commit 870e8e7b3fd8a438925c034dc621e4d2644d39af)

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

quincy: doc/architecture: edit "HA Authentication"

21 months agodoc/architecture: edit "HA Authentication" 53633/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 #53620 from zdover23/wip-doc-2023-09-24-backport-53613-to-quincy
Anthony D'Atri [Sat, 23 Sep 2023 18:02:13 +0000 (14:02 -0400)]
Merge pull request #53620 from zdover23/wip-doc-2023-09-24-backport-53613-to-quincy

quincy: doc/architecture: "Edit HA Auth"

21 months agodoc/architecture: "Edit HA Auth" 53620/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 agoqa/suites/krbd: disable POOL_APP_NOT_ENABLED health check 53598/head
Ilya Dryomov [Fri, 15 Sep 2023 13:33:27 +0000 (15:33 +0200)]
qa/suites/krbd: disable POOL_APP_NOT_ENABLED health check

... same as for rbd suite.

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

21 months agoqa/suites/rbd: drop POOL_APP_NOT_ENABLED from ignorelists
Ilya Dryomov [Fri, 15 Sep 2023 13:33:27 +0000 (15:33 +0200)]
qa/suites/rbd: drop POOL_APP_NOT_ENABLED from ignorelists

With "mon warn on pool no app = false" in the config, it's obviously
redundant.

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

21 months agoqa/suites/rbd: disable POOL_APP_NOT_ENABLED health check
Ilya Dryomov [Fri, 15 Sep 2023 13:33:27 +0000 (15:33 +0200)]
qa/suites/rbd: disable POOL_APP_NOT_ENABLED health check

Commit 990806e635a1 ("mon, qa: issue pool application warning even
if pool is empty") made it impossible to create a pool without raising
a (bogus) health alert.  See [1] for details.

[1] https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/ZTDYC5HN677RR26EB4P6PORN6L2IFH4R/

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

21 months agoMerge pull request #53544 from rhcs-dashboard/wip-62881-quincy
Nizamudeen A [Fri, 22 Sep 2023 06:52:24 +0000 (12:22 +0530)]
Merge pull request #53544 from rhcs-dashboard/wip-62881-quincy

quincy: mgr/dashboard: align charts of landing page

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agorgw: fix FP error when calculating enteries per bi shard 53592/head
J. Eric Ivancich [Thu, 5 Jan 2023 18:57:37 +0000 (13:57 -0500)]
rgw: fix FP error when calculating enteries per bi shard

When calculating how many entries per shard to request during an
ordered bucket listing, we divide by the number of bucket index
shards. If this value is 0, then a floating point exception is
generated, crashing the RGW.

This addresses the proximate issue by detecting the situation and
returning an error rather than crashing.

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

Conflicts:
src/rgw/rgw_rados.cc (trivial: __func__ vs __PRETTY_FUNCTION__)

21 months agoMerge pull request #53586 from zdover23/wip-doc-2023-09-22-backport-53493-to-quincy
Anthony D'Atri [Thu, 21 Sep 2023 18:21:13 +0000 (14:21 -0400)]
Merge pull request #53586 from zdover23/wip-doc-2023-09-22-backport-53493-to-quincy

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

21 months agodoc/architecture: "Edit HA Auth" (one of several) 53586/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 #53570 from zdover23/wip-doc-2023-09-21-backport-53176-to-quincy
zdover23 [Thu, 21 Sep 2023 17:06:57 +0000 (03:06 +1000)]
Merge pull request #53570 from zdover23/wip-doc-2023-09-21-backport-53176-to-quincy

quincy: 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 53570/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)

21 months agoMerge pull request #53540 from guits/wip-62894-quincy
Guillaume Abrioux [Thu, 21 Sep 2023 06:16:09 +0000 (08:16 +0200)]
Merge pull request #53540 from guits/wip-62894-quincy

quincy: ceph-volume: fix mpath device support

21 months agorgwlc: prevent lc for one bucket from exceeding time budget 53561/head
Matt Benjamin [Mon, 31 Oct 2022 16:40:50 +0000 (12:40 -0400)]
rgwlc: prevent lc for one bucket from exceeding time budget

Fixes: https://tracker.ceph.com/issues/57951
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 617ffccbca0169ac0f1cd713962d44e8cc74a8af)

21 months agoMerge pull request #53541 from zdover23/wip-doc-2023-09-20-backport-53518-to-quincy
Anthony D'Atri [Wed, 20 Sep 2023 14:14:56 +0000 (10:14 -0400)]
Merge pull request #53541 from zdover23/wip-doc-2023-09-20-backport-53518-to-quincy

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

21 months agomgr/dashboard: align charts of landing page 53544/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)

21 months agodoc/dev: Fix typos in files cephfs-mirroring.rst and deduplication.rst 53541/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)

21 months agoMerge pull request #53533 from zdover23/wip-doc-2023-09-19-quincy-backport-deduplicat...
zdover23 [Wed, 20 Sep 2023 07:58:32 +0000 (17:58 +1000)]
Merge pull request #53533 from zdover23/wip-doc-2023-09-19-quincy-backport-deduplication.rst

quincy: doc/dev: backport deduplication.rst to Quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoceph-volume: fix mpath device support 53540/head
Guillaume Abrioux [Wed, 6 Sep 2023 09:30:41 +0000 (09:30 +0000)]
ceph-volume: fix mpath device support

commit [1] broke mpath devices support in `disk.is_device()`

[1] https://github.com/ceph/ceph/commit/4fc6bc394dffaf3ad375ff29cbb0a3eb9e4dbefc

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

22 months agoMerge pull request #52951 from k0ste/wip-61724-quincy
Adam Kupczyk [Tue, 19 Sep 2023 13:30:14 +0000 (15:30 +0200)]
Merge pull request #52951 from k0ste/wip-61724-quincy

quincy: Bluestore: fix bluestore collection_list latency perf counter

22 months agodoc/dev: backport deduplication.rst to Quincy 53533/head
Zac Dover [Tue, 19 Sep 2023 13:27:46 +0000 (23:27 +1000)]
doc/dev: backport deduplication.rst to Quincy

Backport doc/dev/deduplication.rst to Quincy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53492 from zdover23/wip-doc-2023-09-18-backport-53490-to-quincy
Anthony D'Atri [Sun, 17 Sep 2023 21:12:10 +0000 (17:12 -0400)]
Merge pull request #53492 from zdover23/wip-doc-2023-09-18-backport-53490-to-quincy

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

22 months agodoc/architecture: "Edit HA Auth" (one of several) 53492/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 #53489 from zdover23/wip-doc-2023-09-17-backport-53487-to-quincy
Anthony D'Atri [Sun, 17 Sep 2023 14:44:09 +0000 (10:44 -0400)]
Merge pull request #53489 from zdover23/wip-doc-2023-09-17-backport-53487-to-quincy

quincy: doc/architecture: Edit "HA Auth"

22 months agodoc/architecture: Edit "HA Auth" 53489/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 #48125 from guits/wip-57567-quincy
Guillaume Abrioux [Fri, 15 Sep 2023 07:58:21 +0000 (09:58 +0200)]
Merge pull request #48125 from guits/wip-57567-quincy

quincy: ceph-volume: fix inventory with device arg

22 months agoMerge pull request #52941 from ifed01/wip-ifed-fix-55260-qui
Guillaume Abrioux [Fri, 15 Sep 2023 07:57:42 +0000 (09:57 +0200)]
Merge pull request #52941 from ifed01/wip-ifed-fix-55260-qui

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

22 months agoMerge pull request #52874 from ifed01/wip-ifed-encrypted-ceph-volume-qui
Guillaume Abrioux [Fri, 15 Sep 2023 07:56:39 +0000 (09:56 +0200)]
Merge pull request #52874 from ifed01/wip-ifed-encrypted-ceph-volume-qui

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

22 months agoMerge pull request #53287 from guits/wip-62707-quincy
Guillaume Abrioux [Fri, 15 Sep 2023 07:55:54 +0000 (09:55 +0200)]
Merge pull request #53287 from guits/wip-62707-quincy

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

22 months agoMerge pull request #53452 from zdover23/wip-doc-2023-09-14-backport-53444-to-quincy
Anthony D'Atri [Thu, 14 Sep 2023 03:42:33 +0000 (23:42 -0400)]
Merge pull request #53452 from zdover23/wip-doc-2023-09-14-backport-53444-to-quincy

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

22 months agodoc/architecture: edit "High Avail. Monitors" 53452/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 #53435 from zdover23/wip-doc-2023-09-13-backport-53423-to-quincy
zdover23 [Wed, 13 Sep 2023 14:22:01 +0000 (00:22 +1000)]
Merge pull request #53435 from zdover23/wip-doc-2023-09-13-backport-53423-to-quincy

quincy: doc/architecture: edit "Cluster Map"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
22 months agorgw: pick http_date in case of http_x_amz_date absence 53441/head
Seena Fallah [Fri, 9 Jun 2023 12:14:24 +0000 (14:14 +0200)]
rgw: pick http_date in case of http_x_amz_date absence

From the AWS doc:
The request date can be specified by using either the HTTP Date or the x-amz-date header. If both headers are present, x-amz-date takes precedence.
Refs: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html

Fixes: https://tracker.ceph.com/issues/61629
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 912b7745181a221bc8468317c83f4c461933208e)

22 months agorgw: Fix potential null pointer dereferences where `RGWEnv::get()` is called
Mohamed Awnallah [Wed, 1 Mar 2023 16:59:33 +0000 (18:59 +0200)]
rgw: Fix potential null pointer dereferences where `RGWEnv::get()` is called

Here are the changes I've made:
- Added `RGWEnv::get_optional` with the similar implementation to the `RGWHTTPArgs::get_optional`
- Replaced `RGWEnv::get` in the RGW code where null pointer derefence happens with `RGWEnv::get_optional` as long as it accepts `std::string`
- Otherwise if calling function of `RGWEnv::get` accepts `char*` I leave it as it is
- Added null pointer checks to avoid the null pointer dereference

This commit addresses the following Coverity CIDs:
- "1510310"
- "1510928"
- "1511097"
- "1511555"
- "1511760"
- "1511951"
- "1512003"
- "1512138"
- "1512398"

Fixes: https://tracker.ceph.com/issues/57347
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
(cherry picked from commit b8cb558cc35d9fb5c47372a79c6249207a964245)

22 months agodoc/architecture: edit "Cluster Map" 53435/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 #53428 from zdover23/wip-doc-2023-09-13-backport-53422-to-quincy
Anthony D'Atri [Tue, 12 Sep 2023 18:58:26 +0000 (14:58 -0400)]
Merge pull request #53428 from zdover23/wip-doc-2023-09-13-backport-53422-to-quincy

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

22 months agodoc/glossary: add "primary affinity" to glossary 53428/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 #53421 from zdover23/wip-doc-2023-09-12-backport-53389-to-quincy
Anthony D'Atri [Tue, 12 Sep 2023 16:02:24 +0000 (12:02 -0400)]
Merge pull request #53421 from zdover23/wip-doc-2023-09-12-backport-53389-to-quincy

quincy: doc: Add warning on manual CRUSH rule removal

22 months agoMerge pull request #53401 from rishabh-d-dave/wip-62805-quincy
zdover23 [Tue, 12 Sep 2023 10:38:51 +0000 (20:38 +1000)]
Merge pull request #53401 from rishabh-d-dave/wip-62805-quincy

quincy: 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 53421/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 agodoc/cephfs: write cephfs commands fully in docs 53401/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 agofix 2 null versionID after convert_plain_entry_to_versioned 53399/head
RickyMaRui [Fri, 28 Jul 2023 03:22:10 +0000 (11:22 +0800)]
fix 2 null versionID after convert_plain_entry_to_versioned

After convert plain entry to versioned, the converted entry epoch is 1.
Setting this ensures that there is only one null version.

Fixes: https://tracker.ceph.com/issues/62013
Signed-off-by: rui ma <marui1@chinatelecom.cn>
Signed-off-by: zhuo li <lizhuo@chinatelecom.cn>
(cherry picked from commit 14cfbfd60c45cc0f04f7a83057cb460731f3cc70)

22 months agorgw: Read `sync status` from only the zones allowed to sync from 53396/head
Soumya Koduri [Wed, 5 Jul 2023 12:15:39 +0000 (17:45 +0530)]
rgw: Read `sync status` from only the zones allowed to sync from

Using multisite sync policy, zones within a zonegroup can be configured
not to sync from certain zones. Filter such zones while reading sync
status.

Fixes: https://tracker.ceph.com/issues/62014
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit 094460c26b8fdd9a72667800b54a0cfaa5409c88)

Conflicts:
src/rgw/rgw_admin.cc (trivial: store vs driver)

22 months agorgw/sync-policy: Do not allow empty group names
Soumya Koduri [Fri, 14 Jul 2023 05:38:18 +0000 (11:08 +0530)]
rgw/sync-policy: Do not allow empty group names

Fixes: https://tracker.ceph.com/issues/62015
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit fa5759922f28f5cd638744117d233a1f51250628)

22 months agoMerge pull request #53387 from rhcs-dashboard/wip-62789-quincy
Nizamudeen A [Mon, 11 Sep 2023 11:55:02 +0000 (17:25 +0530)]
Merge pull request #53387 from rhcs-dashboard/wip-62789-quincy

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

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53338 from idryomov/wip-62773-quincy
Ilya Dryomov [Mon, 11 Sep 2023 11:51:19 +0000 (13:51 +0200)]
Merge pull request #53338 from idryomov/wip-62773-quincy

quincy: qa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
22 months agomgr/dashboard: images: disable checkboxes for layering & deef-flatten 53387/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 agoMerge pull request #53373 from zdover23/wip-doc-2023-09-11-backport-53371-to-quincy
Anthony D'Atri [Sun, 10 Sep 2023 18:05:51 +0000 (14:05 -0400)]
Merge pull request #53373 from zdover23/wip-doc-2023-09-11-backport-53371-to-quincy

quincy: doc/architecture.rst - edit a sentence

22 months agodoc/architecture.rst - edit a sentence 53373/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 #53367 from zdover23/wip-doc-2023-09-10-backport-53353-to-quincy
Anthony D'Atri [Sun, 10 Sep 2023 12:16:12 +0000 (08:16 -0400)]
Merge pull request #53367 from zdover23/wip-doc-2023-09-10-backport-53353-to-quincy

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

22 months agodoc/architecture.rst - edit up to "Cluster Map" 53367/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 #53348 from zdover23/wip-doc-2023-09-09-backport-53335-to-quincy
Anthony D'Atri [Sat, 9 Sep 2023 14:48:27 +0000 (10:48 -0400)]
Merge pull request #53348 from zdover23/wip-doc-2023-09-09-backport-53335-to-quincy

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

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

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

22 months agodoc: update test cluster commands in README.md 53350/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 53348/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 agoqa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test 53338/head
Ilya Dryomov [Fri, 8 Sep 2023 11:52:34 +0000 (13:52 +0200)]
qa/suites/upgrade/quincy-p2p: skip TestClsRbd.mirror_snapshot test

The behavior of the class method changed in reef; the change was
backported to pacific and quincy.  An older quincy binary used against
newer quincy OSDs produces an expected failure:

    [ RUN      ] TestClsRbd.mirror_snapshot
    .../ceph-17.2.0/src/test/cls_rbd/test_cls_rbd.cc:2278: Failure
    Expected equality of these values:
      -85
      mirror_image_snapshot_unlink_peer(&ioctx, oid, 1, "peer2")
        Which is: 0
    [  FAILED  ] TestClsRbd.mirror_snapshot (49 ms)

TestClsRbd.snapshots_namespaces test was removed in commit 4ad9d565a15c
("librbd: simplified retrieving snapshots from image header") many years
ago.

Fixes: https://tracker.ceph.com/issues/62773
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoMerge pull request #53303 from rhcs-dashboard/wip-62718-quincy
Nizamudeen A [Thu, 7 Sep 2023 10:27:19 +0000 (15:57 +0530)]
Merge pull request #53303 from rhcs-dashboard/wip-62718-quincy

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

Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53318 from zdover23/wip-doc-2023-09-07-backport-53300-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 16:42:19 +0000 (12:42 -0400)]
Merge pull request #53318 from zdover23/wip-doc-2023-09-07-backport-53300-to-quincy

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

22 months agoMerge pull request #53316 from zdover23/wip-doc-2023-09-07-backport-53314-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 16:31:33 +0000 (12:31 -0400)]
Merge pull request #53316 from zdover23/wip-doc-2023-09-07-backport-53314-to-quincy

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

22 months agodoc/rados: add bulk flag to pools.rst 53318/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 53316/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 #53313 from zdover23/wip-doc-2023-09-07-backport-53302-to-quincy
Anthony D'Atri [Wed, 6 Sep 2023 15:15:09 +0000 (11:15 -0400)]
Merge pull request #53313 from zdover23/wip-doc-2023-09-07-backport-53302-to-quincy

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

22 months agodoc/man: remove docs about support for unix domain sockets 53313/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)