]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/dashboard: force TLS 1.3 50527/head
Ernesto Puerta [Mon, 13 Mar 2023 10:03:37 +0000 (11:03 +0100)]
mgr/dashboard: force TLS 1.3

Fixes: https://tracker.ceph.com/issues/58942
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit cd8946631b222dfff1727083d75dfe2dd825d1a4)

2 years agoMerge pull request #50243 from cbodley/wip-58767
Yuri Weinstein [Mon, 13 Mar 2023 16:19:19 +0000 (09:19 -0700)]
Merge pull request #50243 from cbodley/wip-58767

pacific: cls/rgw: remove index entry after cancelling last racing delete op

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50000 from smanjara/wip-57701-pacific
Yuri Weinstein [Mon, 13 Mar 2023 16:18:38 +0000 (09:18 -0700)]
Merge pull request #50000 from smanjara/wip-57701-pacific

pacific: qa/suites/rgw: fix and update tempest and barbican tests

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49841 from k0ste/wip-58553-pacific
Yuri Weinstein [Mon, 13 Mar 2023 16:17:26 +0000 (09:17 -0700)]
Merge pull request #49841 from k0ste/wip-58553-pacific

pacific: rgw/beast: fix interaction between keepalive and 100-continue

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49809 from votdev/issue_58470_empty_tags
Yuri Weinstein [Mon, 13 Mar 2023 16:15:54 +0000 (09:15 -0700)]
Merge pull request #49809 from votdev/issue_58470_empty_tags

pacific: rgw: an empty tagset is allowed by S3

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49682 from adamemerson/wip-58403-pacific
Yuri Weinstein [Mon, 13 Mar 2023 16:14:18 +0000 (09:14 -0700)]
Merge pull request #49682 from adamemerson/wip-58403-pacific

rgw: Backport of issue 57562 to Pacific

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49095 from cfsnyder/wip-55228-pacific
Yuri Weinstein [Mon, 13 Mar 2023 16:13:15 +0000 (09:13 -0700)]
Merge pull request #49095 from cfsnyder/wip-55228-pacific

pacific: rgw: adding BUCKET_REWRITE and OBJECT_REWRITE OPS to

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50352 from ceph/wip-yuri-pacific-reef-pacific
Yuri Weinstein [Sun, 12 Mar 2023 18:39:03 +0000 (11:39 -0700)]
Merge pull request #50352 from ceph/wip-yuri-pacific-reef-pacific

qa/tests: added pacific client upgrade => reef

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50478 from zdover23/wip-doc-2023-03-11-backport-50470-to-pacific
Anthony D'Atri [Fri, 10 Mar 2023 21:33:52 +0000 (16:33 -0500)]
Merge pull request #50478 from zdover23/wip-doc-2023-03-11-backport-50470-to-pacific

pacific: doc/index: remove "uniquely" from landing page

2 years agodoc/index: remove "uniquely" from landing page 50478/head
Zac Dover [Fri, 10 Mar 2023 10:35:18 +0000 (20:35 +1000)]
doc/index: remove "uniquely" from landing page

Change "Ceph uniquely delivers[...]" to "Ceph delivers[...]"

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6e5be7ad66aa76cb798c52c87e34f8fe079cda5c)

2 years agoMerge pull request #50454 from zdover23/wip-doc-2023-03-09-backport-50439-to-pacific
zdover23 [Fri, 10 Mar 2023 08:00:59 +0000 (18:00 +1000)]
Merge pull request #50454 from zdover23/wip-doc-2023-03-09-backport-50439-to-pacific

pacific: doc/rados/operations: Improve wording, capitalization, formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/operations: Improve wording, capitalization, formatting 50454/head
Anthony D'Atri [Wed, 8 Mar 2023 12:29:55 +0000 (07:29 -0500)]
doc/rados/operations: Improve wording, capitalization, formatting

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 5f2060c0829992b31a0d17e23d7b1d2fb2280ac0)

2 years agoMerge pull request #50389 from zdover23/wip-doc-2023-03-06-backport-50386-to-pacific
zdover23 [Thu, 9 Mar 2023 19:59:01 +0000 (05:59 +1000)]
Merge pull request #50389 from zdover23/wip-doc-2023-03-06-backport-50386-to-pacific

pacific: doc/rgw - fix grammar in table in s3.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50122 from rhcs-dashboard/wip-57513-pacific
Nizamudeen A [Thu, 9 Mar 2023 05:29:20 +0000 (10:59 +0530)]
Merge pull request #50122 from rhcs-dashboard/wip-57513-pacific

pacific: mgr/dashboard: osd form preselect db/wal device filters

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #50436 from zdover23/wip-doc-2023-03-08-backport-49823-to-pacific
Anthony D'Atri [Wed, 8 Mar 2023 12:49:43 +0000 (07:49 -0500)]
Merge pull request #50436 from zdover23/wip-doc-2023-03-08-backport-49823-to-pacific

pacific: doc/install: refine index.rst

2 years agodoc/install: refine index.rst 50436/head
Zac Dover [Sat, 21 Jan 2023 16:32:59 +0000 (02:32 +1000)]
doc/install: refine index.rst

Refine English sentences in doc/install/index.rst. Remove adverbial
phrases of time that refer to Nautilus-era features as "new", since that
was four years ago.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit e7669539aceffc0f6f5d61bd140f1c7936d21cf9)

2 years agoMerge pull request #50433 from zdover23/wip-doc-2023-03-08-backport-50430-to-pacific
zdover23 [Wed, 8 Mar 2023 04:01:15 +0000 (14:01 +1000)]
Merge pull request #50433 from zdover23/wip-doc-2023-03-08-backport-50430-to-pacific

pacific: doc/install: update index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/install: update index.rst 50433/head
Zac Dover [Wed, 8 Mar 2023 01:52:12 +0000 (11:52 +1000)]
doc/install: update index.rst

Update index.rst by making minor grammar improvements. This file was
long overdue for a backport to Reef, Quincy, and Pacific, so this commit
was a good way to pass a human eyeball over the text before making those
backports.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 82d748ff590cfd31fefddc094b10622d090b054f)

2 years agoMerge pull request #50158 from idryomov/wip-57396-pacific
Ilya Dryomov [Tue, 7 Mar 2023 18:54:36 +0000 (19:54 +0100)]
Merge pull request #50158 from idryomov/wip-57396-pacific

pacific: librbd: Fix local rbd mirror journals growing forever

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #50265 from idryomov/wip-58755-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:06:15 +0000 (09:06 -0800)]
Merge pull request #50265 from idryomov/wip-58755-pacific

pacific: rbd-mirror: add information about the last snapshot sync to image status

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #50181 from nbalacha/wip-58764-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:05:29 +0000 (09:05 -0800)]
Merge pull request #50181 from nbalacha/wip-58764-pacific

pacific: rbd-mirror: fix syncing_percent calculation logic in get_replay_status()

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50129 from idryomov/wip-58060-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:03:57 +0000 (09:03 -0800)]
Merge pull request #50129 from idryomov/wip-58060-pacific

pacific: librbd: avoid EUCLEAN error after "rbd rm" is interrupted

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #50112 from idryomov/wip-58688-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:03:25 +0000 (09:03 -0800)]
Merge pull request #50112 from idryomov/wip-58688-pacific

pacific: qa/suites/rbd: fix sporadic "rx-only direction" test failures

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #49650 from ajarr/wip-58361-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:02:30 +0000 (09:02 -0800)]
Merge pull request #49650 from ajarr/wip-58361-pacific

pacific: mgr/rbd_support: remove localized schedule option during module startup

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #49413 from idryomov/wip-50461-pacific
Yuri Weinstein [Tue, 7 Mar 2023 17:01:45 +0000 (09:01 -0800)]
Merge pull request #49413 from idryomov/wip-50461-pacific

pacific: librbd/crypto: fix bad return checks from libcryptsetup

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #50401 from zdover23/wip-doc-2023-03-07-backport-50398-to-pacific
zdover23 [Mon, 6 Mar 2023 23:13:59 +0000 (09:13 +1000)]
Merge pull request #50401 from zdover23/wip-doc-2023-03-07-backport-50398-to-pacific

pacific: doc/dev: add full stop to sentence in basic-wo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/dev: add full stop to sentence in basic-wo 50401/head
Zac Dover [Mon, 6 Mar 2023 16:15:27 +0000 (02:15 +1000)]
doc/dev: add full stop to sentence in basic-wo

Add a full stop to a sentence in basic-workflow.rst. I looked at this
document and noticed that it wasn't there, and it was just bugging me.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 262b115b7554b7931cc174500eb12ac7a5d67513)

2 years agoMerge pull request #50396 from zdover23/wip-doc-2023-03-06-backport-50382-to-pacific
Anthony D'Atri [Mon, 6 Mar 2023 14:18:16 +0000 (09:18 -0500)]
Merge pull request #50396 from zdover23/wip-doc-2023-03-06-backport-50382-to-pacific

pacific: doc/rgw: fix caption

2 years agodoc/rgw: fix caption 50396/head
Zac Dover [Sun, 5 Mar 2023 06:43:38 +0000 (16:43 +1000)]
doc/rgw: fix caption

Rewrite the third paragraph of the caption to the figure depicting how a
zonegroup works.

Follows https://github.com/ceph/ceph/pull/50316.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8fa521466023635436305c1af31501bbbe20e857)

2 years agodoc/rgw - fix grammar in table in s3.rst 50389/head
Zac Dover [Mon, 6 Mar 2023 00:09:24 +0000 (10:09 +1000)]
doc/rgw - fix grammar in table in s3.rst

Put an "only" in the correct place. Also, this is a very small change
that will allow me to see if Jenkins is working (it probably isn't).

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1beab1e8abf59088be628cca972c59202526637d)

2 years agoMerge pull request #50379 from zdover23/wip-doc-2023-03-04-backport-50375-to-pacific
Anthony D'Atri [Fri, 3 Mar 2023 23:04:48 +0000 (18:04 -0500)]
Merge pull request #50379 from zdover23/wip-doc-2023-03-04-backport-50375-to-pacific

pacific: doc/rgw: refine keycloak.rst

2 years agodoc/rgw: refine keycloak.rst 50379/head
Zac Dover [Fri, 3 Mar 2023 19:36:35 +0000 (05:36 +1000)]
doc/rgw: refine keycloak.rst

Full line-edit of doc/radosgw/keycloak.rst. Corrected syntax, grammar,
RST, and broken links.

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5706ff1e451e6c7b3c3d40d492985377161b0133)

2 years agoMerge pull request #50368 from zdover23/wip-doc-2023-03-03-backport-50364-to-pacific
Anthony D'Atri [Fri, 3 Mar 2023 15:55:50 +0000 (10:55 -0500)]
Merge pull request #50368 from zdover23/wip-doc-2023-03-03-backport-50364-to-pacific

pacific: doc/cephadm: Redd up compatibility.rst

2 years agodoc/cephadm: Redd up compatibility.rst 50368/head
Anthony D'Atri [Fri, 3 Mar 2023 07:44:26 +0000 (02:44 -0500)]
doc/cephadm: Redd up compatibility.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit d608dec43b84c9a06990458219dda769829e05f8)

2 years agoMerge pull request #50363 from zdover23/wip-doc-2023-03-03-backport-50354-to-pacific
Anthony D'Atri [Fri, 3 Mar 2023 06:49:47 +0000 (01:49 -0500)]
Merge pull request #50363 from zdover23/wip-doc-2023-03-03-backport-50354-to-pacific

pacific: doc/rgw: clean zone-sync.svg

2 years agodoc/rgw: clean zone-sync.svg 50363/head
Zac Dover [Thu, 2 Mar 2023 19:24:00 +0000 (05:24 +1000)]
doc/rgw: clean zone-sync.svg

Refine zone-sync.svg (fix kerning and use fonts that render properly).

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 064fdc9d9b4ad3393bfb5069d2f97dc622aaf12d)

2 years agorgw/beast: StreamIO remembers connection errors for graceful shutdown 49841/head
Casey Bodley [Wed, 8 Feb 2023 17:58:10 +0000 (12:58 -0500)]
rgw/beast: StreamIO remembers connection errors for graceful shutdown

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 525899d4608203ea4236a816a78cf871cadceea6)

2 years agorgw: Fix segfault due to concurrent socket use at timeout
Yixin Jin [Wed, 15 Feb 2023 17:08:19 +0000 (17:08 +0000)]
rgw: Fix segfault due to concurrent socket use at timeout

This commit fixes a potential segfault risk when
rgw timeout handler works on the socket in one
thread while it is concurrently used by another.
The details of the fix are:

1. Instead of calling socket close(), which resets
descriptor_data in boost::asio socket and risks
segfault due to concurrent use of the socket,
the timeout handler now calls cancel() to abort
all pending ops followed by shutdown() to disable
the underlying transport. The eventual closure of
the socket will be done in the socket destructor.

2. Expose the actual boost::asio socket via get_socket()
from Connection so that the timeout handler can call
cancel() and shutdown() on it, although the socket data
member is already accessible. It allows future expansion
that wants to hide the socket even though it renders the
existing close() less useful.

Fixes: https://tracker.ceph.com/issues/58670
Signed-off-by: Yixin Jin <yjin77@yahoo.ca>
(cherry picked from commit 6d5988cbdab48705414e311217c61d3c798085d8)

2 years agorgw/beast: fix interaction between keepalive and 100-continue
Casey Bodley [Thu, 5 Jan 2023 16:30:03 +0000 (11:30 -0500)]
rgw/beast: fix interaction between keepalive and 100-continue

if we reject a request with a "Expect: 100-continue" header before
sending a "100 Continue" response, the keepalive logic should not try to
read/discard request body before parsing the next request headers

Fixes: https://tracker.ceph.com/issues/58286
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4358cf2a6a60d780791322f17cb216addd8ddae6)

2 years agorgw/beast: ClientIO remembers whether it sent '100 Continue'
Casey Bodley [Thu, 5 Jan 2023 16:28:12 +0000 (11:28 -0500)]
rgw/beast: ClientIO remembers whether it sent '100 Continue'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 99228e17543d2cfed903b801919ef3e5f4847ba7)

2 years agoMerge pull request #50357 from zdover23/wip-doc-2023-03-03-backport-50351-to-pacific
Anthony D'Atri [Thu, 2 Mar 2023 23:47:29 +0000 (18:47 -0500)]
Merge pull request #50357 from zdover23/wip-doc-2023-03-03-backport-50351-to-pacific

pacific: doc/radosgw: format admonitions

2 years agodoc/radosgw: format admonitions 50357/head
Zac Dover [Thu, 2 Mar 2023 18:04:30 +0000 (04:04 +1000)]
doc/radosgw: format admonitions

Break up the text of two similar admonitions into three paragraphs (in
each of the two instances). This makes the content of the admonition
much easier to read at a glance.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4db68f5711f48b190f0135a3a7a6df8dfcf5abfa)

2 years agoqa/tests: added pacific client upgrade => reef 50352/head
Yuri Weinstein [Thu, 2 Mar 2023 18:17:23 +0000 (10:17 -0800)]
qa/tests: added pacific client upgrade => reef

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #50337 from zdover23/wip-doc-2023-03-02-backport-50335-to-pacific
zdover23 [Thu, 2 Mar 2023 04:00:37 +0000 (14:00 +1000)]
Merge pull request #50337 from zdover23/wip-doc-2023-03-02-backport-50335-to-pacific

pacific: doc/cephadm: update cephadm compatability and stability page

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/cephadm: update cephadm compatability and stability page 50337/head
Adam King [Wed, 1 Mar 2023 21:10:41 +0000 (16:10 -0500)]
doc/cephadm: update cephadm compatability and stability page

This page is very out of date. This commit probably doesn't
cover everything there is to say about stability and compatability
in cephadm, but it at least gets it noticeably closer to reality

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 383f46aa79e7a6f5571405a352ad023983560625)

2 years agoMerge pull request #50332 from zdover23/wip-doc-2023-03-02-backport-50316-to-pacific
Anthony D'Atri [Wed, 1 Mar 2023 18:39:06 +0000 (13:39 -0500)]
Merge pull request #50332 from zdover23/wip-doc-2023-03-02-backport-50316-to-pacific

pacific: doc/rgw: improve diagram caption

2 years agodoc/rgw: improve diagram caption 50332/head
Zac Dover [Wed, 1 Mar 2023 07:36:18 +0000 (17:36 +1000)]
doc/rgw: improve diagram caption

Improve the syntax and semantics of the caption of the diagram
"Replication of Object Data Between Zones" in doc/radosgw/multisite.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e8aa50e240141949e2cf91c3b216808f4e055887)

2 years agoMerge pull request #50298 from zdover23/wip-doc-2023-02-28-backport-50295-to-pacific
Anthony D'Atri [Tue, 28 Feb 2023 12:54:31 +0000 (07:54 -0500)]
Merge pull request #50298 from zdover23/wip-doc-2023-02-28-backport-50295-to-pacific

doc/radosgw: s/zone group/zonegroup/g et alia

2 years agodoc/radosgw: s/zone group/zonegroup/g et alia 50298/head
Zac Dover [Tue, 28 Feb 2023 02:55:08 +0000 (12:55 +1000)]
doc/radosgw: s/zone group/zonegroup/g et alia

s/zone group/zonegroup/ where simple greps failed to find instances of
"zone group" that were spread across two lines; break a paragraph into
two paragraphs so that each paragraph has a thematic idea of its own.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d1f2e9f3a6837f2b19acaabfb3261849d547d5f8)

2 years agoMerge pull request #50294 from zdover23/wip-doc-2023-02-28-backport-50276-to-pacific
Anthony D'Atri [Tue, 28 Feb 2023 06:03:59 +0000 (01:03 -0500)]
Merge pull request #50294 from zdover23/wip-doc-2023-02-28-backport-50276-to-pacific

pacific: doc/rgw: caption a diagram

2 years agodoc/rgw: caption a diagram 50294/head
Zac Dover [Mon, 27 Feb 2023 09:00:04 +0000 (19:00 +1000)]
doc/rgw: caption a diagram

Add an explanation of a diagram that shows how object data is replicated
between zones within a zonegroup.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ce2bd7cb2603c479c17ac18b9277b903a02bb06a)

2 years agoMerge pull request #50288 from zdover23/wip-doc-2023-02-28-backport-50274-to-pacific
Anthony D'Atri [Mon, 27 Feb 2023 19:45:24 +0000 (14:45 -0500)]
Merge pull request #50288 from zdover23/wip-doc-2023-02-28-backport-50274-to-pacific

pacific: doc/rgw: remove "tertiary", link to procedure

2 years agoMerge pull request #50278 from zdover23/wip-doc-2023-02-27-backport-50264-to-pacific
zdover23 [Mon, 27 Feb 2023 18:31:16 +0000 (04:31 +1000)]
Merge pull request #50278 from zdover23/wip-doc-2023-02-27-backport-50264-to-pacific

pacific: doc/radosgw: multisite - edit "functional changes"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: remove "tertiary", link to procedure 50288/head
Zac Dover [Mon, 27 Feb 2023 08:40:14 +0000 (18:40 +1000)]
doc/rgw: remove "tertiary", link to procedure

Remove the term "tertiary zone" and replace it with "second secondary
zone" (because there is no such thing as a tertiary zone). Link to the
procedure for creating a secondary zone in a place where such a link is
helpful to the reader.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8e273199d09a670578b0c1076bc18dbd113d42dd)

2 years agoMerge pull request #50272 from zdover23/wip-doc-2023-02-27-backport-50267-to-pacific
Anthony D'Atri [Mon, 27 Feb 2023 13:42:25 +0000 (08:42 -0500)]
Merge pull request #50272 from zdover23/wip-doc-2023-02-27-backport-50267-to-pacific

pacific: doc/glossary: Add "zone" to glossary.rst

2 years agodoc/radosgw: multisite - edit "functional changes" 50278/head
Zac Dover [Sun, 26 Feb 2023 16:52:02 +0000 (02:52 +1000)]
doc/radosgw: multisite - edit "functional changes"

Improve the wording of the section "Functional Changes from Infernalis"
in doc/radosgw/multisite.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 35edcc17c96010328e8ee85648a3b74887aef7b9)

2 years agodoc/glossary: Add "zone" to glossary.rst 50272/head
Zac Dover [Sun, 26 Feb 2023 18:18:50 +0000 (04:18 +1000)]
doc/glossary: Add "zone" to glossary.rst

Add "Zone" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 495eb97fd7fa3d53d27ad8d7df993df80b708ca1)

2 years agorbd-mirror: add information about the last snapshot sync to image status 50265/head
Divyansh Kamboj [Wed, 7 Dec 2022 10:25:38 +0000 (15:55 +0530)]
rbd-mirror: add information about the last snapshot sync to image status

this commit adds fields for time taken to sync and bytes in the last
snapshot to the mirror image status command.

Fixes: https://tracker.ceph.com/issues/58755
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
(cherry picked from commit 9b9f18a65d2430ddcf32cbf85566b0223be91758)

2 years agoMerge pull request #50263 from zdover23/wip-doc-2023-02-27-backport-50260-to-pacific
Anthony D'Atri [Sun, 26 Feb 2023 16:53:50 +0000 (11:53 -0500)]
Merge pull request #50263 from zdover23/wip-doc-2023-02-27-backport-50260-to-pacific

pacific: doc/glossary: add "client" to glossary

2 years agodoc/glossary: add "client" to glossary 50263/head
Zac Dover [Sat, 25 Feb 2023 19:51:07 +0000 (05:51 +1000)]
doc/glossary: add "client" to glossary

Add a definition of "client" to doc/glossary.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2dc6f56f26c55f89f3445ff97a88a704622b55c0)

2 years agoMerge pull request #50259 from zdover23/wip-doc-2023-02-26-backport-50257-to-pacific
zdover23 [Sat, 25 Feb 2023 20:16:30 +0000 (06:16 +1000)]
Merge pull request #50259 from zdover23/wip-doc-2023-02-26-backport-50257-to-pacific

pacific: doc/glossary: add "application" to the glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: add "application" to the glossary 50259/head
Zac Dover [Sat, 25 Feb 2023 10:12:16 +0000 (20:12 +1000)]
doc/glossary: add "application" to the glossary

Add an admittedly-stub definition of "application" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 235d2e8b67b1700a55819a14eb26f00de86ba554)

2 years agoMerge pull request #50255 from zdover23/wip-doc-2023-02-24-backport-50250-to-pacific
zdover23 [Sat, 25 Feb 2023 10:13:57 +0000 (20:13 +1000)]
Merge pull request #50255 from zdover23/wip-doc-2023-02-24-backport-50250-to-pacific

pacific: doc/cephadm/host-management: add service spec link

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #50253 from zdover23/wip-doc-2023-02-24-backport-50179-to-pacific
colemitchell [Fri, 24 Feb 2023 16:01:19 +0000 (11:01 -0500)]
Merge pull request #50253 from zdover23/wip-doc-2023-02-24-backport-50179-to-pacific

pacific: doc/cephfs: describe conf opt "client quota df" in quota doc

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/cephfs: describe conf opt "client quota df" in quota doc 50253/head
Rishabh Dave [Mon, 20 Feb 2023 07:51:25 +0000 (13:21 +0530)]
doc/cephfs: describe conf opt "client quota df" in quota doc

The ceph config file option (from the client section) "client quota df"
is mentioned in "CephFS Client Capabilities" document but not in the
"CephFS Quota" document. Adding information about this option to this
document too would make it easier for CephFS users to discover,
understand and use this option.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit cd3f9575afb33bdb0a311a3f27801879a3254824)

2 years agodoc/cephadm/host-management: add service spec link 50255/head
thomas [Fri, 24 Feb 2023 06:00:00 +0000 (01:00 -0500)]
doc/cephadm/host-management: add service spec link

The old "(below)" text is not accurate, the service spec definition is
not in the same file at this point in time. This commit adds a ref link
to the actual service specification section.

Signed-off-by: thomas <me@thomasanderson.cloud>
(cherry picked from commit bb5837f049d9eb46f8d5c63c4dfec09fd94424f3)

2 years agoMerge pull request #50248 from zdover23/wip-doc-2023-02-24-backport-50246-to-pacific
Anthony D'Atri [Fri, 24 Feb 2023 02:53:18 +0000 (21:53 -0500)]
Merge pull request #50248 from zdover23/wip-doc-2023-02-24-backport-50246-to-pacific

pacific: doc/glossary: add AWS/OpenStack bucket info

2 years agodoc/glossary: add AWS/OpenStack bucket info 50248/head
Zac Dover [Fri, 24 Feb 2023 01:07:12 +0000 (11:07 +1000)]
doc/glossary: add AWS/OpenStack bucket info

Add links to AWS's documentation of buckets, in accordance with Casey
Bodley's suggestions here:
https://github.com/ceph/ceph/pull/50221#discussion_r1115900879

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d16ed970e9ac76d6320f0ae26fa3ddd745dbd429)

2 years agotest/cls/rgw: test that index entry is removed after racing deletes 50243/head
Casey Bodley [Thu, 9 Feb 2023 18:45:10 +0000 (13:45 -0500)]
test/cls/rgw: test that index entry is removed after racing deletes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5ddde6eb3d6a9e387b904fa4986bfb8e2ccbef7a)

2 years agocls/rgw: remove index entry after cancelling last racing delete op
Casey Bodley [Wed, 8 Feb 2023 19:01:29 +0000 (14:01 -0500)]
cls/rgw: remove index entry after cancelling last racing delete op

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 08efcc2536c34935a516bf850a9f909c0a3b3f52)

Conflicts:
src/cls/rgw/cls_rgw.cc CLS_LOG_BITX() -> CLS_LOG()

2 years agorgw/rados: index transactions pass remove_objs to cancel() too
Casey Bodley [Tue, 9 Nov 2021 03:13:39 +0000 (22:13 -0500)]
rgw/rados: index transactions pass remove_objs to cancel() too

whenever an index transaction uses remove_objs for complete(), it also
needs to pass them for cancel() to avoid leaking index entries

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b848ccae96169ff697ab0eed5edf6e3e8f898eb7)

Conflicts:
src/rgw/rgw_rados.h 'using namespace std' not backported

2 years agocls/rgw: index cancelation still cleans up remove_objs
Casey Bodley [Tue, 9 Nov 2021 02:24:52 +0000 (21:24 -0500)]
cls/rgw: index cancelation still cleans up remove_objs

when multipart uploads complete their final bucket index transaction,
they pass the list of part objects in 'remove_objs' for bulk removal -
the part objects, along with their bucket stats, get replaced by the
head object

but if CompleteMultipart races with another upload, the head object
write will fail with ECANCELED and the bucket index transaction gets
canceled with CLS_RGW_OP_CANCEL. these canceled uploads still need to
clean up their 'remove_objs', but cancelation was returning too early.
as a result, these bucket index entries get orphaned and leave the
bucket stats inconsistent

this commit reworks rgw_bucket_complete_op() so that CLS_RGW_OP_CANCEL
is handled the same way as OP_ADD and OP_DEL, so always runs the loop to
clean up 'remove_objs'

Fixes: https://tracker.ceph.com/issues/53199
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8b27472bbd8a22372cd14c0c5603ee41056a3343)

2 years agocls/rgw: add complete_remove_obj() helper for remove_objs
Casey Bodley [Tue, 9 Nov 2021 02:21:29 +0000 (21:21 -0500)]
cls/rgw: add complete_remove_obj() helper for remove_objs

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit f3325fc76fef97001f31142ce51c140e549c43bb)

2 years agocls/rgw: helpers take const input params
Casey Bodley [Tue, 9 Nov 2021 02:19:41 +0000 (21:19 -0500)]
cls/rgw: helpers take const input params

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d7ec0b281c80eeb319fbe8437400c807e3758b6e)

2 years agoMerge pull request #50225 from zdover23/wip-doc-2023-02-23-backport-50221-to-pacific
colemitchell [Thu, 23 Feb 2023 15:20:41 +0000 (10:20 -0500)]
Merge pull request #50225 from zdover23/wip-doc-2023-02-23-backport-50221-to-pacific

pacific: doc/glossary: add "Bucket"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #50229 from zdover23/wip-doc-2023-02-23-backport-50226-to-pacific
zdover23 [Thu, 23 Feb 2023 15:06:52 +0000 (01:06 +1000)]
Merge pull request #50229 from zdover23/wip-doc-2023-02-23-backport-50226-to-pacific

pacific: doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: preen cephadm/troubleshooting.rst and radosgw/placement.rst 50229/head
Anthony D'Atri [Thu, 23 Feb 2023 06:31:31 +0000 (01:31 -0500)]
doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit d5bf55bcd6fcec43d2b728a2b8cd2f35b42e3b7e)

2 years agoMerge pull request #50223 from zdover23/wip-doc-2023-02-23-backport-50220-to-pacific
Anthony D'Atri [Thu, 23 Feb 2023 06:38:21 +0000 (01:38 -0500)]
Merge pull request #50223 from zdover23/wip-doc-2023-02-23-backport-50220-to-pacific

pacific: doc/cephadm/troubleshooting: remove word repeat

2 years agodoc/glossary: add "Bucket" 50225/head
Zac Dover [Thu, 23 Feb 2023 05:53:39 +0000 (15:53 +1000)]
doc/glossary: add "Bucket"

Add "Bucket" to the glossary. The definition added here is just a first
attempt, but a man's reach must exceed his grasp, or what's a heaven
for?

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ffbc5ea2b9347e2600df6aea9cdf895529fbf857)

2 years agodoc/cephadm/troubleshooting: remove word repeat 50223/head
thomas [Thu, 23 Feb 2023 05:41:34 +0000 (00:41 -0500)]
doc/cephadm/troubleshooting: remove word repeat

The original text was "In case the cluster the last MGR of a cluster"

Signed-off-by: thomas <me@thomasanderson.cloud>
(cherry picked from commit 4e9eaf8b5d81b58ad49ed6ecbce38db98b985fc1)

2 years agoMerge pull request #50219 from zdover23/wip-doc-2023-02-23-backport-50213-to-pacific
Anthony D'Atri [Thu, 23 Feb 2023 05:35:03 +0000 (00:35 -0500)]
Merge pull request #50219 from zdover23/wip-doc-2023-02-23-backport-50213-to-pacific

pacific: doc/rados: update OSD_BACKFILLFULL description

2 years agodoc/rados: update OSD_BACKFILLFULL description 50219/head
Ponnuvel Palaniyappan [Wed, 22 Feb 2023 16:20:46 +0000 (16:20 +0000)]
doc/rados: update OSD_BACKFILLFULL description

Document that this warning can happen even when the OSDs' limits
haven't hit the backfill_full_ratio.

Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
(cherry picked from commit 198a9e02cb934802fcb5d5d06b05e3662a4b5cab)

2 years agoMerge pull request #49972 from mnasiadka/pacific_57627
Adam King [Wed, 22 Feb 2023 16:58:45 +0000 (11:58 -0500)]
Merge pull request #49972 from mnasiadka/pacific_57627

ceph-volume: fix regression in activate

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2 years agoMerge pull request #50145 from guits/wip-58736-pacific
Adam King [Wed, 22 Feb 2023 16:56:52 +0000 (11:56 -0500)]
Merge pull request #50145 from guits/wip-58736-pacific

pacific: ceph-volume: do not raise RuntimeError in util.lsblk

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #50162 from guits/wip-58786-pacific
Adam King [Wed, 22 Feb 2023 16:55:34 +0000 (11:55 -0500)]
Merge pull request #50162 from guits/wip-58786-pacific

pacific: ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs'

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #50205 from zdover23/wip-doc-2023-02-22-backport-50203-to-pacific
Anthony D'Atri [Wed, 22 Feb 2023 04:41:08 +0000 (23:41 -0500)]
Merge pull request #50205 from zdover23/wip-doc-2023-02-22-backport-50203-to-pacific

pacific: doc/rgw: clarify multisite.rst top matter

2 years agodoc/rgw: clarify multisite.rst top matter 50205/head
Zac Dover [Wed, 22 Feb 2023 03:36:40 +0000 (13:36 +1000)]
doc/rgw: clarify multisite.rst top matter

Improve the pragmatics of the top matter of multisite.rst. Organize the
text into sections, where doing so makes the nature of multi-site
configurations clearer.

Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bbc229340f77ba8ec7fa967a59664caf3c07d030)

2 years agoMerge pull request #50190 from zdover23/wip-doc-2023-02-21-backport-50165-to-pacific
zdover23 [Tue, 21 Feb 2023 16:34:23 +0000 (02:34 +1000)]
Merge pull request #50190 from zdover23/wip-doc-2023-02-21-backport-50165-to-pacific

pacific: doc/rgw: multisite ref. top matter cleanup

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rgw: multisite ref. top matter cleanup 50190/head
Zac Dover [Sun, 19 Feb 2023 13:20:45 +0000 (23:20 +1000)]
doc/rgw: multisite ref. top matter cleanup

Edit the top matter in "Multi-site Configuration Reference" so that it
is semantically more natural.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit db2a5624852224263ba3bd8baaa9b4addf80cb97)

2 years agoMerge pull request #50188 from zdover23/wip-doc-2023-02-21-backport-50186-to-pacific
colemitchell [Tue, 21 Feb 2023 04:19:55 +0000 (23:19 -0500)]
Merge pull request #50188 from zdover23/wip-doc-2023-02-21-backport-50186-to-pacific

pacific: doc/rgw: session-tags.rst - fix link to keycloak

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rgw: session-tags.rst - fix link to keycloak 50188/head
Zac Dover [Tue, 21 Feb 2023 03:55:03 +0000 (13:55 +1000)]
doc/rgw: session-tags.rst - fix link to keycloak

Fix a link in the doc/radosgw/session-tags.rst file that was intended to
link to the doc/radosgw/keycloak.rst file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 76eae93ab8dcd91873f49350d452da8b4838fbb0)

2 years agorbd-mirror: fix syncing_percent calculation logic in get_replay_status() 50181/head
N Balachandran [Thu, 16 Feb 2023 04:57:02 +0000 (10:27 +0530)]
rbd-mirror: fix syncing_percent calculation logic in get_replay_status()

When a snapshot sync is resumed and the get_replay_status function
is called before handle_copy_image_progress, the syncing_percent
value may be greater than 100 as the m_local_object_count is still
set to zero. This commit sets the syncing_percent to 0 in such cases.

Fixes: https://tracker.ceph.com/issues/58706
Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit c7ae0f6eb6a8fb08859454d1b2e81d2dc7b0226f)

2 years agoMerge pull request #50174 from zdover23/wip-doc-2023-02-20-backport-50164-to-pacific
Anthony D'Atri [Mon, 20 Feb 2023 01:43:50 +0000 (20:43 -0500)]
Merge pull request #50174 from zdover23/wip-doc-2023-02-20-backport-50164-to-pacific

pacific: doc/radosgw: s/execute/run/ in multisite.rst

2 years agodoc/radosgw: s/execute/run/ in multisite.rst 50174/head
Zac Dover [Sun, 19 Feb 2023 06:46:49 +0000 (16:46 +1000)]
doc/radosgw: s/execute/run/ in multisite.rst

Replace "execute" with "run" in fourteen out of fifteen instances in
multisite.rst. "Execute" is plain old too grand in most of these
instances.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b54b1b6bf5c9f7fee9387464b553035a88f6729e)

2 years agoMerge pull request #49789 from guits/wip-58397-pacific
Guillaume Abrioux [Sun, 19 Feb 2023 00:20:40 +0000 (01:20 +0100)]
Merge pull request #49789 from guits/wip-58397-pacific

pacific: ceph-volume/tests: add allowlist_externals to tox.ini

2 years agoceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs' 50162/head
Guillaume Abrioux [Sat, 18 Feb 2023 02:05:51 +0000 (03:05 +0100)]
ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs'

When the device variable is rebound and become 'tmpfs', lsblk() shouldn't be called.

Fixes: https://tracker.ceph.com/issues/58784
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit c0369fbecee1a4d71004ee5e72ee0e2526d0fcf2)

2 years agoqa/workunits/rbd-nbd: work around "rbd feature disable" hang 50158/head
Ilya Dryomov [Thu, 16 Feb 2023 11:53:02 +0000 (12:53 +0100)]
qa/workunits/rbd-nbd: work around "rbd feature disable" hang

"rbd feature disable" appears to reliably hang if the corresponding
remote request is proxied to rbd-nbd (because rbd-nbd happens to own
the exclusive lock after a series of blkdiscard calls) [1].  Work
around it here by enabling journaling before the image is mapped
and disabling it after the image is unmapped.

Also, don't assert on the output of "rbd journal inspect --verbose"
having a certain number of entries.  This is racy: if the script gets
delayed after the last blkdiscard call for some reason, there may be
fewer entries present in the journal or none at all.

[1] https://tracker.ceph.com/issues/58740

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit fcfef0a19e1d85a8b9414909268f1370ec82808d)

2 years agotest/librbd: add LengthModifiedDiscardJournalAppendEnabled test
Ilya Dryomov [Thu, 16 Feb 2023 11:51:04 +0000 (12:51 +0100)]
test/librbd: add LengthModifiedDiscardJournalAppendEnabled test

Currently nothing triggers the length_modified case in
ImageDiscardRequest::prune_object_extents() in isolation. It's only
triggered in DiscardGranularityJournalAppendEnabled test together with
the prune_required case and a bad refactoring could easily break the
length_modified logic again.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 34e59c450298e1c05f07570f74a9489bd8479a44)

Conflicts:
src/test/librbd/io/test_mock_ImageRequest.cc [ commit
  b9a2384cdc43 ("librbd: propagate area down to
  file_to_extents()") not in pacific ]

2 years agolibrbd: Fix local rbd mirror journals growing forever
Josef Johansson [Mon, 2 Jan 2023 13:12:53 +0000 (14:12 +0100)]
librbd: Fix local rbd mirror journals growing forever

This commit fixes commit 7ca1bab90f3 by pushing properly aligned
discards back to m_image_extents, if corrected.

If discards are misaligned (off 0, len 4608, gran=4096), they are
corrected properly, but only in object_extents and not in
m_image_extents.

When journal_append_event is triggered it will only append from
m_image_extents and does not now about the alignment fixes. In
commit_io_events_extent it will log a message and return without
completing the io since the larger misaligned area was sent to the journal.
This will in turn break rbd journal mirroring since the local client will wait
indefinately on the commit to be completed, which it never does.

This does not effect rbd-mirror in any way, which may be confusing and
dangerous since it's only rbd-mirror that updates ceph health, and not
the local client.

Setting `rbd_skip_partial_discard = false` under client will restore the
pre 7ca1bab behaviour and thus not trigger the bug with journals growing.
This will set `rbd_discard_granularity_bytes = 0` internally. This
setting is only changed during startup of a client.

Fixes: 7ca1bab90f3db3aaaa4cdbfc1f18e9f5cfbf5568
Fixes: https://tracker.ceph.com/issues/57396
Signed-off-by: Josef Johansson <josef@oderland.se>
(cherry picked from commit 21a26a752843295ff946d1543c2f5f9fac764593)

Conflicts:
src/librbd/io/ImageRequest.cc [ commit b2c88820923e ("librbd:
  return area from extents_to_file()") not in pacific ]
src/test/librbd/io/test_mock_ImageRequest.cc [ commit
  b9a2384cdc43 ("librbd: propagate area down to
  file_to_extents()") not in pacific ]

2 years agoMerge pull request #50156 from zdover23/wip-doc-2023-02-18-backport-50154-to-pacific
Anthony D'Atri [Sat, 18 Feb 2023 03:30:29 +0000 (22:30 -0500)]
Merge pull request #50156 from zdover23/wip-doc-2023-02-18-backport-50154-to-pacific

pacific: doc/glossary: add "Period" to glossary