Commit Graph

135733 Commits

Author SHA1 Message Date
Lucian Petrut
65544da400 qa: retry test_rbd_wnbd.py fs operations
Certain FS related operations can fail, especially under load
(e.g. initializing partitions, volume formatting, etc).

For this reason, we're going to introduce some retries.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2023-01-04 07:08:39 +02:00
zdover23
7d4812b52e
Merge pull request #49620 from bradfitz/bradfitz/doc
doc: fix a couple grammatical things

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2023-01-04 02:45:15 +10:00
Brad Fitzpatrick
b9b6011c11 doc: fix a couple grammatical things
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2023-01-03 08:37:02 -08:00
Anthony D'Atri
ae8065f1d4
Merge pull request #49613 from zdover23/wip-doc-2023-01-02-start-documenting-ceph-49609-followup
doc/start: add Anthony D'Atri's suggestions
2023-01-02 10:15:35 -05:00
Zac Dover
6141c5f061 doc/start: add Anthony D'Atri's suggestions
Add the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/49609.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-02 23:00:55 +10:00
colemitchell
69bfe3bebe
Merge pull request #49609 from zdover23/wip-doc-2023-01-02-start-documenting-ceph-cleanup
doc/start: refine "Quirks of RST"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-02 00:25:05 -05:00
Zac Dover
cdc7b60354 doc/start: refine "Quirks of RST"
Refine the language that was added yesterday, language that explains how
certain aspects of RST work.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-02 14:23:22 +10:00
zdover23
a05e06de5d
Merge pull request #49606 from zdover23/wip-doc-2023-01-01-start-documenting-ceph-quirks-of-rst
doc/start: add link-related metadocumentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-01 22:32:27 +10:00
Zac Dover
7517404f72 doc/start: add link-related metadocumentation
Add two kinds of link-related metadocumentation (documentation about how
to write documentation) to the "Documenting Ceph" section of the "Intro
to Ceph" document: 1. metadocumentation about external links, and 2.
metadocumentation about internal links.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-01 22:06:54 +10:00
colemitchell
74fb7b95f6
Merge pull request #49602 from zdover23/wip-doc-2022-12-31-glossary-DAS-capitalization
doc/glossary: capitalize "DAS" correctly

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-30 23:51:57 -05:00
Zac Dover
7c70a66414 doc/glossary: capitalize "DAS" correctly
Correctly capitalize "Direct-Attached Storage" in the glossary. (And
test the "Quincy" branch, which seems lately not to have picked up any
docs backports.)

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-31 14:22:26 +10:00
colemitchell
34d23c64ab
Merge pull request #49599 from zdover23/wip-doc-2022-12-30-glossary-releases
doc/glossary: collate "releases" entries

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-29 20:56:26 -05:00
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
Matan Breizman
91309fb5df crimoson/osd/replicated_recovery_backend: Rename pop to push_op
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 13:14:33 +00:00
Matan Breizman
8b70f4e8d3 crimson/osd/replicated_recovery_backend: Rename po to pull_op
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 12:59:10 +00:00
Matan Breizman
798648fb5e crimson/osd/recovery_backend: Rename PushInfo to push_info_t
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 12:53:42 +00:00
Matan Breizman
5dca23dfe9 crimson/osd/replicated_recovery_backend: Rename pi to push_info
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 12:53:41 +00:00
Matan Breizman
9802136108 crimson/osd/*recovery_backend:Rename pi to pull_info
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 12:47:33 +00:00
Matan Breizman
22adfcc9b4 crimson/osd/*recovery_backend: Rename PullInfo to pull_info_t
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-12-25 12:36:22 +00: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