]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agoclient: do nothing when get a stale reply 44567/head
Xiubo Li [Thu, 13 Jan 2022 04:03:39 +0000 (12:03 +0800)]
client: do nothing when get a stale reply

In theory when we get a stale reply from incorrect session, that
means it's buggy in MDS. Anyway we should discard it without doing
anything.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #44655 from lxbsz/wip-53741
Venky Shankar [Mon, 13 Jun 2022 08:10:04 +0000 (13:40 +0530)]
Merge pull request #44655 from lxbsz/wip-53741

mds: clear MDCache::rejoin_*_q queues before recovering file inodes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agoMerge pull request #45556 from mchangir/qa-add-subvolume-option-flavors
Venky Shankar [Mon, 13 Jun 2022 06:59:43 +0000 (12:29 +0530)]
Merge pull request #45556 from mchangir/qa-add-subvolume-option-flavors

qa: add subvolume option flavors

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #44347 from kotreshhr/subvolumegroup-quotas
Venky Shankar [Mon, 13 Jun 2022 06:56:59 +0000 (12:26 +0530)]
Merge pull request #44347 from kotreshhr/subvolumegroup-quotas

mgr/volumes: subvolumegroup quotas

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #46332 from lxbsz/qa-snap
Venky Shankar [Mon, 13 Jun 2022 06:55:44 +0000 (12:25 +0530)]
Merge pull request #46332 from lxbsz/qa-snap

qa: enlarge the tag number and test more for the snapshot

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46634 from Huber-ming/pr_target_main
Anthony D'Atri [Mon, 13 Jun 2022 03:47:48 +0000 (20:47 -0700)]
Merge pull request #46634 from Huber-ming/pr_target_main

SubmittingPatches.rst: PRs should target "main"

3 years agoMerge pull request #46583 from zdover23/wip-doc-2022-06-08-intro-hardware-recs-osd...
Anthony D'Atri [Mon, 13 Jun 2022 03:32:05 +0000 (20:32 -0700)]
Merge pull request #46583 from zdover23/wip-doc-2022-06-08-intro-hardware-recs-osd-acro-fix

doc/start: make OSD and MDS structures parallel

3 years agoMerge pull request #46633 from zdover23/wip-doc-2022-06-12-start-intro-crush-para-fix
Anthony D'Atri [Mon, 13 Jun 2022 03:26:02 +0000 (20:26 -0700)]
Merge pull request #46633 from zdover23/wip-doc-2022-06-12-start-intro-crush-para-fix

doc/start: rewrite CRUSH para

3 years agoSubmittingPatches.rst: PRs should target "main" 46634/head
Huber-ming [Mon, 13 Jun 2022 01:36:39 +0000 (09:36 +0800)]
SubmittingPatches.rst: PRs should target "main"

Signed-off-by: Huber-ming <zhangsm01@inspur.com>
3 years agodoc/start: make OSD and MDS structures parallel 46583/head
Zac Dover [Wed, 8 Jun 2022 19:19:16 +0000 (05:19 +1000)]
doc/start: make OSD and MDS structures parallel

This PR makes the "Ceph OSDs" and "MDSs" bullet points
parallel by naming "object storage daemon" before referring
to the (admittedly more common and colloquial, but surely
unknown to people who genuinely require a document called
'Intro') acronym "OSD".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc/start: rewrite CRUSH para 46633/head
Zac Dover [Sun, 12 Jun 2022 23:41:28 +0000 (09:41 +1000)]
doc/start: rewrite CRUSH para

This PR supersedes https://github.com/ceph/ceph/pull/46584
and makes changes suggested by Anthony D'Atri that improve
the coherence and consistency of the paragraph that explains
the basics of the CRUSH algorithm.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #46200 from elacunza/doc-man-ceph-add-enable_stretch_mode
Anthony D'Atri [Sat, 11 Jun 2022 21:02:32 +0000 (14:02 -0700)]
Merge pull request #46200 from elacunza/doc-man-ceph-add-enable_stretch_mode

doc/man/8: Add enable_stretch_mode docs

3 years agoMerge pull request #46462 from Thingee/update-foundation-mems-202205
Anthony D'Atri [Sat, 11 Jun 2022 20:43:48 +0000 (13:43 -0700)]
Merge pull request #46462 from Thingee/update-foundation-mems-202205

doc: Updating Ceph Foundation members for May

3 years agoMerge pull request #46195 from snosratiershad/fix-docs-double-dash-convertion-to...
Anthony D'Atri [Sat, 11 Jun 2022 20:32:15 +0000 (13:32 -0700)]
Merge pull request #46195 from snosratiershad/fix-docs-double-dash-convertion-to-em-dash

doc: Disable double dashes "--" smartquotes conversion to en-dashes

3 years agodoc: Disable double dashes "--" smartquotes conversion to en-dashes 46195/head
Salar Nosrati-Ershad [Sun, 8 May 2022 06:49:06 +0000 (11:19 +0430)]
doc: Disable double dashes "--" smartquotes conversion to en-dashes

3 years agoMerge pull request #46604 from ljflores/wip-librados-test-fix
Laura Flores [Fri, 10 Jun 2022 16:56:19 +0000 (11:56 -0500)]
Merge pull request #46604 from ljflores/wip-librados-test-fix

test/librados: modify LibRadosMiscConnectFailure.ConnectFailure to comply with new seconds unit

3 years agoMerge pull request #46606 from rzarzynski/wip-55982
Yuri Weinstein [Fri, 10 Jun 2022 16:39:24 +0000 (09:39 -0700)]
Merge pull request #46606 from rzarzynski/wip-55982

osd: log the number of 'dups' entries in a PG Log

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46600 from idryomov/wip-pmdk-wno-error
Ilya Dryomov [Fri, 10 Jun 2022 16:28:18 +0000 (18:28 +0200)]
Merge pull request #46600 from idryomov/wip-pmdk-wno-error

cmake: pass -Wno-error when building PMDK

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46617 from yuvalif/wip-yuval-fix-55978
Casey Bodley [Fri, 10 Jun 2022 13:36:38 +0000 (09:36 -0400)]
Merge pull request #46617 from yuvalif/wip-yuval-fix-55978

rgw/lua: pass correct value to "toplevel" param

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44648 from Huber-ming/index_cancel
Casey Bodley [Fri, 10 Jun 2022 13:36:00 +0000 (09:36 -0400)]
Merge pull request #44648 from Huber-ming/index_cancel

rgw: delete redundant brackets

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge PR #46421 into main
Patrick Donnelly [Fri, 10 Jun 2022 00:12:49 +0000 (20:12 -0400)]
Merge PR #46421 into main

* refs/pull/46421/head:
doc/dev: move option -R to a different section of doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
3 years agoosd: log the number of 'dups' entries in a PG Log 46606/head
Radoslaw Zarzynski [Thu, 9 Jun 2022 18:44:10 +0000 (18:44 +0000)]
osd: log the number of 'dups' entries in a PG Log

We really want to have the ability to know how many
entries `PGLog::IndexedLog::dups` has inside.
The current ways are either invasive (stopping an OSD)
or indirect (examination of `dump_mempools`).

The code comes from Nitzan Mordechai (part of
ede37edd79a9d5560dfb417ec176327edfc0e4a3).

Fixes: https://tracker.ceph.com/issues/55982
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agorgw/lua: pass correct value to "toplevel" param 46617/head
yuval Lifshitz [Thu, 9 Jun 2022 19:51:50 +0000 (22:51 +0300)]
rgw/lua: pass correct value to "toplevel" param

Fixes: https://tracker.ceph.com/issues/55978
Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
3 years agotest/librados: modify LibRadosMiscConnectFailure.ConnectFailure to comply with new... 46604/head
Laura Flores [Thu, 9 Jun 2022 18:55:48 +0000 (18:55 +0000)]
test/librados: modify LibRadosMiscConnectFailure.ConnectFailure to comply with new seconds unit

The unit type for `client_mount_timeout` was changed from "float" to "secs" in
983b10506dc8466a0e47ff0d320d480dd09999ec. To make this test comply with the new
seconds unit change, we need to change the value to an integer, as seconds
does not accept float values.

Fixes: https://tracker.ceph.com/issues/55971
Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45806 from hualongfeng/qat_error_fix1
Casey Bodley [Thu, 9 Jun 2022 14:50:24 +0000 (10:50 -0400)]
Merge pull request #45806 from hualongfeng/qat_error_fix1

common/compressor: fix the issue that read more data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agocmake: pass -Wno-error when building PMDK 46600/head
Ilya Dryomov [Thu, 9 Jun 2022 11:42:01 +0000 (13:42 +0200)]
cmake: pass -Wno-error when building PMDK

It's hitting pacific with a nuisance -Werror=array-parameter= const
char * vs const char[37] mismatch.  Follow commit 91a616b26e83 ("cmake:
pass RTE_DEVEL_BUILD=n when building dpdk") and just disable -Werror.

Fixes: https://tracker.ceph.com/issues/55977
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45937 from faithuniterh/adding_go_examples
Yuval Lifshitz [Thu, 9 Jun 2022 07:36:17 +0000 (10:36 +0300)]
Merge pull request #45937 from faithuniterh/adding_go_examples

examples: Add Golang code showing object upload to Ceph RGW bucket

Reviwed-by: anthonyeleven
Reviwed-by: yuvalif
3 years agoMerge pull request #45970 from faithuniterh/adding_java_examples
Yuval Lifshitz [Thu, 9 Jun 2022 07:33:18 +0000 (10:33 +0300)]
Merge pull request #45970 from faithuniterh/adding_java_examples

examples: Add Java code showing object upload to Ceph RGW bucket

Reviewed-by: anthonyeleven
Reviewed-by: yuvalif
3 years agoMerge pull request #46564 from liu-chunmei/crimson-return-direct
Kefu Chai [Thu, 9 Jun 2022 06:08:59 +0000 (14:08 +0800)]
Merge pull request #46564 from liu-chunmei/crimson-return-direct

crimson/osd: return directly when obc not exists.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46585 from ceph/schedule
David Galloway [Wed, 8 Jun 2022 22:19:15 +0000 (18:19 -0400)]
Merge pull request #46585 from ceph/schedule

schedule_subset.sh: Default to ceph.git

3 years agocrimson/osd: return directly when obc not exists. 46564/head
chunmei-liu [Wed, 8 Jun 2022 08:01:43 +0000 (01:01 -0700)]
crimson/osd: return directly when obc not exists.

if goest into do_osd_ops, will set osd_op.rval, but it
is not reuqired in some tests, this follow classic ceph do_op logic.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoexamples: Add Java code showing object upload to Ceph RGW bucket 45970/head
faithuniterh [Wed, 8 Jun 2022 20:21:03 +0000 (23:21 +0300)]
examples: Add Java code showing object upload to Ceph RGW bucket

Signed-off-by: faithuniterh <faithuniterh@tutanota.com>
3 years agoschedule_subset.sh: Default to ceph.git 46585/head
David Galloway [Wed, 8 Jun 2022 20:13:29 +0000 (16:13 -0400)]
schedule_subset.sh: Default to ceph.git

https://github.com/ceph/teuthology/pull/999 never got overridden in ceph.git.  We've been using a years-old checkout of teuthology for the `teuthology` user.

With the master->main change, that checkout needed to go.  Then when trying to schedule new nightlies, teuthology-suite was defaulting to ceph-ci.git which either has very old versions of the release branches (octopus, pacific, etc.) or they don't exist at all.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoexamples: Add Golang code showing object upload to Ceph RGW bucket 45937/head
faithuniterh [Wed, 8 Jun 2022 20:02:15 +0000 (23:02 +0300)]
examples: Add Golang code showing object upload to Ceph RGW bucket

Signed-off-by: faithuniterh <faithuniterh@tutanota.com>
3 years agodoc/dev: move option -R to a different section of doc 46421/head
Rishabh Dave [Mon, 30 May 2022 05:09:42 +0000 (10:39 +0530)]
doc/dev: move option -R to a different section of doc

It's incorrect to pass option "-R fail" to the teuthology-suite command
meant for triggering tests for first time. teuthology-suite command will
fail if "-R" is passed without "-r". Therefore, move this option and its
description from the section meant for triggering tests for first time
to the section dedicated to re-running of tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #46526 from cyx1231st/wip-seastore-fix-cache
Samuel Just [Wed, 8 Jun 2022 19:03:12 +0000 (12:03 -0700)]
Merge pull request #46526 from cyx1231st/wip-seastore-fix-cache

crimson/os/seastore/cache: fix a potential leak when replace placeholder

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #46172 from cbodley/wip-54405
Casey Bodley [Wed, 8 Jun 2022 18:41:20 +0000 (14:41 -0400)]
Merge pull request #46172 from cbodley/wip-54405

rgw: add 'rgw_access' log subsys for frontend http access log

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge PR #46572 into main
Patrick Donnelly [Wed, 8 Jun 2022 18:12:45 +0000 (14:12 -0400)]
Merge PR #46572 into main

* refs/pull/46572/head:
script/ptl-tool: update main branch name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #46330 from adamemerson/wip-openssl3-deprecation-warnings
Casey Bodley [Wed, 8 Jun 2022 15:25:31 +0000 (11:25 -0400)]
Merge pull request #46330 from adamemerson/wip-openssl3-deprecation-warnings

build: Silence deprecation warnings from OpenSSL 3

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoMerge pull request #46238 from Huber-ming/storage_class_in_checkdiskstate
Casey Bodley [Wed, 8 Jun 2022 15:16:02 +0000 (11:16 -0400)]
Merge pull request #46238 from Huber-ming/storage_class_in_checkdiskstate

rgw: check object storage_class when check_disk_state

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44052 from cfsnyder/wip-53367-log-access-key-ops-logs
Casey Bodley [Wed, 8 Jun 2022 15:15:53 +0000 (11:15 -0400)]
Merge pull request #44052 from cfsnyder/wip-53367-log-access-key-ops-logs

rgw: log access key id in ops logs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add 'rgw_access' log subsys for frontend http access log 46172/head
Casey Bodley [Thu, 5 May 2022 15:36:34 +0000 (11:36 -0400)]
rgw: add 'rgw_access' log subsys for frontend http access log

this allows the log level of this http access log to be configured
separately from the 'rgw' subsystem, though the defaults are the same

Fixes: https://tracker.ceph.com/issues/54405
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agocommon: remove log subsys for deprecated 'civetweb'
Casey Bodley [Thu, 5 May 2022 15:31:51 +0000 (11:31 -0400)]
common: remove log subsys for deprecated 'civetweb'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46540 from yaarith/rook-telemetry-release-notes
Neha Ojha [Wed, 8 Jun 2022 14:33:41 +0000 (07:33 -0700)]
Merge pull request #46540 from yaarith/rook-telemetry-release-notes

PendingReleaseNotes: add a note about Rook telemetry

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoscript/ptl-tool: update main branch name 46572/head
Patrick Donnelly [Wed, 8 Jun 2022 14:11:09 +0000 (10:11 -0400)]
script/ptl-tool: update main branch name

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #46482 from ceph/feature-54330-osd-creation-workflow
Ernesto Puerta [Wed, 8 Jun 2022 12:04:48 +0000 (14:04 +0200)]
Merge pull request #46482 from ceph/feature-54330-osd-creation-workflow

mgr/dashboard: Feature 54330 osd creation workflow

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #46458 from yuvalif/wip-yuval-objecter-latency
Yuval Lifshitz [Wed, 8 Jun 2022 07:59:35 +0000 (10:59 +0300)]
Merge pull request #46458 from yuvalif/wip-yuval-objecter-latency

objecter: add op latency stat and in-flight count
Reviwed-by: cbodley, adamemerson
3 years agoMerge pull request #42779 from Matan-B/lua-rgw-map
Yuval Lifshitz [Wed, 8 Jun 2022 05:32:35 +0000 (08:32 +0300)]
Merge pull request #42779 from Matan-B/lua-rgw-map

rgw: Lua scripting global map feature
Reviwed-by: dang, cbodley, yuvalif, anthonyeleven, tchaikov, mattbenjamin, batrick
3 years agoMerge pull request #46514 from adk3798/fqdn-autotune
Adam King [Wed, 8 Jun 2022 00:54:02 +0000 (20:54 -0400)]
Merge pull request #46514 from adk3798/fqdn-autotune

mgr/cephadm: use host shortname for osd memory autotuning

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46517 from guits/cephadm-upgrade-status-is_paused
Adam King [Wed, 8 Jun 2022 00:52:40 +0000 (20:52 -0400)]
Merge pull request #46517 from guits/cephadm-upgrade-status-is_paused

cephadm: add 'is_paused' field in orch status output

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #46539 from adk3798/master-main-cleanup2
Adam King [Wed, 8 Jun 2022 00:51:06 +0000 (20:51 -0400)]
Merge pull request #46539 from adk3798/master-main-cleanup2

mgr/cephadm: some master -> main cleanup

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #44234 from lxbsz/wip-53504
Venky Shankar [Tue, 7 Jun 2022 17:29:09 +0000 (22:59 +0530)]
Merge pull request #44234 from lxbsz/wip-53504

client: always return ESTALE directly in handle_reply

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agoMerge pull request #44247 from neesingh-rh/fix-52982
Venky Shankar [Tue, 7 Jun 2022 17:26:35 +0000 (22:56 +0530)]
Merge pull request #44247 from neesingh-rh/fix-52982

client: Inode::hold_caps_until is time from monotonic clock now.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #46210 from vshankar/wip-54701
Venky Shankar [Tue, 7 Jun 2022 17:20:20 +0000 (22:50 +0530)]
Merge pull request #46210 from vshankar/wip-54701

mds: do not assert early on when issuing client leases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #44335 from SMIL-Infra/export-unlinked-dir
Venky Shankar [Tue, 7 Jun 2022 17:17:36 +0000 (22:47 +0530)]
Merge pull request #44335 from SMIL-Infra/export-unlinked-dir

mds: fix crash when exporting unlinked dir

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #46078 from kotreshhr/fuse-directory-dacs-issue
Venky Shankar [Tue, 7 Jun 2022 17:15:05 +0000 (22:45 +0530)]
Merge pull request #46078 from kotreshhr/fuse-directory-dacs-issue

client/fuse: Fix directory DACs overriding for root

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #46267 from tshacked/fix_24894
Venky Shankar [Tue, 7 Jun 2022 17:14:01 +0000 (22:44 +0530)]
Merge pull request #46267 from tshacked/fix_24894

client: allow overwrites to file with size greater than the max_file_size

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46371 from aliakseimakarau/fs_multifs_fix
Venky Shankar [Tue, 7 Jun 2022 16:38:09 +0000 (22:08 +0530)]
Merge pull request #46371 from aliakseimakarau/fs_multifs_fix

mds/fsmap: proper update of filesystems

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46398 from lxbsz/feature-cleanup
Venky Shankar [Tue, 7 Jun 2022 16:36:24 +0000 (22:06 +0530)]
Merge pull request #46398 from lxbsz/feature-cleanup

mds, client: remove useless feature required code

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #46405 from mgfritch/ceph-backport-fw-slash
Adam King [Tue, 7 Jun 2022 15:27:21 +0000 (11:27 -0400)]
Merge pull request #46405 from mgfritch/ceph-backport-fw-slash

script/ceph-backport.sh: consume excess forward slash chars

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46263 from rhcs-dashboard/rbd-mirroring-snapshot
Ernesto Puerta [Tue, 7 Jun 2022 14:25:57 +0000 (16:25 +0200)]
Merge pull request #46263 from rhcs-dashboard/rbd-mirroring-snapshot

mgr/dashboard: rbd mirroring snapshot support

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoobjecter: add op latency stat and in-flight count 46458/head
yuval Lifshitz [Tue, 31 May 2022 15:40:30 +0000 (18:40 +0300)]
objecter: add op latency stat and in-flight count

this is done in order to better estimate the origin of the end-to-end
operation latency. and see how much of it is due to the objecter and how
much of it is due to the client that uses it (e.g. the RGW)

Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #46261 from dang/wip-dang-zipper-req-id
Daniel Gryniewicz [Tue, 7 Jun 2022 12:44:33 +0000 (08:44 -0400)]
Merge pull request #46261 from dang/wip-dang-zipper-req-id

RGW - Zipper - Provide default get_new_req_id()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46403 from soumyakoduri/wip-skoduri-syncpolicy-crash
Casey Bodley [Tue, 7 Jun 2022 12:28:47 +0000 (08:28 -0400)]
Merge pull request #46403 from soumyakoduri/wip-skoduri-syncpolicy-crash

rgw: Avoid dereferencing nullptr while configuring bucket sync policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge pull request #46479 from rhcs-dashboard/rbd-mirroring-list-primary
Pere Diaz Bou [Tue, 7 Jun 2022 09:32:48 +0000 (11:32 +0200)]
Merge pull request #46479 from rhcs-dashboard/rbd-mirroring-list-primary

mgr/dashboard: add rbd primary info

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #46473 from liu-chunmei/crimson-no-rollback
Liu-Chunmei [Tue, 7 Jun 2022 09:12:18 +0000 (02:12 -0700)]
Merge pull request #46473 from liu-chunmei/crimson-no-rollback

crimson/osd: don't do rollback when object not exists

3 years agoMerge pull request #46045 from idryomov/wip-qa-rwl-on-tmpfs
Ilya Dryomov [Tue, 7 Jun 2022 08:39:31 +0000 (10:39 +0200)]
Merge pull request #46045 from idryomov/wip-qa-rwl-on-tmpfs

qa/suites/rbd: place cache file on tmpfs for xfstests

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #46440 from ronen-fr/wip-rf-scrub-trimisbad
Ronen Friedman [Tue, 7 Jun 2022 08:03:28 +0000 (11:03 +0300)]
Merge pull request #46440 from ronen-fr/wip-rf-scrub-trimisbad

osd/scrub: do not start scrubbing if the PG is snap-trimming

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agocephadm: add 'is_paused' field in orch status output 46517/head
Guillaume Abrioux [Fri, 3 Jun 2022 15:16:54 +0000 (17:16 +0200)]
cephadm: add 'is_paused' field in orch status output

it can be convenient for automation tool if `orch status` output reports
whether the upgrade is currently paused.

Fixes: https://tracker.ceph.com/issues/55843
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #46538 from adamemerson/wip-remove-unbuilt-rgw
Casey Bodley [Mon, 6 Jun 2022 22:22:19 +0000 (18:22 -0400)]
Merge pull request #46538 from adamemerson/wip-remove-unbuilt-rgw

rgw: Remove rgw_json_enc.cc which is not built

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #46396 from xxhdx1985126/wip-backref-buffer-optimization
Samuel Just [Mon, 6 Jun 2022 21:45:35 +0000 (14:45 -0700)]
Merge pull request #46396 from xxhdx1985126/wip-backref-buffer-optimization

crimson/os/seastore/backref: don't merge in-cache backrefs that has already been released

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoPendingReleaseNotes: add a note about Rook telemetry 46540/head
Yaarit Hatuka [Mon, 6 Jun 2022 19:34:19 +0000 (19:34 +0000)]
PendingReleaseNotes: add a note about Rook telemetry

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
3 years agomgr/cephadm: some master -> main cleanup 46539/head
Adam King [Mon, 6 Jun 2022 19:18:08 +0000 (15:18 -0400)]
mgr/cephadm: some master -> main cleanup

Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46537 from cbodley/wip-55901
Casey Bodley [Mon, 6 Jun 2022 18:31:06 +0000 (14:31 -0400)]
Merge pull request #46537 from cbodley/wip-55901

rgw: fix un/signed comparison warnings in rgw_admin.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #46536 from cbodley/wip-55898
Casey Bodley [Mon, 6 Jun 2022 18:07:24 +0000 (14:07 -0400)]
Merge pull request #46536 from cbodley/wip-55898

rgw: fix un/signed comparison warnings in rgw_sync.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agorgw: Remove rgw_json_enc.cc which is not built 46538/head
Adam C. Emerson [Mon, 6 Jun 2022 17:10:51 +0000 (13:10 -0400)]
rgw: Remove rgw_json_enc.cc which is not built

This was removed from the build in a refactor but not removed from the tree.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agorgw: fix un/signed comparison warnings in rgw_admin.cc 46537/head
Casey Bodley [Mon, 6 Jun 2022 17:00:14 +0000 (13:00 -0400)]
rgw: fix un/signed comparison warnings in rgw_admin.cc

Fixes: https://tracker.ceph.com/issues/55901
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agomgr/cephadm: use hostname from crush map for osd memory autotuning 46514/head
Adam King [Fri, 3 Jun 2022 01:32:53 +0000 (21:32 -0400)]
mgr/cephadm: use hostname from crush map for osd memory autotuning

Fixes: https://tracker.ceph.com/issues/55841
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46376 from adk3798/cache-size
Adam King [Mon, 6 Jun 2022 16:50:09 +0000 (12:50 -0400)]
Merge pull request #46376 from adk3798/cache-size

mgr/cephadm: store device info separately from rest of host cache

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46502 from adk3798/default-image-master-main
Adam King [Mon, 6 Jun 2022 16:48:46 +0000 (12:48 -0400)]
Merge pull request #46502 from adk3798/default-image-master-main

cephadm: master -> main updates

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoRGW - Zipper - Provide default get_new_req_id() 46261/head
Daniel Gryniewicz [Thu, 12 May 2022 17:48:44 +0000 (13:48 -0400)]
RGW - Zipper - Provide default get_new_req_id()

Now that RadorStore's get_new_req_id() just returns a random number, use
that as the default implementation for SAL.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
3 years agorgw: fix un/signed comparison warnings in rgw_sync.cc 46536/head
Casey Bodley [Mon, 6 Jun 2022 16:06:19 +0000 (12:06 -0400)]
rgw: fix un/signed comparison warnings in rgw_sync.cc

Fixes: https://tracker.ceph.com/issues/55898
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agomgr/dashboard: snapshot mirroring from dashboard 46263/head
Pere Diaz Bou [Fri, 13 May 2022 15:15:33 +0000 (17:15 +0200)]
mgr/dashboard: snapshot mirroring from dashboard

Enable snapshot mirroring from the Pools -> Image

Also show the mirror-snapshot in the image where snapshot is enabled

When parsing images if an image has the snapshot mode enabled, it will
try to  run commands that don't work with that mode. The solution was
not running those for now and appending the mode in the get call.

Fixes: https://tracker.ceph.com/issues/55648
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
3 years agoMerge pull request #46452 from ceph/fix-codeowners_api-master
Ernesto Puerta [Mon, 6 Jun 2022 15:40:09 +0000 (17:40 +0200)]
Merge pull request #46452 from ceph/fix-codeowners_api-master

codeowners: remove api team

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: nSedrickm <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agomds: do not assert early on when issuing client leases 46210/head
Venky Shankar [Thu, 5 May 2022 09:24:01 +0000 (05:24 -0400)]
mds: do not assert early on when issuing client leases

Move the relevant ceph_assert()'s when the MDS is issuing leases
to clients since clients may not be capable of reading projected
linkages.

Fixes: http://tracker.ceph.com/issues/54701
Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge PR #46516 into main
Patrick Donnelly [Mon, 6 Jun 2022 12:48:39 +0000 (08:48 -0400)]
Merge PR #46516 into main

* refs/pull/46516/head:
doc/dev/developer_guide/testing_integration_tests: document how to test custom kernels

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agorgw: log identity applier metadata in ops logs 44052/head
Cory Snyder [Wed, 1 Jun 2022 09:04:24 +0000 (05:04 -0400)]
rgw: log identity applier metadata in ops logs

As relevant, logs the access key id, subuser, and whether a request was made
via a temp_url in the ops logs for auditing purposes.

Fixes: https://tracker.ceph.com/issues/53367
Signed-off-by: Cory Snyder <csnyder@iland.com>
3 years agodoc: Update quota kclient limitation 44347/head
Kotresh HR [Wed, 1 Jun 2022 17:12:06 +0000 (22:42 +0530)]
doc: Update quota kclient limitation

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add tests which validates quota limitation for subvolumegroup quota
Kotresh HR [Wed, 20 Apr 2022 10:34:39 +0000 (16:04 +0530)]
qa: Add tests which validates quota limitation for subvolumegroup quota

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agodoc: Document subvolumegroup quota commands
Kotresh HR [Tue, 21 Dec 2021 10:38:22 +0000 (16:08 +0530)]
doc: Document subvolumegroup quota commands

Add documentation for subvolume group quota along
with 'subvolumegroup resize' and 'subvolumegroup info'
commands

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add subvolume removal tests when it's group quota exceeds
Kotresh HR [Fri, 8 Apr 2022 18:08:31 +0000 (23:38 +0530)]
qa: Add subvolume removal tests when it's group quota exceeds

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add tests for subvolumegroup idempotence creation
Kotresh HR [Tue, 22 Feb 2022 13:26:40 +0000 (18:56 +0530)]
qa: Add tests for subvolumegroup idempotence creation

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add tests for subvolume removal on group quota set
Kotresh HR [Tue, 22 Feb 2022 13:22:36 +0000 (18:52 +0530)]
qa: Add tests for subvolume removal on group quota set

Validates the subvolume removal is successful if the
corresponding group's quota is set.

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add tests for subvolumegroup resize
Kotresh HR [Tue, 22 Feb 2022 13:07:36 +0000 (18:37 +0530)]
qa: Add tests for subvolumegroup resize

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoqa: Add subvolume group quota tests
Kotresh HR [Thu, 16 Dec 2021 08:13:02 +0000 (13:43 +0530)]
qa: Add subvolume group quota tests

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agomgr/volumes: Disable quota for mgr libcephfs connection
Kotresh HR [Fri, 18 Mar 2022 06:43:53 +0000 (12:13 +0530)]
mgr/volumes: Disable quota for mgr libcephfs connection

This is done to give 'mgr' libcephfs connection right to bypass
quota. The mgr/volumes plugin maintains configuration files
with in the directory where the user has enforced quota. So
when the quota is met, certain mgr/volumes apis don't work as
intended. e.g., When subvolumegroup quota is met, the group's
subvolume removal with '--retain-snapshots' fails.

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agoclient: Makes quota optional
Kotresh HR [Tue, 26 Apr 2022 07:16:45 +0000 (12:46 +0530)]
client: Makes quota optional

Make quota optional. This commit basically reverts the
commit da9f1d829484fe35e6d5839c19afa371e444c194

This is done to give 'mgr' libcephfs connection right to bypass
quota. The mgr/volumes plugin maintains configuration files
with in the directory where the user has enforced quota. So
when the quota is met, certain mgr/volumes apis don't work as
intended. e.g., When subvolumegroup quota is met, the group's
subvolume removal with '--retain-snapshots' fails.

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agomgr/volumes: Add subvolumegroup resize cmd
Kotresh HR [Thu, 14 Apr 2022 06:41:41 +0000 (12:11 +0530)]
mgr/volumes: Add subvolumegroup resize cmd

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agomgr/volumes: Add subvolumegroup info cmd
Kotresh HR [Thu, 16 Dec 2021 08:41:54 +0000 (14:11 +0530)]
mgr/volumes: Add subvolumegroup info cmd

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agomgr/volumes: Support subvolumegroup quota
Kotresh HR [Fri, 18 Mar 2022 07:04:32 +0000 (12:34 +0530)]
mgr/volumes: Support subvolumegroup quota

Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>