Commit Graph

134703 Commits

Author SHA1 Message Date
John Mulligan
84b4c5ed58 cephadm: add test coverage for HAproxy class
Fixes: https://tracker.ceph.com/issues/57621

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-10-05 13:12:47 -04:00
John Mulligan
a9b7eebc25 cephadm: add unit test coverage for cephadm NFSGanesha class
Fixes: https://tracker.ceph.com/issues/57621

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-10-05 13:11:22 -04:00
Kefu Chai
23a86538bf
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>
2022-10-06 00:18:21 +08:00
Greg Farnum
91e7c7de6a doc: discuss the standard multi-tenant CephFS security model
Fixes: https://tracker.ceph.com/issues/57737

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2022-10-05 15:16:37 +00:00
John Mulligan
764ccf998b 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>
2022-10-05 10:25:06 -04:00
John Mulligan
d95a33561c mgr/nfs: add test cases to verify sectype can be set
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-10-05 10:25:06 -04:00
John Mulligan
11affedea6 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>
2022-10-05 10:25:06 -04:00
John Mulligan
439d502cd2 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>
2022-10-05 10:25:06 -04:00
John Mulligan
5cdb1dd961 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>
2022-10-05 10:25:06 -04:00
John Mulligan
de687b90ae 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>
2022-10-05 10:25:06 -04:00
Adam King
80025d06d1 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>
2022-10-05 07:13:15 -04:00
Ilya Dryomov
6582c47934 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>
2022-10-05 12:52:20 +02:00
zdover23
9cfd351ab2
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>
2022-10-05 19:51:03 +10:00
=
847099cea5 test/rgw: cleanup the pool created after comleting test
Signed-off-by: Mingyuan Liang <liangmingyuan@baidu.com>
2022-10-05 15:56:54 +08:00
zdover23
d04bb534eb
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>
2022-10-05 15:48:24 +10:00
Zac Dover
a70b720032 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>
2022-10-05 15:25:21 +10:00
Samuel Just
5401e1fc78 crimson/osd/osd_operation: drop unused OSDOperationRegistry::dump_client_requests
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-04 22:11:31 -07:00
Samuel Just
8f7269cfb0 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>
2022-10-04 22:08:55 -07:00
zdover23
7fbefc9256
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>
2022-10-05 11:20:14 +10:00
Radoslaw Zarzynski
bf46d3736d
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>
2022-10-04 22:39:19 +02:00
Jonas Pfefferle
60fd534731 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>
2022-10-04 22:29:39 +02:00
Laura Flores
b813183449
Merge pull request #46037 from mohmacht/ebdplugin
blk/kernel: add plugin system for devices with compression and move VDO support into plugin
2022-10-04 09:48:24 -05:00
zdover23
9cd816f009
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>
2022-10-05 00:29:19 +10:00
Ilya Dryomov
21543030b7 doc/dev/release-checklists: mention LIBRBD_VER_MINOR and VERSION
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-10-04 14:19:25 +02:00
Ilya Dryomov
2204f7b55a librbd: bump minor version to match R release
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-10-04 14:19:25 +02:00
Venky Shankar
ee858598e3
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>
2022-10-04 11:45:24 +05:30
Radoslaw Zarzynski
130704e815 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>
2022-10-04 00:27:28 +02:00
Radoslaw Zarzynski
895f7aa991 doc/dev/release-checklists.rst: document vX.0.0 tagging and mark it complete.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-04 00:27:28 +02:00
Radoslaw Zarzynski
897f2e58c1 crimson/osd: introduce debug to ClientRequest::reply_op_error()
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-03 21:31:18 +00:00
Casey Bodley
d5870f1105
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>
2022-10-03 17:06:10 -04:00
Yuri Weinstein
652c1b06b8
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>
2022-10-03 13:21:49 -07:00
Yuri Weinstein
399ef62dd6
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>
2022-10-03 13:21:00 -07:00
Yuri Weinstein
0d5e2e5dc9
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>
2022-10-03 13:18:18 -07:00
Guillaume Abrioux
9aa8beda98
Merge pull request #46284 from votdev/issue_55673_cephadm_vagrantfile
mgr/cephadm: Deploying a cluster with the Vagrantfile fails
2022-10-03 20:39:40 +02:00
Casey Bodley
53d610f4ec RGWServices_Def::shutdown() shuts down the rest of the services too
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-10-03 13:24:48 -04:00
Casey Bodley
1923116894 rgw: shut down RGWDataChangesLog before other services
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-10-03 13:24:48 -04:00
Casey Bodley
2afd980346 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>
2022-10-03 13:24:48 -04:00
Casey Bodley
e4a967fec8
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>
2022-10-03 13:14:25 -04:00
Casey Bodley
aa6f09ac19
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>
2022-10-03 12:01:18 -04:00
Ronen Friedman
8d68a30be9 osd/scrub: minor log changes
mostly related to the replica scrub interactions.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-10-03 17:59:25 +03:00
Ronen Friedman
967a4a4ab7 osd/scrub: use the actual active set when requesting replicas to scrub
Note that get_acting_set() may differ from
get_acting_recovery_backfill() - if we are backfilling or recovering.

Fixes: https://tracker.ceph.com/issues/57698
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-10-03 17:59:25 +03:00
Zac Dover
0692b22354 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>
2022-10-03 22:51:35 +10:00
Matan Breizman
8ed760dd6b crimson/osd: load_head_obc -> load_obc
Support both clone/head obc load instead of head_obc only.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-10-03 10:27:23 +00:00
Venky Shankar
b0021de5fa
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>
2022-10-03 11:14:33 +05:30
Venky Shankar
8981012ad9
Merge pull request #46821 from batrick/i55470
qa: postgresql test suite workunit

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-10-03 10:08:05 +05:30
Venky Shankar
8b7537964b
Merge pull request #48179 from batrick/i57598
qa: use correct recovery procedure for alternate meta pools

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-10-03 10:07:13 +05:30
Venky Shankar
c713d0460d
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>
2022-10-03 09:56:44 +05:30
zdover23
21ad2755c9
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>
2022-10-03 10:37:23 +10:00
Zac Dover
10b33bdabe 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>
2022-10-03 09:54:26 +10:00
=
1b4f6a2318 rgw: async refcount operate in copy_obj
Signed-off-by: Mingyuan Liang <liangmingyuan@baidu.com>
2022-10-03 02:07:54 +08:00