Commit Graph

135637 Commits

Author SHA1 Message Date
Zac Dover
643f430a0f doc/glossary: disambiguate clauses
Disambiguate various clauses, most of which contain forms of the verb
"to require".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-26 16:13:19 +10:00
colemitchell
b5bdf0da82
Merge pull request #49569 from zdover23/wip-doc-2022-12-26-start-documenting-ceph-backport-fix
doc/start: update documenting-ceph.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-25 16:21:16 -05:00
colemitchell
48b16d7729
Merge pull request #49567 from zdover23/wip-doc-2022-12-25-glossary-cleanup
doc/glossary: improve glossary entries

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-25 16:19:42 -05:00
Zac Dover
1a7a5bc1f2 doc/start: update documenting-ceph.rst
Add an article to documenting-ceph.rst in order to troubleshoot a
backporting problem.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-26 07:12:59 +10:00
Zac Dover
28191fddd7 doc/glossary: improve glossary entries
Improve multiple glossary entries.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-26 07:03:50 +10:00
colemitchell
1b4e708a97
Merge pull request #49564 from zdover23/wip-doc-2022-12-25-start-documenting-ceph
doc/start: improve documenting-ceph.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-24 21:31:29 -05:00
Zac Dover
21bca67daa doc/start: improve documenting-ceph.rst
Improve the grammar and the pragmatics of the "TOC and Hyperlinks"
section of start/documenting-ceph.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-25 12:24:23 +10:00
colemitchell
546e55aa37
Merge pull request #49558 from zdover23/wip-doc-2022-12-24-rados-api-librados-intro-prompt-removal
doc/rados: remove prompt from php.ini line

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-24 02:06:22 -05:00
colemitchell
2232a9ec1d
Merge pull request #49557 from zdover23/wip-doc-2022-12-24-rados-api-python-typo
doc/rados: correct typo in python.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-24 01:12:47 -05:00
Zac Dover
dbe2762ea3 doc/rados: remove prompt from php.ini line
Remove an unselectable prompt from the beginning of a line meant to be
included in the "php.ini" file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-24 16:11:20 +10:00
Zac Dover
306b8f7e28 doc/rados: correct typo in python.rst
s/you Ceph configuration file/your Ceph configuration file/

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-24 15:51:10 +10:00
Ilya Dryomov
b78666248d
Merge pull request #49532 from petrutlucian94/rbd_py_test2
qa: fix test_rbd_wnbd.py, properly retrieving the drive letter

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-23 21:38:11 +01:00
Lucian Petrut
b52e07cbf3 qa: add some retries to test_rbd_wnbd.py
The following operations may fail right after a block device
is attached:

* retrieving the disk number (can return -1)
* opening the disk
* setting the disk online or writable

For this reason, we'll need to add some retries. For convenience,
we're moving the existing retry logic to a separate decorator.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2022-12-23 19:38:23 +02:00
Lucian Petrut
540a089995 qa: fix test_rbd_wnbd.py, properly retrieving the drive letter
Instead of trying to use the first partiton which may be reserved
by Windows, we'll fetch the first non-empty drive letter from
the disk that we've just mounted.

While at it, we're ensuring that the drive letter is actually a
letter and not a null character, which the Powershell command
returns in case of empty drive letters.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2022-12-23 17:55:25 +02:00
Ilya Dryomov
a310a670df
Merge pull request #49547 from idryomov/wip-rbd-qemu-xfstests-curl
qa: switch to curl for qemu-xfstests

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-23 10:44:50 +01:00
colemitchell
95755b4f46
Merge pull request #49550 from zdover23/wip-doc-2022-12-23-rados-api-librados-intro-prompts
doc/rados: add prompts to librados-intro.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-22 19:56:22 -05:00
Zac Dover
a3ec661721 doc/rados: add prompts to librados-intro.rst
Add unselectable prompts to doc/rados/api/librados-intro.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-23 10:47:27 +10:00
Venky Shankar
461ac2c304 Merge PR #49406 into main
* refs/pull/49406/head:
	mds: fix scan_stray_dir not reset next.frag on each run of stray inode

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 23:23:55 +05:30
Venky Shankar
7443a451f4 Merge PR #49172 into main
* refs/pull/49172/head:
	qa/test_nfs: added testcase test_non_existent_cluster
	mgr/nfs: handle bad cluster name during info command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 22:19:58 +05:30
Venky Shankar
337de6b0be Merge PR #48907 into main
* refs/pull/48907/head:
	test: verify that snapshot items are accounted when deciding to split/merge a directory
	mds: account for snapshot items when deciding to split or merge a directory

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2022-12-22 21:47:45 +05:30
Kamoltat Sirivadhna
d6b08ad0f0
Merge pull request #49259 from kamoltat/wip-ksirivad-fix-58155
mon/Elector.cc Added additional prank >= ranks_size sanity check
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2022-12-22 11:06:36 -05:00
Ilya Dryomov
270bf4bd6c qa: switch to curl for qemu-xfstests
This is a follow-up for commit 631899ffeb ("qa: switch back to git
protocol for qemu-xfstests"), needed for the same "ancient execution
environment" reason.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-22 16:35:08 +01:00
Venky Shankar
dcfe480ad4 Merge PR #48281 into main
* refs/pull/48281/head:
	mds: md_log_replay thread blocks waiting to be woken up

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 20:05:55 +05:30
Venky Shankar
6b730b61e8 Merge PR #48822 into main
* refs/pull/48822/head:
	mds: switch submit_mutex to fair mutex for MDLog

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-12-22 20:03:16 +05:30
Venky Shankar
754799097d test: verify that snapshot items are accounted when deciding to split/merge a directory
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 20:01:36 +05:30
Venky Shankar
47cdb3eff5 mds: account for snapshot items when deciding to split or merge a directory
Its easy to "overload" a directory object with large number of omap entries by
doing the following (one shot or over and over again):

      - touch dir/file{0..11000} ; create 11000 files (> mds_bal_split_size)
      - mkdir dir/.snap/snap_a
      - rm -f dir/file{0..11000}

End result - the directory object would have 11000 omap entries since the MDS
does not fragment directory snapshots. If the number of such entries exceed
`osd_deep_scrub_large_omap_object_key_threshold` (default: 200000), a cluster
health warning is generated:

       Large Omap objects found in pool...

CDir::should_merge() does not take into account COW'd inodes and the frags
get merged.

Fixes: http://tracker.ceph.com/issues/55215
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 20:01:02 +05:30
Venky Shankar
9eb56d56b3 Merge PR #49098 into main
* refs/pull/49098/head:
	client/fuse: add support for 3.12 API of libfuse
	client/fuse: set max_idle_threads to the correct value

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-12-22 19:45:08 +05:30
dparmar18
b91aff831d qa/test_nfs: added testcase test_non_existent_cluster
Fixes: https://tracker.ceph.com/issues/58138
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-12-22 19:44:17 +05:30
dparmar18
cddaef44ea mgr/nfs: handle bad cluster name during info command
It should say the cluster does not exist

Fixes: https://tracker.ceph.com/issues/58138
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-12-22 19:44:17 +05:30
Venky Shankar
c20b57220c Merge PR #49423 into main
* refs/pull/49423/head:
	qa: remove qa/suites/marginal and restart task

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-12-22 19:35:27 +05:30
Ilya Dryomov
a5e69a0eb9
Merge pull request #49534 from idryomov/wip-rbd-qemu-xfstests-patchup
qa: switch back to git protocol for qemu-xfstests

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2022-12-22 12:51:11 +01:00
Daniel Gryniewicz
19d4aebace
Merge pull request #48794 from dang/wip-dang-bucket-policy
RGW - Make sure PostObj set bucket on s->object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2022-12-21 14:59:16 -05:00
Ilya Dryomov
631899ffeb qa: switch back to git protocol for qemu-xfstests
As noted in commit 89177d6598 ("qa: switch to https protocol for
repos' server"), git.ceph.com mirror doesn't make git:// available
anymore.  However, run_xfstests-obsolete.sh has "obsolete" in its
name for a reason -- due to an ancient execution environment, git://
is the only viable option:

  $ git clone https://git.ceph.com/xfstests-dev.git
  Cloning into 'xfstests-dev'...
  error: gnutls_handshake() failed: A TLS fatal alert has been received. while accessing https://git.ceph.com/xfstests-dev.git/info/refs
  fatal: HTTP request failed

Ditch git.ceph.com mirror for now.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-21 19:27:15 +01:00
Anthony D'Atri
567a58e3f5
Merge pull request #49529 from zdover23/wip-doc-2022-12-21-rados-bluestore-config-ref-prompts
doc/rados: add prompts to bluestore-config-ref.rst
2022-12-21 11:51:45 -05:00
Kefu Chai
8b4db5d51c
Merge pull request #49403 from tchaikov/cmake-boost
cmake: pass cflags using compileflags in BuildBoost.cmake

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-12-21 21:18:04 +08:00
Lucian Petrut
5168ccce49
Merge pull request #49305 from petrutlucian94/dokan_subsys
dokan: use the right logging subsystem
2022-12-21 13:09:55 +02:00
Ilya Dryomov
00332ccbfa
Merge pull request #48929 from petrutlucian94/rbd_py_test
qa: fix test_rbd_wnbd.py

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-21 11:42:57 +01:00
Zac Dover
88087f7f66 doc/rados: add prompts to bluestore-config-ref.rst
Add unselectable prompts to
doc/rados/configuration/bluestore-config-ref.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-21 17:41:04 +10:00
Anthony D'Atri
bf0d756240
Merge pull request #49497 from BryceCao/wip-fix-mfa.rst-spelling-mistake
doc/radosgw: fix spelling mistake in mfa.rst
2022-12-20 22:28:49 -05:00
cao.leilc
86109954ea doc/radosgw: fix spelling mistake in mfa.rst
Signed-off-by: caolei <cao.leilc@inspur.com>
2022-12-21 10:44:41 +08:00
Casey Bodley
d1089b99f6
Merge pull request #49402 from BryceCao/wip-fix-usage-trim-cant-be-control-by-remove-all
rgw: fix problem that usage is trimmed when the remove-all parameter …

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-20 14:32:29 -05:00
Casey Bodley
95aea3f4e2
Merge pull request #49390 from cbodley/wip-qa-rgw-inline
qa/rgw: rgw/verify suite randomizes --placement-inline-data

Reviewed-by: Cory Snyder <csnyder@iland.com>
2022-12-20 14:32:16 -05:00
Casey Bodley
1e605ef982
Merge pull request #49387 from cfsnyder/wip-cfsnyder-58243
rgw: fix dereference of empty std::optional in RGWDeleteMultiObj::execute()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-20 14:31:54 -05:00
Casey Bodley
998ee313d4
Merge pull request #49362 from cbodley/wip-58231
rgw/sal: get_notification() takes optional_yield

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-12-20 14:31:37 -05:00
Casey Bodley
1aa2e8ce05
Merge pull request #49324 from BryceCao/wip-add-num-limit-for-user-policies
rgw : add num limit for IAM user policies

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-20 14:30:59 -05:00
Casey Bodley
72d7077b26
Merge pull request #49298 from BryceCao/wip-fix-the-inheriting-class-member-is-passed-to-base-ctor
rgw : fix the inheriting class member is passed to base ctor

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-12-20 14:30:20 -05:00
Casey Bodley
abe65c700b
Merge pull request #49194 from joke-lee/list-delimiter-encode
rgw: list with Delimiter should url encode when encoding-type=url

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-20 14:29:58 -05:00
Casey Bodley
bba125c34c
Merge pull request #49426 from BryceCao/wip-fix-ListOpenIDConnectProviders-XML-format
rgw: fix ListOpenIDConnectProviders XML format

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-20 14:29:36 -05:00
Patrick Donnelly
f1c523ac4d
Merge PR #49016 into main
* refs/pull/49016/head:
	doc/dev: remove release notes for major release branch
	doc: hard-code latest release link
	doc: remove rtd main checkout

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2022-12-20 13:19:17 -05:00
Venky Shankar
824952067f Merge PR #48743 into main
* refs/pull/48743/head:
	mds: do not acquire xlock in xlockdone state

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-12-20 19:52:58 +05:30