]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agodoc/dev: add explanation of how to use deduplication 48568/head
myoungwon oh [Fri, 29 Apr 2022 06:32:08 +0000 (15:32 +0900)]
doc/dev: add explanation of how to use deduplication

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 72c695780c8361f81b8135899d9060811873dcb4)

3 years agoMerge pull request #48243 from tserong/wip-57638-pacific
Yuri Weinstein [Thu, 20 Oct 2022 15:01:16 +0000 (08:01 -0700)]
Merge pull request #48243 from tserong/wip-57638-pacific

pacific: python-common: Add 'KB' to supported suffixes in SizeMatcher

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #48210 from s0nea/wip-57639-pacific
Yuri Weinstein [Thu, 20 Oct 2022 14:58:28 +0000 (07:58 -0700)]
Merge pull request #48210 from s0nea/wip-57639-pacific

pacific: cephadm: consider stdout to get container version

Reviewed-by: Adam King adking@redhat.com
3 years agoMerge pull request #48187 from Matan-B/wip-57373-pacific
Yuri Weinstein [Thu, 20 Oct 2022 14:56:31 +0000 (07:56 -0700)]
Merge pull request #48187 from Matan-B/wip-57373-pacific

pacific: SimpleRADOSStriper: Avoid moving bufferlists by using deque in read()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48126 from guits/wip-57566-pacific
Yuri Weinstein [Thu, 20 Oct 2022 14:55:36 +0000 (07:55 -0700)]
Merge pull request #48126 from guits/wip-57566-pacific

pacific: ceph-volume: fix inventory with device arg

Reviewed-by: Adam King adking@redhat.com
3 years agoMerge pull request #48123 from guits/wip-57564-pacific
Yuri Weinstein [Thu, 20 Oct 2022 14:52:57 +0000 (07:52 -0700)]
Merge pull request #48123 from guits/wip-57564-pacific

pacific: ceph-volume/tests: fix lvm centos8-filestore-create job

Reviewed-by: Teoman Onay <tonay@redhat.com>
3 years agoMerge pull request #48026 from rhcs-dashboard/wip-57485-pacific
Nizamudeen A [Thu, 20 Oct 2022 06:23:37 +0000 (11:53 +0530)]
Merge pull request #48026 from rhcs-dashboard/wip-57485-pacific

pacific: mgr/dashboard: fix unmanaged service creation

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #48413 from vshankar/tr-57716
Venky Shankar [Thu, 20 Oct 2022 05:28:07 +0000 (10:58 +0530)]
Merge pull request #48413 from vshankar/tr-57716

pacific: client: fix incorrectly showing the .snap size for stat

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #48417 from kotreshhr/wip-57723-pacific
Venky Shankar [Thu, 20 Oct 2022 04:16:56 +0000 (09:46 +0530)]
Merge pull request #48417 from kotreshhr/wip-57723-pacific

pacific: qa: Fix test_subvolume_snapshot_info_if_orphan_clone

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48562 from zdover23/wip-doc-2022-10-20-backport-48556-to-pacific-2
zdover23 [Thu, 20 Oct 2022 02:23:17 +0000 (12:23 +1000)]
Merge pull request #48562 from zdover23/wip-doc-2022-10-20-backport-48556-to-pacific-2

pacific: doc/radosgw: refine "bucket notifications"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/radosgw: refine "bucket notifications" 48562/head
Zac Dover [Wed, 19 Oct 2022 18:35:14 +0000 (04:35 +1000)]
doc/radosgw: refine "bucket notifications"

This commit refines the English in the "Bucket Notifications REST API"
section of the notifications.rst page (the "Bucket Notifications" page).

Co-author: Cole Mitchell <cole.mitchell@gmail.com>

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

3 years agoMerge pull request #47410 from rhcs-dashboard/wip-56566-pacific
Nizamudeen A [Wed, 19 Oct 2022 05:12:31 +0000 (10:42 +0530)]
Merge pull request #47410 from rhcs-dashboard/wip-56566-pacific

pacific: mgr/dashboard: rbd striping setting pre-population and pop-over

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: vrushch <NOT@FOUND>
3 years agoMerge pull request #48536 from zdover23/wip-doc-2022-10-19-backport-48512-to-pacific
zdover23 [Tue, 18 Oct 2022 18:12:46 +0000 (04:12 +1000)]
Merge pull request #48536 from zdover23/wip-doc-2022-10-19-backport-48512-to-pacific

pacific: doc/radowsgw: add prompts to notifications.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/radowsgw: add prompts to notifications.rst 48536/head
Zac Dover [Mon, 17 Oct 2022 13:46:39 +0000 (23:46 +1000)]
doc/radowsgw: add prompts to notifications.rst

This PR adds unselectable prompts to doc/radosgw/notifications.rst.

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

3 years agoMerge pull request #48530 from zdover23/wip-doc-2022-10-19-backport-48511-to-pacific
zdover23 [Tue, 18 Oct 2022 15:20:29 +0000 (01:20 +1000)]
Merge pull request #48530 from zdover23/wip-doc-2022-10-19-backport-48511-to-pacific

pacific: doc/radosgw: refine "notification reliability"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/radosgw: refine "notification reliability" 48530/head
Zac Dover [Mon, 17 Oct 2022 14:09:34 +0000 (00:09 +1000)]
doc/radosgw: refine "notification reliability"

This commit refines the English in the "Notification Reliability"
section of the notifications.rst page (the "Bucket Notifications"
page). I have also added signposting structure.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 8f7b57f5cec475f8977e61707b287884903c1bb5)

3 years agoMerge pull request #48503 from zdover23/wip-doc-2022-10-17-backport-48501-to-pacific
zdover23 [Sun, 16 Oct 2022 18:39:12 +0000 (04:39 +1000)]
Merge pull request #48503 from zdover23/wip-doc-2022-10-17-backport-48501-to-pacific

pacific: doc/radosgw: refine notifications.rst - top part

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/radosgw: refine notifications.rst - top part 48503/head
Zac Dover [Sun, 16 Oct 2022 17:54:25 +0000 (03:54 +1000)]
doc/radosgw: refine notifications.rst - top part

This commit refines the English in the first part of the
notifications.rst page (the "Bucket Notifications" page).

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

3 years agoMerge pull request #48500 from zdover23/wip-doc-2022-10-16-backport-48498-to-pacific
zdover23 [Sun, 16 Oct 2022 04:02:26 +0000 (14:02 +1000)]
Merge pull request #48500 from zdover23/wip-doc-2022-10-16-backport-48498-to-pacific

pacific: doc/radosgw: update notifications.rst - grammar

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/radosgw: update notifications.rst - grammar 48500/head
Zac Dover [Sun, 16 Oct 2022 03:09:35 +0000 (13:09 +1000)]
doc/radosgw: update notifications.rst - grammar

This commit rewrites a sentence, as requested by
C. Mitchell here:
https://github.com/ceph/ceph/pull/48493/files#r996003812

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

3 years agoMerge pull request #48495 from zdover23/wip-doc-2022-10-15-backport-48493-to-pacific
zdover23 [Fri, 14 Oct 2022 21:26:45 +0000 (07:26 +1000)]
Merge pull request #48495 from zdover23/wip-doc-2022-10-15-backport-48493-to-pacific

pacific: doc/radosgw: improve grammar - notifications.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48376 from idryomov/pybind-rados-omap-cmp-pacific
Yuri Weinstein [Fri, 14 Oct 2022 18:52:12 +0000 (11:52 -0700)]
Merge pull request #48376 from idryomov/pybind-rados-omap-cmp-pacific

pacific: pybind: add wrapper for rados_write_op_omap_cmp

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoMerge pull request #48320 from kamoltat/wip-ksirivad-backport-pacific-44993
Yuri Weinstein [Fri, 14 Oct 2022 18:51:29 +0000 (11:51 -0700)]
Merge pull request #48320 from kamoltat/wip-ksirivad-backport-pacific-44993

pacific: mon/Elector: Added sanity check when pinging a peer monitor

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agodoc/radosgw: improve grammar - notifications.rst 48495/head
Zac Dover [Fri, 14 Oct 2022 17:48:44 +0000 (03:48 +1000)]
doc/radosgw: improve grammar - notifications.rst

This commit makes the changes suggested by C. Mitchell in
https://github.com/ceph/ceph/pull/48486.

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

3 years agoMerge pull request #48488 from zdover23/wip-doc-2022-10-14-backport-48486-to-pacific
zdover23 [Fri, 14 Oct 2022 07:08:54 +0000 (17:08 +1000)]
Merge pull request #48488 from zdover23/wip-doc-2022-10-14-backport-48486-to-pacific

pacific: doc/radosgw: add push_endpoint for rabbitmq

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
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 agoqa: Fix test_subvolume_snapshot_info_if_orphan_clone 48417/head
Kotresh HR [Tue, 6 Sep 2022 12:29:54 +0000 (17:59 +0530)]
qa: Fix test_subvolume_snapshot_info_if_orphan_clone

The list of pending clones didn't match the expected.
The test fails occasionally. This is because the
clone would have finished before checking for this.
So increase the clone delay.

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

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 agoclient: fix incorrectly showing the .snap size for stat 48413/head
Xiubo Li [Wed, 31 Aug 2022 07:27:01 +0000 (15:27 +0800)]
client: fix incorrectly showing the .snap size for stat

We should set the 'stat->size' to the real number of snapshots for
snapdirs.

Fixes: https://tracker.ceph.com/issues/57344
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit aa918d2e383eb9da2f6f837d731cc18bbad21e44)

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 agoqa/cephadm: Added workunit test for orch cli mon 48320/head
Kamoltat [Fri, 11 Feb 2022 19:01:29 +0000 (19:01 +0000)]
qa/cephadm: Added workunit test for orch cli mon

Added a test where we have 5 MONs on
5 different hosts and try to reduce
the number of MONs from 5 to 3 using
the command ``ceph orch apply mon 3``.

Also,increasing the number of MONs from
 3 to 5 using the command:
``ceph orch apply mon 5``.

Evaluating the correctness of the commands
and inspecting if there are crashes.

This test was motivated by the bug:
https://tracker.ceph.com/issues/50089

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

3 years agomon/Elector: Added sanity check for peer & ranks size
Kamoltat [Fri, 11 Feb 2022 17:17:58 +0000 (17:17 +0000)]
mon/Elector: Added sanity check for peer & ranks size

Check if ``peer >= ranks_size``, then we
remove the current peer from ``live_pinging`` sets,
incase the peer was already removed out of the quorum
but for some reason the Elector code didn't
get to update ``live_pinging`` and ``dead_pinging`` sets
in time with when ranks.size() of monmap is changed.
This is to prevent going into assertion error later at
MonMap.h:get_addrs().

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

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 agopybind: add wrapper for rados_write_op_omap_cmp 48376/head
Sandy Kaur [Fri, 1 Oct 2021 17:09:42 +0000 (12:09 -0500)]
pybind: add wrapper for rados_write_op_omap_cmp

Signed-off-by: Sandy Kaur <sandy.kaur@ibm.com>
(cherry picked from commit c5a45d38d42de896fc989e51a260ba214b67b5e0)

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)