]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zac Dover [Thu, 20 Jul 2023 17:35:52 +0000 (03:35 +1000)]
doc: governance.rst - update D Orman
Update David Orman's email address in doc/governance.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
46f503975e124680b29333e3972c4c937a641c10 )
Ilya Dryomov [Thu, 20 Jul 2023 21:40:45 +0000 (23:40 +0200)]
Merge pull request #52286 from idryomov/wip-61616-quincy
quincy: librbd: avoid object map corruption in snapshots taken under I/O
Reviewed-by: Ramana Raja <rraja@redhat.com>
Yuri Weinstein [Thu, 20 Jul 2023 16:17:19 +0000 (12:17 -0400)]
Merge pull request #52189 from ajarr/wip-61705-quincy
quincy: mgr/rbd_support: add user-friendly stderr message when module is not ready
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Ilya Dryomov [Tue, 18 Jul 2023 13:58:01 +0000 (15:58 +0200)]
Merge pull request #52283 from idryomov/wip-57343-quincy
quincy: test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Anthony D'Atri [Mon, 17 Jul 2023 15:46:19 +0000 (11:46 -0400)]
Merge pull request #52487 from zdover23/wip-doc-2023-07-17-backport-52483-to-quincy
quincy: doc/mgr/rgw.rst: add missing "ceph" command in cli specification
Ville Ojamo [Mon, 17 Jul 2023 13:05:39 +0000 (20:05 +0700)]
doc/mgr/rgw.rst: add missing "ceph" command in cli specification
The line begins with a prompt so I would
expect it to be a "complete" command,
including the `ceph` binary to run with all
the various listed arguments.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
37ea3e50f09be5490d7ec614798822aa6f86eaec )
zdover23 [Mon, 17 Jul 2023 07:18:16 +0000 (17:18 +1000)]
Merge pull request #52479 from zdover23/wip-doc-2023-07-17-backport-52476-to-quincy
quincy: doc/mgr/rgw.rst: multisite typed wrong
Reviewed-by: Rongqi Sun (Svelar) <sunrongqi@huawei.co>
Ville Ojamo [Mon, 17 Jul 2023 03:35:46 +0000 (10:35 +0700)]
doc/mgr/rgw.rst: multisite typed wrong
Multisite is typed wrong as mutlisite so fix the spelling.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
33b8fdb20329342ef91a391a99065fdb88c16b23 )
Anthony D'Atri [Sun, 16 Jul 2023 12:07:36 +0000 (08:07 -0400)]
Merge pull request #52471 from zdover23/wip-doc-2023-07-16-backport-52465-to-quincy
quincy: doc/rados: edit ceph-conf.rst (2 of x)
Zac Dover [Sat, 15 Jul 2023 01:09:20 +0000 (11:09 +1000)]
doc/rados: edit ceph-conf.rst (2 of x)
Edit doc/rados/configuration/ceph-conf.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
69b9b20be14c7775e434b25753678533eb163a3f )
Anthony D'Atri [Sat, 15 Jul 2023 02:12:54 +0000 (22:12 -0400)]
Merge pull request #52464 from zdover23/wip-doc-2023-07-15-backport-52356-to-quincy
quincy: doc/cephfs: add note to isolate metadata pool osds
Patrick Donnelly [Fri, 7 Jul 2023 12:42:58 +0000 (08:42 -0400)]
doc/cephfs: add note to isolate metadata pool osds
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
4e2e61f16438dcd5eb35854091114d18b6fe9a9e )
Nizamudeen A [Fri, 14 Jul 2023 12:06:30 +0000 (17:36 +0530)]
Merge pull request #52388 from rhcs-dashboard/cleanup-script-quincy
quincy: mgr/dashboard: move cephadm e2e cleanup to jenkins job config
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Anthony D'Atri [Fri, 14 Jul 2023 11:01:17 +0000 (07:01 -0400)]
Merge pull request #52449 from zdover23/wip-doc-2023-07-14-backport-52423-to-quincy
quincy: doc/rados: edit ceph-conf.rst
Anthony D'Atri [Fri, 14 Jul 2023 11:00:15 +0000 (07:00 -0400)]
Merge pull request #52451 from zdover23/wip-doc-2023-07-14-backport-52402-to-quincy
quincy: doc/rados: edit add-or-rm-osds (2 of x)
Zac Dover [Tue, 11 Jul 2023 21:58:59 +0000 (07:58 +1000)]
doc/rados: edit add-or-rm-osds (2 of x)
Edit doc/rados/operations/add-or-rm-osds.rst (2 of x).
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d83fa5352aa556c4e559e66dd461c200cc86c709 )
Zac Dover [Thu, 13 Jul 2023 08:41:51 +0000 (18:41 +1000)]
doc/rados: edit ceph-conf.rst
Edit doc/rados/configuration/ceph-conf.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
dd8d91b0ded8be70bec3f40f499d7cf9432c9f23 )
Anthony D'Atri [Thu, 13 Jul 2023 13:12:51 +0000 (09:12 -0400)]
Merge pull request #52424 from zdover23/wip-doc-2023-07-13-backport-52419-to-quincy
quincy: docs: fix nfs cluster create syntax
Casey Bodley [Thu, 13 Jul 2023 12:52:30 +0000 (08:52 -0400)]
Merge pull request #50103 from seanhoughton/wip-55614-quincy
quincy: RGW - Fix NoSuchTagSet error
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Paul Cuzner [Thu, 13 Jul 2023 03:13:42 +0000 (15:13 +1200)]
docs: fix nfs cluster create syntax
The ceph prefix was missing from the command
example.
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
(cherry picked from commit
43b5f4b4f92341803753fcd3b67132546829e362 )
Guillaume Abrioux [Wed, 12 Jul 2023 12:46:44 +0000 (14:46 +0200)]
Merge pull request #52062 from guits/wip-61153-quincy
quincy: ceph-volume: fix a bug in `get_lvm_fast_allocs()` (batch)
Nizamudeen A [Fri, 7 Jul 2023 10:46:00 +0000 (16:16 +0530)]
mgr/dashboard: move cephadm e2e cleanup to jenkins job config
Follows: https://github.com/ceph/ceph-build/pull/2145
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
a407f0b7834585c087001059d6cec613e524538b )
Anthony D'Atri [Mon, 10 Jul 2023 23:06:44 +0000 (19:06 -0400)]
Merge pull request #52384 from zdover23/wip-doc-2023-07-11-backport-52366-to-quincy
quincy: doc/rados: edit add-or-rm-osds (1 of x)
Zac Dover [Sun, 9 Jul 2023 02:50:11 +0000 (12:50 +1000)]
doc/rados: edit add-or-rm-osds (1 of x)
Edit docs/rados/operations/add-or-rm-osds.
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a3ab5a7ad8a44c702089294b107d09dca3a98139 )
Anthony D'Atri [Mon, 10 Jul 2023 20:21:49 +0000 (16:21 -0400)]
Merge pull request #52382 from zdover23/wip-doc-2023-07-11-backport-52371-to-quincy
quincy: doc/rados: introduce emdash
Zac Dover [Mon, 10 Jul 2023 02:26:04 +0000 (12:26 +1000)]
doc/rados: introduce emdash
Introduce the emdash character in
docs/rados/troubleshooting/troubleshooting-mon.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a971a3a66a93ce52898f201a41a9aa13e0dd8bfc )
Anthony D'Atri [Sun, 9 Jul 2023 15:02:42 +0000 (11:02 -0400)]
Merge pull request #52368 from zdover23/wip-doc-2023-07-09-backport-52327-to-quincy
quincy: doc: add information on expediting MDS recovery
Patrick Donnelly [Thu, 6 Jul 2023 01:25:59 +0000 (21:25 -0400)]
doc: add information on expediting MDS recovery
Fixes: https://tracker.ceph.com/issues/61865
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
0a15144c584d4445bd037340f053aa64b9c13f32 )
Anthony D'Atri [Fri, 7 Jul 2023 23:45:35 +0000 (19:45 -0400)]
Merge pull request #52362 from zdover23/wip-doc-2023-07-08-backport-52360-to-quincy
quincy: doc/radosgw: add Zonegroup policy explanation
Zac Dover [Fri, 7 Jul 2023 17:35:15 +0000 (03:35 +1000)]
doc/radosgw: add Zonegroup policy explanation
Add revised Zonegroup policy for "multi-zonegroups". This commit
includes changes that Casey Bodley made in
https://github.com/ceph/ceph/pull/52324#discussion_r1253482258 and that
I have integrated into the docs only now.
Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c6400ed79b1233a2238342e4931edf341f1c7b9f )
Anthony D'Atri [Thu, 6 Jul 2023 21:11:18 +0000 (17:11 -0400)]
Merge pull request #52349 from zdover23/wip-doc-2023-07-07-backport-52324-to-quincy
quincy: doc/radosgw: add Zonegroup purpose
Avan [Thu, 6 Jul 2023 20:38:04 +0000 (02:08 +0530)]
Merge pull request #52332 from rhcs-dashboard/wip-61910-quincy
quincy: mgr/dashboard: fix a bug where data would plot wrongly
Reviewed-by: avanthakkar avanjohn@gmail.com
Zac Dover [Wed, 5 Jul 2023 17:36:52 +0000 (03:36 +1000)]
doc/radosgw: add Zonegroup purpose
Add a note about the telos of zonegroups. The information added in this
commit was originally sent to ceph-users by Casey Bodley on 30 Jun 2023
in response to a question from Yixin Jin. Alexander Patrakov then
suggested that Casey's response should be added to
doc/radsogw/multisite.rst.
Co-authored-by: Casey Bodley <cbodley@redhat.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
5c46a1a00962918c885e434986d0f846c3ee4730 )
Pedro Gonzalez Gomez [Thu, 16 Mar 2023 12:09:26 +0000 (13:09 +0100)]
mgr/dashboard: fix a bug where data would plot on the graphs without converting to the data units of the graph
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit
7aa70a16a54c3387b2e021763ca1d118d6785835 )
zdover23 [Wed, 5 Jul 2023 17:42:09 +0000 (03:42 +1000)]
Merge pull request #52282 from zdover23/wip-doc-2023-07-02-backport-52280-to-quincy
quincy: doc/radosgw: refine "Zones" in multisite.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 1 Jul 2023 11:51:15 +0000 (21:51 +1000)]
doc/radosgw: refine "Zones" in multisite.rst
Describe in greater detail the function of Zones in serving S3 objects,
as requested by Alexander Patrakov here:
https://github.com/ceph/ceph/pull/49981#issuecomment-
1615866374 .
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
8dab6c066c4dd3699c7b7c80f7a30a0e18326bba )
zdover23 [Tue, 4 Jul 2023 22:12:02 +0000 (08:12 +1000)]
Merge pull request #52299 from zdover23/wip-doc-2023-07-04-backport-51422-to-quincy
quincy: doc/rgw/lua: add info uploading a script in cephadm deployment
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuval Lifshitz [Wed, 10 May 2023 09:43:45 +0000 (12:43 +0300)]
doc/rgw/lua: add info uploading a script in cephadm deployment
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit
5cec4f719581e93760c22419e701c563a8688de9 )
zdover23 [Tue, 4 Jul 2023 20:02:19 +0000 (06:02 +1000)]
Merge pull request #52312 from zdover23/wip-doc-2023-07-05-backport-52207-to-quincy
quincy: doc/rados: edit crush-map-edits (2 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Tue, 27 Jun 2023 08:58:32 +0000 (18:58 +1000)]
doc/rados: edit crush-map-edits (2 of x)
Edit doc/rados/operations/crush-map-edits.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
ae04debe9e2fa18c1cb8745b0573ff56576fd3b0 )
zdover23 [Tue, 4 Jul 2023 18:25:44 +0000 (04:25 +1000)]
Merge pull request #52310 from zdover23/wip-doc-2023-07-05-backport-52308-to-quincy
quincy: doc/dev: remove seqdiag assets
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Zac Dover [Tue, 4 Jul 2023 17:37:10 +0000 (03:37 +1000)]
doc/dev: remove seqdiag assets
Remove seqdiag assets to determine whether the docs can be built if they
are absent. (Currently they cannot be built when they are present.) If
this works, then these diagrams will be replaced, probably with .png
files.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
ce96ddd4c7da65351deaf14dc4f8b42f5148a352 )
Ilya Dryomov [Fri, 16 Jun 2023 12:01:52 +0000 (14:01 +0200)]
qa/workunits/rbd: make continuous export-diff test actually work
The current version is pretty useless:
- "rbd bench" writes the same byte (0xff) over and over again, so
almost all checksumming is in vain
- snapshots are taken in a steady state (i.e. not under I/O), so no
race conditions can get exposed
- even with these caveats, it's not wired up into the suite
Redo this workunit to be a reliable reproducer for the issue fixed
in the previous commit and wire it up for both krbd and rbd-nbd.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
acb270a3dd07211f06aa11f8792a333f3a1b796d )
Ilya Dryomov [Tue, 13 Jun 2023 11:36:02 +0000 (13:36 +0200)]
librbd: stop passing IOContext to image dispatch write methods
This is a major footgun since any value passed e.g. at the API layer
may be stale by the time we get to object dispatch. All callers are
passing the IOContext returned by get_data_io_context() for their
ImageCtx anyway, highlighting that the parameter is fictitious.
Only the read method can meaningfully take IOContext.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
584f865ae116185087176715ced014b625f04e82 )
Conflicts:
src/librbd/api/Io.cc [ commit
37057ba2f6bb ("librbd: pass
image_extents to create_{discard,write_same}()") and ImageArea
support not in quincy ]
src/librbd/cache/ImageWriteback.cc [ ditto ]
src/librbd/io/ImageDispatchSpec.h [ ditto ]
src/librbd/crypto/luks/FormatRequest.cc [ ImageArea support not
in quincy ]
src/test/librbd/io/test_mock_ImageRequest.cc [ ditto ]
src/test/librbd/journal/test_mock_Replay.cc [ ditto ]
src/librbd/crypto/luks/FlattenRequest.cc [ commit
84601d68a74f
("librbd/crypto: add format-specific flattening operation")
not in quincy ]
Ilya Dryomov [Mon, 12 Jun 2023 19:45:03 +0000 (21:45 +0200)]
librbd: use an up-to-date snap context when owning the exclusive lock
By effectively moving capturing of the snap context to the API layer,
commit
1d0a3b17f590 ("librbd: pass IOContext to image-extent IO
dispatch methods") introduced a nasty regression. The snap context can
be captured only after exclusive lock is safely held for the duration
of dealing with the image request and even then must be refreshed if
a snapshot creation request is accepted from a peer. This is needed to
ensure correctness of the object map in general and fast-diff states in
particular (OBJECT_EXISTS vs OBJECT_EXISTS_CLEAN) and object deltas
computed based off of them. Otherwise the object map that is forked
for the snapshot isn't guaranteed to accurately reflect the contents of
the snapshot when the snapshot is taken under I/O (as in disabling the
object map may lead to different results being returned for reads).
The regression affects mainly differential backup and snapshot-based
mirroring use cases with object-map and/or fast-diff enabled: since
some object deltas may be incomplete, the destination image may get
corrupted.
This commit represents a reasonable minimal fix: IOContext passed
through to ImageDispatch is effected only for reads and just gets
ignored for writes. The next commit cleans up further by undoing the
passing of IOContext through the image dispatch layers for writes.
Fixes: https://tracker.ceph.com/issues/61616
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
e4b1e0466354942c935e9eca2ab2858e75049415 )
Conflicts:
src/librbd/io/ImageDispatch.cc [ ImageArea support not in
quincy ]
src/librbd/io/ImageRequest.cc [ ditto ]
src/librbd/io/ImageRequest.h [ ditto ]
src/librbd/journal/Replay.cc [ ditto ]
Ilya Dryomov [Wed, 31 Aug 2022 07:22:05 +0000 (09:22 +0200)]
test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore
See https://github.com/ceph/ceph-iscsi/pull/263 and
https://github.com/pallets/flask/pull/2193. Flask stopped
pretty-printing by default in 1.0:
Change the default for JSONIFY_PRETTYPRINT_REGULAR to False.
json.jsonify returns a compact format by default, and an indented
format in debug mode.
Fixes: https://tracker.ceph.com/issues/57343
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
1cec9e83c02c366b5274739ae11297b6fca8584f )
Anthony D'Atri [Sat, 1 Jul 2023 11:46:24 +0000 (07:46 -0400)]
Merge pull request #52279 from zdover23/wip-doc-2023-07-01-backport-52277-to-quincy
quincy: doc/radosgw: s/s3select/S3 Select/
Zac Dover [Sat, 1 Jul 2023 11:14:30 +0000 (21:14 +1000)]
doc/radosgw: s/s3select/S3 Select/
Correct several misspelling of "S3 Select". Hat tip to Anthony D'Atri,
who caught this in an earlier PR.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
71c327ef4f56a6ec900a8c5ea071aaf8005a60a5 )
zdover23 [Thu, 29 Jun 2023 23:54:15 +0000 (09:54 +1000)]
Merge pull request #52188 from zdover23/wip-doc-2023-06-26-backport-52181-2nd-attempt-to-quincy
quincy: doc/radosgw: remove pipes from s3select.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Anthony D'Atri [Thu, 29 Jun 2023 19:12:11 +0000 (15:12 -0400)]
Merge pull request #52220 from zdover23/wip-doc-2023-06-28-backport-52194-to-quincy
quincy: doc/radosgw: edit "Overview" in s3select.rst
zdover23 [Thu, 29 Jun 2023 18:28:21 +0000 (04:28 +1000)]
Merge pull request #52263 from zdover23/wip-doc-2023-06-30-backport-52250-to-quincy
quincy: doc/radosgw: edit "Basic Workflow" in s3select.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Thu, 29 Jun 2023 08:48:00 +0000 (18:48 +1000)]
doc/radosgw: edit "Basic Workflow" in s3select.rst
Edit the "Basic Workflow" section in doc/radosgw/s3select.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
4d2c09b683421552cfb4df7f467f2d9a6c9c7c26 )
Zac Dover [Mon, 26 Jun 2023 11:45:43 +0000 (21:45 +1000)]
doc/radosgw: edit "Overview" in s3select.rst
Edit the "Overview" section in doc/radosgw/s3select.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e051dd1a753614fc829f2054a69eda185f190db6 )
Yuri Weinstein [Mon, 26 Jun 2023 14:27:42 +0000 (10:27 -0400)]
Merge pull request #52137 from ljflores/wip-61601-quincy
quincy: qa/suites/rados: whitelist POOL_APP_NOT_ENABLED for cls tests
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:27:10 +0000 (10:27 -0400)]
Merge pull request #52134 from rzarzynski/wip-61741-quincy
quincy: mon/MonClient: before complete auth with error, reopen session
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:26:35 +0000 (10:26 -0400)]
Merge pull request #52120 from cbodley/wip-61381-quincy
quincy: Fix FTBFS on gcc 13
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:25:41 +0000 (10:25 -0400)]
Merge pull request #52118 from cbodley/wip-61731-quincy
quincy: librados: aio operate functions can set times
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:24:48 +0000 (10:24 -0400)]
Merge pull request #51801 from NitzanMordhai/wip-61451-quincy
quincy: test: monitor thrasher wait until quorum
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:24:14 +0000 (10:24 -0400)]
Merge pull request #51603 from Svelar/quincy-vstart-mgr-status
quincy: vstart: check mgr status after starting mgr
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Mon, 26 Jun 2023 14:23:11 +0000 (10:23 -0400)]
Merge pull request #51244 from k0ste/wip-59565-quincy
quincy: mgr/telemetry: fixed log exceptions as "exception" instead of "error"
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Ramana Raja [Wed, 14 Jun 2023 21:41:48 +0000 (17:41 -0400)]
mgr/rbd_support: log number of images
... that have one snapshot request pending when the
mirror_snapshot_schedule handler is shutting down.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit
edc3b0e80653c30d0fc318a24673e8a0568912ad )
Ramana Raja [Wed, 14 Jun 2023 20:17:09 +0000 (16:17 -0400)]
mgr/rbd_support: add user-friendly stderr message
... when the rbd_support module is not ready.
Fixes: https://tracker.ceph.com/issues/61688
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit
6351ef5c8e691e359b1bf913dde4dbc8a441be1d )
Zac Dover [Sun, 25 Jun 2023 09:03:07 +0000 (19:03 +1000)]
doc/radosgw: remove pipes from s3select.rst
Remove strange formatting introduced in
61d6813726fc08980903c6a6c50b0a5797ba7193 .
Note to the documentation team: This is not a line-edit. This commit
includes nothing but the removal of pipes added to the left of much of
the text in this file. Several future commits will line-edit this file
and correct its formatting.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a4d302ee1a6e2f71263a898109ebed28e7e8eaca )
zdover23 [Sun, 25 Jun 2023 23:23:17 +0000 (09:23 +1000)]
Merge pull request #52184 from zdover23/wip-doc-2023-06-25-backport-52181-to-quincy
quincy: doc/radosgw: remove pipes from s3select.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sun, 25 Jun 2023 09:03:07 +0000 (19:03 +1000)]
doc/radosgw: remove pipes from s3select.rst
Remove strange formatting introduced in
61d6813726fc08980903c6a6c50b0a5797ba7193 .
Note to the documentation team: This is not a line-edit. This commit
includes nothing but the removal of pipes added to the left of much of
the text in this file. Several future commits will line-edit this file
and correct its formatting.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a4d302ee1a6e2f71263a898109ebed28e7e8eaca )
Anthony D'Atri [Sat, 24 Jun 2023 14:06:00 +0000 (10:06 -0400)]
Merge pull request #52180 from zdover23/wip-doc-2023-06-24-backport-52167-to-quincy
quincy: doc/rados: edit crush-map-edits.rst (1 of x)
Zac Dover [Fri, 23 Jun 2023 00:59:10 +0000 (10:59 +1000)]
doc/rados: edit crush-map-edits.rst (1 of x)
Edit doc/rados/operations/crush-map-edits.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
f447c290a877c84cb14f0141ff5330f7147b2f6a )
Nizamudeen A [Fri, 23 Jun 2023 05:46:22 +0000 (11:16 +0530)]
Merge pull request #51809 from rhcs-dashboard/wip-61485-quincy
quincy: mgr/dashboard: fix issues with read-only user on landing page
Reviewed-by: Nizamudeen A <nia@redhat.com>
zdover23 [Fri, 23 Jun 2023 03:26:43 +0000 (13:26 +1000)]
Merge pull request #52169 from zdover23/wip-doc-2023-06-23-backport-45746-to-quincy
doc,test: clean up crush rule min/max_size leftovers
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Ilya Dryomov [Mon, 28 Mar 2022 18:35:35 +0000 (20:35 +0200)]
doc,test: clean up crush rule min/max_size leftovers
These fields were removed in quincy in commit
f95eb04411cd ("crush:
eliminate min_size and max_size").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
1ab943cabb7677f9465e92a00a84d2bfca60beb7 )
Casey Bodley [Tue, 23 May 2023 17:53:32 +0000 (13:53 -0400)]
test/librados: test ability to set mtimes with aio_operate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
ec2923453766ddfee2b3dd330610179022b7d3cb )
Conflicts:
src/test/librados/aio.cc:
removed test case for rados_aio_write_op_operate2()
which wasn't backported
test case for rados_aio_write_op_operate() uses rados_stat()
instead of rados_stat2() which doesn't exist on quincy
Anthony D'Atri [Thu, 22 Jun 2023 12:29:27 +0000 (08:29 -0400)]
Merge pull request #52153 from zdover23/wip-doc-2023-06-22-backport-52123-to-quincy
quincy: doc/rados: edit control.rst (1 of x)
Zac Dover [Tue, 20 Jun 2023 02:12:44 +0000 (12:12 +1000)]
doc/rados: edit control.rst (1 of x)
Edit doc/rados/operations/control.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d14b828a1ac2f82525dce2cc0524ad83d2cdc80d )
Anthony D'Atri [Tue, 20 Jun 2023 23:04:36 +0000 (19:04 -0400)]
Merge pull request #52140 from zdover23/wip-doc-2023-06-21-backport-52104-to-quincy
quincy: doc/rados/operations: Improve formatting in crush-map.rst
Anthony D'Atri [Tue, 20 Jun 2023 23:02:49 +0000 (19:02 -0400)]
Merge pull request #52142 from zdover23/wip-doc-2023-06-21-backport-52105-to-quincy
quincy: doc/mgr/dashboard: fix a typo
gsantella [Sat, 17 Jun 2023 13:49:15 +0000 (09:49 -0400)]
doc/mgr/dashboard: fix a typo
Signed-off-by: Guido Santella <gsantella@southhills.edu>
(cherry picked from commit
d64c52150c48c993a214bb80b3802652d0685174 )
Anthony D'Atri [Sat, 17 Jun 2023 10:37:58 +0000 (06:37 -0400)]
doc/rados/operations: Improve formatting in crush-map.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
540d6ce3ee014a6ad1560e628c8d04e694a0c599 )
Laura Flores [Tue, 20 Jun 2023 17:25:59 +0000 (12:25 -0500)]
Merge pull request #52016 from ljflores/wip-61606-quincy
quincy: qa/suites/rados: remove rook coverage from the rados suite
Laura Flores [Mon, 5 Jun 2023 20:35:54 +0000 (15:35 -0500)]
qa/suites/rados: whitelist POOL_APP_NOT_ENABLED for rados cls tests
Fixes: https://tracker.ceph.com/issues/59192
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit
66a6e7fdebe294f233bf34d5c833742bf15c9f03 )
Nitzan Mordechai [Wed, 10 May 2023 09:42:07 +0000 (09:42 +0000)]
mon/MonClient: before complete auth with error, reopen session
When monClient try to authenticate and fail with -EAGAIN there is
a possibility that we no longer hunting and not have active_con.
that will result of disconnecting the monClient and ticks will continue
without having open session.
the solution is to check at the end of auth, that we don't have -EAGAIN
error, and if we do, reopen the session and on the next tick try auth again
Fixes: https://tracker.ceph.com/issues/58379
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit
f8dad00f07f52d58d8ec67083e8bf568deec3277 )
Tim Serong [Wed, 8 Mar 2023 02:53:29 +0000 (13:53 +1100)]
common, librbd, msg, test: fix FTBFS on gcc 13
This is based on 0024-gcc-13.patch from https://tracker.ceph.com/issues/58477
but with an extra #include <cstdint> to avoid dropping std:: prefixes on
integer types.
Fixes: https://tracker.ceph.com/issues/58477
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit
796ce63667b460ba9b8d40891f30e45981ba237a )
Casey Bodley [Tue, 23 May 2023 16:56:34 +0000 (12:56 -0400)]
librados: rados_write_op_operate() uses ObjectOperationImpl for mtime
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
b888821da72de1b02e06693b3e693aab7bc90ad7 )
Casey Bodley [Tue, 23 May 2023 16:56:03 +0000 (12:56 -0400)]
librados: rados_aio_write_op_operate() propagates mtime
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
0bfb144ee64fe9ecd3f27cf94fca832e3ab3b39b )
Casey Bodley [Tue, 23 May 2023 16:31:54 +0000 (12:31 -0400)]
librados: use ObjectOperationImpl for rados_write_op_t
the c++ api uses ObjectOperationImpl to wrap ObjectOperation with
additional storage for an optional mtime. the c api now reuses
ObjectOperationImpl for its write operations only - the mtime isn't
needed for read ops
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
4c8f694741b5d4ba38e934f90e91ff269da96e2a )
Casey Bodley [Mon, 22 May 2023 21:36:43 +0000 (17:36 -0400)]
librados: aio_operate() supports ObjectWriteOperation::mtime2()
copy the optional mtime logic from operate(), so that mtimes set on the
ObjectOperation are propagated through aio_operate() as well
Fixes: https://tracker.ceph.com/issues/61349
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
cdf54ff1ca5ab95ee0559329b0820a1686d21c54 )
Anthony D'Atri [Sat, 17 Jun 2023 10:40:17 +0000 (06:40 -0400)]
Merge pull request #52103 from zdover23/wip-doc-2023-06-17-backport-52100-to-quincy
quincy: doc/rados: edit firefly tunables section
Zac Dover [Sat, 17 Jun 2023 00:51:51 +0000 (10:51 +1000)]
doc/rados: edit firefly tunables section
Edit the firefly tunables section in
/doc/rados/operations/crush-map.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
66eb789d6ce3f38de70e731bcb7d92a307a95181 )
Anthony D'Atri [Fri, 16 Jun 2023 22:51:14 +0000 (18:51 -0400)]
Merge pull request #52099 from zdover23/wip-doc-2023-06-17-backport-52092-to-quincy
quincy: doc/rados: edit crush-map.rst (4 of x)
Zac Dover [Fri, 16 Jun 2023 08:49:09 +0000 (18:49 +1000)]
doc/rados: edit crush-map.rst (4 of x)
Edit doc/rados/operations/crush-map.rst.
This cherry-pick required me to alter a crush rule before I could
resolve a merge conflict.
https://tracker.ceph.com/issues/58485
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
01e4d189e020db2ffbe388b8e5cfe01b060c7543 )
Anthony D'Atri [Fri, 16 Jun 2023 21:27:24 +0000 (17:27 -0400)]
Merge pull request #52094 from zdover23/wip-doc-2023-06-16-backport-52067-to-quincy
quincy: doc/rados: edit crush-map.rst (3 of x)
Zac Dover [Thu, 15 Jun 2023 03:36:45 +0000 (13:36 +1000)]
doc/rados: edit crush-map.rst (3 of x)
Edit doc/rados/operations/crush-map.rst.
https://tracker.ceph.com/issues/58485
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c2b08690173374ade7a476fd0ed9d7ea8bb9a87f )
Sridhar Seshasayee [Fri, 16 Jun 2023 07:44:09 +0000 (13:14 +0530)]
Merge pull request #51978 from sseshasa/wip-61624-quincy
quincy: PendingReleaseNotes: Document mClock scheduler fixes and enhancements
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:32:35 +0000 (16:32 -0400)]
Merge pull request #51689 from vshankar/tr-59726
quincy: mds: allow unlink from lost+found directory
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:31:16 +0000 (16:31 -0400)]
Merge pull request #51688 from vshankar/tr-61233
quincy: mds: rdlock_path_xlock_dentry supports returning auth target inode
Reviewed-by: Milind Changire <mchangir@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:30:43 +0000 (16:30 -0400)]
Merge pull request #51507 from lxbsz/wip-59707
quincy: mds: do not take the ino which has been used
Reviewed-by: Milind Changire <mchangir@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:30:07 +0000 (16:30 -0400)]
Merge pull request #51486 from vshankar/tr-59718
quincy: client: use deep-copy when setting permission during make_request
Reviewed-by: Milind Changire <mchangir@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:29:36 +0000 (16:29 -0400)]
Merge pull request #51354 from joscollin/wip-59483-quincy
quincy: cephfs-top: check the minimum compatible python version
Reviewed-by: Milind Changire <mchangir@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:28:29 +0000 (16:28 -0400)]
Merge pull request #50989 from lxbsz/wip-59266
quincy: client: clear the suid/sgid in fallocate path
Reviewed-by: Milind Changire <mchangir@redhat.com>
Yuri Weinstein [Thu, 15 Jun 2023 20:26:53 +0000 (16:26 -0400)]
Merge pull request #50985 from lxbsz/wip-59385
quincy: mds: wait for unlink operation to finish
Reviewed-by: Milind Changire <mchangir@redhat.com>
Anthony D'Atri [Thu, 15 Jun 2023 14:06:49 +0000 (10:06 -0400)]
Merge pull request #52066 from zdover23/wip-doc-2023-06-15-backport-52040-to-quincy
quincy: doc/rados: fix list in crush-map.rst