]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agomgr/cephadm: fixing natsort dependencies on debian 44895/head
Redouane Kachach [Thu, 17 Mar 2022 08:49:26 +0000 (09:49 +0100)]
mgr/cephadm: fixing natsort dependencies on debian

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/cephadm: Adding support for natural sorting
Redouane Kachach [Fri, 4 Feb 2022 11:22:50 +0000 (12:22 +0100)]
mgr/cephadm: Adding support for natural sorting
Fixes: https://tracker.ceph.com/issues/54026
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45472 from vshankar/revert-45307
Venky Shankar [Thu, 24 Mar 2022 06:39:50 +0000 (12:09 +0530)]
Merge pull request #45472 from vshankar/revert-45307

Revert "mds: kill session when mds do ms_handle_remote_reset"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoRevert "mds: kill session when mds do ms_handle_remote_reset" 45472/head
Venky Shankar [Thu, 17 Mar 2022 04:36:38 +0000 (10:06 +0530)]
Revert "mds: kill session when mds do ms_handle_remote_reset"

This reverts commit 3651deb4e0b0c102adcaddce79ee4e053f033418.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45340 from benhanokh/disable_ncb_rotational
Neha Ojha [Wed, 23 Mar 2022 21:49:23 +0000 (14:49 -0700)]
Merge pull request #45340 from benhanokh/disable_ncb_rotational

os/bluestore: Disable NCB functionality on rotational drives

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #45551 from liu-chunmei/crimson-string-view
Samuel Just [Wed, 23 Mar 2022 20:49:01 +0000 (13:49 -0700)]
Merge pull request #45551 from liu-chunmei/crimson-string-view

crimson: keep string alive during string_view lifetime

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44696 from cbodley/wip-arrow-submodule-ext
Casey Bodley [Wed, 23 Mar 2022 19:43:38 +0000 (15:43 -0400)]
Merge pull request #44696 from cbodley/wip-arrow-submodule-ext

cmake: add submodule for Apache Arrow at v6.0.1

Reviewed-by: Gal Salomon <gsalomon@redhat.com>
3 years agoMerge pull request #45550 from liu-chunmei/crimson-fix-read-error-return
Samuel Just [Wed, 23 Mar 2022 19:02:27 +0000 (12:02 -0700)]
Merge pull request #45550 from liu-chunmei/crimson-fix-read-error-return

crimson: return read error code in MOSDOpReply

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45246 from aclamk/wip-bluefs-sync-compaction-fix
Yuri Weinstein [Wed, 23 Mar 2022 17:18:31 +0000 (10:18 -0700)]
Merge pull request #45246 from aclamk/wip-bluefs-sync-compaction-fix

Fix BlueFS sync compaction

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agoMerge pull request #45230 from ljflores/wip-github-actions-stale
Laura Flores [Wed, 23 Mar 2022 16:37:38 +0000 (11:37 -0500)]
Merge pull request #45230 from ljflores/wip-github-actions-stale

.github/workflows: replace probot-stale with equivalent github action

3 years agoMerge pull request #45466 from neha-ojha/wip-54592
Yuri Weinstein [Wed, 23 Mar 2022 15:45:15 +0000 (08:45 -0700)]
Merge pull request #45466 from neha-ojha/wip-54592

osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty

Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #45366 from NitzanMordhai/wip-nitzan-test-librados-watchnotify...
Yuri Weinstein [Wed, 23 Mar 2022 15:35:28 +0000 (08:35 -0700)]
Merge pull request #45366 from NitzanMordhai/wip-nitzan-test-librados-watchnotify-watch2delete

tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
3 years agoMerge pull request #45468 from idryomov/wip-pool-reverse-lookup-osdmap
Yuri Weinstein [Wed, 23 Mar 2022 14:45:42 +0000 (07:45 -0700)]
Merge pull request #45468 from idryomov/wip-pool-reverse-lookup-osdmap

librados: check latest osdmap on ENOENT in pool_reverse_lookup()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45429 from votdev/issue_54591_language_dropdown
Ernesto Puerta [Wed, 23 Mar 2022 11:50:41 +0000 (12:50 +0100)]
Merge pull request #45429 from votdev/issue_54591_language_dropdown

mgr/dashboard: Language dropdown box is partly hidden on login page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45577 from wxypro/mgr-stat-fix
Jos Collin [Wed, 23 Mar 2022 11:06:42 +0000 (16:36 +0530)]
Merge pull request #45577 from wxypro/mgr-stat-fix

mgr/stats: fix a typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
3 years agoMerge pull request #44579 from asm0deuz/fix_pids_limits_bug_52898
Ilya Dryomov [Wed, 23 Mar 2022 07:44:13 +0000 (08:44 +0100)]
Merge pull request #44579 from asm0deuz/fix_pids_limits_bug_52898

cephadm: Remove containers pids-limit

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agomgr/stats: fix an typo in comment 45577/head
wangxinyu [Wed, 23 Mar 2022 07:31:01 +0000 (15:31 +0800)]
mgr/stats: fix an typo in comment

fix an typo in comment

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
3 years agocrimson: keep string alive during string_view lifetime 45551/head
Chunmei Liu [Wed, 23 Mar 2022 05:21:24 +0000 (22:21 -0700)]
crimson: keep string alive during string_view lifetime

Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agocrimson:return read error code in MOSDOpReply 45550/head
Chunmei Liu [Mon, 21 Mar 2022 06:14:17 +0000 (23:14 -0700)]
crimson:return read error code in MOSDOpReply

Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45512 from zdover23/wip-doc-2022-03-18-master-to-main
Josh Durgin [Tue, 22 Mar 2022 23:38:40 +0000 (16:38 -0700)]
Merge pull request #45512 from zdover23/wip-doc-2022-03-18-master-to-main

ceph/admin: s/master/main

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45286 from adk3798/ssh-offline
Adam King [Tue, 22 Mar 2022 22:00:22 +0000 (18:00 -0400)]
Merge pull request #45286 from adk3798/ssh-offline

mgr/cephadm: add keep-alive requests to ssh connections

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45333 from s0nea/config-fqdn
Adam King [Tue, 22 Mar 2022 21:58:28 +0000 (17:58 -0400)]
Merge pull request #45333 from s0nea/config-fqdn

mgr/cephadm: try to get FQDN for configuration files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agoqa/suites/orch/cephadm: restrict test_iscsi_pids_limit to CentOS 44579/head
Ilya Dryomov [Tue, 22 Mar 2022 10:36:18 +0000 (11:36 +0100)]
qa/suites/orch/cephadm: restrict test_iscsi_pids_limit to CentOS

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agocephadm: remove containers pids-limit
Teoman ONAY [Thu, 11 Nov 2021 15:05:49 +0000 (15:05 +0000)]
cephadm: remove containers pids-limit

The default pids-limit (docker 4096/podman 2048) prevent some
customization from working (http threads on RGW) or limits the number
of luns per iscsi target.

Fixes: https://tracker.ceph.com/issues/52898
Signed-off-by: Teoman ONAY <tonay@redhat.com>
3 years agoMerge pull request #45269 from kalaspuffar/table_fix
Ernesto Puerta [Tue, 22 Mar 2022 18:35:43 +0000 (19:35 +0100)]
Merge pull request #45269 from kalaspuffar/table_fix

mgr/dashboard: Table columns hiding fix

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: kalaspuffar <NOT@FOUND>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
3 years agoMerge pull request #45510 from ceph/fix-github_workflow-master
Ernesto Puerta [Tue, 22 Mar 2022 17:35:50 +0000 (18:35 +0100)]
Merge pull request #45510 from ceph/fix-github_workflow-master

.github: continue on error

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #44616 from dang/wip-dang-zipper-objctx
Daniel Gryniewicz [Tue, 22 Mar 2022 16:17:24 +0000 (12:17 -0400)]
Merge pull request #44616 from dang/wip-dang-zipper-objctx

RGW - Zipper - remove RGWObjectCtx from SAL API

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #45533 from rhcs-dashboard/update-grafana-version
Ernesto Puerta [Tue, 22 Mar 2022 15:27:25 +0000 (16:27 +0100)]
Merge pull request #45533 from rhcs-dashboard/update-grafana-version

mgr/dashboard/monitoring: update grafana version

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #45420 from mgfritch/cephadm-infer-image-pull
Adam King [Tue, 22 Mar 2022 12:51:57 +0000 (08:51 -0400)]
Merge pull request #45420 from mgfritch/cephadm-infer-image-pull

cephadm: infer the default container image during pull

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agoMerge pull request #45506 from dang/wip-dang-53614
Daniel Gryniewicz [Tue, 22 Mar 2022 12:36:20 +0000 (08:36 -0400)]
Merge pull request #45506 from dang/wip-dang-53614

RGW - Make admin bucket chown accept marker

reviewed-by: Casey Bodley <cbodley@redhat.com>

3 years agoMerge pull request #45360 from rhcs-dashboard/fix-54481-master
Ernesto Puerta [Tue, 22 Mar 2022 12:07:58 +0000 (13:07 +0100)]
Merge pull request #45360 from rhcs-dashboard/fix-54481-master

mgr/dashboard: fix wrong pg status processing

Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
3 years agoMerge pull request #45353 from PepperJo/readv_writev_overflow_v2
Ilya Dryomov [Tue, 22 Mar 2022 10:13:46 +0000 (11:13 +0100)]
Merge pull request #45353 from PepperJo/readv_writev_overflow_v2

librbd: readv/writev fix iovecs length computation overflow

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45285 from chrisphoffman/wip-rbd-du-validate
Ilya Dryomov [Tue, 22 Mar 2022 10:11:53 +0000 (11:11 +0100)]
Merge pull request #45285 from chrisphoffman/wip-rbd-du-validate

test/librbd: add test to verify diff_iterate size

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45221 from rzarzynski/wip-core-drop-unused-aiocompletion-in-librados
Yuri Weinstein [Mon, 21 Mar 2022 21:12:39 +0000 (14:12 -0700)]
Merge pull request #45221 from rzarzynski/wip-core-drop-unused-aiocompletion-in-librados

core, test: fix compile-time warnings

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45415 from Matan-B/wip-matanb-watch-r-buffer
Samuel Just [Mon, 21 Mar 2022 18:31:42 +0000 (11:31 -0700)]
Merge pull request #45415 from Matan-B/wip-matanb-watch-r-buffer

crimson/osd: fix osd crash due to buffer reference binding

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45050 from hualongfeng/qatchange
Casey Bodley [Mon, 21 Mar 2022 13:40:55 +0000 (09:40 -0400)]
Merge pull request #45050 from hualongfeng/qatchange

common/compressor: fix the issue that cannot processed concurrently

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #44491 from nmshelke/fix-46075
Venky Shankar [Mon, 21 Mar 2022 13:09:35 +0000 (18:39 +0530)]
Merge pull request #44491 from nmshelke/fix-46075

ceph-fuse: ignore fuse mount failure if path is already mounted

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoFix a problem in store_test::BluestoreBrokenNoSharedBlobRepairTest where the check... 45340/head
Gabriel BenHanokh [Mon, 21 Mar 2022 10:54:10 +0000 (12:54 +0200)]
Fix a problem in store_test::BluestoreBrokenNoSharedBlobRepairTest where the check for active null-fm was wrong and so reporting bogus errors  when null-fm was inactive
The check need to access dynamic value and not config setting (which can be overridden)
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
3 years agomgr/dashboard/monitoring: update grafana version 45533/head
Aashish Sharma [Mon, 21 Mar 2022 12:10:03 +0000 (17:40 +0530)]
mgr/dashboard/monitoring: update grafana version

Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #45406 from wxypro/fix-typos
Venky Shankar [Mon, 21 Mar 2022 09:59:19 +0000 (15:29 +0530)]
Merge pull request #45406 from wxypro/fix-typos

docs,options: fix typos

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45525 from idryomov/wip-rbd-trash-purge-schedule-relax-assert
Ilya Dryomov [Mon, 21 Mar 2022 09:22:53 +0000 (10:22 +0100)]
Merge pull request #45525 from idryomov/wip-rbd-trash-purge-schedule-relax-assert

qa/workunits/rbd/cli_generic.sh: relax trash purge schedule status assert

Reviewed-by: Mykola Golub <mgolub@suse.com>
3 years agoMerge pull request #45517 from liu-chunmei/crimson-fix-cmpxattr
Liu-Chunmei [Mon, 21 Mar 2022 05:40:28 +0000 (22:40 -0700)]
Merge pull request #45517 from liu-chunmei/crimson-fix-cmpxattr

crimson: let read operation return result in MOSDOpReply

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocommon/compressor: fix the issue that cannot processed concurrently 45050/head 46015/head
Feng Hualong [Wed, 16 Feb 2022 06:01:17 +0000 (14:01 +0800)]
common/compressor: fix the issue that cannot processed concurrently

Now, one session cannot support concurrent and it will lead to crash.
So there are mutil session using. At same time, it also can improve
the performance.

Fixes: https://tracker.ceph.com/issues/54361
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
3 years agoqa/workunits/rbd/cli_generic.sh: relax trash purge schedule status assert 45525/head
Ilya Dryomov [Sat, 19 Mar 2022 13:04:52 +0000 (14:04 +0100)]
qa/workunits/rbd/cli_generic.sh: relax trash purge schedule status assert

Commit 08df6e0fd006 ("qa/workunits/rbd: expand LevelSpec parsing
coverage") didn't account for images with a separate data pool.  This
was missed because of small-cache-pool.yaml breakage.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agocrimson: let read operation return result in MOSDOpReply 45517/head
Chunmei Liu [Fri, 18 Mar 2022 04:12:26 +0000 (21:12 -0700)]
crimson: let read operation return result in MOSDOpReply

otherwise cmp_xattr will failed,
only check if return result for write operation.

Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45518 from liu-chunmei/crimson-fix-read-length
Liu-Chunmei [Sat, 19 Mar 2022 02:55:31 +0000 (19:55 -0700)]
Merge pull request #45518 from liu-chunmei/crimson-fix-read-length

crimson: set returned read length in op.extent.length not in rval

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #45520 from rzarzynski/wip-crimson-rvalue-in-future-set_callback
Kefu Chai [Sat, 19 Mar 2022 01:46:51 +0000 (09:46 +0800)]
Merge pull request #45520 from rzarzynski/wip-crimson-rvalue-in-future-set_callback

crimson/common, seastar: bump up to a newer version. Fix a FTBFS

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #44835 from rhcs-dashboard/cypress-cucumber
Ernesto Puerta [Fri, 18 Mar 2022 17:12:16 +0000 (18:12 +0100)]
Merge pull request #44835 from rhcs-dashboard/cypress-cucumber

mgr/dashboard: BDD approach for the dashboard cephadm e2e

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>
3 years agoMerge pull request #45345 from cbodley/wip-cls-rgw-suggest-version
Casey Bodley [Fri, 18 Mar 2022 15:42:50 +0000 (11:42 -0400)]
Merge pull request #45345 from cbodley/wip-cls-rgw-suggest-version

cls/rgw: rgw_dir_suggest_changes detects race with completion

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoMerge pull request #45300 from soumyakoduri/wip-skoduri-lc-sync
Casey Bodley [Fri, 18 Mar 2022 15:41:35 +0000 (11:41 -0400)]
Merge pull request #45300 from soumyakoduri/wip-skoduri-lc-sync

rgw: Update "CEPH_RGW_DIR_SUGGEST_LOG_OP" for remove entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agomgr/cephadm: try to get FQDN for inventory address 45333/head
Tatjana Dehler [Wed, 9 Mar 2022 15:23:49 +0000 (16:23 +0100)]
mgr/cephadm: try to get FQDN for inventory address

Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
3 years agomgr/cephadm: unify way to get the host address
Tatjana Dehler [Wed, 9 Mar 2022 15:10:49 +0000 (16:10 +0100)]
mgr/cephadm: unify way to get the host address

There are two different ways to get the host address. From the
inventory of the mgr object directly or via the `_inventory_get_addr`
method of `CephadmService`. Update the code in order to use the
`_inventory_get_addr` method only.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
3 years agoseastar: bump up to a newer version. 45520/head
Radosław Zarzyński [Fri, 18 Mar 2022 14:21:09 +0000 (15:21 +0100)]
seastar: bump up to a newer version.

It's needed to addresses a FTBFS due to the Seastar's
no-locking-when-throwing hack.

Tags: seastar submodule
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/common: pass rvalue reference to future::set_callback().
Radosław Zarzyński [Fri, 18 Mar 2022 13:12:53 +0000 (14:12 +0100)]
crimson/common: pass rvalue reference to future::set_callback().

It's necessary since 710a1bfdc02202fe9e59df8ea31de5b82b893fb4
in Seastar.

This change is a part of ongoing upgrade of Seastar which will
be completed in a follow-up PR, after merging another change
with the Seastar's upstream.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agolibrbd: readv/writev fix iovecs length computation overflow 45353/head
Jonas Pfefferle [Wed, 9 Mar 2022 13:26:42 +0000 (14:26 +0100)]
librbd: readv/writev fix iovecs length computation overflow

iovec have unsigned length (size_t) and before this patch the
total length was computed by adding iovec's length to a signed
length variable (ssize_t). While the code checked if the resulting
length was negative on overflow, the case where length is positive
after overflow was not checked. This patch fixes the overflow check
by changing length to unsigned size_t.

Additionally, this patch fixes the case where some iovecs have been
added to the bufferlist and the aio completion has been blocked, but
adding an additional iovec fails because of overflow. This leads to
the UserBufferDeleter trying to unblock the completion on destruction
of the bufferlist but asserting because the completion was never
armed. We avoid this by first computing the total length and checking
for overflows and iovcnt before adding them to the bufferlist.

Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch>
3 years agotests: ceph_test_rados_api_watch_notify: watch2Delete reconnect 45366/head
NitzanMordhai [Sun, 13 Mar 2022 08:52:59 +0000 (08:52 +0000)]
tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect

During test LibRadosWatchNotify.Watch2Delete rados_watch_check can return error -102 if reconnect happened, in that case Broken pipe reconnect and -102 returned

Fixes: https://tracker.ceph.com/issues/51307
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
Signed-off-by: NitzanMordhai <nmordech@redhat.com>
3 years agocrimson: set returned read length in op.extent.length not in rval 45518/head
Chunmei Liu [Fri, 18 Mar 2022 05:42:32 +0000 (22:42 -0700)]
crimson: set returned read length in op.extent.length not in rval

rval set to be zero, means read success.
otherwise CReadOpsTest failed.

Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45419 from tchaikov/wip-cxx20-fixes-core
Kefu Chai [Fri, 18 Mar 2022 03:18:34 +0000 (11:18 +0800)]
Merge pull request #45419 from tchaikov/wip-cxx20-fixes-core

osd, common: C++20 related fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoceph/admin: s/master/main 45512/head
Zac Dover [Thu, 17 Mar 2022 23:05:45 +0000 (09:05 +1000)]
ceph/admin: s/master/main

This PR changes the name "master" to "main" so
that builds (and, I assume, a great many other
things) will not fail.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #45391 from mkogan1/wip-fix-lc-alloc
Casey Bodley [Thu, 17 Mar 2022 21:12:25 +0000 (17:12 -0400)]
Merge pull request #45391 from mkogan1/wip-fix-lc-alloc

rgwlc: fix segfault during lc

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoBug-Fix from PR-44370 force setting need_to_destage_allocation_file to True on device...
Gabriel BenHanokh [Thu, 17 Mar 2022 20:26:58 +0000 (22:26 +0200)]
Bug-Fix from PR-44370 force setting need_to_destage_allocation_file to True on device expansion without checking if we work in null-fm mode
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
3 years agoMerge pull request #45103 from jtlayton/wip-54280
Yuri Weinstein [Thu, 17 Mar 2022 19:55:49 +0000 (12:55 -0700)]
Merge pull request #45103 from jtlayton/wip-54280

osd: allow sparse reads with a non-zero truncate-seq

Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years ago.github: continue on error 45510/head
Ernesto Puerta [Thu, 17 Mar 2022 19:53:31 +0000 (20:53 +0100)]
.github: continue on error

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #40703 from linuxbox2/wip-rgwlc-noreset
Matt Benjamin [Thu, 17 Mar 2022 18:03:19 +0000 (14:03 -0400)]
Merge pull request #40703 from linuxbox2/wip-rgwlc-noreset

rgwlc: remove explicit lc shard resets at start-of-run

3 years agoMerge pull request #45392 from sseshasa/wip-snaptrim-qos-with-mclock
Yuri Weinstein [Thu, 17 Mar 2022 16:48:12 +0000 (09:48 -0700)]
Merge pull request #45392 from sseshasa/wip-snaptrim-qos-with-mclock

mon, osd: Add snaptrim stats to the existing PG stats.

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agorgwlc: restore already_run_today guard 40703/head
Matt Benjamin [Tue, 15 Mar 2022 19:36:45 +0000 (15:36 -0400)]
rgwlc:  restore already_run_today guard

On review, this constraint was correct--it does reliably prevent
same-cycle re-runs when a lc threads rendezvous on a bucket.

Also, for concurrent (or stale) and already processed buckets,
remember to advance head past the corresponding buckets.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: prevent multiple runs per scheduling cycle
Matt Benjamin [Tue, 1 Mar 2022 20:28:00 +0000 (15:28 -0500)]
rgwlc:  prevent multiple runs per scheduling cycle

Restore (and robustify) the assertion that, in general, each bucket
shard should be processed once per scheduling cycle.

If the prior cycle did not finish, processing in the current cyhcle
will continue from the marker where the last cycle left off.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: include lc shard oid in "lc shard list"
Matt Benjamin [Fri, 18 Feb 2022 17:23:30 +0000 (12:23 -0500)]
rgwlc:  include lc shard oid in "lc shard list"

E.g.,
[
    {
        "bucket": ":bucket1:f2f4a8dd-7ec9-4758-bc4f-c8f5fbc85109.4137.2",
        "shard": "lc.6",
        "started": "Fri, 18 Feb 2022 17:30:16 GMT",
        "status": "COMPLETE"
    },
...
]

The prototyped approach adds a copy of the shard name (which is
assured to be a small string) to rgw::sal::LCEntry.  It's not
expected to be represented in underlying store types.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: avoid front() on empty lc entry vector
Matt Benjamin [Fri, 18 Feb 2022 14:31:06 +0000 (09:31 -0500)]
rgwlc: avoid front() on empty lc entry vector

Conveniently, this arose after removing all lifecycle shards from
RADOS, proving it could be done safely.

A restart is currently needed to recognize new lifecycle shards,
if rgw_gc_max_objs also changed.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: pretty-print status in RGWLC::process(int...)
Matt Benjamin [Fri, 18 Feb 2022 13:33:35 +0000 (08:33 -0500)]
rgwlc:  pretty-print status in RGWLC::process(int...)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: remove bucket_lc_prepare, add backoff
Matt Benjamin [Thu, 17 Feb 2022 15:55:14 +0000 (10:55 -0500)]
rgwlc:  remove bucket_lc_prepare, add backoff

Remove now-unused RGWLC::bucket_lc_prepare.  Wrap serializer calls
in RGWLC::process(int index...) with simple backoff, limited to 5
retries.

In RGWLC::process(int index...), also open-coded the behavior of
RGWLC::bucket_lc_prepare(...), as the lock sharing between these
methods is error prone.  For now, that method exists, so that it can
be called from the single-bucket process.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: remove explicit lc shard resets at start-of-run
Matt Benjamin [Mon, 14 Feb 2022 21:39:27 +0000 (16:39 -0500)]
rgwlc: remove explicit lc shard resets at start-of-run

This is an alternative solution to the (newly exposed) lifecycle
shard starvation problem reported by Jeegen Chen.

There was always an starvation condition implied by the
reset of lc shard head at the start of processing.  The introduction
of "stale sessions" in parallel lifecycle changes made it more
visible, in particular when rgw_lc_debug_interval was set to a small
value and many buckets had lifecycle policy.

My hypothesis in this change is that lifecycle processing for each
lc shard should /always/ continue through the full set of eligible
buckets for the shard, regardless of how many processing cycles might
be required to do so.  In general, restarting at the first eligible
bucket on each reschedule invites starvation when processing "gets
behind", so just avoid it.

Fixes: https://tracker.ceph.com/issues/49446
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 6e2ae13adced6b3dbb2fe16b547a30e9d68dfa06)

rgwlc: add a wraparound to continued shard processing

If the full set of buckets for a given lc shard couldn't be
processed in the prior cycle, processing will start with a
non-empty marker.  Note the initial marker position, then
when the end of shard is reached, allow processing to wrap
around to the logical beginning of the shard and proceeding
through the initial marker.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Please enter the commit message for your changes. Lines starting
(cherry picked from commit 0b8f683d3cf444cc68fd30c3f179b9aa0ea08e7c)

don't report clearing incorrectly

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: permit skipping processing in RGWLC::bucket_lc_process(...)
Matt Benjamin [Tue, 15 Feb 2022 00:51:43 +0000 (19:51 -0500)]
rgwlc:  permit skipping processing in RGWLC::bucket_lc_process(...)

The intent is to permit tracing of the bucket processing scheduler, without
expiring or transitioning any objects.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agorgwlc: permit disabling of (default) auto-clearing of stale sessions
Matt Benjamin [Mon, 14 Feb 2022 23:26:22 +0000 (18:26 -0500)]
rgwlc: permit disabling of (default) auto-clearing of stale sessions

Provide an option to disable automatic clearing of stale sessions--
which, unless disabled, happens after 2 lifecycle scheduling cycles.

The default behavior is most likely not desired when a debugging or
testing lifecycle processing with rgw_lc_debug_interval is set, and
therefore re-entering a running session after 2 scheduling cycles is
fairly likely.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoRGW - Make admin bucket chown accept marker 45506/head
Daniel Gryniewicz [Thu, 17 Mar 2022 14:35:51 +0000 (10:35 -0400)]
RGW - Make admin bucket chown accept marker

The bucket chown command needs to touch every object, and if it fails
can take a long time to catch up.  Allow it to accept the --marker
option so you can tell it where to pick up.

Fixes: https://tracker.ceph.com/issues/53614
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
3 years agos3select: bump s3select submodule 45419/head
Kefu Chai [Wed, 16 Mar 2022 14:01:26 +0000 (22:01 +0800)]
s3select: bump s3select submodule

to include the C++20 fixes included recently

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agorgw/rgw_sal_motr: ignore clang warning
Kefu Chai [Mon, 14 Mar 2022 15:59:08 +0000 (23:59 +0800)]
rgw/rgw_sal_motr: ignore clang warning

clang++-13 complains like:

/usr/include/motr/addb2/histogram.h:99:44: error: arithmetic between different enumeration types ('(unnamed enum at /usr/include/motr/addb2/internal.h:44:1)' and '(unnamed enum at /usr/include/motr/addb2/counter.h:49:1)') is deprecated [-Werror,-Wdeprecated-anon-enum-enum-conversion]
        M0_ADDB2_HIST_BUCKETS = 2 * (VALUE_MAX_NR - M0_ADDB2_COUNTER_VALS - 2)
                                     ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~

so let's silence it.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocls/fifo: use friend instead of member operators
Kefu Chai [Mon, 14 Mar 2022 15:35:13 +0000 (23:35 +0800)]
cls/fifo: use friend instead of member operators

to address following error when compiling with C++20 standard:

../src/rgw/cls_fifo_legacy.cc:2217:22: error: ISO C++20 considers use of overloaded operator '==' (with operand types 'rados::cls::fifo::journal_entry' and 'rados::cls::fifo::journal_entry') to be ambiguous despite there being a unique best viable function [-Werror,-Wambiguous-reversed-operator]
            !(jiter->second == e)) {
              ~~~~~~~~~~~~~ ^  ~
../src/cls/fifo/cls_fifo_types.h:148:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
  bool operator ==(const journal_entry& e) {
       ^

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoosd: Replace deprecated use of format_to
Adam C. Emerson [Tue, 8 Mar 2022 00:33:08 +0000 (19:33 -0500)]
osd: Replace deprecated use of format_to

The non-deprecated version takes an explicit OutputIterator.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoosd: Fix truncated format warning
Adam C. Emerson [Tue, 8 Mar 2022 00:14:24 +0000 (19:14 -0500)]
osd: Fix truncated format warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoosd: Replace deprecated spirit/include/phoneix.hpp with phoenix.hpp
Adam C. Emerson [Mon, 7 Mar 2022 23:57:21 +0000 (18:57 -0500)]
osd: Replace deprecated spirit/include/phoneix.hpp with phoenix.hpp

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agocommon: Fix format truncation warning
Adam C. Emerson [Mon, 7 Mar 2022 23:17:58 +0000 (18:17 -0500)]
common: Fix format truncation warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agocommon: Replace deprecated spirit/include/phoneix with phoenix.hpp
Adam C. Emerson [Mon, 7 Mar 2022 23:11:59 +0000 (18:11 -0500)]
common: Replace deprecated spirit/include/phoneix with phoenix.hpp

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoinclude: Remove deprecated std::iterator from xlist
Adam C. Emerson [Mon, 7 Mar 2022 22:58:38 +0000 (17:58 -0500)]
include: Remove deprecated std::iterator from xlist

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoneorados: assoc_delete() uses allocator_traits
Casey Bodley [Mon, 14 Feb 2022 22:56:33 +0000 (17:56 -0500)]
neorados: assoc_delete() uses allocator_traits

the std::allocator<T> member functions destroy() and deallocate() were
deprecated in c++17 and removed in c++20. call the static functions on
std::allocator_traits<T> instead

resolves the c++20 compilation error with clang13:

In file included from ceph/src/test/cls_fifo/bench_cls_fifo.cc:38:
ceph/src/neorados/cls/fifo.h:684:7: error: no member named 'destroy' in 'std::allocator<neorados::cls::fifo::detail::JournalProcessor<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>>'
    a.destroy(t);
    ~ ^
ceph/src/neorados/cls/fifo.h:1728:11: note: in instantiation of function template specialization 'neorados::cls::fifo::FIFO::assoc_delete<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>, neorados::cls::fifo::detail::JournalProcessor<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>>' requested here
    FIFO::assoc_delete(h, this);
          ^
ceph/src/neorados/cls/fifo.h:1605:6: note: in instantiation of member function 'neorados::cls::fifo::detail::JournalProcessor<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>::handle' requested here
            handle(errc::inconsistency);
            ^
ceph/src/neorados/cls/fifo.h:857:8: note: in instantiation of member function 'neorados::cls::fifo::detail::JournalProcessor<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>::process' requested here
    p->process();
       ^
/usr/include/boost/asio/bind_executor.hpp:407:12: note: in instantiation of member function 'neorados::cls::fifo::FIFO::NewPartPreparer<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>::operator()' requested here
    return this->target_(BOOST_ASIO_MOVE_CAST(Args)(args)...);
           ^
ceph/src/common/async/bind_allocator.h:179:12: note: in instantiation of function template specialization 'boost::asio::executor_binder<neorados::cls::fifo::FIFO::NewPartPreparer<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>, boost::asio::executor>::operator()<boost::system::error_code &, bool>' requested here
    return this->target(std::forward<Args>(args)...);
           ^
ceph/src/neorados/cls/fifo.h:939:5: note: in instantiation of function template specialization 'neorados::cls::fifo::FIFO::_update_meta<ceph::async::allocator_binder<boost::asio::executor_binder<neorados::cls::fifo::FIFO::NewPartPreparer<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>, boost::asio::executor>, std::allocator<void>>>' requested here
    _update_meta(fifo::update{}.journal_entries_add(jentries),
    ^
ceph/src/neorados/cls/fifo.h:1008:7: note: in instantiation of function template specialization 'neorados::cls::fifo::FIFO::_prepare_new_part<ceph::async::allocator_binder<boost::asio::executor_binder<(lambda at ceph/src/neorados/cls/fifo.h:1012:4), boost::asio::executor>, std::allocator<void>>>' requested here
      _prepare_new_part(
      ^
ceph/src/neorados/cls/fifo.h:524:7: note: in instantiation of function template specialization 'neorados::cls::fifo::FIFO::_prepare_new_head<ceph::async::allocator_binder<boost::asio::executor_binder<neorados::cls::fifo::FIFO::Pusher<spawn::detail::coro_handler<boost::asio::executor_binder<void (*)(), boost::asio::executor>, void>>, boost::asio::executor>, std::allocator<void>>>' requested here
      _prepare_new_head(std::move(p));
      ^

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoxlist: use friend instead of member operators
Casey Bodley [Fri, 11 Feb 2022 23:56:30 +0000 (18:56 -0500)]
xlist: use friend instead of member operators

resolves a c++20 compilation error with clang 13:

In file included from ceph/src/client/Client.cc:55:
In file included from ceph/src/messages/MClientCaps.h:19:
In file included from ceph/src/mds/mdstypes.h:22:
ceph/src/include/xlist.h:212:27: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'xlist<Dentry *>::const_iterat
or' and 'xlist<Dentry *>::const_iterator') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed
-operator]
    for (const auto &item : list) {
                          ^
ceph/src/client/Client.cc:3299:63: note: in instantiation of member function 'operator<<' requested here
    ldout(cct, 20) << "link  inode " << in << " parents now " << in->dentries << dendl;
                                                              ^
ceph/src/include/xlist.h:202:10: note: candidate function with non-reversed arguments
    bool operator!=(const_iterator& rhs) const {
         ^
ceph/src/include/xlist.h:199:10: note: ambiguous candidate function with reversed arguments
    bool operator==(const_iterator& rhs) const {
         ^

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agocpp-btree: Add alternative overload for btree:operator==
Casey Bodley [Fri, 11 Feb 2022 23:52:35 +0000 (18:52 -0500)]
cpp-btree: Add alternative overload for btree:operator==

Silence Clang's C++20 -Wambiguous-reversed-operator.

cbodley took this from https://github.com/Kronuz/cpp-btree/pull/4
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agobuffer: constrain conversions of buffers_t iterators
Casey Bodley [Fri, 11 Feb 2022 23:26:22 +0000 (18:26 -0500)]
buffer: constrain conversions of buffers_t iterators

prevent conversions from const_iterator -> iterator to resolve a c++20
compilation error with clang 13:

ceph/src/include/buffer.h:537:18: error: use of overloaded operator '==' is ambiguous (with operand types 'ceph::buffer::list::buffers_t::const_iterator' (aka 'buffers_iterator<const ceph::buffer::ptr_node>') and 'ceph::buffer::list::buffers_t::iterator' (aka 'buffers_iterator<ceph::buffer::ptr_node>'
))
        _root.next = it == end() ? &item : _root.next;
                     ~~ ^  ~~~~~
ceph/src/include/buffer.h:471:7: note: candidate function
        bool operator==(const buffers_iterator& rhs) const {
             ^
ceph/src/include/buffer.h:471:7: note: candidate function (with reversed parameter order)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agolibrados: stop using c++20 keyword 'requires'
Casey Bodley [Fri, 11 Feb 2022 19:49:35 +0000 (14:49 -0500)]
librados: stop using c++20 keyword 'requires'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agolibradosstriper: remove template syntax from constructor
Casey Bodley [Fri, 11 Feb 2022 20:34:51 +0000 (15:34 -0500)]
libradosstriper: remove template syntax from constructor

fixes compilation with -std=c++20:

/home/cbodley/ceph/src/libradosstriper/RadosStriperImpl.cc:424:65: error: expected ‘)’ before ‘*’ token
  424 |   StatCompletionData<TimeType>(libradosstriper::RadosStriperImpl* striper,
      |                               ~                                 ^

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44795 from ajarr/dynamic-update-cephfs-nfs-export
Venky Shankar [Thu, 17 Mar 2022 13:15:08 +0000 (18:45 +0530)]
Merge pull request #44795 from ajarr/dynamic-update-cephfs-nfs-export

 mgr/nfs: allow dynamic update of cephfs nfs export

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45271 from liu-chunmei/seastore-op-missing
Liu-Chunmei [Thu, 17 Mar 2022 10:52:06 +0000 (03:52 -0700)]
Merge pull request #45271 from liu-chunmei/seastore-op-missing

crimson/seastore: add OP_RMATTR support

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agolibrados: check latest osdmap on ENOENT in pool_reverse_lookup() 45468/head
Ilya Dryomov [Wed, 16 Mar 2022 19:05:56 +0000 (20:05 +0100)]
librados: check latest osdmap on ENOENT in pool_reverse_lookup()

Avoid spurious ENOENT errors from rados_pool_reverse_lookup() and
Rados::pool_reverse_lookup().

This makes lookup by id consistent with lookup by name: the latter
has been checking latest osdmap since commit 7e5669b11b14 ("rados: we
need to get the latest osdmap when pool does not exists").

Fixes: https://tracker.ceph.com/issues/54593
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45403 from liu-chunmei/crimson-reply-version
Samuel Just [Wed, 16 Mar 2022 19:17:01 +0000 (12:17 -0700)]
Merge pull request #45403 from liu-chunmei/crimson-reply-version

crimson: fix set_reply_versions missing

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocephadm: infer the default container image during pull 45420/head
Michael Fritch [Wed, 16 Mar 2022 13:39:03 +0000 (07:39 -0600)]
cephadm: infer the default container image during pull

Fixes: https://tracker.ceph.com/issues/54588
Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #45176 from liu-chunmei/crimson-teuthology
Samuel Just [Wed, 16 Mar 2022 19:06:04 +0000 (12:06 -0700)]
Merge pull request #45176 from liu-chunmei/crimson-teuthology

crimson: teuthology suite for seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoosd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty 45466/head
Neha Ojha [Wed, 16 Mar 2022 18:37:19 +0000 (18:37 +0000)]
osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty

We should mark_omap_dirty() for all omap write ops, just like we did
in cb927925af1f3df4b9c31df85cf31f982aae1988.

Currently, for CEPH_OSD_OP_OMAPRMKEYRANGE ops, clean_omap gets set to true,
which results in incomplete recovery of objects and results in
inconsistent PGs after a scrub.

Fixes: https://tracker.ceph.com/issues/54592
Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agomgr/dashboard: Language dropdown box is partly hidden on login page 45429/head
Volker Theile [Wed, 16 Mar 2022 15:51:54 +0000 (16:51 +0100)]
mgr/dashboard: Language dropdown box is partly hidden on login page

When clicking on the language dropdown combobox on the login page, the menu is partly hidden because it is partly rendered out of the visible area. Additionally the scrollbars are displayed.

Fixes: https://tracker.ceph.com/issues/54591
Signed-off-by: Volker Theile <vtheile@suse.com>
3 years agoMerge pull request #45402 from ceph/wip-yuri-master-crontab
Yuri Weinstein [Wed, 16 Mar 2022 15:25:51 +0000 (08:25 -0700)]
Merge pull request #45402 from ceph/wip-yuri-master-crontab

qa/tests: fixed typo

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45218 from rhcs-dashboard/feature-clusterLogs-searchHighlight
Ernesto Puerta [Wed, 16 Mar 2022 13:14:43 +0000 (14:14 +0100)]
Merge pull request #45218 from rhcs-dashboard/feature-clusterLogs-searchHighlight

mgr/dashboard: highlight the search text in cluster logs

Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>