]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agomgr/dashboard: disable Promql test in ARM 44163/head
Ernesto Puerta [Wed, 1 Dec 2021 18:51:44 +0000 (19:51 +0100)]
mgr/dashboard: disable Promql test in ARM

Temporarily disable this test while debugging the issue (since https://github.com/ceph/ceph/pull/43669
originally passed the ARM check).

Fixes: https://tracker.ceph.com/issues/53451
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #44009 from cbodley/wip-qa-cls-rgw-gc
Casey Bodley [Mon, 13 Dec 2021 16:18:49 +0000 (11:18 -0500)]
Merge pull request #44009 from cbodley/wip-qa-cls-rgw-gc

qa/rgw: run ceph_test_cls_rgw_gc in rgw/verify suite

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #42905 from sebastian-philipp/service_spec_no_redundant_placement
Sebastian Wagner [Mon, 13 Dec 2021 11:11:09 +0000 (12:11 +0100)]
Merge pull request #42905 from sebastian-philipp/service_spec_no_redundant_placement

python-common: improve OSD spec error messages

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44218 from guits/guits-issue-44356
Guillaume Abrioux [Mon, 13 Dec 2021 08:47:01 +0000 (09:47 +0100)]
Merge pull request #44218 from guits/guits-issue-44356

ceph-volume: fix error 'KeyError' with inventory

3 years agoMerge pull request #44219 from guits/guits-issue-53425
Guillaume Abrioux [Mon, 13 Dec 2021 08:46:44 +0000 (09:46 +0100)]
Merge pull request #44219 from guits/guits-issue-53425

ceph-volume: fix tags dict output in `lvm list`

3 years agoMerge pull request #44281 from athanatos/sjust/wip-53555
Samuel Just [Mon, 13 Dec 2021 08:43:34 +0000 (00:43 -0800)]
Merge pull request #44281 from athanatos/sjust/wip-53555

crimson/os/seastore: index lba pins atomically with addition to cache

Reviewed-by: Xuehan Xu <xuxuehan@360.cn>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #44225 from liewegas/fix-53506
Yuri Weinstein [Fri, 10 Dec 2021 23:35:42 +0000 (15:35 -0800)]
Merge pull request #44225 from liewegas/fix-53506

osd/OSDMapMapping: fix spurious threadpool timeout errors

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
3 years agoMerge pull request #44025 from ljflores/wip-remove-aggregated-perf-data
Yuri Weinstein [Fri, 10 Dec 2021 23:35:09 +0000 (15:35 -0800)]
Merge pull request #44025 from ljflores/wip-remove-aggregated-perf-data

mgr/telemetry: remove aggregated perf metrics from the perf channel

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
3 years agoMerge pull request #43612 from adamemerson/wip-unleveling
Yuri Weinstein [Fri, 10 Dec 2021 23:33:05 +0000 (15:33 -0800)]
Merge pull request #43612 from adamemerson/wip-unleveling

build: Remove LevelDB support

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agocrimson/os/seastore/cache: init extents prior to read 44281/head
Samuel Just [Fri, 10 Dec 2021 22:31:00 +0000 (14:31 -0800)]
crimson/os/seastore/cache: init extents prior to read

Thus should ensure that any captured members of extent_init_func are
still valid at the cost of not being able to access the contents of the
extent at invocation time.  With this, we should be able to rely on any
logical extents/lba extents in the cache having validly initialized lba
pins.

Fixes: https://tracker.ceph.com/issues/53555
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seatore/.../lba_btree: update get_*_node to add_pin without reading node...
Samuel Just [Fri, 10 Dec 2021 22:14:23 +0000 (14:14 -0800)]
crimson/os/seatore/.../lba_btree: update get_*_node to add_pin without reading node contents

This will allow us to do add_pin before we perform the actual extent read.

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore: pass depth/begin/end to get_*_node
Samuel Just [Fri, 10 Dec 2021 21:51:31 +0000 (13:51 -0800)]
crimson/os/seastore: pass depth/begin/end to get_*_node

We'll need this to populate the pin fields prior to read.

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore/transaction_manager: clarify that init lambda only runs on new...
Samuel Just [Fri, 10 Dec 2021 21:42:03 +0000 (21:42 +0000)]
crimson/os/seastore/transaction_manager: clarify that init lambda only runs on new extents

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore/cache: remove unnecessary forward
Samuel Just [Thu, 9 Dec 2021 08:37:24 +0000 (00:37 -0800)]
crimson/os/seastore/cache: remove unnecessary forward

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44262 from cbodley/wip-53325
Casey Bodley [Fri, 10 Dec 2021 16:48:39 +0000 (11:48 -0500)]
Merge pull request #44262 from cbodley/wip-53325

test/rgw: disable cls_rgw_gc test cases with defer_gc()

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #44206 from linuxbox2/wip-rgwlc-9969
Matt Benjamin [Fri, 10 Dec 2021 13:46:09 +0000 (08:46 -0500)]
Merge pull request #44206 from linuxbox2/wip-rgwlc-9969

rgwlc:  remove magic debug blocks for clearing stale lc entries

3 years agoMerge pull request #43991 from rhcs-dashboard/introduce-haroxy-metrics-rgw
Alfonso Martínez [Fri, 10 Dec 2021 07:46:43 +0000 (08:46 +0100)]
Merge pull request #43991 from rhcs-dashboard/introduce-haroxy-metrics-rgw

mgr/dashboard: introduce HAProxy metrics for RGW

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #43258 from soumyakoduri/wip-skoduri-dbstore-mp
Soumya Koduri [Fri, 10 Dec 2021 05:10:55 +0000 (10:40 +0530)]
Merge pull request #43258 from soumyakoduri/wip-skoduri-dbstore-mp

rgw/dbstore: Multipart upload APIs

3 years agoMerge pull request #42104 from linuxbox2/wip-rgwadminops-fsid
Matt Benjamin [Thu, 9 Dec 2021 23:35:03 +0000 (18:35 -0500)]
Merge pull request #42104 from linuxbox2/wip-rgwadminops-fsid

rgw: expose RADOS cluster_fsid via adminops

3 years agorgw:adminops: remove "import json" from radosgw_admin_rest.py 42104/head
Matt Benjamin [Thu, 9 Dec 2021 18:24:52 +0000 (13:24 -0500)]
rgw:adminops: remove "import json" from radosgw_admin_rest.py

This is perhaps erring a bit on the side of cosmetic fixes.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #44220 from vshankar/wip-53487
Yuri Weinstein [Thu, 9 Dec 2021 16:27:09 +0000 (08:27 -0800)]
Merge pull request #44220 from vshankar/wip-53487

qa: exclude `nofallback` mount option when using v1-style syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoqa/rgw: run ceph_test_cls_rgw_gc in rgw/verify suite 44009/head
Casey Bodley [Thu, 18 Nov 2021 17:44:51 +0000 (12:44 -0500)]
qa/rgw: run ceph_test_cls_rgw_gc in rgw/verify suite

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agotest/rgw: disable cls_rgw_gc test cases with defer_gc() 44262/head
Casey Bodley [Thu, 9 Dec 2021 15:58:12 +0000 (10:58 -0500)]
test/rgw: disable cls_rgw_gc test cases with defer_gc()

Fixes: https://tracker.ceph.com/issues/53325
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw:adminops: slightly generalize /info
Matt Benjamin [Tue, 7 Dec 2021 15:53:30 +0000 (10:53 -0500)]
rgw:adminops: slightly generalize /info

Adds a get_name() method to rgw::sal::Store, by which each store
returns its unique name in lowercase.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw:sal: implement (placeholder) get_cluster_fsid in DBStore
Matt Benjamin [Thu, 16 Sep 2021 15:11:16 +0000 (11:11 -0400)]
rgw:sal: implement (placeholder) get_cluster_fsid in DBStore

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw:adminops: add test case for 'info' section
Matt Benjamin [Thu, 16 Sep 2021 13:57:06 +0000 (09:57 -0400)]
rgw:adminops: add test case for 'info' section

Add 'info' section test case to the radosgw_admin_test.py qa
task.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw: introduce new /{admin}/info api resource
Matt Benjamin [Tue, 29 Jun 2021 17:54:35 +0000 (13:54 -0400)]
rgw: introduce new /{admin}/info api resource

The new resource returns an array of informational data, which
currently consists of the RADOS cluster fsid as "cluster_fsid."

Fixes: https://tracker.ceph.com/issues/51432
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgw:sal: expose cluster fsid in RGWStore
Matt Benjamin [Tue, 29 Jun 2021 13:23:40 +0000 (09:23 -0400)]
rgw:sal: expose cluster fsid in RGWStore

Adds a get_cluster_id() method to RGWStore, provided librados
cluster_fsid in the RADOS implementation.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #44001 from votdev/issue_53317_fix_proxy_conf
Alfonso Martínez [Thu, 9 Dec 2021 15:27:03 +0000 (16:27 +0100)]
Merge pull request #44001 from votdev/issue_53317_fix_proxy_conf

mgr/dashboard: API docs UI does not work with Angular dev server

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #44237 from pritha-srivastava/wip-rgw-abort-multipart-bypass-gc
Matt Benjamin [Thu, 9 Dec 2021 15:05:16 +0000 (10:05 -0500)]
Merge pull request #44237 from pritha-srivastava/wip-rgw-abort-multipart-bypass-gc

rgw: deleting objects inline in case bypass_gc is specified

3 years agomgr/dashboard: introduce HAProxy metrics for RGW 43991/head
Avan Thakkar [Wed, 17 Nov 2021 23:26:12 +0000 (04:56 +0530)]
mgr/dashboard: introduce HAProxy metrics for RGW

Fixes: https://tracker.ceph.com/issues/53311
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
3 years agoqa: exclude `nofallback` mount option when using v1-style syntax 44220/head
Venky Shankar [Mon, 6 Dec 2021 05:17:26 +0000 (00:17 -0500)]
qa: exclude `nofallback` mount option when using v1-style syntax

Otherwise, certain upgrade tests fail which install pacific
or earlier releases since the mount helper does not understand
this mount option, thereby passing it to the kernel which would
does not handle this config causing mount to fail in tests.

Note that this mount config is only used during teuthology tests
to catch v2-style syntax implementation bugs in the kernel.

Fixes: http://tracker.ceph.com/issues/53487
Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #44127 from cyx1231st/wip-seastore-merge-journal-headers-2
Samuel Just [Thu, 9 Dec 2021 07:51:30 +0000 (23:51 -0800)]
Merge pull request #44127 from cyx1231st/wip-seastore-merge-journal-headers-2

crimson/os/seastore: make JournalSubmitter aware of header merging

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore/journal: make JournalSubmitter aware of header merging 44127/head
Yingxin Cheng [Mon, 29 Nov 2021 02:17:05 +0000 (10:17 +0800)]
crimson/os/seastore/journal: make JournalSubmitter aware of header merging

Introduce an option seastore_journal_batch_preferred_fullness for
JournalSubmitter to control the preferred fullness to trigger batch
flushes.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: refactor get_encoded_length_after()
Yingxin Cheng [Mon, 29 Nov 2021 02:11:09 +0000 (10:11 +0800)]
crimson/os/seastore: refactor get_encoded_length_after()

To return a more informative record_group_size_t.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: debug print journal write details
Yingxin Cheng [Fri, 26 Nov 2021 05:13:56 +0000 (13:13 +0800)]
crimson/os/seastore: debug print journal write details

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: measure records write in journal
Yingxin Cheng [Thu, 25 Nov 2021 03:06:05 +0000 (11:06 +0800)]
crimson/os/seastore: measure records write in journal

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: fix record metrics in cache
Yingxin Cheng [Thu, 25 Nov 2021 01:23:53 +0000 (09:23 +0800)]
crimson/os/seastore: fix record metrics in cache

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/cache: misc cleanup
Yingxin Cheng [Thu, 9 Dec 2021 03:09:27 +0000 (11:09 +0800)]
crimson/os/seastore/cache: misc cleanup

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: add debug logs to print transaction name
Yingxin Cheng [Mon, 22 Nov 2021 08:55:02 +0000 (16:55 +0800)]
crimson/os/seastore: add debug logs to print transaction name

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: don't print detail if the extent is not ready 44041/head
Yingxin Cheng [Mon, 22 Nov 2021 02:55:22 +0000 (10:55 +0800)]
crimson/os/seastore: don't print detail if the extent is not ready

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: print extent length
Yingxin Cheng [Mon, 22 Nov 2021 02:51:38 +0000 (10:51 +0800)]
crimson/os/seastore: print extent length

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: move implementation to seastore_types.cc
Yingxin Cheng [Mon, 22 Nov 2021 02:50:06 +0000 (10:50 +0800)]
crimson/os/seastore: move implementation to seastore_types.cc

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: merge records metadata if they are grouped
Yingxin Cheng [Fri, 19 Nov 2021 05:17:43 +0000 (13:17 +0800)]
crimson/os/seastore: merge records metadata if they are grouped

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: mark out empty transactions
Yingxin Cheng [Fri, 19 Nov 2021 05:30:06 +0000 (13:30 +0800)]
crimson/os/seastore: mark out empty transactions

TODO: avoid write if the transaction is empty.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: refactor, introduce record_t and record_group_t with sizes
Yingxin Cheng [Fri, 19 Nov 2021 05:17:16 +0000 (13:17 +0800)]
crimson/os/seastore: refactor, introduce record_t and record_group_t with sizes

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: scan records based on record_locator_t
Yingxin Cheng [Tue, 16 Nov 2021 08:47:12 +0000 (16:47 +0800)]
crimson/os/seastore: scan records based on record_locator_t

Record may not have its own base if headers are merged.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: add more checks when read record_header_t
Yingxin Cheng [Tue, 16 Nov 2021 08:15:42 +0000 (16:15 +0800)]
crimson/os/seastore: add more checks when read record_header_t

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: misc cleanup and reformat
Yingxin Cheng [Tue, 16 Nov 2021 06:23:15 +0000 (14:23 +0800)]
crimson/os/seastore: misc cleanup and reformat

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: add logs in ExtentReader
Yingxin Cheng [Tue, 16 Nov 2021 02:14:05 +0000 (10:14 +0800)]
crimson/os/seastore: add logs in ExtentReader

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #43919 from ronen-fr/wip-rf-test-nodeep
Yuri Weinstein [Wed, 8 Dec 2021 21:04:57 +0000 (13:04 -0800)]
Merge pull request #43919 from ronen-fr/wip-rf-test-nodeep

osd/scrub (& qa/standalone): test for scrub behavior when no-scrub is set but no-deep-scrub is not

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
3 years agoMerge pull request #43305 from heylinn/ceph_rundir_sysvinit
Yuri Weinstein [Wed, 8 Dec 2021 21:04:14 +0000 (13:04 -0800)]
Merge pull request #43305 from heylinn/ceph_rundir_sysvinit

init-ceph: create /var/run/ceph for sysvinit

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #44090 from sseshasa/wip-fix-require-osd-release
Yuri Weinstein [Wed, 8 Dec 2021 21:02:50 +0000 (13:02 -0800)]
Merge pull request #44090 from sseshasa/wip-fix-require-osd-release

osd/OSDMap: Add health warning if 'require-osd-release' != current release

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #44244 from cyx1231st/wip-seastore-refine-metrics
Samuel Just [Wed, 8 Dec 2021 20:02:45 +0000 (12:02 -0800)]
Merge pull request #44244 from cyx1231st/wip-seastore-refine-metrics

crimson/os/seastore: refine transaction metrics

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44242 from liu-chunmei/crimson-fix-heartbeat-addrs
Samuel Just [Wed, 8 Dec 2021 20:02:04 +0000 (12:02 -0800)]
Merge pull request #44242 from liu-chunmei/crimson-fix-heartbeat-addrs

crimson/osd: fix heartbeat front and back blank ip

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44098 from ifed01/wip-ifed-dump-alloc-unit
Igor Fedotov [Wed, 8 Dec 2021 19:21:40 +0000 (22:21 +0300)]
Merge pull request #44098 from ifed01/wip-ifed-dump-alloc-unit

os/bluestore: dump bluestore/bluefs alloc unit sizes with perf dump

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #43840 from ifed01/wip-ifed-verbose-open-col
Igor Fedotov [Wed, 8 Dec 2021 19:19:22 +0000 (22:19 +0300)]
Merge pull request #43840 from ifed01/wip-ifed-verbose-open-col

osd,bluestore: gracefully handle a failure during meta collection load

Reviewed-by: jdurgin@redhat.com
Reviewed-by: nojha@redhat.com
3 years agoMerge pull request #39691 from aclamk/wip-bs-compression-blob-64k
Igor Fedotov [Wed, 8 Dec 2021 19:17:38 +0000 (22:17 +0300)]
Merge pull request #39691 from aclamk/wip-bs-compression-blob-64k

os/bluestore: Set new compression blob size to 64K

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agoMerge pull request #44213 from zdover23/wip-doc-2021-12-05-hardware-recommendations...
zdover23 [Wed, 8 Dec 2021 19:14:37 +0000 (05:14 +1000)]
Merge pull request #44213 from zdover23/wip-doc-2021-12-05-hardware-recommendations-removing-journal

doc/start: remove journal info from hardware recs

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
3 years agorgw/dbstore: Multipart upload APIs 43258/head
Soumya Koduri [Mon, 22 Nov 2021 16:58:19 +0000 (22:28 +0530)]
rgw/dbstore: Multipart upload APIs

For multipart upload processing, below is the method applied -

MultipartUpload::Init - create head object entry for meta obj (src_obj_name + "." + upload_id)
[ Meta object stores all the parts upload info]

MultipartWriter::process - create all data/tail objects with obj_name same as
meta obj (so that they can all be identified & deleted during abort)

MultipartUpload::Abort - Just delete meta obj .. that will indirectly delete all the uploads
associated with that upload id / meta obj so far.

MultipartUpload::Complete - Create head object of the original object (if not exists).
Rename all data/tail object entries' obj name to orig object name and update metadata of the orig object.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #44232 from Huber-ming/admin_fixlogs
Daniel Gryniewicz [Wed, 8 Dec 2021 16:34:41 +0000 (11:34 -0500)]
Merge pull request #44232 from Huber-ming/admin_fixlogs

radosgw-admin: fix some error logs

3 years agoMerge pull request #43915 from qiuxinyidian/dev-rgw
Daniel Gryniewicz [Wed, 8 Dec 2021 16:22:28 +0000 (11:22 -0500)]
Merge pull request #43915 from qiuxinyidian/dev-rgw

rgw: when radosgw-admin stating user, add user exists judging

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #43834 from Huber-ming/admin_bilog
Daniel Gryniewicz [Wed, 8 Dec 2021 16:19:12 +0000 (11:19 -0500)]
Merge pull request #43834 from Huber-ming/admin_bilog

radosgw-admin: supplement help documents with 'bilog autotrim'

3 years agodoc/start: remove journal info from hardware recs 44213/head
Zac Dover [Sun, 5 Dec 2021 14:44:09 +0000 (00:44 +1000)]
doc/start: remove journal info from hardware recs

This PR removes mentions of journaling from the hardware
recommendations.

Journaling was a FileStore-related practice. BlueStore is
the default backend for Ceph OSDs and has been since
Luminous. The documentation should reflect that.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #44093 from melissa-kun-li/ssh-non-root-user
Sebastian Wagner [Wed, 8 Dec 2021 14:51:36 +0000 (15:51 +0100)]
Merge pull request #44093 from melissa-kun-li/ssh-non-root-user

mgr/cephadm: support bootstrap with non-root ssh-user

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge PR #44162 into master
Sage Weil [Wed, 8 Dec 2021 12:11:53 +0000 (07:11 -0500)]
Merge PR #44162 into master

* refs/pull/44162/head:
mgr: only queue notify events that modules ask for
pybind/mgr: annotate which events modules consume
pybind/mgr: introduce NotifyType enum
mgr: stop issuing events that no modules consume

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge PR #44196 into master
Sage Weil [Wed, 8 Dec 2021 12:10:21 +0000 (07:10 -0500)]
Merge PR #44196 into master

* refs/pull/44196/head:
mon/MgrStatMonitor: do not spam subscribers (mgr) with service_map

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge PR #44207 into master
Sage Weil [Wed, 8 Dec 2021 12:10:08 +0000 (07:10 -0500)]
Merge PR #44207 into master

* refs/pull/44207/head:
mgr/ActivePyModule: avoid with_gil where possible
mgr/ActivePyModules: push without_gil_t down into blocks

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #43542 from rzarzynski/wip-crimson-net-ms_learn_from_peer
Radoslaw Zarzynski [Wed, 8 Dec 2021 10:24:24 +0000 (11:24 +0100)]
Merge pull request #43542 from rzarzynski/wip-crimson-net-ms_learn_from_peer

crimson/net: add support for ms_learn_addr_from_peer.

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #44104 from guits/guits-cephadm-skip-cv-restorecon
Sebastian Wagner [Wed, 8 Dec 2021 09:25:49 +0000 (10:25 +0100)]
Merge pull request #44104 from guits/guits-cephadm-skip-cv-restorecon

cephadm: pass `CEPH_VOLUME_SKIP_RESTORECON=yes`

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44239 from guits/guits-add-skip-needs-root
Sébastien Han [Wed, 8 Dec 2021 08:56:49 +0000 (09:56 +0100)]
Merge pull request #44239 from guits/guits-add-skip-needs-root

ceph-volume: make it possible to skip needs_root()

3 years agoMerge pull request #44245 from tchaikov/wip-crimson-seastar
Kefu Chai [Wed, 8 Dec 2021 08:50:20 +0000 (16:50 +0800)]
Merge pull request #44245 from tchaikov/wip-crimson-seastar

seastar: pick up change to fix FTBFS with old cryptopp

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/net: add support for ms_learn_addr_from_peer. 43542/head
Radoslaw Zarzynski [Thu, 14 Oct 2021 13:55:23 +0000 (13:55 +0000)]
crimson/net: add support for ms_learn_addr_from_peer.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #44179 from athanatos/sjust/wip-pin-race
Samuel Just [Wed, 8 Dec 2021 07:43:17 +0000 (23:43 -0800)]
Merge pull request #44179 from athanatos/sjust/wip-pin-race

crimson/os/seastore: initialize logical pins before exposing to cache

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agocrimson/osd: s/seastar::fprint()/fmt::print()/ 44245/head
Kefu Chai [Wed, 8 Dec 2021 07:30:10 +0000 (15:30 +0800)]
crimson/osd: s/seastar::fprint()/fmt::print()/

otherwise, we'd have warnings like:

./src/crimson/osd/main.cc:106:16: error: 'fprint<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' is deprecated: use std::format_to() or fmt::print() [-Werror,-Wdeprecated-declarations]
      seastar::fprint(std::cerr, "already have key in keyring: %s\n", path);
               ^

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoseastar: pick up change to fix FTBFS with old cryptopp
Kefu Chai [Wed, 8 Dec 2021 06:03:41 +0000 (14:03 +0800)]
seastar: pick up change to fix FTBFS with old cryptopp

Signed-off-by: Kefu Chai <kefu@xsky.com>
3 years agoMerge pull request #44186 from qiuxinyidian/rgw-de
Yuval Lifshitz [Wed, 8 Dec 2021 06:05:32 +0000 (08:05 +0200)]
Merge pull request #44186 from qiuxinyidian/rgw-de

rgw: add object null point judging when listing pubsub  topics

3 years agocrimson/os/seastore: measure the number of conflicting transactions by srcs 44244/head
Yingxin Cheng [Tue, 7 Dec 2021 08:48:03 +0000 (16:48 +0800)]
crimson/os/seastore: measure the number of conflicting transactions by srcs

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: differentiate cleaner trim/reclaim transactions
Yingxin Cheng [Mon, 6 Dec 2021 08:33:47 +0000 (16:33 +0800)]
crimson/os/seastore: differentiate cleaner trim/reclaim transactions

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/osd: fix heartbeat front and back blank ip 44242/head
chunmei-liu [Tue, 7 Dec 2021 23:31:24 +0000 (15:31 -0800)]
crimson/osd: fix heartbeat front and back blank ip

when ceph.conf not set public ip & cluster ip, heartbeat will get blank ip address. when osd::_send_boot , classic osd will check if heartbeat front and back addrs are blank ip, if they are blank ip, will use public ip which is learned from mon to set into them. So implement them in crimson osd.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #44147 from rzarzynski/wip-crimson-new-seastar
Kefu Chai [Wed, 8 Dec 2021 00:56:11 +0000 (08:56 +0800)]
Merge pull request #44147 from rzarzynski/wip-crimson-new-seastar

crimson: bump up Seastar to recent master and fix FTBFS

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #44095 from Matan-B/wip-matanb-local-workunits
Neha Ojha [Tue, 7 Dec 2021 21:34:15 +0000 (13:34 -0800)]
Merge pull request #44095 from Matan-B/wip-matanb-local-workunits

doc/dev: Running workunits locally

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #43940 from TRYTOBE8TME/wip-rgw-empty-config
Yuval Lifshitz [Tue, 7 Dec 2021 19:20:33 +0000 (21:20 +0200)]
Merge pull request #43940 from TRYTOBE8TME/wip-rgw-empty-config

src/rgw: Empty configuration support

3 years agoMerge pull request #43665 from zenomri/wip-omri-multipart-trace
Yuval Lifshitz [Tue, 7 Dec 2021 19:19:27 +0000 (21:19 +0200)]
Merge pull request #43665 from zenomri/wip-omri-multipart-trace

rgw/tracer: Multipart upload trace

3 years agoMerge pull request #44156 from rzarzynski/wip-crimson-fix-process_op-sequencing
Samuel Just [Tue, 7 Dec 2021 15:53:21 +0000 (07:53 -0800)]
Merge pull request #44156 from rzarzynski/wip-crimson-fix-process_op-sequencing

crimson/osd: fix sequencing issues in ClientRequest::process_op.

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44223 from rzarzynski/wip-crimson-fix-pullinfo-on-push
Samuel Just [Tue, 7 Dec 2021 15:52:41 +0000 (07:52 -0800)]
Merge pull request #44223 from rzarzynski/wip-crimson-fix-pullinfo-on-push

crimson/osd: don't assume a pull must happen if there is no push.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #44224 from rzarzynski/wip-crimson-clean-msghs
Samuel Just [Tue, 7 Dec 2021 15:52:02 +0000 (07:52 -0800)]
Merge pull request #44224 from rzarzynski/wip-crimson-clean-msghs

crimson/osd: clean the recovery message-related header inclusion.

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoceph-volume: fix error 'KeyError' with inventory 44218/head
Guillaume Abrioux [Mon, 6 Dec 2021 09:24:46 +0000 (10:24 +0100)]
ceph-volume: fix error 'KeyError' with inventory

The tag ceph.cluster_name is always set at the end.
The only way it could be absent was if the osd prepare
has been interrupted between [1] and [2].

[1] https://github.com/ceph/ceph/blob/v14.2.11/src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py#L355-L387
[2] https://github.com/ceph/ceph/blob/v14.2.11/src/ceph-volume/ceph_volume/devices/lvm/prepare.py

Although the code received tremendous changes meantime
and this error shouldn't show up again, we need to handle
the case where this tag wouldn't have been set.

Fixes: https://tracker.ceph.com/issues/44356
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44184 from rzarzynski/wip-crimson-internal_client_request-fix...
Samuel Just [Tue, 7 Dec 2021 15:49:08 +0000 (07:49 -0800)]
Merge pull request #44184 from rzarzynski/wip-crimson-internal_client_request-fix-hobj

crimson/osd: fix assertion failure in InternalClientRequest.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoceph-volume: fix tags dict output in `lvm list` 44219/head
Guillaume Abrioux [Mon, 6 Dec 2021 10:12:16 +0000 (11:12 +0100)]
ceph-volume: fix tags dict output in `lvm list`

Default value for `--crush-device-class` is `None`.
When not passing this parameter, ceph-volume sets the
value "None" in the lv tags.
Therefore, ceph-volume will output that value with calling
`ceph-volume lvm list --format json`

For instance:
```
    "1": [
        {
            "devices": [
                "/dev/sdc"
            ],
            "lv_name": "osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f",
            "lv_path": "/dev/ceph-aeb16fc3-9ac2-4126-ab66-bf920d101ea4/osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f",
            "lv_size": "49.00g",
            "lv_tags": "ceph.block_device=/dev/ceph-aeb16fc3-9ac2-4126-ab66-bf920d101ea4/osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f,ceph.block_uuid=E9hZNU-80Zz-PiER-iWN3-jSIU-krEN-khwU3x,ceph.cephx_lockbox_secret=,ceph.cluster_fsid=40fe4af5-0408-444b-843c-0926d550d1f1,ceph.cluster_name=ceph,ceph.crush_device_class=None,ceph.encrypted=0,ceph.osd_fsid=39680838-19df-4e50-9bb6-46b093d5b52b,ceph.osd_id=1,ceph.type=block,ceph.vdo=0",
            "lv_uuid": "E9hZNU-80Zz-PiER-iWN3-jSIU-krEN-khwU3x",
            "name": "osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f",
            "path": "/dev/ceph-aeb16fc3-9ac2-4126-ab66-bf920d101ea4/osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f",
            "tags": {
                "ceph.block_device": "/dev/ceph-aeb16fc3-9ac2-4126-ab66-bf920d101ea4/osd-data-5a4a34f5-5733-4c69-b439-edb48e31a45f",
                "ceph.block_uuid": "E9hZNU-80Zz-PiER-iWN3-jSIU-krEN-khwU3x",
                "ceph.cephx_lockbox_secret": "",
                "ceph.cluster_fsid": "40fe4af5-0408-444b-843c-0926d550d1f1",
                "ceph.cluster_name": "ceph",
                "ceph.crush_device_class": "None",
```

ceph-volume should print `"ceph.crush_device_class": "",` instead of `"ceph.crush_device_class": "None",`

Fixes: https://tracker.ceph.com/issues/53425
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agorgw: deleting objects inline in case bypass_gc is specified 44237/head
Pritha Srivastava [Tue, 7 Dec 2021 11:01:25 +0000 (16:31 +0530)]
rgw: deleting objects inline in case bypass_gc is specified
for bucket remove command.

fixes: https://tracker.ceph.com/issues/53512

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoceph-volume: make it possible to skip needs_root() 44239/head
Guillaume Abrioux [Tue, 7 Dec 2021 14:18:10 +0000 (15:18 +0100)]
ceph-volume: make it possible to skip needs_root()

Add the possibility to skip the `needs_root()` decorator.
See linked tracker for details.

Fixes: https://tracker.ceph.com/issues/53511
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44145 from rhcs-dashboard/fix-frontend-vulnerabilities
Alfonso Martínez [Tue, 7 Dec 2021 14:02:42 +0000 (15:02 +0100)]
Merge pull request #44145 from rhcs-dashboard/fix-frontend-vulnerabilities

mgr/dashboard: fix frontend deps' vulnerabilities

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agocrimson/osd: fix sequencing issues in ClientRequest::process_op. 44156/head
Radoslaw Zarzynski [Tue, 30 Nov 2021 19:30:32 +0000 (19:30 +0000)]
crimson/osd: fix sequencing issues in ClientRequest::process_op.

The following crash has been observed in one of the runs at Sepia:

```
ceph-osd: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-8898-ge57ad63c/rpm/el8/BUILD/ceph-17.0.0-8898-ge57ad63c/src/crimson/osd/osd_operation_sequencer.h:123: void crimson::osd::OpSequencer::finish_op_in_order(crimson::osd::ClientRequest&): Assertion `op.get_id() > last_completed_id' failed.
Aborting on shard 0.
Backtrace:
Reactor stalled for 1807 ms on shard 0. Backtrace: 0xb14ab 0x46e57428 0x46bc450d 0x46be03bd 0x46be0782 0x46be0946 0x46be0bf6 0x12b1f 0x137341 0x3fdd6a92 0x3fddccdb 0x3fdde1ee 0x3fdde8b3 0x3fdd3f2b 0x3fdd4442 0x3fdd4c3a 0x12b1f 0x3737e 0x21db4 0x21c88 0x2fa75 0x3b769527 0x3b8418af 0x3b8423cb 0x3b842ce0 0x3b84383d 0x3a116220 0x3a143f31 0x3a144bcd 0x46b96271 0x46bde51a 0x46d6891b 0x46d6a8f0 0x4681a7d2 0x4681f03b 0x39fd50f2 0x23492 0x39b7a7dd
 0# gsignal in /lib64/libc.so.6
 1# abort in /lib64/libc.so.6
 2# 0x00007FB9FB946C89 in /lib64/libc.so.6
 3# 0x00007FB9FB954A76 in /lib64/libc.so.6
 4# 0x00005595E98E6528 in ceph-osd
 5# 0x00005595E99BE8B0 in ceph-osd
 6# 0x00005595E99BF3CC in ceph-osd
 7# 0x00005595E99BFCE1 in ceph-osd
 8# 0x00005595E99C083E in ceph-osd
 9# 0x00005595E8293221 in ceph-osd
10# 0x00005595E82C0F32 in ceph-osd
11# 0x00005595E82C1BCE in ceph-osd
12# 0x00005595F4D13272 in ceph-osd
13# 0x00005595F4D5B51B in ceph-osd
14# 0x00005595F4EE591C in ceph-osd
15# 0x00005595F4EE78F1 in ceph-osd
16# 0x00005595F49977D3 in ceph-osd
17# 0x00005595F499C03C in ceph-osd
18# main in ceph-osd
19# __libc_start_main in /lib64/libc.so.6
20# _start in ceph-osd
```

The sequence of events provides at least two clues:
  - the op no. 32 finished before the op no. 29 which was waiting
    for `ObjectContext`,
  - the op no. 29 was a short-living one -- it wasn't waiting even
    on `obc`.

```
rzarzynski@teuthology:/home/teuthworker/archive/rzarzynski-2021-11-22_22:01:32-rados-master-distro-basic-smithi$ less ./6520106/remote/smithi115/log/ceph-osd.3.log.gz
...
DEBUG 2021-11-22 22:32:24,531 [shard 0] osd - client_request(id=29, detail=m=[osd_op(client.4371.0:36 4.d 4.f0fb5e1d (undecoded) ondisk+retry+read+rwordered+known_if_redirected+supports_pool_eio e23) v8]): start
DEBUG 2021-11-22 22:32:24,531 [shard 0] osd - client_request(id=29, detail=m=[osd_op(client.4371.0:36 4.d 4.f0fb5e1d (undecoded) ondisk+retry+read+rwordered+known_if_redirected+supports_pool_eio e23) v8]): in repeat
...
DEBUG 2021-11-22 22:32:24,546 [shard 0] osd - client_request(id=29, detail=m=[osd_op(client.4371.0:36 4.d 4.f0fb5e1d (undecoded) ondisk+retry+read+rwordered+known_if_redirected+supports_pool_eio e23) v8]) same_interval_since: 21
DEBUG 2021-11-22 22:32:24,546 [shard 0] osd - OpSequencer::start_op: op=29, last_started=27, last_unblocked=27, last_completed=27
...
DEBUG 2021-11-22 22:32:24,621 [shard 0] osd - client_request(id=32, detail=m=[osd_op(client.4371.0:49 4.d 4.81addbad (undecoded) ondisk+retry+write+known_if_redirected+supports_pool_eio e23) v8]): start
DEBUG 2021-11-22 22:32:24,621 [shard 0] osd - client_request(id=32, detail=m=[osd_op(client.4371.0:49 4.d 4.81addbad (undecoded) ondisk+retry+write+known_if_redirected+supports_pool_eio e23) v8]): in repeat
...
DEBUG 2021-11-22 22:32:24,626 [shard 0] osd - client_request(id=32, detail=m=[osd_op(client.4371.0:49 4.d 4.81addbad (undecoded) ondisk+retry+write+known_if_redirected+supports_pool_eio e23) v8]) same_interval_s
ince: 21
DEBUG 2021-11-22 22:32:24,626 [shard 0] osd - OpSequencer::start_op: op=32, last_started=29, last_unblocked=29, last_completed=27
<note that op 32 is very short living>
DEBUG 2021-11-22 22:32:24,669 [shard 0] osd - OpSequencer::finish_op_in_order: op=32, last_started=32, last_unblocked=32, last_completed=27
...
DEBUG 2021-11-22 22:32:24,671 [shard 0] osd - client_request(id=32, detail=m=[osd_op(client.4371.0:49 4.d 4:b5dbb581:::smithi11538976-13:head {write 601684~619341 in=619341b, stat} snapc 0={} RETRY=1 ondisk+retry+write+known_if_redirected+supports_pool_eio e23) v8]): destroying
...
DEBUG 2021-11-22 22:32:24,722 [shard 0] osd - client_request(id=29, detail=m=[osd_op(client.4371.0:36 4.d 4:b87adf0f:::smithi11538976-9:head {read 0~1} snapc 0={} RETRY=1 ondisk+retry+read+rwordered+known_if_redirected+supports_pool_eio e23) v8]): got obc lock
...
INFO  2021-11-22 22:32:24,723 [shard 0] osd - client_request(id=29, detail=m=[osd_op(client.4371.0:36 4.d 4:b87adf0f:::smithi11538976-9:head {read 0~1} snapc 0={} RETRY=1 ondisk+retry+read+rwordered+known_if_redirected+supports_pool_eio e23) v8]) obc.get()=0x6190000d5780
...
DEBUG 2021-11-22 22:32:24,753 [shard 0] osd - OpSequencer::finish_op_in_order: op=29, last_started=32, last_unblocked=32, last_completed=32
ceph-osd: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-8898-ge57ad63c/rpm/el8/BUILD/ceph-17.0.0-8898-ge57ad63c/src/crimson/osd/osd_operation_sequencer.h:123: void crimson::osd::OpSequencer::finish_op_in_order(crimson::osd::ClientRequest&): Assertion `op.get_id() > last_completed_id' failed.
Aborting on shard 0.
```

This could be explained in a scenario where:
  - op no. 29 skipped stages of the execution pipeline while
  - it wrongly informed `OpSequencer` the execution was in-order.

Static analysis shows there are multiple problems of this genre
in the `ClientRequest::process_op()` and its callees with the most
recently merged one being the path for `PG::already_complete()`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/os/seastore/lba_manager: initialize lba node pins using get_extent 44179/head
Samuel Just [Thu, 2 Dec 2021 21:45:47 +0000 (21:45 +0000)]
crimson/os/seastore/lba_manager: initialize lba node pins using get_extent

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore: initialize logical pins before exposing to cache
Samuel Just [Thu, 2 Dec 2021 03:25:15 +0000 (19:25 -0800)]
crimson/os/seastore: initialize logical pins before exposing to cache

Otherwise, another task may get a reference to the extent before
we've set the pin.

Fixes: https://tracker.ceph.com/issues/53267
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44231 from xxhdx1985126/wip-cpu-profile
Samuel Just [Tue, 7 Dec 2021 06:21:55 +0000 (22:21 -0800)]
Merge pull request #44231 from xxhdx1985126/wip-cpu-profile

crimson/os/seastore: fix compiler error for gcc > 9 and clang13

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoradosgw-admin: fix some error logs 44232/head
Huber-ming [Tue, 7 Dec 2021 05:59:47 +0000 (13:59 +0800)]
radosgw-admin: fix some error logs

Signed-off-by: Huber-ming <zhangsm01@inspur.com>
3 years agocrimson/os/seastore: fix compiler error for gcc > 9 and clang13 44231/head
Xuehan Xu [Tue, 7 Dec 2021 04:27:14 +0000 (12:27 +0800)]
crimson/os/seastore: fix compiler error for gcc > 9 and clang13

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoosd/OSDMapMapping: fix spurious threadpool timeout errors 44225/head
Sage Weil [Mon, 6 Dec 2021 18:12:50 +0000 (13:12 -0500)]
osd/OSDMapMapping: fix spurious threadpool timeout errors

We were passing a grace of zero seconds to our temporary work queue, which
led to the HeartbeatMap issuing cpu_tp timeout errors to the log.  By using
a non-zero grace period we can avoid these.  Use the same default grace
we use for the workqueue itself when it goes to sleep.

Fixes: https://tracker.ceph.com/issues/53506
Signed-off-by: Sage Weil <sage@newdream.net>