]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
22 months agorgw: fix/improve test_rgw_versioning.py tests 52538/head
Cory Snyder [Wed, 12 Jul 2023 14:08:07 +0000 (14:08 +0000)]
rgw: fix/improve test_rgw_versioning.py tests

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit aa1f40e80d78ce08a2f51dad6fadf620866d17a3)

2 years agorgw: apply_olh_log should clear_olh before trimming olh log
Cory Snyder [Wed, 14 Jun 2023 14:01:43 +0000 (14:01 +0000)]
rgw: apply_olh_log should clear_olh before trimming olh log

When pending_removal is true and the log is trimmed prior to
clearing olh, it allows for the possibility that the olh is not
cleared (e.g. due to new pending xattrs on the olh obj), but the
olh log entries are removed.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit dfbe4f9cb078bad9a0244ce433a9728f8bd6b912)

Conflicts:
src/rgw/rgw_rados.cc

Cherry-pick notes:
- conflicts due to optional_yield param differences

2 years agorgw: cancel olh modification by removing pending xattrs in set_olh error scenarios
Cory Snyder [Wed, 31 May 2023 18:01:02 +0000 (18:01 +0000)]
rgw: cancel olh modification by removing pending xattrs in set_olh error scenarios

Makes request threads clean up after themselves and remove their pending
xattrs from OLH objects before they return an error from set_olh.

Fixes: https://tracker.ceph.com/issues/59663
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 38133e59d293dc8c16c92666967783d9e08a79cd)

Conflicts:
qa/workunits/rgw/test_rgw_reshard.py
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h

Cherry-pick notes:
- conflicts due to optional_yield param differences
- conflicts in test_rgw_reshard.py due to changes on main

2 years agorgw: extract apply_olh logic for clearing olh to a method
Cory Snyder [Mon, 3 Jul 2023 19:01:47 +0000 (19:01 +0000)]
rgw: extract apply_olh logic for clearing olh to a method

Also clears stale pending entries prior to attempting to
clear OLH index entries and remove the OLH object.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 3437897deaec478f231dcad68b05fa38a7f2cb10)

Conflicts:
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h

Cherry-pick notes:
- Conflicts due to changes to const method params and optional_yield params not present in Quincy

2 years agorgw: is_olh() predicate should use user.rgw.olh.ver xattr
Cory Snyder [Tue, 23 May 2023 09:43:38 +0000 (09:43 +0000)]
rgw: is_olh() predicate should use user.rgw.olh.ver xattr

The predicate which determines whether an object is an OLH object was previously based off of the
user.rgw.olh.info xattr, but this xattr is not set when the OLH object is first created. This
means that in cases where an error prevents that xattr from being set later, the OLH object is
incorrectly interpreted as an empty unversioned object. This change modifies the is_olh function
to use the user.rgw.olh.ver xattr. This xattr is set at the time of OLH creation and therefore
ensures consistency.

Fixes: https://tracker.ceph.com/issues/61359
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 74ab3eb94a4177eacdac4fe48528542ba355ecfe)

2 years agoMerge pull request #52283 from idryomov/wip-57343-quincy
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>
2 years agoMerge pull request #52487 from zdover23/wip-doc-2023-07-17-backport-52483-to-quincy
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

2 years agodoc/mgr/rgw.rst: add missing "ceph" command in cli specification 52487/head
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)

2 years agoMerge pull request #52479 from zdover23/wip-doc-2023-07-17-backport-52476-to-quincy
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>
2 years agodoc/mgr/rgw.rst: multisite typed wrong 52479/head
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)

2 years agoMerge pull request #52471 from zdover23/wip-doc-2023-07-16-backport-52465-to-quincy
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)

2 years agodoc/rados: edit ceph-conf.rst (2 of x) 52471/head
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)

2 years agoMerge pull request #52464 from zdover23/wip-doc-2023-07-15-backport-52356-to-quincy
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

2 years agodoc/cephfs: add note to isolate metadata pool osds 52464/head
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)

2 years agoMerge pull request #52388 from rhcs-dashboard/cleanup-script-quincy
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>
2 years agoMerge pull request #52449 from zdover23/wip-doc-2023-07-14-backport-52423-to-quincy
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

2 years agoMerge pull request #52451 from zdover23/wip-doc-2023-07-14-backport-52402-to-quincy
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)

2 years agodoc/rados: edit add-or-rm-osds (2 of x) 52451/head
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)

2 years agodoc/rados: edit ceph-conf.rst 52449/head
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)

2 years agoMerge pull request #52424 from zdover23/wip-doc-2023-07-13-backport-52419-to-quincy
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

2 years agoMerge pull request #50103 from seanhoughton/wip-55614-quincy
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>
2 years agodocs: fix nfs cluster create syntax 52424/head
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)

2 years agoMerge pull request #52062 from guits/wip-61153-quincy
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)

2 years agomgr/dashboard: move cephadm e2e cleanup to jenkins job config 52388/head
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)

2 years agoMerge pull request #52384 from zdover23/wip-doc-2023-07-11-backport-52366-to-quincy
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)

2 years agodoc/rados: edit add-or-rm-osds (1 of x) 52384/head
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)

2 years agoMerge pull request #52382 from zdover23/wip-doc-2023-07-11-backport-52371-to-quincy
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

2 years agodoc/rados: introduce emdash 52382/head
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)

2 years agoMerge pull request #52368 from zdover23/wip-doc-2023-07-09-backport-52327-to-quincy
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

2 years agodoc: add information on expediting MDS recovery 52368/head
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)

2 years agoMerge pull request #52362 from zdover23/wip-doc-2023-07-08-backport-52360-to-quincy
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

2 years agodoc/radosgw: add Zonegroup policy explanation 52362/head
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)

2 years agoMerge pull request #52349 from zdover23/wip-doc-2023-07-07-backport-52324-to-quincy
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

2 years agoMerge pull request #52332 from rhcs-dashboard/wip-61910-quincy
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
2 years agodoc/radosgw: add Zonegroup purpose 52349/head
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)

2 years agomgr/dashboard: fix a bug where data would plot on the graphs without converting to... 52332/head
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)

2 years agoMerge pull request #52282 from zdover23/wip-doc-2023-07-02-backport-52280-to-quincy
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>
2 years agodoc/radosgw: refine "Zones" in multisite.rst 52282/head
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)

2 years agoMerge pull request #52299 from zdover23/wip-doc-2023-07-04-backport-51422-to-quincy
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>
2 years agodoc/rgw/lua: add info uploading a script in cephadm deployment 52299/head
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)

2 years agoMerge pull request #52312 from zdover23/wip-doc-2023-07-05-backport-52207-to-quincy
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>
2 years agodoc/rados: edit crush-map-edits (2 of x) 52312/head
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)

2 years agoMerge pull request #52310 from zdover23/wip-doc-2023-07-05-backport-52308-to-quincy
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>
2 years agodoc/dev: remove seqdiag assets 52310/head
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)

2 years agotest/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore 52283/head
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)

2 years agoMerge pull request #52279 from zdover23/wip-doc-2023-07-01-backport-52277-to-quincy
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/

2 years agodoc/radosgw: s/s3select/S3 Select/ 52279/head
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)

2 years agoMerge pull request #52188 from zdover23/wip-doc-2023-06-26-backport-52181-2nd-attempt...
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>
2 years agoMerge pull request #52220 from zdover23/wip-doc-2023-06-28-backport-52194-to-quincy
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

2 years agoMerge pull request #52263 from zdover23/wip-doc-2023-06-30-backport-52250-to-quincy
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>
2 years agodoc/radosgw: edit "Basic Workflow" in s3select.rst 52263/head
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)

2 years agodoc/radosgw: edit "Overview" in s3select.rst 52220/head
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)

2 years agoMerge pull request #52137 from ljflores/wip-61601-quincy
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>
2 years agoMerge pull request #52134 from rzarzynski/wip-61741-quincy
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>
2 years agoMerge pull request #52120 from cbodley/wip-61381-quincy
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>
2 years agoMerge pull request #52118 from cbodley/wip-61731-quincy
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>
2 years agoMerge pull request #51801 from NitzanMordhai/wip-61451-quincy
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>
2 years agoMerge pull request #51603 from Svelar/quincy-vstart-mgr-status
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>
2 years agoMerge pull request #51244 from k0ste/wip-59565-quincy
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>
2 years agodoc/radosgw: remove pipes from s3select.rst 52188/head
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)

2 years agoMerge pull request #52184 from zdover23/wip-doc-2023-06-25-backport-52181-to-quincy
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>
2 years agodoc/radosgw: remove pipes from s3select.rst 52184/head
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)

2 years agoMerge pull request #52180 from zdover23/wip-doc-2023-06-24-backport-52167-to-quincy
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)

2 years agodoc/rados: edit crush-map-edits.rst (1 of x) 52180/head
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)

2 years agoMerge pull request #51809 from rhcs-dashboard/wip-61485-quincy
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>
2 years agoMerge pull request #52169 from zdover23/wip-doc-2023-06-23-backport-45746-to-quincy
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>
2 years agodoc,test: clean up crush rule min/max_size leftovers 52169/head
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)

2 years agotest/librados: test ability to set mtimes with aio_operate 52118/head
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

2 years agoMerge pull request #52153 from zdover23/wip-doc-2023-06-22-backport-52123-to-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)

2 years agodoc/rados: edit control.rst (1 of x) 52153/head
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)

2 years agoMerge pull request #52140 from zdover23/wip-doc-2023-06-21-backport-52104-to-quincy
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

2 years agoMerge pull request #52142 from zdover23/wip-doc-2023-06-21-backport-52105-to-quincy
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

2 years agodoc/mgr/dashboard: fix a typo 52142/head
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)

2 years agodoc/rados/operations: Improve formatting in crush-map.rst 52140/head
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)

2 years agoMerge pull request #52016 from ljflores/wip-61606-quincy
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

2 years agoqa/suites/rados: whitelist POOL_APP_NOT_ENABLED for rados cls tests 52137/head
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)

2 years agomon/MonClient: before complete auth with error, reopen session 52134/head
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)

2 years agocommon, librbd, msg, test: fix FTBFS on gcc 13 52120/head
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)

2 years agolibrados: rados_write_op_operate() uses ObjectOperationImpl for mtime
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)

2 years agolibrados: rados_aio_write_op_operate() propagates mtime
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)

2 years agolibrados: use ObjectOperationImpl for rados_write_op_t
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)

2 years agolibrados: aio_operate() supports ObjectWriteOperation::mtime2()
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)

2 years agoMerge pull request #52103 from zdover23/wip-doc-2023-06-17-backport-52100-to-quincy
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

2 years agodoc/rados: edit firefly tunables section 52103/head
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)

2 years agoMerge pull request #52099 from zdover23/wip-doc-2023-06-17-backport-52092-to-quincy
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)

2 years agodoc/rados: edit crush-map.rst (4 of x) 52099/head
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)

2 years agoMerge pull request #52094 from zdover23/wip-doc-2023-06-16-backport-52067-to-quincy
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)

2 years agodoc/rados: edit crush-map.rst (3 of x) 52094/head
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)

2 years agoMerge pull request #51978 from sseshasa/wip-61624-quincy
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>
2 years agoMerge pull request #51689 from vshankar/tr-59726
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>
2 years agoMerge pull request #51688 from vshankar/tr-61233
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>
2 years agoMerge pull request #51507 from lxbsz/wip-59707
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>
2 years agoMerge pull request #51486 from vshankar/tr-59718
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>
2 years agoMerge pull request #51354 from joscollin/wip-59483-quincy
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>
2 years agoMerge pull request #50989 from lxbsz/wip-59266
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>
2 years agoMerge pull request #50985 from lxbsz/wip-59385
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>
2 years agoMerge pull request #52066 from zdover23/wip-doc-2023-06-15-backport-52040-to-quincy
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

2 years agoMerge pull request #52070 from zdover23/wip-doc-2023-06-15-backport-52039-to-quincy
Anthony D'Atri [Thu, 15 Jun 2023 13:37:56 +0000 (09:37 -0400)]
Merge pull request #52070 from zdover23/wip-doc-2023-06-15-backport-52039-to-quincy

quincy: doc/rados: edit crush-map.rst (2 of x)

2 years agodoc/rados: edit crush-map.rst (2 of x) 52070/head
Zac Dover [Tue, 13 Jun 2023 15:41:09 +0000 (01:41 +1000)]
doc/rados: edit crush-map.rst (2 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 77f48d0a88cce844c766c75e330234e0a9169f64)

2 years agodoc/rados: fix list in crush-map.rst 52066/head
Zac Dover [Tue, 13 Jun 2023 16:11:53 +0000 (02:11 +1000)]
doc/rados: fix list in crush-map.rst

Correct the numbering and formatting of an ordered list in
doc/rados/operations/crush-map.rst.

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