]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Tue, 15 Dec 2020 17:07:14 +0000 (12:07 -0500)]
rgw: BucketReshardManager stores BucketReshardShards by value
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 15 Dec 2020 17:06:24 +0000 (12:06 -0500)]
rgw: remove unused attrs from RGWBucketReshard
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Shilpa Jagannath [Mon, 12 Oct 2020 12:51:16 +0000 (18:21 +0530)]
rgw: reshard tests with fault injection
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Casey Bodley [Wed, 19 Aug 2020 19:15:56 +0000 (15:15 -0400)]
common: add generic FaultInjector
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Shilpa Jagannath [Mon, 21 Sep 2020 07:31:44 +0000 (13:01 +0530)]
rgw: Better error handling
- function update_bucket() handles updating bucket state
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Fri, 11 Sep 2020 06:28:55 +0000 (11:58 +0530)]
rgw: use a helper function to handle repetitive num_shards check
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 1 Sep 2020 18:25:42 +0000 (23:55 +0530)]
rgw: code organization fixes and error handling
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Fri, 28 Aug 2020 06:00:04 +0000 (11:30 +0530)]
rgw: clean up fixes for extra spaces and indentation.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 21 Jul 2020 13:10:09 +0000 (18:40 +0530)]
rgw: helper function to set reshard status from rgw::BucketReshardState.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 21 Jul 2020 08:08:24 +0000 (13:38 +0530)]
rgw: minor fixes
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 14 Jul 2020 12:26:05 +0000 (17:56 +0530)]
rgw: failing to reshard, restore old indexes
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 14 Jul 2020 07:33:31 +0000 (13:03 +0530)]
rgw: allow clean_index to take const bucket_index_layout_generation&
fix bi_get() to get objects after being resharded
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Fri, 10 Jul 2020 08:05:25 +0000 (13:35 +0530)]
rgw: - take non-optional gen_id in svc_bi_rados functions
- call init_index() on target layout during reshard process.
Takes const rgw::bucket_index_layout_generation&
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Manjarabad Jagannath [Thu, 9 Jul 2020 07:18:52 +0000 (12:48 +0530)]
rgw: make RGWBucketInfo non-const in functions using guard_reshard()
- remove unused 'instance_id' from cls_rgw_reshard_entry
- other minor fixes
Signed-off-by: Shilpa Manjarabad Jagannath <smanjara@redhat.com>
Shilpa Manjarabad Jagannath [Mon, 6 Jul 2020 09:47:15 +0000 (15:17 +0530)]
rgw: target_layout to be optional
Signed-off-by: Shilpa Manjarabad Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Mon, 29 Jun 2020 19:17:53 +0000 (00:47 +0530)]
rgw: use rgw::BucketReshardState for reshard state change
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Wed, 10 Jun 2020 14:09:55 +0000 (19:39 +0530)]
rgw: fetch updated bucketinfo rather than bucket_id in guard_reshard
To be able to read the updated layout.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Tue, 9 Jun 2020 03:05:27 +0000 (08:35 +0530)]
rgw: use BucketReshardState states in appropriate places
This replaces cls_rgw_reshard_status.
Remove unused parameters in cls_rgw_bucket_instance_entry.
Other minor cleanup fixes.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Thu, 21 May 2020 12:59:15 +0000 (18:29 +0530)]
rgw/dynamic-resharding: Allow clean_index to take generation number
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Thu, 21 May 2020 12:54:29 +0000 (18:24 +0530)]
rgw/dynamic-resharding: reshard bucket using the same instance id
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Thu, 21 May 2020 12:33:01 +0000 (18:03 +0530)]
rgw/dynamic-resharding: remove creation of new bucket instance
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sebastian Wagner [Mon, 13 Sep 2021 14:38:01 +0000 (16:38 +0200)]
Merge pull request #43141 from sebastian-philipp/doc-orch-rm
doc/cephadm: Removing a service
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Mon, 13 Sep 2021 14:21:32 +0000 (10:21 -0400)]
Merge PR #42998 into master
* refs/pull/42998/head:
qa/tasks/rook: add testing for host label add/rm
mgr/rook: host add/rm label in rook orchestrator
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Kefu Chai [Mon, 13 Sep 2021 13:45:11 +0000 (21:45 +0800)]
Merge pull request #43147 from krunerge/fix_typo
doc/dev/crimson/poseidonstore: fix typo
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Dimitri Savineau [Mon, 13 Sep 2021 13:13:07 +0000 (09:13 -0400)]
Merge pull request #43063 from guits/guits-trailing-spaces
ceph-volume: remove trailing spaces in code
Ronen Friedman [Mon, 13 Sep 2021 11:23:52 +0000 (14:23 +0300)]
Merge pull request #42951 from ronen-fr/wip-ronenf-pg-dtor
osd/scrub: destruct the scrubber shortly before the PG is destructed
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>-
Reviewed-by: Neha Ojha <nojha@redhat.com>
krunerge [Mon, 13 Sep 2021 11:12:36 +0000 (19:12 +0800)]
doc/dev/crimson/poseidonstore: fix typo
Signed-off-by: krunerge <krunerge@tencent.com>
Ilya Dryomov [Mon, 13 Sep 2021 10:04:34 +0000 (12:04 +0200)]
Merge pull request #42555 from hualongfeng/retire_error_change
librbd/cache/pwl/ssd: remove correct m_blocks_to_log_entries entry
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 13 Sep 2021 09:44:09 +0000 (11:44 +0200)]
Merge pull request #43038 from majianpeng/librbd-pwl-exclusive-lock
librbd: require exclusive lock for reads if pwl cache is enabled
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Feng Hualong [Wed, 28 Jul 2021 03:42:44 +0000 (11:42 +0800)]
librbd/cache/pwl/ssd: remove correct m_blocks_to_log_entries entry
When retiring, m_blocks_to_log_entries doesn't remove
corresponding write_entry (should be `*it` not `entry`)
that will be retired. It leads to read error. And
there should also consider discard entries.
Fixes: https://tracker.ceph.com/issues/52579
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
Sebastian Wagner [Mon, 13 Sep 2021 07:39:16 +0000 (09:39 +0200)]
Merge pull request #43143 from sebastian-philipp/further-reading
doc/cephadm: Add lots of links to other chapters
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Ronen Friedman [Sun, 12 Sep 2021 13:32:44 +0000 (16:32 +0300)]
Merge pull request #41869 from ronen-fr/wip-ronenf-fmt-scrub
common, osd: add fmtlib formatting of some OSD types
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ronen Friedman [Sun, 12 Sep 2021 12:47:52 +0000 (15:47 +0300)]
Merge pull request #43056 from Matan-B/wip-matanb-scrub-passkey
osd: Replacing friend declarations for passkey interface
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Ronen Friedman [Sun, 12 Sep 2021 12:40:22 +0000 (15:40 +0300)]
Merge pull request #42684 from ronen-fr/wip-ronenf-scrub-token
osd/scrub: tag replica scrub messages to identify stale events
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Sebastian Wagner [Sat, 11 Sep 2021 18:02:44 +0000 (20:02 +0200)]
doc/cephadm: Add lots of links to other chapters
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Sat, 11 Sep 2021 17:15:38 +0000 (19:15 +0200)]
doc/cephadm: Removing a service
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Kefu Chai [Fri, 10 Sep 2021 23:42:01 +0000 (07:42 +0800)]
Merge pull request #43134 from ceph/debhelpermerged
debian/control: dh-systemd is part of debhelper now
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
David Galloway [Fri, 10 Sep 2021 13:55:56 +0000 (09:55 -0400)]
debian/control: dh-systemd is part of debhelper now
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822670
Signed-off-by: David Galloway <dgallowa@redhat.com>
Joseph Sawaya [Thu, 9 Sep 2021 19:49:52 +0000 (15:49 -0400)]
qa/tasks/rook: add testing for host label add/rm
This commit adds simple tests that check if the orchestrator
can add and remove labels from nodes.
Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
Ernesto Puerta [Fri, 10 Sep 2021 12:32:18 +0000 (14:32 +0200)]
Merge pull request #43104 from ceph/e2e-tests-documentation
doc/dev: specify location of e2e-tests script
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Fri, 10 Sep 2021 12:25:31 +0000 (14:25 +0200)]
Merge pull request #43053 from a16bitsysop/fsevents
mgr/dashboard: use -f for npm ci to skip fsevents error
Reviewed-by: a16bitsysop <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Ilya Dryomov [Fri, 10 Sep 2021 09:36:45 +0000 (11:36 +0200)]
Merge pull request #42984 from majianpeng/pwl-ssd-race-bug
librbd/cache/pwl/ssd: fix a race between get_cache_bl() and remove_cache_bl()
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Fri, 10 Sep 2021 07:41:18 +0000 (09:41 +0200)]
Merge pull request #42883 from majianpeng/pwl-ssd-calc-allocated-bug
librbd/cache/pwl: fix m_bytes_{allocated,cached} calculation on reopen
Reviewed-by: Yin Congmin <congmin.yin@intel.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Samuel Just [Fri, 10 Sep 2021 04:53:55 +0000 (21:53 -0700)]
Merge pull request #43124 from xxhdx1985126/wip-om-log-fix
crimson/os/seastore: fix some debug outputs in omap manager
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Xuehan Xu [Fri, 10 Sep 2021 02:33:40 +0000 (10:33 +0800)]
crimson/os/seastore: fix some debug outputs in omap manager
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Samuel Just [Thu, 9 Sep 2021 20:40:34 +0000 (13:40 -0700)]
Merge pull request #43108 from xxhdx1985126/wip-epm-roll-leak
crimson/os/seastore: fix epm rolling_segment leak when the transaction is interrupted
Reviewed-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 9 Sep 2021 20:13:48 +0000 (13:13 -0700)]
Merge pull request #43118 from rzarzynski/wip-crimson-assert-v2-on-bind
crimson/net: assert the address is v2 on attempt to bind.
Reviewed-by: Samuel Just <sjust@redhat.com>
Joseph Sawaya [Tue, 31 Aug 2021 16:14:06 +0000 (12:14 -0400)]
mgr/rook: host add/rm label in rook orchestrator
This commit adds the functionality for adding/removing labels
to hosts using the rook orchestrator and orch host label add/rm.
The labels are added to the kubernetes node object as kubernetes
labels prefixed by "ceph-label/".
This commit also changes ceph orch host ls to display only the ceph
labels.
Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
Laura Flores [Wed, 8 Sep 2021 21:22:45 +0000 (16:22 -0500)]
doc/dev: specify location of e2e-tests script
I was just going through these steps myself, and I found it difficult to locate and run `run-frontend-e2e-tests.sh`. Specifying the location of it might make it clearer to others where the correct script is located.
Signed-off-by: Laura Flores <lflores@redhat.com>
Guillaume Abrioux [Thu, 9 Sep 2021 17:16:51 +0000 (19:16 +0200)]
Merge pull request #42912 from dsavineau/ceph_volume_lvm_active_no_systemd
ceph-volume: fix lvm activate --all --no-systemd
Yuri Weinstein [Thu, 9 Sep 2021 17:11:08 +0000 (10:11 -0700)]
Merge pull request #43013 from rzarzynski/wip-msg-const-features_supported
msg: make Policy::features_supported static and constant.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 9 Sep 2021 17:10:06 +0000 (10:10 -0700)]
Merge pull request #42853 from sseshasa/wip-fix-vstart-mon-permissions
mon/MonCap: Update osd profile to allow cmd to set iops capacity on mon db
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Radoslaw Zarzynski [Thu, 9 Sep 2021 14:42:04 +0000 (14:42 +0000)]
crimson/net: assert the address is v2 on attempt to bind.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Guillaume Abrioux [Thu, 9 Sep 2021 14:13:26 +0000 (16:13 +0200)]
Merge pull request #43014 from dsavineau/ceph_volume_lvm_active_id_fsid_mandatory
ceph-volume: fix lvm activate arguments
Ilya Dryomov [Thu, 9 Sep 2021 14:12:15 +0000 (16:12 +0200)]
Merge pull request #43079 from petrutlucian94/hv_addr_doc
doc/rbd: describe Hyper-V disk addressing limitations
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 9 Sep 2021 13:22:43 +0000 (15:22 +0200)]
Merge pull request #43086 from idryomov/wip-rbd-validate-pool-async
librbd: fix pool validation lockup
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Thu, 9 Sep 2021 10:10:44 +0000 (13:10 +0300)]
Merge pull request #43107 from SUSE/wip-fix-52553
pybind/rados: don't close watch in dealloc if already closed
Reviewed-by: Mykola Golub <mgolub@suse.com>
Guillaume Abrioux [Thu, 9 Sep 2021 08:42:26 +0000 (10:42 +0200)]
Merge pull request #43042 from dsavineau/ceph_volume_lvm_migrate_args
ceph-volume: fix lvm migrate without args
Xuehan Xu [Thu, 9 Sep 2021 08:18:32 +0000 (16:18 +0800)]
crimson/os/seastore: fix epm rolling_segment leak when the transaction is interrupted
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Xuehan Xu [Fri, 3 Sep 2021 15:19:28 +0000 (23:19 +0800)]
crimson/os/seastore: better epm output
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Matan Breizman [Wed, 1 Sep 2021 16:18:40 +0000 (16:18 +0000)]
osd: Replacing friend declerations for passkey interface
removing friend decleration from PrimaryLogScrub and ReplicaReservations
Signed-off-by: Matan Breizman <Matan.Brz@gmail.com>
Tim Serong [Thu, 9 Sep 2021 07:08:24 +0000 (17:08 +1000)]
pybind/rados: don't close watch in dealloc if already closed
Fixes: https://tracker.ceph.com/issues/52553
Signed-off-by: Tim Serong <tserong@suse.com>
Samuel Just [Thu, 9 Sep 2021 02:08:26 +0000 (19:08 -0700)]
Merge pull request #41803 from xxhdx1985126/wip-extent-placement-manager-2
crimson/os/seastore: add extent placement manager
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 9 Sep 2021 01:18:46 +0000 (18:18 -0700)]
Merge pull request #43105 from liu-chunmei/clean-alien-in-store-nbd
crimson/tools: clean alien in store-nbd
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
chunmei-liu [Wed, 8 Sep 2021 23:22:02 +0000 (16:22 -0700)]
crimson/tools: clean alien in store-nbd
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Neha Ojha [Wed, 8 Sep 2021 18:03:09 +0000 (11:03 -0700)]
Merge pull request #42604 from sseshasa/wip-skip-osd-benchmark
osd: Add config option to skip running the osd benchmark during init and update documentation.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Guillaume Abrioux [Wed, 8 Sep 2021 15:35:33 +0000 (17:35 +0200)]
Merge pull request #43052 from dsavineau/ceph_volume_lvm_deactive_remove_all_arg
ceph-volume: remove --all ref from deactivate help
Sebastian Wagner [Wed, 8 Sep 2021 15:10:13 +0000 (17:10 +0200)]
Merge pull request #43045 from sebastian-philipp/qa-tox-import-yaml
qa: tox.ini: verify yaml syntax
Reviewed-by: Sage Weil <sage@newdream.net>
Dimitri Savineau [Fri, 3 Sep 2021 14:45:18 +0000 (10:45 -0400)]
ceph-volume: fix lvm migrate without args
When running the `lvm migrate` subcommand without any args then the
ceph-volume command fails with a stack trace.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
return f(*a, **kw)
File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 151, in main
terminal.dispatch(self.mapper, subcommand_args)
File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
instance.main()
File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 46, in main
terminal.dispatch(self.mapper, self.argv)
File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
instance.main()
File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 520, in main
self.migrate_osd()
File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
return func(*a, **kw)
File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 403, in migrate_osd
if self.args.osd_id:
AttributeError: 'Migrate' object has no attribute 'args'
That's because we're exiting the parse_argv function but we continue to
execute the migrate_osd function. We should instead exit from the main function.
This update the parsing argument to have the same code than new-db and
new-wal classes.
Now the parsing is done in the make_parser function but the argv testing is
done in the main function allowing to exit the program and displaying the
help message when no arguments are provided.
Fixes: https://tracker.ceph.com/issues/51811
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
Sebastian Wagner [Wed, 8 Sep 2021 13:40:03 +0000 (15:40 +0200)]
Merge pull request #42859 from mgfritch/cephadm-check-host-no-engine
mgr/cephadm: show unhandled exceptions during host add
Reviewed-by: Adam King <adking@redhat.com>