Commit Graph

135715 Commits

Author SHA1 Message Date
Zac Dover
39377f7db1 doc/glossary: collate "releases" entries
Collect the "Releases"-related entries together under the "Releases"
headword, in order to give readers a sense at a glance of how the
different kinds of releases relate to one another.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-30 11:32:31 +10:00
zdover23
4517367eca
Merge pull request #49488 from zdover23/wip-doc-2022-12-18-rbd-rbd-exclusive-locks-refine
doc/rbd: refine rbd-exclusive-locks.rst

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2022-12-30 01:27:49 +10:00
Zac Dover
62b0012751 doc/rbd: refine rbd-exclusive-locks.rst
Refine grammar (mostly semantics) in rbd-exclusive-locks.rst.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-30 01:14:38 +10:00
zdover23
d7d177f5e8
Merge pull request #49593 from zdover23/wip-doc-2022-12-29-glossary-osd-id-each
doc/glossary: s/an/each/ where it's needed

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-30 01:03:32 +10:00
Zac Dover
40a9f1594c doc/glossary: s/an/each/ where it's needed
s/an/each/ in accordance with the suggestion made by Anthony D'Atri
here: https://github.com/ceph/ceph/pull/49590/files#r1058390357

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-29 14:42:25 +10:00
zdover23
f0cf74dcc7
Merge pull request #49584 from zdover23/wip-doc-2022-12-27-glossary-cleanup
doc/glossary: clean OSD id-related entries

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-28 19:08:45 +10:00
Ilya Dryomov
17c214d156
Merge pull request #49587 from zdover23/wip-doc-2022-12-27-rbd-wuold-typo
doc/rbd: s/wuold/would/ in rados-rbd-cmds.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-27 23:37:59 +01:00
Adam King
82d07d61e0
Merge pull request #49583 from RanjiniMandyam/RMN-2151232-syntax
doc/dev/cephadm: fix host maintenance enter/exit syntax -

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-27 11:40:58 -05:00
Zac Dover
39c18021d6 doc/rbd: s/wuold/would/ in rados-rbd-cmds.rst
s/wuold/would/ in rados-rbd-cmds.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-27 22:28:49 +10:00
Zac Dover
e16fe73530 doc/glossary: clean OSD id-related entries
Tidy up the sentences under the headwords "OSD fsid", "OSD id", and "OSD
uuid".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-27 15:28:31 +10:00
Ranjini Mandyam Narasiodeyar
ffea636176 doc/dev/cephadm: fix host maintenance enter/exit syntax -
Signed-off-by: Ranjini Mandyam Narasiodeyar <rmandyam@rmandyam.remote.csb>
2022-12-27 10:38:26 +05:30
Ilya Dryomov
8e459c55f4
Merge pull request #48893 from weixinwei/master
librbd: avoid EUCLEAN error after "rbd rm" is interrupted

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-12-26 14:59:07 +01:00
Ilya Dryomov
57f9aba4c3
Merge pull request #49261 from ajarr/fix-57726
mgr/rbd_support: remove localized schedule option during module startup

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-26 14:56:05 +01:00
zdover23
6070411c7e
Merge pull request #49573 from zdover23/wip-doc-2022-12-26-glossary-cleanup
doc/glossary: disambiguate clauses

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-26 16:20:57 +10:00
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