]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/cephadm: update cephadm compatability and stability page 50336/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 #50331 from zdover23/wip-doc-2023-03-02-backport-50316-to-quincy
Anthony D'Atri [Wed, 1 Mar 2023 18:39:12 +0000 (13:39 -0500)]
Merge pull request #50331 from zdover23/wip-doc-2023-03-02-backport-50316-to-quincy

quincy: doc/rgw: improve diagram caption

2 years agodoc/rgw: improve diagram caption 50331/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 #50241 from cbodley/wip-58768
Yuri Weinstein [Wed, 1 Mar 2023 16:02:00 +0000 (08:02 -0800)]
Merge pull request #50241 from cbodley/wip-58768

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

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50240 from cbodley/wip-58772
Yuri Weinstein [Wed, 1 Mar 2023 16:00:11 +0000 (08:00 -0800)]
Merge pull request #50240 from cbodley/wip-58772

quincy: rgw: Fix segfault due to concurrent socket use at timeout

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50239 from cbodley/wip-58770
Yuri Weinstein [Wed, 1 Mar 2023 15:57:21 +0000 (07:57 -0800)]
Merge pull request #50239 from cbodley/wip-58770

quincy: rgw/beast: StreamIO remembers connection errors for graceful shutdown

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49689 from joscollin/wip-58409-quincy
Anthony D'Atri [Tue, 28 Feb 2023 15:14:22 +0000 (10:14 -0500)]
Merge pull request #49689 from joscollin/wip-58409-quincy

quincy: doc: document the relevance of mds_namespace mount option

2 years agoMerge pull request #50304 from idryomov/wip-qa-workunits-windows-ownership-quincy
Ilya Dryomov [Tue, 28 Feb 2023 14:59:21 +0000 (15:59 +0100)]
Merge pull request #50304 from idryomov/wip-qa-workunits-windows-ownership-quincy

quincy: CODEOWNERS: assign qa/workunits/windows to RBD

Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoCODEOWNERS: assign qa/workunits/windows to RBD 50304/head
Ilya Dryomov [Thu, 23 Feb 2023 13:07:46 +0000 (14:07 +0100)]
CODEOWNERS: assign qa/workunits/windows to RBD

Assume ownership of qa/workunits/windows.  Despite the generic name,
currently it has just rbd-wnbd tests.

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

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

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

2 years agoMerge pull request #50231 from rhcs-dashboard/node-14-quincy
Nizamudeen A [Tue, 28 Feb 2023 08:13:29 +0000 (13:43 +0530)]
Merge pull request #50231 from rhcs-dashboard/node-14-quincy

quincy: cmake: bump node version to 14

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agodoc/radosgw: s/zone group/zonegroup/g et alia 50297/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 #50293 from zdover23/wip-doc-2023-02-28-backport-50276-to-quincy
Anthony D'Atri [Tue, 28 Feb 2023 06:03:37 +0000 (01:03 -0500)]
Merge pull request #50293 from zdover23/wip-doc-2023-02-28-backport-50276-to-quincy

quincy: doc/rgw: caption a diagram

2 years agodoc/rgw: caption a diagram 50293/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 #49883 from petrutlucian94/quincy_rbd_wnbd_test
Yuri Weinstein [Mon, 27 Feb 2023 21:50:18 +0000 (13:50 -0800)]
Merge pull request #49883 from petrutlucian94/quincy_rbd_wnbd_test

quincy: qa/workunits/windows: backport rbd-wnbd tests

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50287 from zdover23/wip-doc-2023-02-28-backport-50274-to-quincy
Anthony D'Atri [Mon, 27 Feb 2023 19:45:35 +0000 (14:45 -0500)]
Merge pull request #50287 from zdover23/wip-doc-2023-02-28-backport-50274-to-quincy

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

2 years agoMerge pull request #49856 from adk3798/wip-58447-quincy
Adam King [Mon, 27 Feb 2023 19:30:32 +0000 (14:30 -0500)]
Merge pull request #49856 from adk3798/wip-58447-quincy

quincy: mgr/cephadm: improve offline host handling, mostly around upgrade

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49862 from adk3798/wip-58201-quincy
Adam King [Mon, 27 Feb 2023 19:29:13 +0000 (14:29 -0500)]
Merge pull request #49862 from adk3798/wip-58201-quincy

quincy: mgr/cephadm: specify ports for iscsi

Reviewed-by: Teoman ONAY <tonay@ibm.com>
2 years agoMerge pull request #50277 from zdover23/wip-doc-2023-02-27-backport-50264-to-quincy
zdover23 [Mon, 27 Feb 2023 18:31:07 +0000 (04:31 +1000)]
Merge pull request #50277 from zdover23/wip-doc-2023-02-27-backport-50264-to-quincy

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: remove "tertiary", link to procedure 50287/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 #50271 from zdover23/wip-doc-2023-02-27-backport-50267-to-quincy
Anthony D'Atri [Mon, 27 Feb 2023 13:31:29 +0000 (08:31 -0500)]
Merge pull request #50271 from zdover23/wip-doc-2023-02-27-backport-50267-to-quincy

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

2 years agoMerge pull request #50234 from rhcs-dashboard/wip-58830-quincy
Nizamudeen A [Mon, 27 Feb 2023 12:37:18 +0000 (18:07 +0530)]
Merge pull request #50234 from rhcs-dashboard/wip-58830-quincy

quincy: mgr/dashboard: fix constraints.txt

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agodoc/radosgw: multisite - edit "functional changes" 50277/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 50271/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 agomgr/dashboard: fix constraints.txt again 50234/head
Ernesto Puerta [Thu, 23 Feb 2023 16:22:10 +0000 (17:22 +0100)]
mgr/dashboard: fix constraints.txt again

The previous attempt to fix this issue
(https://github.com/ceph/ceph/pull/50207) was not successful, since the
PIP syntax for compatible versions (~=) behaves differently compared to
other package management tools (e.g.: npm).

In this case, package~=x.y.z equasl to package>=x.y.z;package==x.y.*,
instead of the desired package>=x.y.z;package==x.*.

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

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

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

2 years agodoc/glossary: add "client" to glossary 50262/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 #50258 from zdover23/wip-doc-2023-02-26-backport-50257-to-quincy
zdover23 [Sat, 25 Feb 2023 20:16:23 +0000 (06:16 +1000)]
Merge pull request #50258 from zdover23/wip-doc-2023-02-26-backport-50257-to-quincy

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

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: add "application" to the glossary 50258/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 #48452 from lxbsz/wip-57837
Yuri Weinstein [Sat, 25 Feb 2023 16:44:47 +0000 (08:44 -0800)]
Merge pull request #48452 from lxbsz/wip-57837

quincy: mds: wait unlink to finish to avoid conflict when creating same entries

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agoMerge pull request #50254 from zdover23/wip-doc-2023-02-24-backport-50250-to-quincy
zdover23 [Sat, 25 Feb 2023 10:13:49 +0000 (20:13 +1000)]
Merge pull request #50254 from zdover23/wip-doc-2023-02-24-backport-50250-to-quincy

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

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #50209 from cfsnyder/wip-57965-quincy-backport
Anthony D'Atri [Fri, 24 Feb 2023 16:32:18 +0000 (11:32 -0500)]
Merge pull request #50209 from cfsnyder/wip-57965-quincy-backport

quincy: rgw: add 'inline_data' zone placement info option

2 years agoMerge pull request #50252 from zdover23/wip-doc-2023-02-24-backport-50179-to-quincy
colemitchell [Fri, 24 Feb 2023 16:01:18 +0000 (11:01 -0500)]
Merge pull request #50252 from zdover23/wip-doc-2023-02-24-backport-50179-to-quincy

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

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agorgw: add 'inline_data' zone placement info option 50209/head
Cory Snyder [Wed, 2 Nov 2022 20:06:23 +0000 (20:06 +0000)]
rgw: add 'inline_data' zone placement info option

Adds a new RGW zone placement info option to control whether
an object's first data chunk is placed in the head object.
This allows admins to make a tradeoff between optimizing for
PUT/GET performance vs. DELETE performance for some cluster
configurations.

Fixes: https://tracker.ceph.com/issues/57965
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit 9052ca420f003af4b89b568c50bd5083333d3010)

Conflicts:
src/rgw/rgw_zone.cc
src/rgw/rgw_zone_types.h

Cherry-pick notes:
- Conflicts due to rgw_zone_types.h moving to rgw_zone.h

2 years agodoc/cephadm/host-management: add service spec link 50254/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 agodoc/cephfs: describe conf opt "client quota df" in quota doc 50252/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 agoMerge pull request #50247 from zdover23/wip-doc-2023-02-24-backport-50246-to-quincy
Anthony D'Atri [Fri, 24 Feb 2023 02:53:58 +0000 (21:53 -0500)]
Merge pull request #50247 from zdover23/wip-doc-2023-02-24-backport-50246-to-quincy

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

2 years agodoc/glossary: add AWS/OpenStack bucket info 50247/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 50241/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: Fix segfault due to concurrent socket use at timeout 50240/head
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: StreamIO remembers connection errors for graceful shutdown 50239/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 agoMerge pull request #50184 from cbodley/wip-58118
Yuri Weinstein [Thu, 23 Feb 2023 18:48:12 +0000 (10:48 -0800)]
Merge pull request #50184 from cbodley/wip-58118

quincy: rgw: default-initialize delete_multi_obj_op_meta

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49902 from ifed01/wip-ifed-fix-cls-queue-list-qui
Yuri Weinstein [Thu, 23 Feb 2023 18:47:43 +0000 (10:47 -0800)]
Merge pull request #49902 from ifed01/wip-ifed-fix-cls-queue-list-qui

quincy: cls/queue: use larger read chunks in queue_list_entries

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49840 from k0ste/wip-58554-quincy
Yuri Weinstein [Thu, 23 Feb 2023 18:47:07 +0000 (10:47 -0800)]
Merge pull request #49840 from k0ste/wip-58554-quincy

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

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49794 from dang/wip-58509-quincy
Yuri Weinstein [Thu, 23 Feb 2023 18:46:28 +0000 (10:46 -0800)]
Merge pull request #49794 from dang/wip-58509-quincy

quincy: Fix chown to unlink

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49775 from liangmingyuanneo/wip-rgw-backport-49636-to-quincy
Yuri Weinstein [Thu, 23 Feb 2023 18:45:26 +0000 (10:45 -0800)]
Merge pull request #49775 from liangmingyuanneo/wip-rgw-backport-49636-to-quincy

quincy: rgw: remove guard_reshard in bucket_index_read_olh_log

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49404 from lxbsz/wip-58251
Yuri Weinstein [Thu, 23 Feb 2023 18:22:33 +0000 (10:22 -0800)]
Merge pull request #49404 from lxbsz/wip-58251

quincy: mount: fix mount failure with old kernels

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #49092 from cfsnyder/wip-54496-quincy
Yuri Weinstein [Thu, 23 Feb 2023 18:21:35 +0000 (10:21 -0800)]
Merge pull request #49092 from cfsnyder/wip-54496-quincy

quincy: rgw: prevent spurious/lost notifications in the index completion thread

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49090 from cfsnyder/wip-54157-quincy
Yuri Weinstein [Thu, 23 Feb 2023 18:20:46 +0000 (10:20 -0800)]
Merge pull request #49090 from cfsnyder/wip-54157-quincy

quincy: rgw: "reshard cancel" errors with "invalid argument"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #48845 from nkshirsagar/wip-58006-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:33:37 +0000 (08:33 -0800)]
Merge pull request #48845 from nkshirsagar/wip-58006-quincy

quincy: mon: bail from handle_command() if _generate_command_map() fails

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #49967 from vshankar/tr-57729
Yuri Weinstein [Thu, 23 Feb 2023 16:32:52 +0000 (08:32 -0800)]
Merge pull request #49967 from vshankar/tr-57729

quincy: pybind/mgr: check for empty metadata mgr_module:get_metadata()

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agoMerge pull request #49831 from tserong/wip-58534-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:32:15 +0000 (08:32 -0800)]
Merge pull request #49831 from tserong/wip-58534-quincy

quincy: ceph.spec.in: Replace %usrmerged macro with regular version check

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #48719 from idryomov/gcc-13-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:30:58 +0000 (08:30 -0800)]
Merge pull request #48719 from idryomov/gcc-13-quincy

quincy: common: fix build with GCC 13 (missing <cstdint> include)

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #48222 from mchangir/wip-55749-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:30:27 +0000 (08:30 -0800)]
Merge pull request #48222 from mchangir/wip-55749-quincy

quincy: mgr/snap_schedule: remove subvol interface

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agoMerge pull request #48028 from tserong/wip-57391-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:29:35 +0000 (08:29 -0800)]
Merge pull request #48028 from tserong/wip-57391-quincy

quincy: ceph-dencoder: Add erasure_code to denc-mod-osd's target_link_libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
2 years agoMerge pull request #48466 from neesingh-rh/wip-57849-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:22:49 +0000 (08:22 -0800)]
Merge pull request #48466 from neesingh-rh/wip-57849-quincy

quincy: mgr/volumes: Add human-readable flag to volume info command

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #48252 from dparmar18/wip-57666-quincy
Yuri Weinstein [Thu, 23 Feb 2023 16:19:52 +0000 (08:19 -0800)]
Merge pull request #48252 from dparmar18/wip-57666-quincy

quincy: mds/Server: Do not abort MDS on unknown messages

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agomgr/dashboard: fix constraints.txt
Ernesto Puerta [Wed, 22 Feb 2023 10:31:47 +0000 (11:31 +0100)]
mgr/dashboard: fix constraints.txt

Replaces strict version matching with compatible version syntax.

Reference: https://peps.python.org/pep-0440/#version-specifiers

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

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

quincy: doc/glossary: add "Bucket"

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

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoquincy: qa/workunits/windows: backport rbd-wnbd tests 49883/head
Lucian Petrut [Thu, 26 Jan 2023 07:39:11 +0000 (09:39 +0200)]
quincy: qa/workunits/windows: backport rbd-wnbd tests

The quincy branch doesn't currently include the rbd-wnbd python
tests. For this reason, the ceph-build scripts are fetching a
certain version from the main branch and then run each test
individually [1].

One issue is that the fio test is failing on quincy and we aren't
getting any information. It seemed to be a time out, but it still
fails even after the timeout was increased.

By backporting the tests to quincy, the tests will be invoked
through the "run-tests.ps1" script, hopefully receiving more
information.

Note that we're skipping the live resize test since this feature
isn't available in Quincy.

This will also allow us to simplify the ceph-build script.

[1] https://github.com/ceph/ceph-build/blob/b5adddec2cb03059d0bc0b5d4ffa7aac7a248fc0/scripts/ceph-windows/run_tests#L70-L85

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agocmake: bump node version to 14 50231/head
Nizamudeen A [Wed, 19 Oct 2022 08:04:58 +0000 (13:34 +0530)]
cmake: bump node version to 14

to update the angular to 13, we need a node version of either 12.20.x or
14.15.x or 16.10.x. But inorder to not break the angular 12 run for now
   we  need to choose the node which works for both 12 and 13. which is
14.15.x. So I went with that node version here.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 5f95db33e912ca2b4a8a9d265d8cb537a6ceab03)
(cherry picked from commit 34dc871be599a44eb813b10fb49cf89a64a996c1)

2 years agodoc: preen cephadm/troubleshooting.rst and radosgw/placement.rst 50228/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 #50222 from zdover23/wip-doc-2023-02-23-backport-50220-to-quincy
Anthony D'Atri [Thu, 23 Feb 2023 06:10:07 +0000 (01:10 -0500)]
Merge pull request #50222 from zdover23/wip-doc-2023-02-23-backport-50220-to-quincy

quincy: doc/cephadm/troubleshooting: remove word repeat

2 years agodoc/glossary: add "Bucket" 50224/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 50222/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 #50218 from zdover23/wip-doc-2023-02-23-backport-50213-to-quincy
Anthony D'Atri [Thu, 23 Feb 2023 05:34:33 +0000 (00:34 -0500)]
Merge pull request #50218 from zdover23/wip-doc-2023-02-23-backport-50213-to-quincy

quincy: doc/rados: update OSD_BACKFILLFULL description

2 years agodoc/rados: update OSD_BACKFILLFULL description 50218/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 #50097 from sseshasa/wip-58708-quincy
Yuri Weinstein [Wed, 22 Feb 2023 21:00:27 +0000 (13:00 -0800)]
Merge pull request #50097 from sseshasa/wip-58708-quincy

quincy: osd: Restore defaults of mClock built-in profiles upon modification

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50091 from petrutlucian94/wip-58702-quincy
Yuri Weinstein [Wed, 22 Feb 2023 20:59:46 +0000 (12:59 -0800)]
Merge pull request #50091 from petrutlucian94/wip-58702-quincy

quincy: os/memstore: Fix memory leak

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agorgw: initialize RGWIndexCompletionManager thread after related members 49092/head
Casey Bodley [Mon, 7 Mar 2022 20:10:07 +0000 (15:10 -0500)]
rgw: initialize RGWIndexCompletionManager thread after related members

resolves valgrind issues about RGWIndexCompletionManager::process()
using uninitialized memory

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

2 years agorgw: prevent spurious/lost notifications in the index completion thread
Yuval Lifshitz [Wed, 23 Feb 2022 15:21:10 +0000 (17:21 +0200)]
rgw: prevent spurious/lost notifications in the index completion thread

this was happening when asyn completions happened during reshard.
more information about testing:
https://gist.github.com/yuvalif/d526c0a3a4c5b245b9e951a6c5a10517

we also add more logs to the completion manager.
should allow finding unhandled completions due to reshards.

Fixes: https://tracker.ceph.com/issues/54435
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit e72b6510a402cbafa6c99475626f15d97fd00f86)

Conflicts:
- src/rgw/rgw_rados.cc

Cherry-pick notes:
- Conflicts within RGWIndexCompletionThread methods, which were removed by this commit

2 years agoMerge pull request #48312 from k0ste/wip-57196-quincy
Yuri Weinstein [Wed, 22 Feb 2023 17:24:30 +0000 (09:24 -0800)]
Merge pull request #48312 from k0ste/wip-57196-quincy

quincy: rgw: x-amz-date change breaks certain cases of aws sig v4.

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #49096 from cfsnyder/wip-57237-quincy
Yuri Weinstein [Wed, 22 Feb 2023 15:37:18 +0000 (07:37 -0800)]
Merge pull request #49096 from cfsnyder/wip-57237-quincy

quincy: rgw/coroutine: check for null stack on wakeup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49094 from cfsnyder/wip-55227-quincy
Yuri Weinstein [Wed, 22 Feb 2023 15:36:31 +0000 (07:36 -0800)]
Merge pull request #49094 from cfsnyder/wip-55227-quincy

quincy: rgw: adding BUCKET_REWRITE and OBJECT_REWRITE OPS to

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49088 from cfsnyder/wip-55506-quincy
Yuri Weinstein [Wed, 22 Feb 2023 15:32:41 +0000 (07:32 -0800)]
Merge pull request #49088 from cfsnyder/wip-55506-quincy

quincy: rgw: RGWPutLC does not require Content-MD5

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50204 from zdover23/wip-doc-2023-02-22-backport-50203-to-quincy
Anthony D'Atri [Wed, 22 Feb 2023 04:40:36 +0000 (23:40 -0500)]
Merge pull request #50204 from zdover23/wip-doc-2023-02-22-backport-50203-to-quincy

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

2 years agodoc/rgw: clarify multisite.rst top matter 50204/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 #49085 from cfsnyder/wip-57410-quincy
Yuri Weinstein [Tue, 21 Feb 2023 22:16:21 +0000 (14:16 -0800)]
Merge pull request #49085 from cfsnyder/wip-57410-quincy

quincy: rgw: bucket list operation slow down in special scenario

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #48914 from yuvalif/wip-57561-quincy
Yuri Weinstein [Tue, 21 Feb 2023 22:15:40 +0000 (14:15 -0800)]
Merge pull request #48914 from yuvalif/wip-57561-quincy

quincy: tests: remove pubsub tests from multisite

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #48239 from trociny/wip-56406-quincy
Yuri Weinstein [Tue, 21 Feb 2023 22:13:53 +0000 (14:13 -0800)]
Merge pull request #48239 from trociny/wip-56406-quincy

quincy: rgw: splitting gc chains into smaller parts to prevent

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50002 from smanjara/wip-57702-quincy
Yuri Weinstein [Tue, 21 Feb 2023 22:08:59 +0000 (14:08 -0800)]
Merge pull request #50002 from smanjara/wip-57702-quincy

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

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49828 from ivancich/wip-58543-quincy
Yuri Weinstein [Tue, 21 Feb 2023 22:07:17 +0000 (14:07 -0800)]
Merge pull request #49828 from ivancich/wip-58543-quincy

quincy: rgw: fix the problem of duplicate idx when bi list

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49641 from dang/wip-58388-quincy
Yuri Weinstein [Tue, 21 Feb 2023 16:56:49 +0000 (08:56 -0800)]
Merge pull request #49641 from dang/wip-58388-quincy

quincy: RGW - Make sure PostObj set bucket on s->object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49679 from adamemerson/wip-58402-quincy
Yuri Weinstein [Tue, 21 Feb 2023 16:56:04 +0000 (08:56 -0800)]
Merge pull request #49679 from adamemerson/wip-58402-quincy

rgw: Backport of issue 57562 to Quincy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49525 from dang/wip-58233-quincy
Yuri Weinstein [Tue, 21 Feb 2023 16:55:21 +0000 (08:55 -0800)]
Merge pull request #49525 from dang/wip-58233-quincy

quincy: rgw: Fix truncated ListBuckets response.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #48273 from satoru-takeuchi/wip-57559-quincy
Yuri Weinstein [Tue, 21 Feb 2023 16:50:09 +0000 (08:50 -0800)]
Merge pull request #48273 from satoru-takeuchi/wip-57559-quincy

quincy: rgw: fix data corruption due to network jitter

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #48030 from pritha-srivastava/wip-57364-quincy
Yuri Weinstein [Tue, 21 Feb 2023 16:48:19 +0000 (08:48 -0800)]
Merge pull request #48030 from pritha-srivastava/wip-57364-quincy

quincy: rgw multisite: replicate metadata for iam roles

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 years agoMerge pull request #50189 from zdover23/wip-doc-2023-02-21-backport-50165-to-quincy
zdover23 [Tue, 21 Feb 2023 16:33:05 +0000 (02:33 +1000)]
Merge pull request #50189 from zdover23/wip-doc-2023-02-21-backport-50165-to-quincy

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

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #48325 from kotreshhr/wip-57722-quincy
Jos Collin [Tue, 21 Feb 2023 06:27:55 +0000 (11:57 +0530)]
Merge pull request #48325 from kotreshhr/wip-57722-quincy

quincy: qa: Fix test_subvolume_snapshot_info_if_orphan_clone

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agodoc/rgw: multisite ref. top matter cleanup 50189/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 #50187 from zdover23/wip-doc-2023-02-21-backport-50186-to-quincy
colemitchell [Tue, 21 Feb 2023 04:19:56 +0000 (23:19 -0500)]
Merge pull request #50187 from zdover23/wip-doc-2023-02-21-backport-50186-to-quincy

quincy: 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 50187/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 agodoc/cephfs: remove subvol support from snap-schedule 48222/head
Milind Changire [Tue, 26 Apr 2022 09:46:21 +0000 (15:16 +0530)]
doc/cephfs: remove subvol support from snap-schedule

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit c15b854c0c9656edd5d4fd240c7d90736eca2957)

2 years agoqa: remove spurious argument to snap-schedule status command
Milind Changire [Wed, 4 May 2022 07:23:57 +0000 (12:53 +0530)]
qa: remove spurious argument to snap-schedule status command

Removing the subvol support exposed a spurious argument to the status
command which was assgned to the 'subvol' parameter but was unused in
this command implementation.

The spurious argument is now removed.

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit b814630794abccb31f05e1efcd3b9f3e35cd3bec)

2 years agomgr/snap_schedule: remove subvol interface
Milind Changire [Tue, 26 Apr 2022 09:36:55 +0000 (15:06 +0530)]
mgr/snap_schedule: remove subvol interface

Remove snap-schedule support for subvolumes.

Fixes: https://tracker.ceph.com/issues/55148
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 919c156884587fc87b418c776046c8b6a7efe4ff)

2 years agomgr/snap_schedule: validate fs name argument
Milind Changire [Tue, 26 Apr 2022 03:49:51 +0000 (09:19 +0530)]
mgr/snap_schedule: validate fs name argument

Validate fs name argument for all commands.

Fixes: https://tracker.ceph.com/issues/54560
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 483a97830bd918a2be83021edeedf9f8a2fc54f8)

2 years agorgw: initialize rgw_log_entry::identity_type 50184/head
Casey Bodley [Tue, 29 Nov 2022 15:11:03 +0000 (10:11 -0500)]
rgw: initialize rgw_log_entry::identity_type

uninitialized identity_type field was causing unit test failures from
check-generated.sh:

**** rgw_log_entry test 2 dump_json check failed ****
   ceph-dencoder type rgw_log_entry select_test 2 dump_json > /tmp/typ-AW7AEODB3
   ceph-dencoder type rgw_log_entry select_test 2 encode decode dump_json > /tmp/typ-0NX4cmLHR
21c21
<     "identity_type": 3599295712
---
>     "identity_type": 2072560864

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

2 years agorgw: default-initialize delete_multi_obj_op_meta
Casey Bodley [Tue, 29 Nov 2022 18:30:04 +0000 (13:30 -0500)]
rgw: default-initialize delete_multi_obj_op_meta

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