]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocrimson/net: print connection memory address as the identity 48457/head
Yingxin Cheng [Wed, 12 Oct 2022 05:37:56 +0000 (13:37 +0800)]
crimson/net: print connection memory address as the identity

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agotest/crimson/test_messenger: add pause before marking down a connection
Yingxin Cheng [Wed, 12 Oct 2022 05:14:20 +0000 (13:14 +0800)]
test/crimson/test_messenger: add pause before marking down a connection

To make sure the ACK messages are consumed, otherwise there can be
unexpected connect attempts to break the test.

Fixes: https://tracker.ceph.com/issues/57693
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #48350 from athanatos/sjust/wip-57739
Liu-Chunmei [Tue, 11 Oct 2022 00:30:19 +0000 (17:30 -0700)]
Merge pull request #48350 from athanatos/sjust/wip-57739

crimson/.../replicated_request,logmissing_request: retain reference to req

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@redhat.com>
3 years agoMerge pull request #48308 from cyx1231st/wip-seastore-offset
Liu-Chunmei [Tue, 11 Oct 2022 00:26:54 +0000 (17:26 -0700)]
Merge pull request #48308 from cyx1231st/wip-seastore-offset

crimson/os/seastore: introduce (64-8)-bit signed device_off_t and 32-bit signed segment_off_t

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agoMerge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug
Liu-Chunmei [Mon, 10 Oct 2022 23:41:37 +0000 (16:41 -0700)]
Merge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug

crimson/osd: introduce debug to ClientRequest::reply_op_error()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agoMerge pull request #47754 from batrick/i57248
Rishabh Dave [Mon, 10 Oct 2022 18:42:24 +0000 (00:12 +0530)]
Merge pull request #47754 from batrick/i57248

qa: cleanup volumes on unwind

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #48064 from lxbsz/asok_fs
Rishabh Dave [Mon, 10 Oct 2022 18:41:08 +0000 (00:11 +0530)]
Merge pull request #48064 from lxbsz/asok_fs

qa: the default CEPH_ASOK_DIR is asok/ now

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #48161 from trociny/wip-57589
Rishabh Dave [Mon, 10 Oct 2022 18:37:20 +0000 (00:07 +0530)]
Merge pull request #48161 from trociny/wip-57589

cephfs-data-scan: make scan_links more verbose

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48182 from lxbsz/wip-57580
Rishabh Dave [Mon, 10 Oct 2022 18:35:55 +0000 (00:05 +0530)]
Merge pull request #48182 from lxbsz/wip-57580

qa: make mount to be compatible with nautilus for blocklist

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
3 years agoMerge pull request #48421 from tchaikov/wip-cephadm-pyfakefs
Adam King [Mon, 10 Oct 2022 18:31:09 +0000 (14:31 -0400)]
Merge pull request #48421 from tchaikov/wip-cephadm-pyfakefs

cephadm: run tests as root

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar
zdover23 [Mon, 10 Oct 2022 16:38:44 +0000 (02:38 +1000)]
Merge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar

doc/releases: improve grammar in pacific.rst

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48396 from rhcs-dashboard/fix-57792-main
Ernesto Puerta [Mon, 10 Oct 2022 15:34:46 +0000 (17:34 +0200)]
Merge pull request #48396 from rhcs-dashboard/fix-57792-main

mgr/dashboard: fix broken login links

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #48337 from batrick/first-python
Venky Shankar [Mon, 10 Oct 2022 15:28:47 +0000 (20:58 +0530)]
Merge pull request #48337 from batrick/first-python

tools/cephfs: convert first-damage.sh to python

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #46772 from cbodley/wip-rgw-doc-bucket-index
Casey Bodley [Mon, 10 Oct 2022 15:22:46 +0000 (11:22 -0400)]
Merge pull request #46772 from cbodley/wip-rgw-doc-bucket-index

doc/dev/radosgw: start describing the bucket index

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agocephadm: pin pyfakefs to 5.0 48421/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>
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>
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>
3 years agodoc/releases: improve grammar in pacific.rst 48423/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.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48331 from tchaikov/crimson-stop
Kefu Chai [Mon, 10 Oct 2022 04:51:33 +0000 (12:51 +0800)]
Merge pull request #48331 from tchaikov/crimson-stop

crimson/osd: shutdown on osdmaps' demand

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2
Yuval Lifshitz [Sun, 9 Oct 2022 10:35:02 +0000 (13:35 +0300)]
Merge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2

rgw: fix rabbitmq version checking for AMQP_STATUS_SSL_SET_ENGINE_FAILED

3 years agoMerge pull request #48401 from zdover23/wip-doc-2022-10-09-crush-pdf-link-update
zdover23 [Sun, 9 Oct 2022 07:28:01 +0000 (17:28 +1000)]
Merge pull request #48401 from zdover23/wip-doc-2022-10-09-crush-pdf-link-update

doc/various: update link to CRUSH pdf

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/various: update link to CRUSH pdf 48401/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>
3 years agoMerge pull request #48399 from underacloud/wip-doc-spellin-errors
Anthony D'Atri [Sat, 8 Oct 2022 06:13:29 +0000 (02:13 -0400)]
Merge pull request #48399 from underacloud/wip-doc-spellin-errors

doc/radosgw: Fixes spelling errors in vault.rst

3 years agodoc: Fixes spelling errors in vault.rst 48399/head
Mary Frances [Sat, 8 Oct 2022 02:06:55 +0000 (19:06 -0700)]
doc: Fixes spelling errors in vault.rst

Signed-off-by: Mary Frances underacloud.tech@gmail.com
3 years agoMerge pull request #48393 from rzarzynski/wip-crimson-drop-omapiter
Samuel Just [Sat, 8 Oct 2022 01:25:19 +0000 (18:25 -0700)]
Merge pull request #48393 from rzarzynski/wip-crimson-drop-omapiter

crimson: drop OmapIterator, use omap_get_values() instead

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48073 from rzarzynski/wip-crimson-asok-dump_recovery_reservations
Liu-Chunmei [Fri, 7 Oct 2022 22:19:05 +0000 (15:19 -0700)]
Merge pull request #48073 from rzarzynski/wip-crimson-asok-dump_recovery_reservations

crimson/osd: bring the dump_recovery_reservations asok cmd

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agocrimson/os: drop the OmapIterator concept 48393/head
Radoslaw Zarzynski [Thu, 6 Oct 2022 19:34:17 +0000 (19:34 +0000)]
crimson/os: drop the OmapIterator concept

`get_omap_values()` is powerful enough to be used instead.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agotest/crimson: unittest-seastar uses omap_get_values() instead of OmapIterator
Radoslaw Zarzynski [Fri, 7 Oct 2022 17:49:02 +0000 (17:49 +0000)]
test/crimson: unittest-seastar uses omap_get_values() instead of OmapIterator

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: convert seastarized PGLog from OmapIterator to omap_get_values()
Radoslaw Zarzynski [Thu, 6 Oct 2022 20:27:47 +0000 (20:27 +0000)]
crimson/osd: convert seastarized PGLog from OmapIterator to omap_get_values()

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: read_omap_for_push_op() takes max_len as ref, not ptr
Radoslaw Zarzynski [Fri, 7 Oct 2022 11:12:24 +0000 (11:12 +0000)]
crimson/osd: read_omap_for_push_op() takes max_len as ref, not ptr

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: ReplicatedRecoveryBackend uses omap_get_values() instead of OmapIterator
Radoslaw Zarzynski [Thu, 6 Oct 2022 19:24:16 +0000 (19:24 +0000)]
crimson/osd: ReplicatedRecoveryBackend uses omap_get_values() instead of OmapIterator

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48374 from rkachach/fix_issue_57769
Adam King [Fri, 7 Oct 2022 16:30:31 +0000 (12:30 -0400)]
Merge pull request #48374 from rkachach/fix_issue_57769

doc/cephadm: fixing grafana cert/key generation documentation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add
Casey Bodley [Fri, 7 Oct 2022 16:25:02 +0000 (12:25 -0400)]
Merge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add

common:  intrusive_lru destructor add

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agodoc/cephadm: fixing grafana cet/key generation documentation 48374/head
Redouane Kachach [Wed, 5 Oct 2022 14:36:15 +0000 (16:36 +0200)]
doc/cephadm: fixing grafana cet/key generation documentation
Fixes: https://tracker.ceph.com/issues/57769
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/dashboard: fix broken login links 48396/head
Ernesto Puerta [Fri, 7 Oct 2022 15:08:14 +0000 (17:08 +0200)]
mgr/dashboard: fix broken login links

Fixes: https://tracker.ceph.com/issues/57792
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48378 from ceph/wip-yuriw-crontab-master
Yuri Weinstein [Fri, 7 Oct 2022 14:53:30 +0000 (07:53 -0700)]
Merge pull request #48378 from ceph/wip-yuriw-crontab-master

qa/testing: added pacific-x and quincy-x for reef release

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agocrimson/osd: bring the dump_recovery_reservations asok cmd 48073/head
Radoslaw Zarzynski [Tue, 13 Sep 2022 17:22:03 +0000 (17:22 +0000)]
crimson/osd: bring the dump_recovery_reservations asok cmd

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48275 from liu-chunmei/rados-api-test
Samuel Just [Thu, 6 Oct 2022 23:39:53 +0000 (16:39 -0700)]
Merge pull request #48275 from liu-chunmei/rados-api-test

crimson/qa: add rados_api_tests.yaml for seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48162 from Matan-B/wip-matanb-c-rados-test
Samuel Just [Thu, 6 Oct 2022 23:35:10 +0000 (16:35 -0700)]
Merge pull request #48162 from Matan-B/wip-matanb-c-rados-test

qa/suites/crimson-rados/thrash: Adding workloads / Simplifying thrashers

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48277 from cyx1231st/wip-crimson-tools
Samuel Just [Thu, 6 Oct 2022 23:31:40 +0000 (16:31 -0700)]
Merge pull request #48277 from cyx1231st/wip-crimson-tools

crimson/net: fix msgr tools and test helpers

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48351 from athanatos/sjust/wip-57738
Samuel Just [Thu, 6 Oct 2022 23:28:37 +0000 (16:28 -0700)]
Merge pull request #48351 from athanatos/sjust/wip-57738

crimson/osd/replicated_backend: block _submit_transaction on sending the messages

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #47934 from phlogistonjohn/jjm-nfs-sectype
Adam King [Thu, 6 Oct 2022 18:51:25 +0000 (14:51 -0400)]
Merge pull request #47934 from phlogistonjohn/jjm-nfs-sectype

mgr/nfs: add sectype option

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #48301 from PepperJo/cmp_write_C_vec
Ilya Dryomov [Thu, 6 Oct 2022 12:07:36 +0000 (14:07 +0200)]
Merge pull request #48301 from PepperJo/cmp_write_C_vec

librbd: add compare-and-write vector C API

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #48285 from adk3798/upgrade-start-version
Adam King [Thu, 6 Oct 2022 11:48:43 +0000 (07:48 -0400)]
Merge pull request #48285 from adk3798/upgrade-start-version

qa/cephadm: do not start upgrades from Octopus

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #47903 from rkachach/fix_issue_57366
Adam King [Thu, 6 Oct 2022 11:18:35 +0000 (07:18 -0400)]
Merge pull request #47903 from rkachach/fix_issue_57366

mgr/cephadm: reconfig prometheus when service-discovery port changes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48372 from idryomov/wip-57766
Ilya Dryomov [Thu, 6 Oct 2022 10:43:13 +0000 (12:43 +0200)]
Merge pull request #48372 from idryomov/wip-57766

qa/tasks/rbd_fio: bump default to fio 3.32

Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
3 years agoPendingReleaseNotes: add rbd_aio_compare_and_writev note 48301/head
Ilya Dryomov [Thu, 6 Oct 2022 10:36:00 +0000 (12:36 +0200)]
PendingReleaseNotes: add rbd_aio_compare_and_writev note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #47731 from mjenglish/multiple-actuator-osd-specification
Guillaume Abrioux [Thu, 6 Oct 2022 07:09:29 +0000 (09:09 +0200)]
Merge pull request #47731 from mjenglish/multiple-actuator-osd-specification

python-common/ceph/deployment: filter drives by actuators when creating osds

3 years agoMerge pull request #48319 from gregsfortytwo/wip-57737-cephfs-doc
Venky Shankar [Thu, 6 Oct 2022 05:10:30 +0000 (10:40 +0530)]
Merge pull request #48319 from gregsfortytwo/wip-57737-cephfs-doc

doc: discuss the standard multi-tenant CephFS security model

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
3 years agoMerge pull request #48379 from zdover23/wip-doc-2022-10-06-install-clone-source-maste...
zdover23 [Thu, 6 Oct 2022 04:47:11 +0000 (14:47 +1000)]
Merge pull request #48379 from zdover23/wip-doc-2022-10-06-install-clone-source-master-to-main

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/install: clone-source.rst s/master/main 48379/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>
3 years agoqa/workunits/fs/damage: update first-damage test for python 48337/head
Patrick Donnelly [Mon, 3 Oct 2022 00:45:48 +0000 (20:45 -0400)]
qa/workunits/fs/damage: update first-damage test for python

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agotools/cephfs: convert first-damage.sh to python
Patrick Donnelly [Sat, 1 Oct 2022 19:04:22 +0000 (15:04 -0400)]
tools/cephfs: convert first-damage.sh to python

To have only one RADOS instance and improve performance/reliability.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #46925 from rkachach/fix_issue_44461
Adam King [Thu, 6 Oct 2022 00:22:09 +0000 (20:22 -0400)]
Merge pull request #46925 from rkachach/fix_issue_44461

mgr/cephadm: add a simple mechanism to check grafana cert/key

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #48353 from athanatos/sjust/wip-dump-live-ops
Samuel Just [Wed, 5 Oct 2022 23:53:26 +0000 (16:53 -0700)]
Merge pull request #48353 from athanatos/sjust/wip-dump-live-ops

crimson: improve dump_ops_in_flight

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48352 from athanatos/sjust/wip-57740
Samuel Just [Wed, 5 Oct 2022 23:50:58 +0000 (16:50 -0700)]
Merge pull request #48352 from athanatos/sjust/wip-57740

crimson: allow pg creation to be canceled if pool is removed

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #48195 from athanatos/sjust/wip-57617
Samuel Just [Wed, 5 Oct 2022 23:48:21 +0000 (16:48 -0700)]
Merge pull request #48195 from athanatos/sjust/wip-57617

crimson/osd: populate version/user_version in reply for duplicate ops

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoqa/testing: added pacific-x and quincy-x for reef release 48378/head
Yuri Weinstein [Wed, 5 Oct 2022 17:20:06 +0000 (10:20 -0700)]
qa/testing: added pacific-x and quincy-x for reef release

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #48289 from adamemerson/wip-warn-warn-warn
Kefu Chai [Wed, 5 Oct 2022 16:18:21 +0000 (00:18 +0800)]
Merge pull request #48289 from adamemerson/wip-warn-warn-warn

src/: silence Clang and GCC Warnings

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agodoc: discuss the standard multi-tenant CephFS security model 48319/head
Greg Farnum [Fri, 30 Sep 2022 19:34:27 +0000 (19:34 +0000)]
doc: discuss the standard multi-tenant CephFS security model

Fixes: https://tracker.ceph.com/issues/57737
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agodoc/mgr/nfs: document --sectype option for export create commands 47934/head
John Mulligan [Mon, 12 Sep 2022 16:25:38 +0000 (12:25 -0400)]
doc/mgr/nfs: document --sectype option for export create commands

Add documentation for the option to specify the sectype (for enabling kerberos)
when creating a new export.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: add test cases to verify sectype can be set
John Mulligan [Fri, 2 Sep 2022 17:18:01 +0000 (13:18 -0400)]
mgr/nfs: add test cases to verify sectype can be set

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: add --sectype flag to nfs export create functions
John Mulligan [Fri, 2 Sep 2022 15:36:53 +0000 (11:36 -0400)]
mgr/nfs: add --sectype flag to nfs export create functions

Fixes: https://tracker.ceph.com/issues/57404
Add the sectype argument, also for use as a CLI option, to the functions
that create nfs exports. NFS Ganesha can use the sectype configuration
option to decide what kind of security will be applied/required for
connection to an export.

NOTE: This option is only useful when Ganesha is configured along with
LDAP/Kerberos integration. Configuration of that integration is outside
the scope of these patches.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: reformat long function calls to one line per arg
John Mulligan [Fri, 2 Sep 2022 15:33:43 +0000 (11:33 -0400)]
mgr/nfs: reformat long function calls to one line per arg

Using a hand rolled version of the long function call style similar to
that produced by the "Black" tool, put every argument to the
create_export function on a line of its own. This makes the code easier
to read and, importantly for an upcoming change, easier to add new
arguments.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: add sectype argument to nfs export management funcs
John Mulligan [Mon, 29 Aug 2022 17:53:13 +0000 (13:53 -0400)]
mgr/nfs: add sectype argument to nfs export management funcs

If the caller has supplied a sectype argument, pass it along to the
ganesha configuration functions.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/nfs: add awareness of the SecType option to ganesha_conf.py
John Mulligan [Thu, 25 Aug 2022 21:22:03 +0000 (17:22 -0400)]
mgr/nfs: add awareness of the SecType option to ganesha_conf.py

This NFS-Ganesha option may be used to select kerberos integration in the
nfs client connection. If the option is not present in the configuration
dict, the option will not be present in the ganesha config blocks, just
as it was before.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 years agoqa/cephadm: do not start upgrades from Octopus 48285/head
Adam King [Wed, 28 Sep 2022 16:34:35 +0000 (12:34 -0400)]
qa/cephadm: do not start upgrades from Octopus

now that we officially have v18 in main the upgrade
will fail if upgrading from Octopus (v15) to main
because they are now considered 3 major releases apart

Additionally adding more debugging to the end
of the upgrade tests as something like `ceph health detail`
can be very useful to see at the end of failed
upgrade tests

Fixes: https://tracker.ceph.com/issues/57695
Signed-off-by: Adam King <adking@redhat.com>
3 years agoqa/tasks/rbd_fio: bump default to fio 3.32 48372/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>
3 years agoMerge pull request #44564 from zdover23/wip-doc-2022-01-13-44150-cleanup-grafana...
zdover23 [Wed, 5 Oct 2022 09:51:03 +0000 (19:51 +1000)]
Merge pull request #44564 from zdover23/wip-doc-2022-01-13-44150-cleanup-grafana-data-source-name

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

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #48362 from zdover23/wip-doc-2022-10-05-rados-ops-crush-map-edits...
zdover23 [Wed, 5 Oct 2022 05:48:24 +0000 (15:48 +1000)]
Merge pull request #48362 from zdover23/wip-doc-2022-10-05-rados-ops-crush-map-edits-grammar

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/rados: refine English in crush-map-edits.rst 48362/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>
3 years agocrimson/osd/osd_operation: drop unused OSDOperationRegistry::dump_client_requests 48353/head
Samuel Just [Wed, 5 Oct 2022 05:11:31 +0000 (22:11 -0700)]
crimson/osd/osd_operation: drop unused OSDOperationRegistry::dump_client_requests

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd: notify waiters if pool for creating pg does not exist 48352/head
Samuel Just [Sat, 1 Oct 2022 19:43:13 +0000 (12:43 -0700)]
crimson/osd: notify waiters if pool for creating pg does not exist

Fixes: https://tracker.ceph.com/issues/57740
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48085 from zdover23/wip-doc-2022-09-14-rados-ops-crush-map-prompt...
zdover23 [Wed, 5 Oct 2022 01:20:14 +0000 (11:20 +1000)]
Merge pull request #48085 from zdover23/wip-doc-2022-09-14-rados-ops-crush-map-prompt-update

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agoMerge pull request #47458 from rzarzynski/wip-all-kickoff-r
Radoslaw Zarzynski [Tue, 4 Oct 2022 20:39:19 +0000 (22:39 +0200)]
Merge pull request #47458 from rzarzynski/wip-all-kickoff-r

kickoff v18 reef

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agolibrbd: add compare-and-write vector C API
Jonas Pfefferle [Thu, 29 Sep 2022 19:39:12 +0000 (21:39 +0200)]
librbd: add compare-and-write vector C API

Add compare and write vector C API.
Require cmp_iov and write_iov to be the same length.

Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch>
3 years agoMerge pull request #46037 from mohmacht/ebdplugin
Laura Flores [Tue, 4 Oct 2022 14:48:24 +0000 (09:48 -0500)]
Merge pull request #46037 from mohmacht/ebdplugin

blk/kernel: add plugin system for devices with compression and move VDO support into plugin

3 years agoMerge pull request #48346 from zdover23/wip-doc-2022-10-03-glossary-remove-redundancies
zdover23 [Tue, 4 Oct 2022 14:29:19 +0000 (00:29 +1000)]
Merge pull request #48346 from zdover23/wip-doc-2022-10-03-glossary-remove-redundancies

doc/glossary.rst: remove duplicates

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev/release-checklists: mention LIBRBD_VER_MINOR and VERSION 47458/head
Ilya Dryomov [Tue, 4 Oct 2022 12:17:30 +0000 (14:17 +0200)]
doc/dev/release-checklists: mention LIBRBD_VER_MINOR and VERSION

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agolibrbd: bump minor version to match R release
Ilya Dryomov [Tue, 4 Oct 2022 12:15:04 +0000 (14:15 +0200)]
librbd: bump minor version to match R release

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #48218 from mchangir/qa-test_scrub_pause_and_resume_with_abort...
Venky Shankar [Tue, 4 Oct 2022 06:15:24 +0000 (11:45 +0530)]
Merge pull request #48218 from mchangir/qa-test_scrub_pause_and_resume_with_abort-wait-for-scrub-to-finish

qa: wait for scrub to finish

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
3 years agodoc, qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 10
Radoslaw Zarzynski [Fri, 30 Sep 2022 09:54:12 +0000 (09:54 +0000)]
doc, qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 10

Also updates the release checklist.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agodoc/dev/release-checklists.rst: document vX.0.0 tagging and mark it complete.
Radoslaw Zarzynski [Fri, 30 Sep 2022 09:48:07 +0000 (09:48 +0000)]
doc/dev/release-checklists.rst: document vX.0.0 tagging and mark it complete.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: introduce debug to ClientRequest::reply_op_error() 48349/head
Radoslaw Zarzynski [Mon, 3 Oct 2022 21:31:18 +0000 (21:31 +0000)]
crimson/osd: introduce debug to ClientRequest::reply_op_error()

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48041 from cbodley/wip-rgw-notify-shutdown
Casey Bodley [Mon, 3 Oct 2022 21:06:10 +0000 (17:06 -0400)]
Merge pull request #48041 from cbodley/wip-rgw-notify-shutdown

rgw: rados service shuts down rados client on shutdown()

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #48152 from Vfrost98/GHC22OSD_Ceph
Yuri Weinstein [Mon, 3 Oct 2022 20:21:49 +0000 (13:21 -0700)]
Merge pull request #48152 from Vfrost98/GHC22OSD_Ceph

mgr/telemetry: fixed log exceptions as "exception" instead of "error"

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
3 years agoMerge pull request #48150 from li3317/ghc-osd-li3317
Yuri Weinstein [Mon, 3 Oct 2022 20:21:00 +0000 (13:21 -0700)]
Merge pull request #48150 from li3317/ghc-osd-li3317

osd: break multi condition asserts into multiple asserts

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #47340 from kamoltat/wip-ksirivad-recreate-zilla-2104207
Yuri Weinstein [Mon, 3 Oct 2022 20:18:18 +0000 (13:18 -0700)]
Merge pull request #47340 from kamoltat/wip-ksirivad-recreate-zilla-2104207

mon/OSDMonitor: Added extra check before mon.go_recovery_stretch_mode()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #46284 from votdev/issue_55673_cephadm_vagrantfile
Guillaume Abrioux [Mon, 3 Oct 2022 18:39:40 +0000 (20:39 +0200)]
Merge pull request #46284 from votdev/issue_55673_cephadm_vagrantfile

mgr/cephadm: Deploying a cluster with the Vagrantfile fails

3 years agoRGWServices_Def::shutdown() shuts down the rest of the services too 48041/head
Casey Bodley [Thu, 15 Sep 2022 17:37:51 +0000 (13:37 -0400)]
RGWServices_Def::shutdown() shuts down the rest of the services too

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: shut down RGWDataChangesLog before other services
Casey Bodley [Sun, 11 Sep 2022 22:25:38 +0000 (18:25 -0400)]
rgw: shut down RGWDataChangesLog before other services

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: rados service shuts down rados client on shutdown()
Casey Bodley [Sun, 11 Sep 2022 22:13:52 +0000 (18:13 -0400)]
rgw: rados service shuts down rados client on shutdown()

if we leave the rados client running, it will keep delivering
AioCompletions while we're shutting other things down

this resolves a valgrind use-after-free where rgw::notify::Manager
gets completions after its destruction

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #48155 from liangmingyuanneo/wip-rgw-aync-refcount
Casey Bodley [Mon, 3 Oct 2022 17:14:25 +0000 (13:14 -0400)]
Merge pull request #48155 from liangmingyuanneo/wip-rgw-aync-refcount

rgw: async refcount operate in copy_obj

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #47186 from cfsnyder/wip-cfsnyder-56645
Casey Bodley [Mon, 3 Oct 2022 16:01:18 +0000 (12:01 -0400)]
Merge pull request #47186 from cfsnyder/wip-cfsnyder-56645

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

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agodoc/glossary.rst: remove duplicates 48346/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>
3 years agoMerge pull request #48292 from kotreshhr/doc-symlink-fix
Venky Shankar [Mon, 3 Oct 2022 05:44:33 +0000 (11:14 +0530)]
Merge pull request #48292 from kotreshhr/doc-symlink-fix

doc: Fix disaster recovery doc

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #46821 from batrick/i55470
Venky Shankar [Mon, 3 Oct 2022 04:38:05 +0000 (10:08 +0530)]
Merge pull request #46821 from batrick/i55470

qa: postgresql test suite workunit

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48179 from batrick/i57598
Venky Shankar [Mon, 3 Oct 2022 04:37:13 +0000 (10:07 +0530)]
Merge pull request #48179 from batrick/i57598

qa: use correct recovery procedure for alternate meta pools

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #47795 from batrick/i57091
Venky Shankar [Mon, 3 Oct 2022 04:26:44 +0000 (09:56 +0530)]
Merge pull request #47795 from batrick/i57091

mds: check for some dentry damage in scrub

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #48333 from zdover23/wip-doc-2022-10-02-glossary-alphabetize
zdover23 [Mon, 3 Oct 2022 00:37:23 +0000 (10:37 +1000)]
Merge pull request #48333 from zdover23/wip-doc-2022-10-02-glossary-alphabetize

doc/glossary.rst: alphabetize glossary terms

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>