]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agotest/rgw: add --gen to radosgw-admin/help.t
Casey Bodley [Wed, 3 Feb 2021 15:39:18 +0000 (10:39 -0500)]
test/rgw: add --gen to radosgw-admin/help.t

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add generations to error repo with binary format
Casey Bodley [Fri, 22 Jan 2021 23:28:50 +0000 (18:28 -0500)]
rgw: add generations to error repo with binary format

adds a backward-compatible binary encoding for error repo keys that can
contain a generation number along with the bucket and shard

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add generation support to BILog admin APIs
Shilpa Jagannath [Thu, 3 Dec 2020 06:23:40 +0000 (11:53 +0530)]
rgw: add generation support to BILog admin APIs

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
3 years agorgw: remove rgw_bucket_shard_sync_info::full_marker
Casey Bodley [Fri, 20 Nov 2020 17:32:48 +0000 (12:32 -0500)]
rgw: remove rgw_bucket_shard_sync_info::full_marker

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: disable backoff on data sync error_retry_time
Casey Bodley [Wed, 18 Nov 2020 21:24:11 +0000 (16:24 -0500)]
rgw: disable backoff on data sync error_retry_time

this backoff is triggered often by the per-bucket lease for full sync,
and causes tests to fail with checkpoint timeouts

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/rgw: rgw_multisite_tests task loads default plugins
Adam C. Emerson [Sat, 8 May 2021 00:01:11 +0000 (20:01 -0400)]
qa/rgw: rgw_multisite_tests task loads default plugins

the ability to filter tests by attribute is provided by the
nose.plugins.attrib plugin, which wasn't being loaded by default

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/rgw: disable multisite tests for 'bucket sync disable'
Casey Bodley [Tue, 10 Nov 2020 16:36:31 +0000 (11:36 -0500)]
qa/rgw: disable multisite tests for 'bucket sync disable'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/rgw: add missing meta checkpoint to test_multipart_object_sync
Casey Bodley [Tue, 10 Nov 2020 21:38:10 +0000 (16:38 -0500)]
qa/rgw: add missing meta checkpoint to test_multipart_object_sync

if metadata sync hasn't finished, the 'bucket checkpoint' commands may
not find its bucket info

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: RGWSyncBucketCR holds lease over Init state too
Casey Bodley [Tue, 10 Nov 2020 20:00:40 +0000 (15:00 -0500)]
rgw: RGWSyncBucketCR holds lease over Init state too

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: fix up BucketShardIncrementalSync log message
Casey Bodley [Tue, 6 Oct 2020 21:59:44 +0000 (17:59 -0400)]
rgw: fix up BucketShardIncrementalSync log message

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: move full sync from SyncBucketShard to SyncBucket
Casey Bodley [Tue, 6 Oct 2020 21:59:41 +0000 (17:59 -0400)]
rgw: move full sync from SyncBucketShard to SyncBucket

renamed ListBucketShardCR to ListRemoteBucketCR and removed the shard-id
parameter

renamed BucketFullSyncShardMarkerTrack to BucketFullSyncMarkerTrack,
which now updates the bucket-level rgw_bucket_sync_status

renamed BucketShardFullSyncCR to BucketFullSyncCR

BucketSyncCR now takes a bucket-wide lease during full sync

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoradosgw-admin: 'bucket sync checkpoint' waits for full sync
Casey Bodley [Tue, 6 Oct 2020 21:59:39 +0000 (17:59 -0400)]
radosgw-admin: 'bucket sync checkpoint' waits for full sync

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoradosgw-admin: 'bucket sync status' displays new full sync status
Casey Bodley [Tue, 6 Oct 2020 21:59:36 +0000 (17:59 -0400)]
radosgw-admin: 'bucket sync status' displays new full sync status

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add rgw_read_bucket_full_sync_status()
Casey Bodley [Tue, 6 Oct 2020 21:59:34 +0000 (17:59 -0400)]
rgw: add rgw_read_bucket_full_sync_status()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: InitBucketShardSyncStatus always sets state to Incremental
Casey Bodley [Tue, 6 Oct 2020 21:59:31 +0000 (17:59 -0400)]
rgw: InitBucketShardSyncStatus always sets state to Incremental

full sync happens as the bucket level, so the shards will always start
in StateIncrementalSync

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: split SyncBucket from SyncBucketShard
Casey Bodley [Tue, 6 Oct 2020 21:59:29 +0000 (17:59 -0400)]
rgw: split SyncBucket from SyncBucketShard

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add InitBucketFullSyncStatusCR
Casey Bodley [Tue, 6 Oct 2020 21:59:28 +0000 (17:59 -0400)]
rgw: add InitBucketFullSyncStatusCR

a coroutine to initialize a bucket for full sync using a new bucket-wide
sync status object

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: RGWSimpleRadosWriteAttrsCR supports exclusive create
Casey Bodley [Tue, 13 Oct 2020 13:56:11 +0000 (09:56 -0400)]
rgw: RGWSimpleRadosWriteAttrsCR supports exclusive create

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: system objects can set exclusive on set_attrs()
Casey Bodley [Tue, 13 Oct 2020 13:54:56 +0000 (09:54 -0400)]
rgw: system objects can set exclusive on set_attrs()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add exclusive flag to RGWSimpleRadosWriteCR
Casey Bodley [Tue, 6 Oct 2020 21:59:26 +0000 (17:59 -0400)]
rgw: add exclusive flag to RGWSimpleRadosWriteCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: generalize error handling in RGWShardCollectCR
Casey Bodley [Tue, 6 Oct 2020 21:59:24 +0000 (17:59 -0400)]
rgw: generalize error handling in RGWShardCollectCR

RGWShardCollectCR was hard-coded to ignore ENOENT errors and print a
'failed to fetch log status' error message. this moves that logic into a
handle_result() virtual function. it also exposes the member variables
'status' and 'max_concurrent' as protected, so they can be consulted or
modified by overrides of handle_result() and spawn_next()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add sync_bucket_shard_cr() factory function
Casey Bodley [Tue, 6 Oct 2020 21:59:22 +0000 (17:59 -0400)]
rgw: add sync_bucket_shard_cr() factory function

allows other code to spawn this coroutine without having the class
definition

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: rename to RGWSyncBucketShardCR
Casey Bodley [Tue, 6 Oct 2020 21:59:20 +0000 (17:59 -0400)]
rgw: rename to RGWSyncBucketShardCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add full_status_oid() for buckets
Casey Bodley [Tue, 6 Oct 2020 21:59:18 +0000 (17:59 -0400)]
rgw: add full_status_oid() for buckets

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: use const for string constants in rgw_data_sync.cc
Casey Bodley [Tue, 6 Oct 2020 21:59:16 +0000 (17:59 -0400)]
rgw: use const for string constants in rgw_data_sync.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: rename to inc_status_oid
Casey Bodley [Tue, 6 Oct 2020 21:59:14 +0000 (17:59 -0400)]
rgw: rename to inc_status_oid

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: add data structures for bucket sync status
Casey Bodley [Tue, 6 Oct 2020 21:59:11 +0000 (17:59 -0400)]
rgw: add data structures for bucket sync status

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: rename to rgw_read_bucket_inc_sync_status
Casey Bodley [Tue, 6 Oct 2020 21:59:09 +0000 (17:59 -0400)]
rgw: rename to rgw_read_bucket_inc_sync_status

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: remove unused RGWRunBucketsSyncBySourceCR
Casey Bodley [Tue, 6 Oct 2020 21:59:07 +0000 (17:59 -0400)]
rgw: remove unused RGWRunBucketsSyncBySourceCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: RGWSimpleRadosReadCR copies out objv_tracker
Casey Bodley [Tue, 6 Oct 2020 21:59:00 +0000 (17:59 -0400)]
rgw: RGWSimpleRadosReadCR copies out objv_tracker

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45598 from rkachach/fix_issue_55008
Adam King [Tue, 26 Apr 2022 19:48:03 +0000 (15:48 -0400)]
Merge pull request #45598 from rkachach/fix_issue_55008

mgr/cephadm: Adding image tag and date to cephadm startup messages

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #45855 from rkachach/fix_issue_55265
Adam King [Tue, 26 Apr 2022 19:11:34 +0000 (15:11 -0400)]
Merge pull request #45855 from rkachach/fix_issue_55265

mgr/cephadm: fixing call method timeout handling

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45877 from rkachach/fix_issue_55185
Adam King [Tue, 26 Apr 2022 19:10:26 +0000 (15:10 -0400)]
Merge pull request #45877 from rkachach/fix_issue_55185

mgr/cephadm: Adding support to store ceph conf per cluster fsid

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45899 from rkachach/fix_issue_53527
Adam King [Tue, 26 Apr 2022 19:09:37 +0000 (15:09 -0400)]
Merge pull request #45899 from rkachach/fix_issue_53527

mgr/cephadm: fixing upgrade candidate versions listing

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45623 from dang/wip-dang-zipper-objctx
Daniel Gryniewicz [Tue, 26 Apr 2022 18:03:11 +0000 (14:03 -0400)]
Merge pull request #45623 from dang/wip-dang-zipper-objctx

RGW: Zipper - zonegroup, placement tier

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46010 from gregsfortytwo/wip-55419-blocklist-test
Neha Ojha [Tue, 26 Apr 2022 17:59:07 +0000 (10:59 -0700)]
Merge pull request #46010 from gregsfortytwo/wip-55419-blocklist-test

test: Fix a blocklist API test

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #44958 from rishabh-d-dave/qa-cephfs-timeout
Venky Shankar [Tue, 26 Apr 2022 17:00:43 +0000 (22:30 +0530)]
Merge pull request #44958 from rishabh-d-dave/qa-cephfs-timeout

qa/cephfs: change default timeout from 900 secs to 300

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45737 from cbodley/wip-rgw-ops-log-defaults
Casey Bodley [Tue, 26 Apr 2022 16:43:44 +0000 (12:43 -0400)]
Merge pull request #45737 from cbodley/wip-rgw-ops-log-defaults

rgw: change default ops log backend from rados to file

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
3 years agoMerge pull request #46007 from cbodley/wip-49302
Casey Bodley [Tue, 26 Apr 2022 16:25:36 +0000 (12:25 -0400)]
Merge pull request #46007 from cbodley/wip-49302

rgw: RGWCoroutine::set_sleeping() checks for null stack

Reviewed-by: Or Friedmann <ofriedma@redhat.com>
3 years agoMerge pull request #46027 from cbodley/wip-55432
Casey Bodley [Tue, 26 Apr 2022 16:24:35 +0000 (12:24 -0400)]
Merge pull request #46027 from cbodley/wip-55432

rgw: OpsLogFile::stop() signals under mutex

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
3 years agoMerge pull request #45784 from cbodley/wip-rgw-multisite-configurables
Casey Bodley [Tue, 26 Apr 2022 16:22:43 +0000 (12:22 -0400)]
Merge pull request #45784 from cbodley/wip-rgw-multisite-configurables

rgw multisite: configurable polling intervals and concurrency windows

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoqa/cephfs: change default timeout from 900 secs to 300 44958/head
Rishabh Dave [Wed, 9 Feb 2022 18:16:27 +0000 (23:46 +0530)]
qa/cephfs: change default timeout from 900 secs to 300

15 minutes is unnecessarily large as a default value for timeout for a
command. Not having to wait unnecessarily on a crash of a command will
reduce teuthology's testing queue and will save individual developer's
time while running tests locally.

Whatever lines are modified for this purpose are also modified to follow
the stlye guideline, specfically wrapping at 80 characters.

Fixes: https://tracker.ceph.com/issues/54236
Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #45830 from rhcs-dashboard/cephadm-logs-save
Ernesto Puerta [Tue, 26 Apr 2022 10:50:43 +0000 (12:50 +0200)]
Merge pull request #45830 from rhcs-dashboard/cephadm-logs-save

mgr/dashboard: save mgr logs inside a folder

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #45370 from lxbsz/wip-54411
Venky Shankar [Tue, 26 Apr 2022 04:25:04 +0000 (09:55 +0530)]
Merge pull request #45370 from lxbsz/wip-54411

client: add option to disable collecting and sending metrics

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45904 from cfsnyder/fix_rocksdb_iter_perf
Yuri Weinstein [Mon, 25 Apr 2022 22:58:45 +0000 (15:58 -0700)]
Merge pull request #45904 from cfsnyder/fix_rocksdb_iter_perf

os/bluestore: set upper and lower bounds on rocksdb omap iterators

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agoMerge pull request #46028 from ceph/revert-43413-bluestore-bufferbloat-mitigation
Neha Ojha [Mon, 25 Apr 2022 22:07:38 +0000 (15:07 -0700)]
Merge pull request #46028 from ceph/revert-43413-bluestore-bufferbloat-mitigation

Revert "os/bluestore: Add CoDel to BlueStore for Bufferbloat mitigation"

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agorgw: OpsLogFile drops lock before flush() 46027/head
Casey Bodley [Mon, 25 Apr 2022 20:32:33 +0000 (16:32 -0400)]
rgw: OpsLogFile drops lock before flush()

flush() acquires the same lock, so lockdep complains about recursive
locking here

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: RGWCoroutine::set_sleeping() checks for null stack 46007/head
Or Friedmann [Tue, 19 Apr 2022 12:00:28 +0000 (12:00 +0000)]
rgw: RGWCoroutine::set_sleeping() checks for null stack

users of the RGWOmapAppend coroutine don't manage the lifetime of its
underlying coroutine stack, so end up making calls on RGWOmapAppend
after its stack goes away. this null check is a band-aid, and there are
still several other calls in RGWCoroutine that don't check for null
stack

Fixes: https://tracker.ceph.com/issues/49302
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agobluestore: Revert "os/bluestore: Add CoDel to BlueStore for Bufferbloat mitigation" 46028/head
Samuel Just [Mon, 25 Apr 2022 19:29:49 +0000 (12:29 -0700)]
bluestore: Revert "os/bluestore: Add CoDel to BlueStore for Bufferbloat mitigation"

Merge caused: https://tracker.ceph.com/issues/55433

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44989 from Ejdesgaard/patch-1
Casey Bodley [Mon, 25 Apr 2022 18:26:08 +0000 (14:26 -0400)]
Merge pull request #44989 from Ejdesgaard/patch-1

radosgw-admin zone deletion uses zone delete

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: remove unnecessary OpsLogFile::flush_mutex
Casey Bodley [Mon, 25 Apr 2022 17:40:19 +0000 (13:40 -0400)]
rgw: remove unnecessary OpsLogFile::flush_mutex

this mutex was only held by one function, OpsLogFile::flush(). this
private member function is only ever called from the background thread,
so doesn't need to be protected by a mutex

as a further cleanup, i renamed 'cond' and 'mutex' now that we don't
need to differentiate between different locks

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: OpsLogFile::stop() signals under mutex
Casey Bodley [Mon, 25 Apr 2022 17:28:02 +0000 (13:28 -0400)]
rgw: OpsLogFile::stop() signals under mutex

this shuts up ceph::debug_condition_variable's assertion that the
associated mutex is held during notify_one(). this is not strictly
required for correct use, but is a common source of bugs

Fixes: https://tracker.ceph.com/issues/55432
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45407 from vshankar/wip-54046
Venky Shankar [Mon, 25 Apr 2022 14:18:57 +0000 (19:48 +0530)]
Merge pull request #45407 from vshankar/wip-54046

mds: include encoded stray inode when sending dentry unlink message to replicas

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45243 from lxbsz/mdslog_bz
Venky Shankar [Mon, 25 Apr 2022 12:26:27 +0000 (17:56 +0530)]
Merge pull request #45243 from lxbsz/mdslog_bz

mds: flush mdlog if locked and still has wanted caps not satisfied

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45307 from lxbsz/wip54461
Venky Shankar [Mon, 25 Apr 2022 12:24:06 +0000 (17:54 +0530)]
Merge pull request #45307 from lxbsz/wip54461

mds: notify clients if the session has already opened

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45887 from bluikko/patch-3
Ilya Dryomov [Sat, 23 Apr 2022 08:53:31 +0000 (10:53 +0200)]
Merge pull request #45887 from bluikko/patch-3

doc: replace spaces with underscores in config option names

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agodoc: remove spaces at line ends and doubles, fix wrapping 45887/head
Ville Ojamo [Fri, 22 Apr 2022 13:36:44 +0000 (20:36 +0700)]
doc: remove spaces at line ends and doubles, fix wrapping

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 years agodoc: replace spaces with underscores in config option names
Ville Ojamo [Wed, 13 Apr 2022 03:33:36 +0000 (10:33 +0700)]
doc: replace spaces with underscores in config option names

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 years agoMerge pull request #45948 from cyx1231st/wip-seastore-cleaner-work
Yingxin [Sat, 23 Apr 2022 04:07:09 +0000 (12:07 +0800)]
Merge pull request #45948 from cyx1231st/wip-seastore-cleaner-work

crimson/os/seastore/segment_cleaner: cleanup segment_info_set_t

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agotest: use the same address input format as output will generate 46010/head
Greg Farnum [Sat, 23 Apr 2022 00:00:59 +0000 (00:00 +0000)]
test: use the same address input format as output will generate

Otherwise, our grep fails!

Fixes: https://tracker.ceph.com/issues/55419
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #43413 from esmaeil-mirvakili/bluestore-bufferbloat-mitigation
Samuel Just [Fri, 22 Apr 2022 21:37:04 +0000 (14:37 -0700)]
Merge pull request #43413 from esmaeil-mirvakili/bluestore-bufferbloat-mitigation

os/bluestore: Add CoDel to BlueStore for Bufferbloat mitigation

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agomgr/cephadm: fixing call method timeout handling 45855/head
Redouane Kachach [Mon, 11 Apr 2022 14:13:05 +0000 (16:13 +0200)]
mgr/cephadm: fixing call method timeout handling
Fixes: https://tracker.ceph.com/issues/55265
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: Adding support to store ceph conf per cluster fsid 45877/head
Redouane Kachach [Tue, 12 Apr 2022 12:27:02 +0000 (14:27 +0200)]
mgr/cephadm: Adding support to store ceph conf per cluster fsid
Fixes: https://tracker.ceph.com/issues/55185
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: fixing upgrade candidate verions listing 45899/head
Redouane Kachach [Wed, 13 Apr 2022 14:22:53 +0000 (16:22 +0200)]
mgr/cephadm: fixing upgrade candidate verions listing
Fixes: https://tracker.ceph.com/issues/53527
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: Using '.ID' instead of '.Id' which is only supported by podman 45598/head
Redouane Kachach [Fri, 22 Apr 2022 13:53:34 +0000 (15:53 +0200)]
mgr/cephadm: Using '.ID' instead of '.Id' which is only supported by podman

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45920 from adk3798/stop-mgr-nfs-upgrade-fail
Adam King [Fri, 22 Apr 2022 13:28:35 +0000 (09:28 -0400)]
Merge pull request #45920 from adk3798/stop-mgr-nfs-upgrade-fail

qa/suites/orch/cephadm: stop upgrade tests if failures are seen

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45931 from rkachach/fix_issue_51671
Adam King [Fri, 22 Apr 2022 13:27:47 +0000 (09:27 -0400)]
Merge pull request #45931 from rkachach/fix_issue_51671

mgr/cephadm: fixing logging output for rm-cluster operation

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45982 from rkachach/fix_issue_52727
Adam King [Fri, 22 Apr 2022 13:23:31 +0000 (09:23 -0400)]
Merge pull request #45982 from rkachach/fix_issue_52727

mgr/cephadm: do not add _admin label when no-minimize-config is provided

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45934 from ceph/fix-github_triage-master
Ernesto Puerta [Fri, 22 Apr 2022 12:02:24 +0000 (14:02 +0200)]
Merge pull request #45934 from ceph/fix-github_triage-master

.github/pr-triage: reorder milestone step

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45631 from Rethan/feat-mds-slow-ops
Venky Shankar [Fri, 22 Apr 2022 11:56:52 +0000 (17:26 +0530)]
Merge pull request #45631 from Rethan/feat-mds-slow-ops

mds: add a perf counter to record slow replies

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45978 from tchaikov/wip-cmake-python3-exact
Kefu Chai [Thu, 21 Apr 2022 23:10:02 +0000 (07:10 +0800)]
Merge pull request #45978 from tchaikov/wip-cmake-python3-exact

cmake/modules: use exact version of python3 when finding cython

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agokv/RocksDBStore: simplify RocksDBStore::get_cf_handle(string, IteratorBounds) 45904/head
Cory Snyder [Thu, 21 Apr 2022 19:56:06 +0000 (15:56 -0400)]
kv/RocksDBStore: simplify RocksDBStore::get_cf_handle(string, IteratorBounds)

Adds a precondition to RocksDBStore::get_cf_handle(string, IteratorBounds)
to avoid duplicating logic of the only caller (RocksDBStore::get_iterator).
Assertions will fail if preconditions are not met.

Signed-off-by: Cory Snyder <csnyder@iland.com>
3 years agobluestore: add config option to allow rocksdb iterator bounds to be disabled
Cory Snyder [Thu, 21 Apr 2022 17:13:22 +0000 (13:13 -0400)]
bluestore: add config option to allow rocksdb iterator bounds to be disabled

Add osd_rocksdb_iterator_bounds_enabled config option to allow rocksdb iterator bounds to be disabled.
Also includes minor refactoring to shorten code associated with IteratorBounds initialization in bluestore.

Signed-off-by: Cory Snyder <csnyder@iland.com>
3 years agoMerge pull request #44151 from gregsfortytwo/wip-cidr-blocklist
Gregory Farnum [Thu, 21 Apr 2022 15:31:16 +0000 (08:31 -0700)]
Merge pull request #44151 from gregsfortytwo/wip-cidr-blocklist

Implement CIDR blocklisting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #45971 from rishabh-d-dave/cephfs-shell-exclam-marks
Venky Shankar [Thu, 21 Apr 2022 13:22:20 +0000 (18:52 +0530)]
Merge pull request #45971 from rishabh-d-dave/cephfs-shell-exclam-marks

qa/cephfs: bug fix and some cleanup for test_cephfs_shell.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45977 from tchaikov/wip-cmake-dml-cleanup
Kefu Chai [Thu, 21 Apr 2022 11:31:20 +0000 (19:31 +0800)]
Merge pull request #45977 from tchaikov/wip-cmake-dml-cleanup

cmake: try to find dml only if PMEM is enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/cephfs: cleanup some code in test_cephfs_shell.py 45971/head
Rishabh Dave [Wed, 20 Apr 2022 12:43:05 +0000 (18:13 +0530)]
qa/cephfs: cleanup some code in test_cephfs_shell.py

Also delete a comment since it's incorrect.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoqa/cephfs: don't use exclam mark in tests in test_cephfs_shell.py
Rishabh Dave [Wed, 20 Apr 2022 11:07:16 +0000 (16:37 +0530)]
qa/cephfs: don't use exclam mark in tests in test_cephfs_shell.py

Exclamation mark is a special character for bash as well as
cephfs-shell. For bash, it substitutes current command with matching
command from command history and for cephfs-shell it runs the command
as OS-level command and not inside the cephfs-shell.

And evey command executed in tests (say "ls") is run by passing it as a
parameter to cephfs-shell command (that is "cephfs-shell -c <conf> --
ls"). So, exclamation mark, when used in tests, is consumed by bash
instead of cephfs-shell.

To avoid these complications it's best (and even simpler!) to issue the
command meant for bash on bash without going through cephfs-shell.

Fixes: https://tracker.ceph.com/issues/55394
Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agomgr/cephadm: do not add _admin label when no-minimize-config is provided 45982/head
Redouane Kachach [Thu, 21 Apr 2022 10:01:44 +0000 (12:01 +0200)]
mgr/cephadm: do not add _admin label when no-minimize-config is provided
Fixes: https://tracker.ceph.com/issues/52727
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45979 from lxbsz/doc_noatime
Anthony D'Atri [Thu, 21 Apr 2022 08:03:10 +0000 (01:03 -0700)]
Merge pull request #45979 from lxbsz/doc_noatime

doc: cephfs: update with atime not supporting explaination

3 years agomgr/cephadm: Adding image tag and date to cephadm startup messages
Redouane Kachach [Wed, 23 Mar 2022 17:24:01 +0000 (18:24 +0100)]
mgr/cephadm: Adding image tag and date to cephadm startup messages
Fixes: https://tracker.ceph.com/issues/55008
Fixes: https://tracker.ceph.com/issues/54373
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agodoc: cephfs: update with atime not supporting explaination 45979/head
Xiubo Li [Thu, 21 Apr 2022 01:35:58 +0000 (09:35 +0800)]
doc: cephfs: update with atime not supporting explaination

Signed-off-by: Xiubo Li <xiubli@redhat.com>
3 years agotest: osd: add a /0 cidr test for 32-bit... 44151/head
Greg Farnum [Thu, 21 Apr 2022 00:16:22 +0000 (00:16 +0000)]
test: osd: add a /0 cidr test for 32-bit...

...and make the OSDMap handle it.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agotest: add a /0 cidr test that blocklists EVERYTHING
Greg Farnum [Wed, 20 Apr 2022 15:59:01 +0000 (15:59 +0000)]
test: add a /0 cidr test that blocklists EVERYTHING

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agotest: add a 128-bit range blocklist test
Greg Farnum [Wed, 20 Apr 2022 15:06:33 +0000 (15:06 +0000)]
test: add a 128-bit range blocklist test

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #45975 from adamemerson/wip-mrun-bashism
Kefu Chai [Thu, 21 Apr 2022 00:11:43 +0000 (08:11 +0800)]
Merge pull request #45975 from adamemerson/wip-mrun-bashism

mrun: Change mrun to use bash

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocmake/modules: use exact version of python3 when finding cython 45978/head
Kefu Chai [Wed, 20 Apr 2022 22:31:21 +0000 (06:31 +0800)]
cmake/modules: use exact version of python3 when finding cython

* CMakeLists.txt:
    always pass "EXACT" to find_package(Python3).
    because per cmake document, "EXACT" only takes effect when
    <Package>_FIND_VERSION_COUNT is greater than 1, where <Package>
    is "Python3". see also cmake/modules/FindPython/Support.cmake
* cmake/modules/AddCephTest.cmake:
    drop redundant find_package(Python3) calls. since Python3 is
    a mandatory requirement for building Ceph, we only need a
    single call of find_package(Python3..) in the top of the source
    tree. the only possible case to repeat it is to ensure that we
    have the correct version of Python3 used in following CMake
    script. but there is no need to repeat it if we just want to
    ensure that we have a python3 interpretor in place.
* cmake/modules/Distutils.cmake:
    always pass "EXACT" to find_package(Python3).
    we should always pass EXACT to find_package() when finding python3,
    this is a follow-up of e2babdfae8c99f39f99a7c8a8f966299b2e62b19

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocmake: try to find dml only if PMEM is enabled 45977/head
Kefu Chai [Wed, 20 Apr 2022 22:27:25 +0000 (06:27 +0800)]
cmake: try to find dml only if PMEM is enabled

as the feature dependent on DML library requires PMEM backend.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agotooling: Change mrun to use bash 45975/head
Adam C. Emerson [Wed, 20 Apr 2022 20:19:36 +0000 (16:19 -0400)]
tooling: Change mrun to use bash

Since mrun contains some bashisms, have it use bash explicitly.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #45973 from ionutbalutoiu/add-windows-tests 46002/head
David Galloway [Wed, 20 Apr 2022 20:08:21 +0000 (16:08 -0400)]
Merge pull request #45973 from ionutbalutoiu/add-windows-tests

qa/crontab/teuthology-cronjobs: add windows suite

3 years agoqa/crontab/teuthology-cronjobs: add windows suite 45973/head
Ionut Balutoiu [Wed, 20 Apr 2022 16:56:23 +0000 (19:56 +0300)]
qa/crontab/teuthology-cronjobs: add windows suite

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
3 years agoRGW: Zipper - zonegroup, placement tier 45623/head
Daniel Gryniewicz [Tue, 22 Mar 2022 17:22:15 +0000 (13:22 -0400)]
RGW: Zipper - zonegroup, placement tier

Add ZoneGroup and PlacementTier to the Zipper API.  This cleaned up a
lot of issues in the Module branch.

In addition, add cloud transition.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
3 years agotest: add 32-bit ipv4 and 64-bit ipv6 blocklist testing
Greg Farnum [Wed, 20 Apr 2022 14:51:09 +0000 (14:51 +0000)]
test: add 32-bit ipv4 and 64-bit ipv6 blocklist testing

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agotest: add a 30-bit range mask to ipv6 blocklisting tests
Greg Farnum [Wed, 20 Apr 2022 01:50:46 +0000 (01:50 +0000)]
test: add a 30-bit range mask to ipv6 blocklisting tests

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agotest: split up ip- and range-based blocklisting tests
Greg Farnum [Wed, 20 Apr 2022 00:38:21 +0000 (00:38 +0000)]
test: split up ip- and range-based blocklisting tests

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #44230 from optimistyzy/122_add_dml
Kefu Chai [Wed, 20 Apr 2022 10:47:00 +0000 (18:47 +0800)]
Merge pull request #44230 from optimistyzy/122_add_dml

blk/pmem: use DML library to offload read/write operations in pmem

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #45872 from idryomov/wip-make-check-enable-rbd-caches
Ilya Dryomov [Wed, 20 Apr 2022 09:08:41 +0000 (11:08 +0200)]
Merge pull request #45872 from idryomov/wip-make-check-enable-rbd-caches

run-make-check.sh: enable RBD persistent caches

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agocrimson/os/seastore/segment_cleaner: cleanup SegmentProvider interfaces 45948/head
Yingxin Cheng [Tue, 19 Apr 2022 07:40:41 +0000 (15:40 +0800)]
crimson/os/seastore/segment_cleaner: cleanup SegmentProvider interfaces

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: cleanup segment_info_set_t
Yingxin Cheng [Tue, 19 Apr 2022 07:38:41 +0000 (15:38 +0800)]
crimson/os/seastore/segment_cleaner: cleanup segment_info_set_t

* better encapsulated interfaces to SegmentCleaner;
* drop unused device related implementations;
* improve related metrics and logs;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #45609 from optimistyzy/wip_pmem_devdax
Kefu Chai [Wed, 20 Apr 2022 01:54:00 +0000 (09:54 +0800)]
Merge pull request #45609 from optimistyzy/wip_pmem_devdax

blk/pmem: Add the devdax support.

Reviewed-by: Kefu Chai <tchaikov@gmail.com>