]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agodoc/radosgw: add push_endpoint for rabbitmq 48488/head
Zac Dover [Fri, 14 Oct 2022 06:17:12 +0000 (16:17 +1000)]
doc/radosgw: add push_endpoint for rabbitmq

This commit directs users of rabbitmq to use "push_endpoint"
(with an underscore) instead of "push-endpoint" (with a hy-
phen). This commit adds a note that contains such a direct-
ive. It does not alter the examples already present in the
text.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit ddf8295438b14ada04d8bb5dfc23402bedc937b8)

3 years agoMerge pull request #48385 from idryomov/wip-57766-pacific
Yuri Weinstein [Thu, 13 Oct 2022 15:06:54 +0000 (08:06 -0700)]
Merge pull request #48385 from idryomov/wip-57766-pacific

pacific: qa/tasks/rbd_fio: bump default to fio 3.32

Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
3 years agoMerge pull request #48274 from satoru-takeuchi/wip-57560-pacific
Casey Bodley [Thu, 13 Oct 2022 13:57:08 +0000 (09:57 -0400)]
Merge pull request #48274 from satoru-takeuchi/wip-57560-pacific

pacific: rgw: fix data corruption due to network jitter

3 years agoMerge pull request #47746 from pritha-srivastava/wip-52789-pacific
Casey Bodley [Thu, 13 Oct 2022 13:56:43 +0000 (09:56 -0400)]
Merge pull request #47746 from pritha-srivastava/wip-52789-pacific

pacific: rgw/sts: adding code for aws:RequestTags as part

3 years agoMerge pull request #47234 from cfsnyder/wip-55712-pacific
Casey Bodley [Thu, 13 Oct 2022 13:56:35 +0000 (09:56 -0400)]
Merge pull request #47234 from cfsnyder/wip-55712-pacific

pacific: rgw_rest_user_policy: Fix GetUserPolicy & ListUserPolicies responses

3 years agoMerge pull request #48240 from trociny/wip-56407-pacific
Casey Bodley [Thu, 13 Oct 2022 13:56:26 +0000 (09:56 -0400)]
Merge pull request #48240 from trociny/wip-56407-pacific

pacific: rgw: splitting gc chains into smaller parts to prevent

3 years agoMerge pull request #48480 from zdover23/wip-doc-2022-10-13-backport-48463-to-pacific
zdover23 [Thu, 13 Oct 2022 13:31:20 +0000 (23:31 +1000)]
Merge pull request #48480 from zdover23/wip-doc-2022-10-13-backport-48463-to-pacific

pacific: doc/dev: add submodule-update link to dev guide

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev: add submodule-update link to dev guide 48480/head
Zac Dover [Wed, 12 Oct 2022 12:39:36 +0000 (22:39 +1000)]
doc/dev: add submodule-update link to dev guide

This commit links to the procedure in install/clone-source.rst that
explains how to update submodules.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit e55c3b114be402eae94550c603cf7c028c9b64bf)

3 years agoMerge pull request #48465 from zdover23/wip-doc-2022-10-15-backport-48460-to-pacific 48481/head
zdover23 [Thu, 13 Oct 2022 12:49:25 +0000 (22:49 +1000)]
Merge pull request #48465 from zdover23/wip-doc-2022-10-15-backport-48460-to-pacific

pacific: doc/install: improve updating submodules procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48470 from adk3798/pacific-fix-tox-cephadm
Adam King [Wed, 12 Oct 2022 23:06:57 +0000 (19:06 -0400)]
Merge pull request #48470 from adk3798/pacific-fix-tox-cephadm

pacific: cephadm: run tests as root

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agocephadm: pin pyfakefs to 5.0 48470/head
Kefu Chai [Mon, 10 Oct 2022 15:19:27 +0000 (23:19 +0800)]
cephadm: pin pyfakefs to 5.0

so the test is more repeatable.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 52f5c2fed057efa25e1cbea2a2bb4295f77831e4)

3 years agocephadm: fix the indent
Kefu Chai [Mon, 10 Oct 2022 14:43:23 +0000 (22:43 +0800)]
cephadm: fix the indent

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 38dc57ac9a88dafbe73038ea757dfa778c6191a7)

Conflicts:
src/cephadm/tests/fixtures.py

3 years agocephadm: run tests as root
Kefu Chai [Mon, 10 Oct 2022 13:57:57 +0000 (21:57 +0800)]
cephadm: run tests as root

as we will be create/access directories which are only accessible by
root with pyfakefs, and pyfake respects the uid of current effective
user, so if we run the test using non-root user, these tests would fail
after the fix for https://github.com/pytest-dev/pyfakefs/issues/489
is addressed in the pyfakefs we are using.

in this change, we will run the test on behalf of root, so we can
create and access the directories as we did before.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit ed19416067a7ef3b69310d22bf4e3b573e3011f0)

Conflicts:
src/cephadm/tests/fixtures.py

3 years agodoc/install: improve updating submodules procedure 48465/head
Zac Dover [Wed, 12 Oct 2022 08:27:42 +0000 (18:27 +1000)]
doc/install: improve updating submodules procedure

This commit beefs up the "Updating Submodules" procedure,
which (prior to this commit) was quite brief.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 9382a90342f96cabab4b7caf816d9381f77e7f46)

3 years agoMerge pull request #48035 from s0nea/wip-57487-pacific
Nizamudeen A [Wed, 12 Oct 2022 05:09:10 +0000 (10:39 +0530)]
Merge pull request #48035 from s0nea/wip-57487-pacific

pacific: monitoring/ceph-mixin: add RGW host to label info

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #48081 from pdvian/wip-40535-pacific
Nizamudeen A [Wed, 12 Oct 2022 05:08:40 +0000 (10:38 +0530)]
Merge pull request #48081 from pdvian/wip-40535-pacific

pacific: pybind/mgr/dashboard: move pytest into requirements.txt

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #48220 from s0nea/wip-57663-pacific
Nizamudeen A [Wed, 12 Oct 2022 05:07:07 +0000 (10:37 +0530)]
Merge pull request #48220 from s0nea/wip-57663-pacific

pacific: mgr/dashboard: add option to resolve ip addr

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #48328 from kotreshhr/wip-57718-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:25:25 +0000 (15:25 -0700)]
Merge pull request #48328 from kotreshhr/wip-57718-pacific

pacific: qa: Fix test_subvolume_group_ls_filter_internal_directories

Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agoMerge pull request #48270 from vshankar/tr-57261
Yuri Weinstein [Tue, 11 Oct 2022 22:24:55 +0000 (15:24 -0700)]
Merge pull request #48270 from vshankar/tr-57261

pacific: mon/MDSMonitor: fix standby-replay mds being removed from MDSMap unexpectedly

Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agoMerge pull request #48269 from vshankar/tr-57194
Yuri Weinstein [Tue, 11 Oct 2022 22:24:20 +0000 (15:24 -0700)]
Merge pull request #48269 from vshankar/tr-57194

pacific: fsmap: switch to using iterator based loop

Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agoMerge pull request #48230 from ivancich/wip-57649-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:23:15 +0000 (15:23 -0700)]
Merge pull request #48230 from ivancich/wip-57649-pacific

pacific: rgw: fix bool/int logic error when calling get_obj_head_ioctx

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #48229 from ivancich/wip-57429-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:22:19 +0000 (15:22 -0700)]
Merge pull request #48229 from ivancich/wip-57429-pacific

pacific: rgw: fix bug where variable referenced after data moved out

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 years agoMerge pull request #48348 from cfsnyder/wip-57753-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:20:19 +0000 (15:20 -0700)]
Merge pull request #48348 from cfsnyder/wip-57753-pacific

pacific: rgw: log deletion status of individual objects in multi object delete request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #48313 from k0ste/wip-57197-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:19:47 +0000 (15:19 -0700)]
Merge pull request #48313 from k0ste/wip-57197-pacific

pacific: rgw: x-amz-date change breaks certain cases of aws sig v4.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #47994 from soumyakoduri/wip-skoduri-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:17:26 +0000 (15:17 -0700)]
Merge pull request #47994 from soumyakoduri/wip-skoduri-pacific

rgw/backport/pacific: Fix crashes with Sync policy APIs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #47231 from cfsnyder/wip-55245-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:15:34 +0000 (15:15 -0700)]
Merge pull request #47231 from cfsnyder/wip-55245-pacific

pacific: rgwlc:  don't incorrectly expire delete markers when !next_key_name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #47230 from cfsnyder/wip-56185-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:14:47 +0000 (15:14 -0700)]
Merge pull request #47230 from cfsnyder/wip-56185-pacific

pacific: RGW - Swift retarget needs bucket set on object

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #45713 from cbodley/wip-55135
Yuri Weinstein [Tue, 11 Oct 2022 22:14:01 +0000 (15:14 -0700)]
Merge pull request #45713 from cbodley/wip-55135

pacific: rgw: data sync uses yield_spawn_window()

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44907 from trociny/wip-54144-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:13:20 +0000 (15:13 -0700)]
Merge pull request #44907 from trociny/wip-54144-pacific

pacific: rgw: check bucket shard init status in RGWRadosBILogTrimCR

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44558 from k0ste/wip-53149-pacific
Yuri Weinstein [Tue, 11 Oct 2022 22:11:03 +0000 (15:11 -0700)]
Merge pull request #44558 from k0ste/wip-53149-pacific

pacific: rgw: fix ListBucketMultiparts response with common prefixes

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #48448 from zdover23/wip-doc-2022-10-12-backport-48446-to-pacific
zdover23 [Tue, 11 Oct 2022 18:09:46 +0000 (04:09 +1000)]
Merge pull request #48448 from zdover23/wip-doc-2022-10-12-backport-48446-to-pacific

pacific: doc/glossary: add "ceph monitor" entry

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/glossary: add "ceph monitor" entry 48448/head
Zac Dover [Tue, 11 Oct 2022 16:49:13 +0000 (02:49 +1000)]
doc/glossary: add "ceph monitor" entry

This commit adds information to the "ceph monitor" entry in
glossary.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 8f4ad5dc9d171c805f061b937ad1110b53255fa6)

3 years agoMerge pull request #48431 from zdover23/wip-doc-2022-10-11-backport-48429-to-pacific
zdover23 [Tue, 11 Oct 2022 16:12:41 +0000 (02:12 +1000)]
Merge pull request #48431 from zdover23/wip-doc-2022-10-11-backport-48429-to-pacific

pacific: doc/security: improve grammar in CVE-2022-0670.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/security: improve grammar in CVE-2022-0670.rst 48431/head
Zac Dover [Tue, 11 Oct 2022 04:36:10 +0000 (14:36 +1000)]
doc/security: improve grammar in CVE-2022-0670.rst

This commit accepts the suggestions made by Cole Mitchell in
https://github.com/ceph/ceph/pull/48404.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 52971eb9ac65a25e1bb79e7587de5a51900261d3)

3 years agoMerge pull request #47960 from rhcs-dashboard/wip-57435-pacific
Nizamudeen A [Tue, 11 Oct 2022 04:39:46 +0000 (10:09 +0530)]
Merge pull request #47960 from rhcs-dashboard/wip-57435-pacific

pacific: mgr/dashboard: fix nfs exports form issues with squash field

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #48426 from zdover23/wip-doc-2022-10-11-backport-48423-to-pacific
zdover23 [Mon, 10 Oct 2022 17:37:00 +0000 (03:37 +1000)]
Merge pull request #48426 from zdover23/wip-doc-2022-10-11-backport-48423-to-pacific

pacific: doc/releases: improve grammar in pacific.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/releases: improve grammar in pacific.rst 48426/head
Zac Dover [Mon, 10 Oct 2022 14:15:11 +0000 (00:15 +1000)]
doc/releases: improve grammar in pacific.rst

This commit accepts the grammar suggestions that were made by Cole
Mitchell in https://github.com/ceph/ceph/pull/48404.

(cherry picked from commit 560d7590fdf66ef3827203bc7c5725f167a1a7b2)
Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48205 from rhcs-dashboard/wip-57624-pacific
Nizamudeen A [Mon, 10 Oct 2022 10:34:19 +0000 (16:04 +0530)]
Merge pull request #48205 from rhcs-dashboard/wip-57624-pacific

pacific: mgr/prometheus: expose num objects repaired in pool

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #48404 from zdover23/wip-doc-2022-10-10-pacific-releases-cleanup
zdover23 [Sun, 9 Oct 2022 15:39:26 +0000 (01:39 +1000)]
Merge pull request #48404 from zdover23/wip-doc-2022-10-10-pacific-releases-cleanup

pacific: doc/releases: update pacific release notes

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/releases: update pacific release notes 48404/head
Zac Dover [Sun, 9 Oct 2022 14:56:37 +0000 (00:56 +1000)]
doc/releases: update pacific release notes

This commit updates the Pacific release notes, which were
not present until now.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48403 from zdover23/wip-doc-2022-10-09-backport-48401-to-pacific
zdover23 [Sun, 9 Oct 2022 07:53:10 +0000 (17:53 +1000)]
Merge pull request #48403 from zdover23/wip-doc-2022-10-09-backport-48401-to-pacific

pacific: doc/various: update link to CRUSH pdf

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/various: update link to CRUSH pdf 48403/head
Zac Dover [Sun, 9 Oct 2022 07:09:30 +0000 (17:09 +1000)]
doc/various: update link to CRUSH pdf

This commit updates link to the research paper that announces and
explains the CRUSH algorithm. This link was broken in the migration from
the old Ceph website to ceph.io.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 6877b592a289cb473f16daa79d5112f5b2d8006c)

3 years agoMerge pull request #48392 from zdover23/wip-doc-2022-10-02-backport-44433-to-pacific
zdover23 [Fri, 7 Oct 2022 05:34:38 +0000 (15:34 +1000)]
Merge pull request #48392 from zdover23/wip-doc-2022-10-02-backport-44433-to-pacific

pacific: docs/start: fixes typo and empty headline in hardware recommendation …

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodocs/start: fixes typo and empty headline in hardware recommendation docs 48392/head
Sebastian Schmid [Sat, 1 Jan 2022 16:33:10 +0000 (17:33 +0100)]
docs/start: fixes typo and empty headline in hardware recommendation docs

fixes typo and empty headline in hardware recommendation docs

Signed-off-by: Sebastian Schmid <mail@sebastian-schmid.de>
(cherry picked from commit 48421403119c87d4bfc62c76de7c5598ccabb0a2)

3 years agoMerge pull request #48031 from idryomov/wip-50378-pacific
Yuri Weinstein [Thu, 6 Oct 2022 17:09:38 +0000 (10:09 -0700)]
Merge pull request #48031 from idryomov/wip-50378-pacific

pacific: test: bump DecayCounter.steady acceptable error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #48165 from kotreshhr/wip-57555-pacific
Yuri Weinstein [Thu, 6 Oct 2022 16:51:31 +0000 (09:51 -0700)]
Merge pull request #48165 from kotreshhr/wip-57555-pacific

pacific: qa: ignore disk quota exceeded failure in test

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48142 from rhcs-dashboard/wip-57582-pacific
Yuri Weinstein [Thu, 6 Oct 2022 16:50:35 +0000 (09:50 -0700)]
Merge pull request #48142 from rhcs-dashboard/wip-57582-pacific

pacific: mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Francesco Torchia <francesco.torchia@suse.com>
3 years agoMerge pull request #48112 from NitzanMordhai/wip-57544-pacific
Yuri Weinstein [Thu, 6 Oct 2022 16:47:31 +0000 (09:47 -0700)]
Merge pull request #48112 from NitzanMordhai/wip-57544-pacific

pacific: pybind/rados: notify callback reconnect

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #47112 from nmshelke/wip-56468-pacific
Yuri Weinstein [Thu, 6 Oct 2022 16:44:35 +0000 (09:44 -0700)]
Merge pull request #47112 from nmshelke/wip-56468-pacific

pacific: mgr/volumes: A few dependent mgr volumes PRs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR khiremat@redhat.com
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoqa/tasks/rbd_fio: bump default to fio 3.32 48385/head
Ilya Dryomov [Wed, 5 Oct 2022 08:09:28 +0000 (10:09 +0200)]
qa/tasks/rbd_fio: bump default to fio 3.32

fio 3.16 doesn't build against recent kernel headers due to removal of
linux/raw.h.

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

3 years agoMerge pull request #47721 from rhcs-dashboard/wip-55468-pacific
Nizamudeen A [Thu, 6 Oct 2022 05:51:07 +0000 (11:21 +0530)]
Merge pull request #47721 from rhcs-dashboard/wip-55468-pacific

pacific: mgr/dashboard: grafana frontend e2e testing and update cypress

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #48381 from zdover23/wip-doc-2022-10-06-backport-48379-to-pacific
zdover23 [Thu, 6 Oct 2022 05:17:28 +0000 (15:17 +1000)]
Merge pull request #48381 from zdover23/wip-doc-2022-10-06-backport-48379-to-pacific

pacific: doc/install: clone-source.rst s/master/main

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/install: clone-source.rst s/master/main 48381/head
Zac Dover [Thu, 6 Oct 2022 04:30:07 +0000 (14:30 +1000)]
doc/install: clone-source.rst s/master/main

s/master/main in doc/install/clone-source.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 5c17509b0a3402ca4a3ee574ed7e73949d51c72a)

3 years agoMerge pull request #48371 from zdover23/wip-doc-2022-10-05-backport-44564-to-pacific
zdover23 [Wed, 5 Oct 2022 11:16:01 +0000 (21:16 +1000)]
Merge pull request #48371 from zdover23/wip-doc-2022-10-05-backport-44564-to-pacific

pacific: doc/mgr: name data source in "Man Install & Config"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/mgr: name data source in "Man Install & Config" 48371/head
Zac Dover [Wed, 12 Jan 2022 22:46:20 +0000 (08:46 +1000)]
doc/mgr: name data source in "Man Install & Config"

This PR specifies that the data source must be set to
be "Dashboard1" when you configure Grafana and Prometheus
manually.

This is a fixup of another PR which was created by Dr
Jake Grimmett. This is that PR:

Credit goes to Dr Jake Grimmett of Cambridge.

https://github.com/ceph/ceph/pull/44150/

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 987713da331e941c05d114f1e167c21d1e7896eb)

3 years agoMerge pull request #48366 from zdover23/wip-doc-2022-10-05-backport-48362-to-pacific
zdover23 [Wed, 5 Oct 2022 07:26:11 +0000 (17:26 +1000)]
Merge pull request #48366 from zdover23/wip-doc-2022-10-05-backport-48362-to-pacific

pacific: doc/rados: refine English in crush-map-edits.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/rados: refine English in crush-map-edits.rst 48366/head
Zac Dover [Wed, 14 Sep 2022 05:19:44 +0000 (15:19 +1000)]
doc/rados: refine English in crush-map-edits.rst

This commit makes several refinements to the English in
rados/operations/crush-map-edits.rst, which refinements were suggested
by Cole Mitchell and Anthony D'Atri in the discussion of PR#48085.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit a70b720032876386d7fbebfb649849fa34e9da5f)

3 years agoMerge pull request #48364 from zdover23/wip-doc-2022-10-05-backport-48085-to-pacific
zdover23 [Wed, 5 Oct 2022 01:47:39 +0000 (11:47 +1000)]
Merge pull request #48364 from zdover23/wip-doc-2022-10-05-backport-48085-to-pacific

pacific: doc/rados: update prompts in crush-map-edits.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/rados: update prompts in crush-map-edits.rst 48364/head
Zac Dover [Wed, 14 Sep 2022 05:19:44 +0000 (15:19 +1000)]
doc/rados: update prompts in crush-map-edits.rst

This PR updates the prompts in crush-map-edits.rst
to make them unselectable.

There remains no good known way to render parts of
a file if the first line of that file begins with a
hash (#). Sphinx italicizes such a first line, which
is not what I want. Two examples of this are present
in the file crush-maps-rst under the section called
"CRUSH Map Bucket Types". I set this down here for
my own records, in case it is helpful in finding a
way to make these sections render as I would prefer.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 7484b7c10a3f762e6649fb304fd0f7a5da5e418f)

3 years agoMerge pull request #48048 from aaSharma14/wip-57498-pacific
Pere Diaz Bou [Tue, 4 Oct 2022 17:36:34 +0000 (19:36 +0200)]
Merge pull request #48048 from aaSharma14/wip-57498-pacific

pacific: mgr/dashboard: fix snapshot creation with duplicate name

3 years agoMerge pull request #48358 from zdover23/wip-doc-2022-10-04-backport-48346-to-pacific-3
zdover23 [Tue, 4 Oct 2022 14:27:54 +0000 (00:27 +1000)]
Merge pull request #48358 from zdover23/wip-doc-2022-10-04-backport-48346-to-pacific-3

pacific: doc/glossary.rst: remove duplicates

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/glossary.rst: remove duplicates 48358/head
Zac Dover [Mon, 3 Oct 2022 12:51:35 +0000 (22:51 +1000)]
doc/glossary.rst: remove duplicates

This commit removes similar but distinct entries for the following:
   * CephFS
   * Ceph Client

Removal of a glossary term that is referred to in the body of the
documentation suite requires the alteration of the text string
that refers to the glossary term. Alterations of this kind have
been made to doc/architecture.rst and doc/rados/api/index.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 0692b223540143cdb4a60b54595a7069284b5481)

3 years agorgw: fix json format of ops log op data fields for multi object delete 48348/head
Cory Snyder [Thu, 21 Jul 2022 21:51:11 +0000 (17:51 -0400)]
rgw: fix json format of ops log op data fields for multi object delete

The num_ok and num_err fields were being mistakenly dumped as bool values
vs. integers.

Signed-off-by: Cory Snyder <csnyder@iland.com>
3 years agorgw: log deletion status of individual objects in multi object delete request
Cory Snyder [Fri, 15 Jul 2022 02:51:48 +0000 (22:51 -0400)]
rgw: log deletion status of individual objects in multi object delete request

Provides ops log visibility for individual objects that are deleted as part
of a multi-object delete request.

Fixes: https://tracker.ceph.com/issues/56645
Signed-off-by: Cory Snyder <csnyder@iland.com>
 Conflicts:
src/rgw/rgw_op.h
src/test/rgw/test_rgw_lua.cc

Cherry-pick notes:
- minor conflicts due to formatting changes and added tests

3 years agorgw: add hook for RGWOp subclasses to write custom metadata to ops logs
Cory Snyder [Fri, 15 Jul 2022 01:40:22 +0000 (21:40 -0400)]
rgw: add hook for RGWOp subclasses to write custom metadata to ops logs

Adds a write_ops_log_entry method to the RGWOp class to allow it's
subclasses an opportunity to modify the request ops log entry.

Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit be33b5d11e3b64356a0ef10a9795e6c33b7133dc)

Conflicts:
src/rgw/librgw.cc
src/rgw/rgw_lib.cc
src/rgw/rgw_log.cc
src/rgw/rgw_log.h
src/rgw/rgw_lua_request.cc
src/rgw/rgw_lua_request.h
src/test/rgw/test_rgw_lua.cc

Cherry-pick notes:
- minor conflicts due to formatting and param changes

3 years agoMerge pull request #48339 from zdover23/wip-doc-2022-10-02-backport-48333-to-pacific
zdover23 [Mon, 3 Oct 2022 03:58:12 +0000 (13:58 +1000)]
Merge pull request #48339 from zdover23/wip-doc-2022-10-02-backport-48333-to-pacific

pacific: doc/glossary.rst: alphabetize glossary terms

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/glossary.rst: alphabetize glossary terms 48339/head
Zac Dover [Sun, 2 Oct 2022 10:48:36 +0000 (20:48 +1000)]
doc/glossary.rst: alphabetize glossary terms

This commit (finally) alphabetizes the terms in the glossary.
This is not a grammar-correcting or usage-correcting commit.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48335 from zdover23/wip-doc-2022-10-02-backport-48332-to-pacific
zdover23 [Sun, 2 Oct 2022 23:42:17 +0000 (09:42 +1000)]
Merge pull request #48335 from zdover23/wip-doc-2022-10-02-backport-48332-to-pacific

pacific: doc/rados: fix prompts in erasure-code.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/rados: fix prompts in erasure-code.rst 48335/head
Zac Dover [Sun, 2 Oct 2022 04:55:46 +0000 (14:55 +1000)]
doc/rados: fix prompts in erasure-code.rst

This commit adds unselectable prompts to doc/rados/
erasure-code.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoqa: Fix test_subvolume_group_ls_filter_internal_directories 48328/head
Kotresh HR [Tue, 6 Sep 2022 06:14:27 +0000 (11:44 +0530)]
qa: Fix test_subvolume_group_ls_filter_internal_directories

Fixes: https://tracker.ceph.com/issues/57205
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit aafa75476722ec5d32f151004b6145d8c38d57ed)

3 years agoMerge pull request #48324 from zdover23/wip-doc-2022-10-01-backport-48322-to-pacific
zdover23 [Sat, 1 Oct 2022 07:01:40 +0000 (17:01 +1000)]
Merge pull request #48324 from zdover23/wip-doc-2022-10-01-backport-48322-to-pacific

pacific: doc/rados: rewrite EC intro

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/rados: rewrite EC intro 48324/head
Zac Dover [Thu, 1 Sep 2022 19:08:00 +0000 (05:08 +1000)]
doc/rados: rewrite EC intro

This PR rewrites the front matter in the "Erasure Code"
section of the RADOS documentation. Previously, the information
in this section was syntactically confused. I have also fleshed
out the distinction between erasure coding and replication.

Co-Author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48276 from torchiaf/wip-57681-pacific
Nizamudeen A [Fri, 30 Sep 2022 14:36:01 +0000 (20:06 +0530)]
Merge pull request #48276 from torchiaf/wip-57681-pacific

pacific: mgr/dashboard: Add text to empty life expectancy column

3 years agorgw: x-amz-date change breaks certain cases of aws sig v4. 48313/head
Marcus Watts [Wed, 10 Aug 2022 19:56:19 +0000 (15:56 -0400)]
rgw: x-amz-date change breaks certain cases of aws sig v4.

Once upon a time, x-amz-date strings were in rfc 2616 format, and most
s3 clients are written to make this style of timestamp.  The current protocol
standard specifies iso 8601 timestamps (yyyymmddThhmmssZ), and client
libraries are changing to use this new format.

This change does two things: firstly, if the date parse fails, it logs
the actual offending timestamp for later analysis.  Secondly, if rfc
2616 fails, it tries iso 8601.  The new timestamp is tried secondarily,
because that lgoic also emits a (less useful) error message, which should
not be spamnificated for valid rfc 2616 timestamps.

Fixes: https://tracker.ceph.com/issues/57094
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit 70ba760f42766fe1075fc3f999e0393a2091b6e0)

3 years agoMerge pull request #48106 from pdvian/wip-57313-pacific
Prashant [Thu, 29 Sep 2022 13:01:09 +0000 (23:01 +1000)]
Merge pull request #48106 from pdvian/wip-57313-pacific

pacific: osd, mds: fix the "heap" admin cmd printing always to error stream

3 years agorgw: fix bool/int logic error when calling get_obj_head_ioctx 48230/head
J. Eric Ivancich [Wed, 14 Sep 2022 16:49:27 +0000 (12:49 -0400)]
rgw: fix bool/int logic error when calling get_obj_head_ioctx

get_obj_head_ioctx returns an int where 0 indicates success. When
called in RGWRados::check_disk_state the result was treated as a
booleann with inverted logic. This fixes that error.

This was already fixed in PR #44616 as part of a larger commit, but
this PR unifies the codebase, so various backports are consistent.

This also adds additional logging.

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

3 years agomgr/dashboard: Add text to empty life expectancy column 48276/head
Francesco Torchia [Tue, 30 Aug 2022 14:46:03 +0000 (16:46 +0200)]
mgr/dashboard: Add text to empty life expectancy column

- Add life_expectancy_enabled field to /api/osd/{svc_id}/devices
- Add new value 'n/a' for 'Life Expectancy' column

Fixes: https://tracker.ceph.com/issues/43116
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
(cherry picked from commit 811bba7e083919cf3b21ed01ac29a107b5bd006d)

3 years agorgw: fix data corruption due to network jitter 48274/head
lu.shasha [Thu, 18 Aug 2022 07:07:42 +0000 (15:07 +0800)]
rgw: fix data corruption due to network jitter

In function RGWRados::Object::Write::_do_write_meta rgw_rados_operate may return -ETIMEDOUT due to network jitter.
But head obj may eventually be written successfully even if return -ETIMEDOUT. Due to r < 0, meta.canceled be set true.
In such scenario, all the tail objects will removed in the destructor of RadosWriter, then data corruptted.
To avoid data corruption, when return -ETIMEDOUT, should clear all objects in RadosWriter.

Signed-off-by: Shasha Lu <lu.shasha@aishu.cn>
(cherry picked from commit 04282ae3c1d19bf185ee1df148eb84deb244630f)

3 years agoMerge pull request #48056 from adk3798/pacific-staggered-version-pacific
Adam King [Tue, 27 Sep 2022 17:18:16 +0000 (13:18 -0400)]
Merge pull request #48056 from adk3798/pacific-staggered-version-pacific

pacific: doc/cephadm: correct version staggered upgrade got in pacific

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #48069 from adk3798/pacific-docs-eca-mounts
Adam King [Tue, 27 Sep 2022 17:16:06 +0000 (13:16 -0400)]
Merge pull request #48069 from adk3798/pacific-docs-eca-mounts

pacific: doc/cephadm: document recommended syntax for mounting files with ECA

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #48109 from lxbsz/wip-57393
Yuri Weinstein [Tue, 27 Sep 2022 14:13:59 +0000 (07:13 -0700)]
Merge pull request #48109 from lxbsz/wip-57393

pacific: client: abort the client if we couldn't invalidate dentry caches

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #47868 from MrFreezeex/pacific-ceph-mixin-backports
Arthur Outhenin-Chalandre [Tue, 27 Sep 2022 14:13:24 +0000 (16:13 +0200)]
Merge pull request #47868 from MrFreezeex/pacific-ceph-mixin-backports

Pacific ceph mixin backports

3 years agoMerge pull request #48108 from lxbsz/wip-57395
Yuri Weinstein [Tue, 27 Sep 2022 14:12:59 +0000 (07:12 -0700)]
Merge pull request #48108 from lxbsz/wip-57395

pacific: client: stop the remount_finisher thread in the Client::unmount()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #47998 from neesingh-rh/wip-57282-pacific
Yuri Weinstein [Tue, 27 Sep 2022 14:12:24 +0000 (07:12 -0700)]
Merge pull request #47998 from neesingh-rh/wip-57282-pacific

pacific: cephfs-top: adding filesystem menu option

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agomon/MDSMonitor: remove redundant state change check 48270/head
胡玮文 [Sun, 9 Jan 2022 15:17:38 +0000 (23:17 +0800)]
mon/MDSMonitor: remove redundant state change check

There are two sets of checks to state change in prepare_beacon.
Since the last commit, many of these checks are covered by
`MDSMap::state_transition_valid`. So merging these checks.

This fixes the bug that standby-replay is evicted unexpectedly.
This bug is introduced in
794d13c9ff4 (mon/MDSMonitor: reject illegal want_states from MDS)
but only reveal itself after
20509bb6c82 (MDSMonitor: handle damaged from standby-replay)

Fixes: https://tracker.ceph.com/issues/53811
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit bf75a9ea08084afe4a02083473a7146cb91dae3b)

3 years agomds/FSMap: stricter state_transition_valid
胡玮文 [Sun, 9 Jan 2022 14:52:16 +0000 (22:52 +0800)]
mds/FSMap: stricter state_transition_valid

Reject any unknown transitions.

MDSRank::state initialize to standy and assert no update is missed.

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 0601552b91a1c91314bc6799514f972098b02f30)

3 years agodoc: complete MDS state diagram
胡玮文 [Sun, 9 Jan 2022 13:53:40 +0000 (21:53 +0800)]
doc: complete MDS state diagram

Add missing rejoin -> stopped.
MDS can transit from replay-standy to damaged Since 20509bb6c82.

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 969061e8d5f6d965150c4ac9d1b804f24b84dc4b)

3 years agomds: remove reference to mds-state-diagram.svg
胡玮文 [Sun, 9 Jan 2022 13:45:34 +0000 (21:45 +0800)]
mds: remove reference to mds-state-diagram.svg

We no longer generate that file since c783ae10aa4

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit b4cc22a57f79b531401515badf39a06e613ef0c9)

3 years agofsmap: switch to using iterator based loop 48269/head
Aliaksei Makarau [Mon, 20 Jun 2022 08:25:54 +0000 (10:25 +0200)]
fsmap: switch to using iterator based loop

Segfault was triggered by the fs/mirror test.
The problem is in potential undefined behaviour
after erasing element and iterator invalidation in
FSMap::filter().
Fixed by explicit iterator increment.

Fixes: https://tracker.ceph.com/issues/55134
Signed-off-by: Aliaksei Makarau <aliaksei.makarau@ibm.com>
(cherry picked from commit 093331425d1737ea4c3345d46f599be485e55860)

 Conflicts:
src/mds/FSMap.h

Conflict due to use of std::string_view vs string_view.

3 years agoMerge pull request #48020 from rzarzynski/wip-doc-dups-trimming-relnotes-pacific
Radoslaw Zarzynski [Mon, 26 Sep 2022 10:22:50 +0000 (12:22 +0200)]
Merge pull request #48020 from rzarzynski/wip-doc-dups-trimming-relnotes-pacific

pacific: PendingReleaseNotes: document online and offline trimming of PG Log's…

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #48236 from zdover23/wip-doc-2022-09-12-backport-48235-to-pacific
zdover23 [Sun, 25 Sep 2022 20:38:48 +0000 (06:38 +1000)]
Merge pull request #48236 from zdover23/wip-doc-2022-09-12-backport-48235-to-pacific

pacific: doc/dev: improve presentation of note (git remote)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agorgw: splitting gc chains into smaller parts to prevent 48240/head
Pritha Srivastava [Thu, 31 Mar 2022 09:59:19 +0000 (15:29 +0530)]
rgw: splitting gc chains into smaller parts to prevent
OSD_WRITETOOBIG error.

fixes: https://tracker.ceph.com/issues/49823

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 42b1ae572579d45074507814fc02ce8cd7c8dc2c)

Conflicts:
src/rgw/rgw_gc.h: trivial (different signature in adjacent defs)
src/rgw/rgw_rados.h: trivial (different signature in adjacent defs)
src/rgw/rgw_sal_rados.cc: multipart abort that needs update is in different file rgw_multi.cc

3 years agodoc/dev: improve presentation of note (git remote) 48236/head
Zac Dover [Sun, 25 Sep 2022 03:41:35 +0000 (13:41 +1000)]
doc/dev: improve presentation of note (git remote)

This commit corrects the formatting of a note that previously
did not make console output and commands as clear as this commit
makes them.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agorgw: fix bug where variable referenced after data moved out 48229/head
J. Eric Ivancich [Thu, 1 Sep 2022 15:06:44 +0000 (11:06 -0400)]
rgw: fix bug where variable referenced after data moved out

Addresses RGWGetObj_ObjStore_S3::override_range_hdr using a variable
for logging after the data had been moved out. This was caught by
coverity.

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

3 years agomgr/dashboard: add option to resolve ip addr 48220/head
Tatjana Dehler [Mon, 25 Jul 2022 16:04:58 +0000 (18:04 +0200)]
mgr/dashboard: add option to resolve ip addr

Add the option `redirect_resolve_ip_addr` to the dashboard module.
If the option is set to `True`, try to resolve the IP address before
redirecting from the passive to the active mgr instance.
If the option is set to `False`, follow the already known behavior.

Fixes: https://tracker.ceph.com/issues/56699
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit 2e15f0f0d2df55bf0c4bc1673a3b7a4b3862d7e2)

3 years agoMerge pull request #48176 from torchiaf/wip-57584-pacific
Nizamudeen A [Fri, 23 Sep 2022 05:30:19 +0000 (11:00 +0530)]
Merge pull request #48176 from torchiaf/wip-57584-pacific

pacific: mgr/dashboard: Add details to the modal which displays the `safe-to-d…

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoPendingReleaseNotes: document online and offline trimming of PG Log's dups 48020/head
Radoslaw Zarzynski [Tue, 23 Aug 2022 19:50:48 +0000 (19:50 +0000)]
PendingReleaseNotes: document online and offline trimming of PG Log's dups

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

Conflicts:
    PendingReleaseNotes
- Moved the note under the new ">=16.2.11" section

3 years agoMerge pull request #47764 from rzarzynski/wip-get_or_fail-debug-louder-pacific
Yuri Weinstein [Thu, 22 Sep 2022 20:30:14 +0000 (13:30 -0700)]
Merge pull request #47764 from rzarzynski/wip-get_or_fail-debug-louder-pacific

pacific: msg: Log at higher level when Throttle::get_or_fail() fails

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
3 years agoMerge pull request #48189 from rhcs-dashboard/wip-57224-pacific
Pedro Gonzalez Gomez [Thu, 22 Sep 2022 12:00:03 +0000 (14:00 +0200)]
Merge pull request #48189 from rhcs-dashboard/wip-57224-pacific

pacific: mgr/dashboard: fix rgw connect when using ssl

Reviewed-by: Pegonzal <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agomgr/prometheus: expose num objects repaired in pool 48205/head
Pere Diaz Bou [Mon, 8 Aug 2022 10:51:16 +0000 (12:51 +0200)]
mgr/prometheus: expose num objects repaired in pool

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit a84620552a527ad30376de115e76a3d4555ca5e9)

Conflicts:
src/pybind/mgr/prometheus/module.py

in get_df we had to not accept incoming changes