]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
Ilya Dryomov [Sun, 30 Jan 2022 16:58:07 +0000 (17:58 +0100)]
Merge pull request #44833 from fstachura/wip-doc-more-pdf-links
doc: Fix links to CRUSH, RADOS and DSP research papers
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Franciszek Stachura [Sat, 29 Jan 2022 09:43:02 +0000 (10:43 +0100)]
doc: Fix links to CRUSH, RADOS and DSP research papers.
Signed-off-by: Franciszek Stachura <fbstachura@gmail.com>
Kefu Chai [Sat, 29 Jan 2022 06:13:41 +0000 (14:13 +0800)]
Merge pull request #44707 from liumiaomiaoIntel/qatdoc
doc/radosgw: update QAT acceleration to specify the configuration
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Miaomiao Liu [Fri, 21 Jan 2022 07:45:44 +0000 (15:45 +0800)]
doc/radosgw: update QAT acceleration to specify the configuration
add and change the configuration steps to enable latest version of QAT
driver on QAT based encryption and compression
Signed-off-by: Miaomiao Liu <miaomiao.liu@intel.com>
Casey Bodley [Fri, 28 Jan 2022 19:09:59 +0000 (14:09 -0500)]
Merge pull request #44816 from cbodley/wip-rgw-cmake-system
cmake/rgw: src/rgw and src/rgw/services are not system headers
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Sebastian Wagner [Fri, 28 Jan 2022 15:19:35 +0000 (16:19 +0100)]
Merge pull request #44801 from sebastian-philipp/doc-cephadm-count-per-host
doc/cephadm: Co-location of daemons
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>
Daniel Gryniewicz [Fri, 28 Jan 2022 14:39:41 +0000 (09:39 -0500)]
Merge pull request #44823 from andriytk/fix-install-deps2
install-deps.sh: fix cortx-motr installation condition
Andriy Tkachuk [Fri, 28 Jan 2022 11:33:12 +0000 (11:33 +0000)]
install-deps.sh: fix cortx-motr installation condition
Don't try to install cortx-motr if it is already installed
or not needed. (Currently, it installs on any run from an
interactive terminal session).
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
zdover23 [Thu, 27 Jan 2022 23:29:14 +0000 (09:29 +1000)]
Merge pull request #44711 from zdover23/wip-doc-2022-01-21-rados-bluestore-cache-autotune-interval-rewrite-2
src/rados: rewrite bs cache autotune instructions
Reviewed-by: Laura Flores <lflores@redhat.com>
Adam King [Thu, 27 Jan 2022 22:35:21 +0000 (17:35 -0500)]
Merge pull request #44703 from phlogistonjohn/jjm-issue46773
cephadm: validate that the constructed YumDnf baseurl is usable
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Thu, 27 Jan 2022 22:34:01 +0000 (17:34 -0500)]
Merge pull request #44517 from adk3798/agent-cache
mgr/cephadm: store agent metadata in its own cache
Reviewed-By: Sebastian Wagner <sewagner@redhat.com>
Casey Bodley [Thu, 27 Jan 2022 21:31:00 +0000 (16:31 -0500)]
cmake/rgw: src/rgw and src/rgw/services are not system headers
include these with -I instead of -isystem so we don't hide their
compiler warnings
Signed-off-by: Casey Bodley <cbodley@redhat.com>
zdover23 [Thu, 27 Jan 2022 18:16:16 +0000 (04:16 +1000)]
Merge pull request #44719 from zdover23/wip-doc-2021-01-22-man-page-radosgw-multitenancy-remove-double-quotes
doc/radosgw: replace double quotes with single
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Daniel Gryniewicz [Thu, 27 Jan 2022 16:33:25 +0000 (11:33 -0500)]
Merge pull request #44379 from andriytk/add-motr-rgw-sal
rgw: add CORTX Motr SAL implementation
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Ernesto Puerta [Thu, 27 Jan 2022 15:10:40 +0000 (16:10 +0100)]
Merge pull request #44654 from rhcs-dashboard/page-title-feature
mgr/dashboard: Page title should indicate current location
Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Venky Shankar [Thu, 27 Jan 2022 12:57:44 +0000 (18:27 +0530)]
Merge pull request #44793 from anthonyeleven/anthonyeleven/cephfs-mirroring
doc/cephfs: Clean up mirroring
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Andriy Tkachuk [Mon, 1 Nov 2021 21:39:39 +0000 (21:39 +0000)]
rgw: add CORTX Motr SAL implementation
To build with Motr backend, use -DWITH_RADOSGW_MOTR=YES cmake
option. cortx-motr-devel rpm should be installed beforehand.
To connect to Motr cluster, add the following configuration
parameters to ceph.conf:
[client]
...
rgw backend store = motr
motr profile fid = 0x7000000000000001:0x4f
motr ha endpoint = inet:tcp:10.0.0.1@2001
...
[client.rgw.8000]
...
motr my endpoint = inet:tcp:10.0.0.1@5001
motr my fid = 0x7200000000000001:0x29
The correct values for the Motr connection parameters can be
taken from `hctl status` cmd output after Motr cluster is
bootstrapped. In the example above, the values were taken from
the following output:
Profile:
0x7000000000000001:0x4f
Services:
centos8n1
[started] hax 0x7200000000000001:0x6 inet:tcp:10.0.0.1@5001
...
[unknown] m0_client 0x7200000000000001:0x29 inet:tcp:10.0.0.1@5001
Motr pkgs for the build/run can be taken from
https://github.com/Seagate/cortx-motr/releases/tag/2.0.0-rgw.
Co-authored-by: Sining Wu <sining.wu@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Sarthak0702 [Tue, 18 Jan 2022 20:39:27 +0000 (02:09 +0530)]
mgr/dashboard: Page title should indicate current location
Added titleService to BreadcrumbsComponent.
Fixes: https://tracker.ceph.com/issues/36587
Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
Sebastian Wagner [Thu, 27 Jan 2022 09:09:58 +0000 (10:09 +0100)]
doc/cephadm: Co-location of daemons
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Ernesto Puerta [Thu, 27 Jan 2022 09:37:07 +0000 (10:37 +0100)]
Merge pull request #44693 from rhcs-dashboard/configuration-test
mgr/dashboard: navigation page e2e fix
Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Yingxin [Thu, 27 Jan 2022 05:25:21 +0000 (13:25 +0800)]
Merge pull request #44748 from cyx1231st/wip-crimson-improve-log-tm
crimson/os/seastore/transaction_manager: cleanups and logs
Reviewed-by: Samuel Just <sjust@redhat.com>
Adam King [Thu, 27 Jan 2022 02:42:39 +0000 (21:42 -0500)]
Merge pull request #44760 from mgfritch/fixup-asyncssh-mypy
mgr/cephadm: improve asyncssh type checking
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Melissa Li <melissali@redhat.com>
Neha Ojha [Wed, 26 Jan 2022 20:48:51 +0000 (12:48 -0800)]
Merge pull request #44792 from Matan-B/wip-matanb-email-contact
mailmap: Add Matan Breizman
Reviewed-by: Neha Ojha <nojha@redhat.com>
Anthony D'Atri [Wed, 26 Jan 2022 20:01:26 +0000 (12:01 -0800)]
doc/cephfs: Clean up mirroring
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
Matan Breizman [Wed, 26 Jan 2022 17:57:13 +0000 (17:57 +0000)]
mailmap: Add Matan Breizman
Add Matan Breizman to mailmap.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Guillaume Abrioux [Wed, 26 Jan 2022 17:49:45 +0000 (18:49 +0100)]
Merge pull request #44304 from guits/guits-fix-cv-batch-mpath
ceph-volume: improve mpath devices support
Liu-Chunmei [Wed, 26 Jan 2022 08:26:25 +0000 (00:26 -0800)]
Merge pull request #44782 from liu-chunmei/crimson-fix-content-corrupt
crimson: fix qa/RadosModel content corrupt
reviewed by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 26 Jan 2022 06:27:08 +0000 (22:27 -0800)]
Merge pull request #44718 from liu-chunmei/crimson-fix-split_pin_right-assert
crimson: fix split_pin_left assert_aligned
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
chunmei-liu [Tue, 25 Jan 2022 06:39:31 +0000 (22:39 -0800)]
crimson: fix qa/RadosModel content corrupt
RadosModel test read more length than object size, if truncate
not append zero to bufferlist, RadosMode will read more data and
it will check if there is content after the object size. So append
zero after truncate size to end of extent.
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
chunmei-liu [Tue, 25 Jan 2022 01:36:23 +0000 (17:36 -0800)]
crimson: eliminate warning for unused variable
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
chunmei-liu [Fri, 21 Jan 2022 16:22:59 +0000 (08:22 -0800)]
crimson: fix split_pin_left assert_aligned
hint passed to lba alloc_extent may not be block size aligned
in a certain case, this hint insert lba tree as key, so make
laddr in lba tree is not aligned.
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Guillaume Abrioux [Tue, 14 Dec 2021 10:08:48 +0000 (11:08 +0100)]
ceph-volume: fix typo in tests
This fixes 2 typo in ceph-volume tests.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 14 Dec 2021 09:42:09 +0000 (10:42 +0100)]
doc/ceph-volume: fix a typo
This fixes a typo in ceph-volume documentation.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 14 Dec 2021 09:40:35 +0000 (10:40 +0100)]
ceph-volume: add a test `test_mpath_device_is_device`
This test checks that Device.is_device() returns True for a mpath device.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 14 Dec 2021 08:57:10 +0000 (09:57 +0100)]
ceph-volume: improve mpath devices support
ee8887f4c0ff4f91117f31b621b95c8d08019130 was intended for adding
mpath devices support in ceph-volume but it has missed the lvm batch scenario.
This also fixes the zapping of mpath devices prepared with `ceph-volume raw`
Fixes: https://tracker.ceph.com/issues/52908
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Adam King [Tue, 25 Jan 2022 19:25:34 +0000 (14:25 -0500)]
Merge pull request #44549 from melissa-kun-li/remove-iscsi
mgr/cephadm/iscsi: use `mon_command` in `post_remove` instead of `check_mon_command`
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Tue, 25 Jan 2022 19:21:06 +0000 (14:21 -0500)]
Merge pull request #44682 from sebastian-philipp/cephadm-ipv6-parse-ipv6-addr-wo-route
cephadm: _parse_ipv6_route: Fix parsing ifs w/o route
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Michael Fritch [Mon, 24 Jan 2022 19:39:15 +0000 (12:39 -0700)]
mgr/cephadm: improve asyncssh type checking
asyncssh 2.9.0 introduces additional type hints
Fixes: https://tracker.ceph.com/issues/54003
Signed-off-by: Michael Fritch <mfritch@suse.com>
Yuri Weinstein [Tue, 25 Jan 2022 17:22:57 +0000 (09:22 -0800)]
Merge pull request #44735 from neha-ojha/wip-reduce-cephadm
qa/suites/rados: reduce the number of cephadm tests
Reviewed-by: Adam King adking@redhat.com
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Adam King [Tue, 25 Jan 2022 17:06:05 +0000 (12:06 -0500)]
Merge pull request #44662 from guits/cv-shared_ceph_folder
cephadm: add shared_ceph_folder opt to ceph-volume subcommand
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Tue, 25 Jan 2022 15:56:13 +0000 (16:56 +0100)]
Merge pull request #44695 from liewegas/fix-cephadm-pretty-timedelta
pybind/mgr/mgr_util: fix to_pretty_timedelta()
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Sebastian Wagner [Tue, 25 Jan 2022 15:54:16 +0000 (16:54 +0100)]
Merge pull request #44459 from adk3798/misc-args
mgr/cephadm: allow miscellaneous container args at service level
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Guillaume Abrioux [Tue, 25 Jan 2022 15:05:40 +0000 (16:05 +0100)]
Merge pull request #44192 from liuqinfei/docfix
doc: typo fixes in ceph-volume and install
Guillaume Abrioux [Wed, 19 Jan 2022 13:17:04 +0000 (14:17 +0100)]
cephadm: add shared_ceph_folder opt to ceph-volume subcommand
This commit adds the `--shared_ceph_folder` option to `ceph-volume`
subcommand, just like `shell` and `bootstrap` subcommands.
Fixes: https://tracker.ceph.com/issues/53931
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Ilya Dryomov [Tue, 25 Jan 2022 14:06:14 +0000 (15:06 +0100)]
Merge pull request #44282 from orozery/qa-qemu-nbd-ide-interface
qa/tasks/qemu: switch nbd devices from virtio to ide
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Guillaume Abrioux [Tue, 25 Jan 2022 10:03:35 +0000 (11:03 +0100)]
Merge pull request #44066 from guits/guits-fix-rollback-osd
ceph-volume: zap osds in rollback_osd()
Ronen Friedman [Tue, 25 Jan 2022 08:19:33 +0000 (10:19 +0200)]
Merge pull request #44755 from ronen-fr/wip-rf-be2-clang1
osd/scrub: fix ceph::mutex usage
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Yingxin [Tue, 25 Jan 2022 06:52:24 +0000 (14:52 +0800)]
Merge pull request #44740 from liu-chunmei/crimson-fix-remove_from_lru-assert
crimson: fix remove_from_lru assert
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yingxin [Tue, 25 Jan 2022 05:02:37 +0000 (13:02 +0800)]
Merge pull request #44653 from cyx1231st/wip-crimson-osd-empty-transaction
crimson/osd: ShardServices::dispatch_context_transaction to flush
Reviewed-by: Samuel Just <sjust@redhat.com>
Yingxin Cheng [Mon, 24 Jan 2022 05:16:20 +0000 (13:16 +0800)]
crimson/os/seastore/transaction_manager: consolidate logs in levels
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 24 Jan 2022 05:05:47 +0000 (13:05 +0800)]
crimson/os/seastore/transaction_manager: abort when error
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 24 Jan 2022 03:52:44 +0000 (11:52 +0800)]
crimson/os/seastore/transaction_manager: drop the extent metrics
These metrics won't distinguish extent operations from invalidated and
successful transactions.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Adam King [Wed, 19 Jan 2022 02:44:54 +0000 (21:44 -0500)]
cephadm: fully replace agent files when writing them
otherwise, if the new file is shorter than the old one
we will end up with a malformed file retaining the end bit
of the old version
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Mon, 10 Jan 2022 20:12:11 +0000 (15:12 -0500)]
mgr/cephadm: store agent metadata in its own cache
To avoid having the host cache getting too big
due to having to store this additional info
Fixes: https://tracker.ceph.com/issues/53624
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Mon, 24 Jan 2022 22:40:06 +0000 (17:40 -0500)]
Merge pull request #44761 from mgfritch/cephadm-asyncssh-2_8
mgr/cephadm: require asyncssh 2.8
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Melissa Li <melissali@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Michael Fritch [Mon, 24 Jan 2022 19:58:17 +0000 (12:58 -0700)]
mgr/cephadm: require asyncssh 2.8
Fixes: https://tracker.ceph.com/issues/54003
Signed-off-by: Michael Fritch <mfritch@suse.com>
Ronen Friedman [Mon, 24 Jan 2022 13:01:49 +0000 (13:01 +0000)]
osd/scrub: fix clang compilation issues
Issues created by the scrub-backend refactoring PR.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Adam C. Emerson [Mon, 24 Jan 2022 17:26:03 +0000 (12:26 -0500)]
Merge pull request #44737 from adamemerson/wip-wrong-modelines
cleanup: Change incorrect modelines
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
chunmei-liu [Mon, 24 Jan 2022 17:12:00 +0000 (09:12 -0800)]
crimson: fix remove_from_lru assert
RETIRED_PLACEHOLDER extent also put into retired set, when do
commit_retire_extent need check if it is RETIRED_PLACEHOLDER,
otherwise will cause remove_from_lru assert.
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>