]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agoseastore/cbjournal: change comment for block_size
myoungwon oh [Fri, 6 May 2022 06:47:09 +0000 (15:47 +0900)]
seastore/cbjournal: change comment for block_size

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agotest/cbjournal: fix wrong device id
myoungwon oh [Fri, 6 May 2022 06:45:13 +0000 (15:45 +0900)]
test/cbjournal: fix wrong device id

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore/cbjournal: remove used_size in header
myoungwon oh [Fri, 6 May 2022 06:42:39 +0000 (15:42 +0900)]
seastore/cbjournal: remove used_size in header

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore/cbjournal: rename csum to header_checksum and remove csum_type
myoungwon oh [Fri, 6 May 2022 06:02:12 +0000 (15:02 +0900)]
seastore/cbjournal: rename csum to header_checksum and remove csum_type

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore/cbjournal: use cur_segment_seq to track the sequence of written records
myoungwon oh [Fri, 6 May 2022 05:42:23 +0000 (14:42 +0900)]
seastore/cbjournal: use cur_segment_seq to track the sequence of written records

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: use config_t instead of parameter in make_transaction_manager
myoungwon oh [Fri, 6 May 2022 05:13:23 +0000 (14:13 +0900)]
seastore: use config_t instead of parameter in make_transaction_manager

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: make journal_seq_t.cmp compatible with blk_paddr_t
myoungwon oh [Tue, 17 May 2022 05:10:52 +0000 (14:10 +0900)]
seastore: make journal_seq_t.cmp compatible with blk_paddr_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: add disable_trim parameter to segment_cleaner for cbjournal testing
myoungwon oh [Fri, 6 May 2022 04:29:40 +0000 (13:29 +0900)]
seastore: add disable_trim parameter to segment_cleaner for cbjournal testing

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: add add_record_relative to blk_paddr to handle adjust_addrs_from_base correctly
myoungwon oh [Thu, 5 May 2022 11:52:45 +0000 (20:52 +0900)]
seastore: add add_record_relative to blk_paddr to handle adjust_addrs_from_base correctly

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: fix maybe_relarive_to in paddr_t to handle the both addrs transparently
myoungwon oh [Thu, 5 May 2022 11:30:15 +0000 (20:30 +0900)]
seastore: fix maybe_relarive_to in paddr_t to handle the both addrs transparently

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: add maybe_relative_to in blk_paddr_t
myoungwon oh [Thu, 5 May 2022 11:05:29 +0000 (20:05 +0900)]
seastore: add maybe_relative_to in blk_paddr_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: replace set_*_off with add_offset to handle transparently
myoungwon oh [Thu, 5 May 2022 09:18:47 +0000 (18:18 +0900)]
seastore: replace set_*_off with add_offset to handle transparently

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: fix add_relative to work corretly in case of blk addr
myoungwon oh [Thu, 5 May 2022 05:55:32 +0000 (14:55 +0900)]
seastore: fix add_relative to work corretly in case of blk addr

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore/cbjournal: remove last_committed_record_base
myoungwon oh [Thu, 5 May 2022 04:31:53 +0000 (13:31 +0900)]
seastore/cbjournal: remove last_committed_record_base

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: add more explanation regarding how CBJournal works
myoungwon oh [Mon, 25 Apr 2022 06:53:50 +0000 (15:53 +0900)]
seastore: add more explanation regarding how CBJournal works

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: recover header's variable correctly without storing it
myoungwon oh [Mon, 11 Apr 2022 06:24:37 +0000 (15:24 +0900)]
seastore: recover header's variable correctly without storing it

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: read records until find invalid entry and recover variables
myoungwon oh [Mon, 11 Apr 2022 04:49:39 +0000 (13:49 +0900)]
seastore: read records until find invalid entry and recover variables

To do not loss last_committed_record and written_to at shutdown,
this commit update the most recent value correctly during replay.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: rename *_super to *_header and use it as helper functions
myoungwon oh [Sat, 9 Apr 2022 13:32:32 +0000 (22:32 +0900)]
seastore: rename *_super to *_header and use it as helper functions

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: move value initialization to the default constructor
myoungwon oh [Sat, 9 Apr 2022 12:24:49 +0000 (21:24 +0900)]
seastore: move value initialization to the default constructor

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: use const in mkfs()
myoungwon oh [Sat, 9 Apr 2022 11:36:44 +0000 (20:36 +0900)]
seastore: use const in mkfs()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseastore: enable cbjournal when running unittest_transaction_manager
myoungwon oh [Fri, 8 Apr 2022 08:20:02 +0000 (17:20 +0900)]
seastore: enable cbjournal when running unittest_transaction_manager

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agotest: add unit tests for CircularBoundedJournal
myoungwon oh [Wed, 25 Aug 2021 10:24:35 +0000 (19:24 +0900)]
test: add unit tests for CircularBoundedJournal

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoseatore: add CircularBoundedJournal
myoungwon oh [Sun, 15 Aug 2021 12:33:27 +0000 (21:33 +0900)]
seatore: add CircularBoundedJournal

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agoMerge pull request #46151 from cbodley/wip-rgw-derr-config-store
Casey Bodley [Wed, 18 May 2022 20:48:38 +0000 (16:48 -0400)]
Merge pull request #46151 from cbodley/wip-rgw-derr-config-store

rgw: remove cerr config_store from rgw_common.cc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #46148 from smanjara/wip-smanjara-metadata-sync-fix
Casey Bodley [Wed, 18 May 2022 20:47:23 +0000 (16:47 -0400)]
Merge pull request #46148 from smanjara/wip-smanjara-metadata-sync-fix

rgw multisite: complete fix for metadata sync issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46141 from sumedhak27/rgw_rest_bucket/support_max-size_attr
Casey Bodley [Wed, 18 May 2022 20:45:39 +0000 (16:45 -0400)]
Merge pull request #46141 from sumedhak27/rgw_rest_bucket/support_max-size_attr

rgw_rest_bucket: Support max-size attr for SetBucketQuota REST API

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #46232 from cbodley/wip-qa-rgw-sse
Casey Bodley [Wed, 18 May 2022 20:44:28 +0000 (16:44 -0400)]
Merge pull request #46232 from cbodley/wip-qa-rgw-sse

qa/rgw: use 'with-sse-s3' override for s3tests

Reviewed-by: Ali Maredia <amaredia@redhat.com>
3 years agoMerge pull request #46152 from cbodley/wip-55548
Casey Bodley [Wed, 18 May 2022 20:43:57 +0000 (16:43 -0400)]
Merge pull request #46152 from cbodley/wip-55548

radosgw-admin: don't crash on --placement-id without --storage-class

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #46056 from ceph/wip-yuriw-release-16.2.8-master
David Galloway [Wed, 18 May 2022 20:13:44 +0000 (16:13 -0400)]
Merge pull request #46056 from ceph/wip-yuriw-release-16.2.8-master

doc: 16.2.8 Release Notes

3 years agoMerge pull request #46167 from dang/wip-dang-nosuchtagset
Daniel Gryniewicz [Wed, 18 May 2022 18:34:32 +0000 (14:34 -0400)]
Merge pull request #46167 from dang/wip-dang-nosuchtagset

RGW - Fix NoSuchTagSet error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44013 from adk3798/use-old-addr
Adam King [Wed, 18 May 2022 18:01:00 +0000 (14:01 -0400)]
Merge pull request #44013 from adk3798/use-old-addr

mgr/cephadm: re-use old ip when re-adding hosts if necessary

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46088 from pcuzner/cephadm_mpath_support
Adam King [Wed, 18 May 2022 17:59:43 +0000 (13:59 -0400)]
Merge pull request #46088 from pcuzner/cephadm_mpath_support

cephadm: Add support for mpath devices to gather-facts

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46315 from zdover23/wip-doc-2022-05-18-intro-3-to-three
Josh Durgin [Wed, 18 May 2022 17:30:12 +0000 (10:30 -0700)]
Merge pull request #46315 from zdover23/wip-doc-2022-05-18-intro-3-to-three

doc/start: s/3/three/ in intro.rst

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #46306 from rkachach/fix_issue_55638
Adam King [Wed, 18 May 2022 15:51:30 +0000 (11:51 -0400)]
Merge pull request #46306 from rkachach/fix_issue_55638

mgr/cephadm: stripping out / from the end of the url

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46291 from adk3798/move-active-mgr
Adam King [Wed, 18 May 2022 13:19:30 +0000 (09:19 -0400)]
Merge pull request #46291 from adk3798/move-active-mgr

mgr/cephadm: force fail over when we want to remove active mgr

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46303 from rkachach/fix_issue_55641
Adam King [Wed, 18 May 2022 13:05:12 +0000 (09:05 -0400)]
Merge pull request #46303 from rkachach/fix_issue_55641

mgr/cephadm: do not use sudo for root user

Reviewed-by: Adam King <adking@redhat.com>
3 years agodoc/start: s/3/three/ in intro.rst 46315/head
Zac Dover [Wed, 18 May 2022 10:36:53 +0000 (20:36 +1000)]
doc/start: s/3/three/ in intro.rst

I'm changing "3" to "three" for two reasons:

1. It's correct.
2. This allows me to test backports into Octopus, Pacific, and Quincy.
   I am particularly interested to see what happens when I attempt
   the backport into Octopus, because backports into Octopus have
   failed. This will provide me with another unit of data.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #46163 from rkachach/fix_issue_55556
Adam King [Tue, 17 May 2022 21:47:25 +0000 (17:47 -0400)]
Merge pull request #46163 from rkachach/fix_issue_55556

mgr/cephadm: fixing ipv6 handling during bootstrap

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #46202 from rkachach/fix_issue_51257
Adam King [Tue, 17 May 2022 21:45:20 +0000 (17:45 -0400)]
Merge pull request #46202 from rkachach/fix_issue_51257

mgr/cephadm: fixing ipv6/128 and ipv4/32 subnets handling

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #46207 from rkachach/fix_issue_55555
Adam King [Tue, 17 May 2022 21:44:11 +0000 (17:44 -0400)]
Merge pull request #46207 from rkachach/fix_issue_55555

mgr/cephadm: fixing yaml parsing during bootstrap

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46218 from votdev/issue_55595_prometheus_external_url
Adam King [Tue, 17 May 2022 21:15:44 +0000 (17:15 -0400)]
Merge pull request #46218 from votdev/issue_55595_prometheus_external_url

cephadm: prometheus: The generatorURL in alerts is only using hostname

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46222 from adk3798/dont-use-non-cluster-cached-conns
Adam King [Tue, 17 May 2022 21:13:49 +0000 (17:13 -0400)]
Merge pull request #46222 from adk3798/dont-use-non-cluster-cached-conns

mgr/cephadm: don't use cached conns for hosts not in cluster

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46245 from adk3798/revert-call-changes
Adam King [Tue, 17 May 2022 21:13:01 +0000 (17:13 -0400)]
Merge pull request #46245 from adk3798/revert-call-changes

cephadm: Revert "mgr/cephadm: fixing call method timeout handling"

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46264 from adk3798/adopt-custom-name-osd
Adam King [Tue, 17 May 2022 21:11:59 +0000 (17:11 -0400)]
Merge pull request #46264 from adk3798/adopt-custom-name-osd

cephadm: fix adoption of osds from custom name clusters

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46305 from zdover23/wip-doc-2022-05-17-basic-workflow-integration...
zdover23 [Tue, 17 May 2022 19:04:51 +0000 (05:04 +1000)]
Merge pull request #46305 from zdover23/wip-doc-2022-05-17-basic-workflow-integration-tests

doc/dev: refine basic-workflow.rst integ. test

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev: refine basic-workflow.rst integ. test 46305/head
Zac Dover [Tue, 17 May 2022 15:16:16 +0000 (01:16 +1000)]
doc/dev: refine basic-workflow.rst integ. test

This is one in a set of PRs meant to keep the Basic
Workflow in the Developer guide current. It refines
the English in the "Integration Tests AKA ceph-qa-suite"
section of "Basic Workflow".

Several other small updates like this are expected. I
intend to avoid refining half of the page in one commit,
as I did last month when I refined the first half of the
basic workflow.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agomgr/cephadm: stripping out / from the end of the url 46306/head
Redouane Kachach [Tue, 17 May 2022 15:26:39 +0000 (17:26 +0200)]
mgr/cephadm: stripping out / from the end of the url
Fixes: https://tracker.ceph.com/issues/55638
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #46298 from cyx1231st/wip-seastore-add-metrics
Samuel Just [Tue, 17 May 2022 14:55:48 +0000 (07:55 -0700)]
Merge pull request #46298 from cyx1231st/wip-seastore-add-metrics

crimson/os/seastore: add and fix metrics to reveal internal activities

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #46176 from athanatos/sjust/wip-55563
Samuel Just [Tue, 17 May 2022 14:53:15 +0000 (07:53 -0700)]
Merge pull request #46176 from athanatos/sjust/wip-55563

vstart: default CEPH_ASOK_DIR to asok/

Reviewed-by: Milind Changire <mchangir@redhat.com>
3 years agodoc: updated release date 46056/head
Yuri Weinstein [Tue, 17 May 2022 14:15:38 +0000 (07:15 -0700)]
doc: updated release date

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agomgr/cephadm: do not use sudo for root user 46303/head
Redouane Kachach [Tue, 17 May 2022 10:32:50 +0000 (12:32 +0200)]
mgr/cephadm: do not use sudo for root user
Fixes: https://tracker.ceph.com/issues/55641
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45313 from rhcs-dashboard/unselect-datatable-row
Ernesto Puerta [Tue, 17 May 2022 09:48:48 +0000 (11:48 +0200)]
Merge pull request #45313 from rhcs-dashboard/unselect-datatable-row

mgr/dashboard: unselect rows in datatables

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
3 years agocrimson/os/seastore: adjust logs to FixedKVBtree 46298/head
Yingxin Cheng [Mon, 16 May 2022 09:30:40 +0000 (17:30 +0800)]
crimson/os/seastore: adjust logs to FixedKVBtree

* Fix the subsys name.
* Change FixedKVBtree logs to trace level -- seems too verbose when the
  global level is debug.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: add metrics for extent rewrite version
Yingxin Cheng [Mon, 16 May 2022 09:29:14 +0000 (17:29 +0800)]
crimson/os/seastore: add metrics for extent rewrite version

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: improve and fix tree metrics
Yingxin Cheng [Mon, 16 May 2022 05:59:26 +0000 (13:59 +0800)]
crimson/os/seastore: improve and fix tree metrics

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: add metrics about journal sizes
Yingxin Cheng [Fri, 13 May 2022 09:13:17 +0000 (17:13 +0800)]
crimson/os/seastore/segment_cleaner: add metrics about journal sizes

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: add metrics about why IO is blocking
Yingxin Cheng [Fri, 13 May 2022 08:40:26 +0000 (16:40 +0800)]
crimson/os/seastore/segment_cleaner: add metrics about why IO is blocking

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46292 from anthonyeleven/anthonyeleven/clarify-min-alloc-size2
zdover23 [Tue, 17 May 2022 07:58:17 +0000 (17:58 +1000)]
Merge pull request #46292 from anthonyeleven/anthonyeleven/clarify-min-alloc-size2

doc/rados/configuration: clarify VMware note in bluestore-config-ref.rst

Reviewed-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc/rados/configuration: clarify VMware note in bluestore-config-ref.rst 46292/head
Anthony D'Atri [Tue, 17 May 2022 01:46:58 +0000 (18:46 -0700)]
doc/rados/configuration: clarify VMware note in bluestore-config-ref.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agomgr/cephadm: force fail over when we want to remove active mgr 46291/head
Adam King [Tue, 17 May 2022 00:44:11 +0000 (20:44 -0400)]
mgr/cephadm: force fail over when we want to remove active mgr

Fixes: https://tracker.ceph.com/issues/55679
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46265 from ivancich/wip-misplaced-dout_subsys-def
J. Eric Ivancich [Mon, 16 May 2022 22:36:58 +0000 (18:36 -0400)]
Merge pull request #46265 from ivancich/wip-misplaced-dout_subsys-def

rgw: remove potentially conficting definition of dout_subsys

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agodocs: updated Change Log PRs
Yuri Weinstein [Mon, 16 May 2022 21:32:25 +0000 (14:32 -0700)]
docs: updated Change Log PRs

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #46158 from cyx1231st/wip-seastore-cleaner
Samuel Just [Mon, 16 May 2022 21:06:27 +0000 (14:06 -0700)]
Merge pull request #46158 from cyx1231st/wip-seastore-cleaner

crimson/os/seastore/segment_cleaner: misc cleanups and improvements

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agomgr/dashboard: unselect rows in datatables 45313/head
Sarthak0702 [Wed, 9 Mar 2022 12:10:20 +0000 (17:40 +0530)]
mgr/dashboard: unselect rows in datatables

Fixes: https://tracker.ceph.com/issues/53244
Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
3 years agoMerge pull request #45662 from zenomri/wip-cond-tracing
Yuval Lifshitz [Mon, 16 May 2022 14:26:50 +0000 (17:26 +0300)]
Merge pull request #45662 from zenomri/wip-cond-tracing

rgw: support conditional tracing using lua script

Reviewed-by: Casey Bodley <cbodley@redhat.com>, Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #46274 from xxhdx1985126/wip-admin-sock
Kefu Chai [Mon, 16 May 2022 11:56:13 +0000 (19:56 +0800)]
Merge pull request #46274 from xxhdx1985126/wip-admin-sock

crimson/admin: deal with seastar's new metric types/logics

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/admin: deal with seastar's new metric types/logics 46274/head
Xuehan Xu [Mon, 16 May 2022 06:32:09 +0000 (14:32 +0800)]
crimson/admin: deal with seastar's new metric types/logics

Fixes: https://tracker.ceph.com/issues/55666
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #45962 from ronen-fr/wip-rf-sbe-test2
Ronen Friedman [Mon, 16 May 2022 08:32:27 +0000 (11:32 +0300)]
Merge pull request #45962 from ronen-fr/wip-rf-sbe-test2

test/osd: test environment for the scrubber "backend"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 years agoMerge pull request #46270 from anthonyeleven/anthonyeleven/clarify-min-alloc-size
zdover23 [Mon, 16 May 2022 07:12:59 +0000 (17:12 +1000)]
Merge pull request #46270 from anthonyeleven/anthonyeleven/clarify-min-alloc-size

3 years agomgr/cephadm: unit test for re-adding host and receiving loopback address 44013/head
Adam King [Tue, 30 Nov 2021 13:45:47 +0000 (08:45 -0500)]
mgr/cephadm: unit test for re-adding host and receiving loopback address

Signed-off-by: Adam King <adking@redhat.com>
3 years agomgr/cephadm: re-use old ip when re-adding hosts if necessary
Adam King [Thu, 18 Nov 2021 20:22:39 +0000 (15:22 -0500)]
mgr/cephadm: re-use old ip when re-adding hosts if necessary

When a host is re-added without an explicit ip we can default to the old
ip we had stored for the host rather than either keeping the loopback
address or throwing an exception. We only want to actually error when
the only options left are error or use a resolved loopback address

Fixes: https://tracker.ceph.com/issues/53438
Signed-off-by: Adam King <adking@redhat.com>
3 years agodoc/rados/configuration: Enhance BlueStore min_alloc_size section 46270/head
Anthony D'Atri [Sun, 15 May 2022 21:26:58 +0000 (14:26 -0700)]
doc/rados/configuration: Enhance BlueStore min_alloc_size section

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #45947 from optimistyzy/418_add_nvme_tcp_support
Kefu Chai [Sun, 15 May 2022 11:49:42 +0000 (19:49 +0800)]
Merge pull request #45947 from optimistyzy/418_add_nvme_tcp_support

blk/spdk:  add support to use NVMe device provided by NVMe-oF target

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46226 from ronen-fr/wip-rf-cln-typesh
Ronen Friedman [Sun, 15 May 2022 06:31:51 +0000 (09:31 +0300)]
Merge pull request #46226 from ronen-fr/wip-rf-cln-typesh

osd: cleanup object_stat_sum_t initialization

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 years agoblk/spdk: Add the support to use nvme device provided by NVMe-of Target 45947/head
Ziye Yang [Sun, 17 Apr 2022 23:40:24 +0000 (07:40 +0800)]
blk/spdk: Add the support to use nvme device provided by NVMe-of Target

This patch is used to add the support to use the nvmedevice provided
by NVMe-oF target.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
3 years agoMerge pull request #45886 from lxbsz/wip-55283
Venky Shankar [Sat, 14 May 2022 09:44:51 +0000 (15:14 +0530)]
Merge pull request #45886 from lxbsz/wip-55283

qa: add filesystem/file sync stuck test support

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45955 from lxbsz/wip-55240
Venky Shankar [Sat, 14 May 2022 09:43:17 +0000 (15:13 +0530)]
Merge pull request #45955 from lxbsz/wip-55240

mds: trigger to flush the mdlog in handle_find_ino()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46063 from vshankar/wip-55170
Venky Shankar [Sat, 14 May 2022 09:42:13 +0000 (15:12 +0530)]
Merge pull request #46063 from vshankar/wip-55170

mds: fetch all dirfrag entries when no dentry keys are requested

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46153 from lxbsz/wip-54411-1
Venky Shankar [Sat, 14 May 2022 09:41:17 +0000 (15:11 +0530)]
Merge pull request #46153 from lxbsz/wip-54411-1

client: force send global open_files/metadata metrics

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agorgw: remove potentially conficting definition of dout_subsys 46265/head
J. Eric Ivancich [Fri, 13 May 2022 23:03:25 +0000 (19:03 -0400)]
rgw: remove potentially conficting definition of dout_subsys

dout_subsys should strictly be defined in .cc files. There was a
definition of dout_subsys in rgw_log.h, which is included in a variety
of .cc files due to transitive includes. When a subsystem wants a
conflicting definition, a compiler warning is then generated due to
the redefinition of dout_subsys.

The definition is removed from rgw_log.h and follow-on fixes are made.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoMerge pull request #46258 from xxhdx1985126/wip-backref-minor-bug-fixes
Samuel Just [Fri, 13 May 2022 19:25:44 +0000 (12:25 -0700)]
Merge pull request #46258 from xxhdx1985126/wip-backref-minor-bug-fixes

crimson/os/seastore/cache: backref buffer minor bug fix

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocephadm: fix adoption of osds from custom name clusters 46264/head
Adam King [Fri, 13 May 2022 16:53:09 +0000 (12:53 -0400)]
cephadm: fix adoption of osds from custom name clusters

Fixes: https://tracker.ceph.com/issues/55654
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46154 from zdover23/wip-doc-2022-04-14-dev-guide-basic-workflow
zdover23 [Fri, 13 May 2022 15:40:19 +0000 (01:40 +1000)]
Merge pull request #46154 from zdover23/wip-doc-2022-04-14-dev-guide-basic-workflow

doc/dev: update basic-workflow.rst

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45581 from MrFreezeex/jsonnet-multiline-cleanup
Ernesto Puerta [Fri, 13 May 2022 14:21:30 +0000 (16:21 +0200)]
Merge pull request #45581 from MrFreezeex/jsonnet-multiline-cleanup

ceph-mixin: rewrite promql queries to multiline

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agodoc: add note for cephfs upgrade in notable changes
Venky Shankar [Fri, 13 May 2022 12:55:42 +0000 (18:25 +0530)]
doc: add note for cephfs upgrade in notable changes

Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agodoc: 16.2.8 Release Notes
Yuri Weinstein [Wed, 27 Apr 2022 17:21:58 +0000 (10:21 -0700)]
doc: 16.2.8 Release Notes

See testing summary - https://tracker.ceph.com/issues/55356

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #46142 from tchaikov/wip-cmake-fuse
Kefu Chai [Fri, 13 May 2022 12:58:14 +0000 (20:58 +0800)]
Merge pull request #46142 from tchaikov/wip-cmake-fuse

cmake: mark FUSE REQUIRED if WITH_FUSE

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46237 from vshankar/wip-add-multids-stray-check-for-upgrade
Venky Shankar [Fri, 13 May 2022 12:40:16 +0000 (18:10 +0530)]
Merge pull request #46237 from vshankar/wip-add-multids-stray-check-for-upgrade

doc: add note about checking pending stray directory entries before initiating upgrade

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agocrimson/os/seastore/cache: backref buffer minor bug fix 46258/head
Xuehan Xu [Fri, 13 May 2022 09:35:11 +0000 (17:35 +0800)]
crimson/os/seastore/cache: backref buffer minor bug fix

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agodoc: add note about checking pending stray directory entries before initiating upgrade 46237/head
Venky Shankar [Thu, 12 May 2022 06:52:06 +0000 (12:22 +0530)]
doc: add note about checking pending stray directory entries before initiating upgrade

Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46236 from vshankar/wip-manual-upgrade-add-check
Venky Shankar [Fri, 13 May 2022 10:22:20 +0000 (15:52 +0530)]
Merge pull request #46236 from vshankar/wip-manual-upgrade-add-check

doc: add setting/unsetting `mon_mds_skip_sanity` config for manual ceph-mds upgrade

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46206 from votdev/issue_55578_prom_am_silence
Ernesto Puerta [Fri, 13 May 2022 09:12:38 +0000 (11:12 +0200)]
Merge pull request #46206 from votdev/issue_55578_prom_am_silence

mgr/dashboard: Creating and editing Prometheus AlertManager silences is buggy

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
3 years agocrimson/os/seastore: fix metrics with TRIM_BACKREF transaction 46158/head
Yingxin Cheng [Fri, 6 May 2022 08:44:02 +0000 (16:44 +0800)]
crimson/os/seastore: fix metrics with TRIM_BACKREF transaction

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: measure the initial reclaim ratio
Yingxin Cheng [Mon, 9 May 2022 08:35:56 +0000 (16:35 +0800)]
crimson/os/seastore/segment_cleaner: measure the initial reclaim ratio

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: distinguish journal/ool when count open/close...
Yingxin Cheng [Mon, 9 May 2022 07:50:40 +0000 (15:50 +0800)]
crimson/os/seastore/segment_cleaner: distinguish journal/ool when count open/close/release

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: distinguish in-journal and type-journal segments
Yingxin Cheng [Mon, 9 May 2022 04:14:57 +0000 (12:14 +0800)]
crimson/os/seastore/segment_cleaner: distinguish in-journal and type-journal segments

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: exclude utilizations from empty/open segments
Yingxin Cheng [Sat, 7 May 2022 11:15:12 +0000 (19:15 +0800)]
crimson/os/seastore/segment_cleaner: exclude utilizations from empty/open segments

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: refine metrics
Yingxin Cheng [Sat, 7 May 2022 08:00:22 +0000 (16:00 +0800)]
crimson/os/seastore/segment_cleaner: refine metrics

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: fix an issue that caused forever-GC
Yingxin Cheng [Thu, 5 May 2022 09:57:09 +0000 (17:57 +0800)]
crimson/os/seastore/segment_cleaner: fix an issue that caused forever-GC

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: improve space calculations
Yingxin Cheng [Thu, 5 May 2022 05:48:58 +0000 (13:48 +0800)]
crimson/os/seastore/segment_cleaner: improve space calculations

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>