]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agoosd/scrub: add scrub duration to pg stats 45337/head
Aishwarya Mathuria [Thu, 10 Mar 2022 10:25:37 +0000 (15:55 +0530)]
osd/scrub: add scrub duration to pg stats

Addition of a SCRUB_DURATION field that shows how long the scrub/deep-scrub of a pg took.
This field will be displayed in the output of the "ceph pg dump --format=json" and "ceph pg ls-by-pool --format=json" commands.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
3 years agoMerge pull request #45214 from cbodley/wip-rgw-ancient-curl-workaround
Casey Bodley [Tue, 8 Mar 2022 15:32:39 +0000 (10:32 -0500)]
Merge pull request #45214 from cbodley/wip-rgw-ancient-curl-workaround

cmake/rgw: remove workaround for ancient libcurl

Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
3 years agoMerge pull request #44488 from cfsnyder/wip-53788-reopen-ops-log-sighup
Casey Bodley [Tue, 8 Mar 2022 15:30:36 +0000 (10:30 -0500)]
Merge pull request #44488 from cfsnyder/wip-53788-reopen-ops-log-sighup

rgw: reopen ops log file on sighup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45212 from cbodley/wip-54435
Casey Bodley [Tue, 8 Mar 2022 15:29:48 +0000 (10:29 -0500)]
Merge pull request #45212 from cbodley/wip-54435

rgw: prevent spurious/lost notifications in the index completion thread

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #44859 from cfsnyder/wip-54112-rgw-segfault-init-fetch
Casey Bodley [Tue, 8 Mar 2022 13:31:54 +0000 (08:31 -0500)]
Merge pull request #44859 from cfsnyder/wip-54112-rgw-segfault-init-fetch

rgw: fix segfault in UserAsyncRefreshHandler::init_fetch

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44946 from adamemerson/wip-54208
Casey Bodley [Tue, 8 Mar 2022 13:31:15 +0000 (08:31 -0500)]
Merge pull request #44946 from adamemerson/wip-54208

rgw: Fix data race in ChangeStatus

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: initialize RGWIndexCompletionManager thread after related members 45212/head
Casey Bodley [Mon, 7 Mar 2022 20:10:07 +0000 (15:10 -0500)]
rgw: initialize RGWIndexCompletionManager thread after related members

resolves valgrind issues about RGWIndexCompletionManager::process()
using uninitialized memory

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45274 from Matan-B/wip-matanb-c-ops-debug
Samuel Just [Tue, 8 Mar 2022 03:15:36 +0000 (19:15 -0800)]
Merge pull request #45274 from Matan-B/wip-matanb-c-ops-debug

crimson/osd: do_pgnls_common debug message format

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #44831 from adamemerson/wip-prepend
Adam C. Emerson [Mon, 7 Mar 2022 20:51:24 +0000 (15:51 -0500)]
Merge pull request #44831 from adamemerson/wip-prepend

build: PREPEND -Og, not APPEND

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge pull request #43858 from rzarzynski/wip-msgr-no-cpp_error-on-read
Ilya Dryomov [Mon, 7 Mar 2022 17:30:03 +0000 (18:30 +0100)]
Merge pull request #43858 from rzarzynski/wip-msgr-no-cpp_error-on-read

msg/async: remove the misleading error description on read failures

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45277 from rzarzynski/wip-crimson-fix-bo-in-pgbackend
Kefu Chai [Mon, 7 Mar 2022 16:28:22 +0000 (00:28 +0800)]
Merge pull request #45277 from rzarzynski/wip-crimson-fix-bo-in-pgbackend

crimson/osd: fix buffer overflow due to missed debug's param

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/osd: fix buffer overflow due to missed debug's param 45277/head
Radoslaw Zarzynski [Mon, 7 Mar 2022 14:04:54 +0000 (14:04 +0000)]
crimson/osd: fix buffer overflow due to missed debug's param

The problem is:

```
DEBUG 2022-03-07 13:50:40,027 [shard 0] osd - calling method rbd.create, num_read=0, num_write=0
DEBUG 2022-03-07 13:50:40,027 [shard 0] objclass - <cls> ../src/cls/rbd/cls_rbd.cc:787: create object_prefix=parent_id size=2097152 order=0 features=1
DEBUG 2022-03-07 13:50:40,027 [shard 0] osd - handling op omap-get-vals-by-keys on object 1:144d5af5:::parent_id:head
=================================================================
==2109764==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f6de5176e70 at pc 0x7f6dfd2a7157 bp 0x7f6de5176e30 sp 0x7f6de51765d8
WRITE of size 24 at 0x7f6de5176e70 thread T0
    #0 0x7f6dfd2a7156 in __interceptor_sigaltstack.part.0 (/lib64/libasan.so.6+0x54156)
    #1 0x7f6dfd30d5b3 in __asan::PlatformUnpoisonStacks() (/lib64/libasan.so.6+0xba5b3)
    #2 0x7f6dfd31314c in __asan_handle_no_return (/lib64/libasan.so.6+0xc014c)
Reactor stalled for 275 ms on shard 0. Backtrace: 0x45d9d 0xda72bd3 0xd801f73 0xd81f6f9 0xd81fb9c 0xd81fe2c 0xd8200f7 0x12b2f 0x7f6dfd3383c1 0x7f6dfd339b18 0x7f6dfd339bd4 0x7f6dfd339bd4 0x7f6dfd339bd4 0x7f6dfd339bd4 0x7f6dfd33b089 0x7f6dfd33bb36 0x7f6dfd32e0b5 0x7f6dfd32ff3a 0xd61d0 0x32412 0xbd8a7 0xbd134 0x54178 0xba5b3 0xc014c 0x1881f22 0x188344a 0xe8b439d 0xe8b58f2 0x2521d5a 0x2a2ee12 0x2c76349 0x2e04ce9 0x3c70c55 0x3cb8aa8 0x7f6de558de39
    #3 0x1881f22 in fmt::v6::internal::arg_map<fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char> >::~arg_map() /usr/include/fmt/core.h:1170
    #4 0x1881f22 in fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char>::~basic_format_context() /usr/include/fmt/core.h:1265
    #5 0x1881f22 in fmt::v6::format_handler<fmt::v6::arg_formatter<fmt::v6::internal::output_range<seastar::internal::log_buf::inserter_iterator, char> >, char, fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char> >::~format_handler() /usr/include/fmt/format.h:3143
    #6 0x1881f22 in fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char>::iterator fmt::v6::vformat_to<fmt::v6::arg_formatter<fmt::v6::internal::output_range<seastar::internal::log_buf::inserter_iterator, char> >, char, fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char> >(fmt::v6::arg_formatter<fmt::v6::internal::output_range<seastar::internal::log_buf::inserter_iterator, char> >::range, fmt::v6::basic_string_view<char>, fmt::v6::basic_format_args<fmt::v6::basic_format_context<seastar::internal::log_buf::inserter_iterator, char> >, fmt::v6::internal::locale_ref) /usr/include/fmt/format.h:3206
    #7 0x188344a in seastar::internal::log_buf::inserter_iterator fmt::v6::vformat_to<fmt::v6::basic_string_view<char>, seastar::internal::log_buf::inserter_iterator, , 0>(seastar::internal::log_buf::inserter_iterator, fmt::v6::basic_string_view<char> const&, fmt::v6::basic_format_args<fmt::v6::basic_format_context<fmt::v6::type_identity<seastar::internal::log_buf::inserter_iterator>::type, fmt::v6::internal::char_t_impl<fmt::v6::basic_string_view<char>, void>::type> >) /usr/include/fmt/format.h:3395
    #8 0x188344a in seastar::internal::log_buf::inserter_iterator fmt::v6::format_to<seastar::internal::log_buf::inserter_iterator, std::basic_string_view<char, std::char_traits<char> >, hobject_t const&, 0>(seastar::internal::log_buf::inserter_iterator, std::basic_string_view<char, std::char_traits<char> > const&, hobject_t const&) /usr/include/fmt/format.h:3418
    #9 0x188344a in seastar::logger::log<hobject_t const&>(seastar::log_level, seastar::logger::format_info, hobject_t const&)::{lambda(seastar::internal::log_buf::inserter_iterator)#1}::operator()(seastar::internal::log_buf::inserter_iterator) const ../src/seastar/include/seastar/util/log.hh:227
    #10 0x188344a in seastar::logger::lambda_log_writer<seastar::logger::log<hobject_t const&>(seastar::log_level, seastar::logger::format_info, hobject_t const&)::{lambda(seastar::internal::log_buf::inserter_iterator)#1}>::operator()(seastar::internal::log_buf::inserter_iterator) ../src/seastar/include/seastar/util/log.hh:106
    #11 0xe8b439d in operator() ../src/seastar/src/util/log.cc:268
    #12 0xe8b58f2 in seastar::logger::do_log(seastar::log_level, seastar::logger::log_writer&) ../src/seastar/src/util/log.cc:280
    #13 0x2521d5a in void seastar::logger::log<hobject_t const&>(seastar::log_level, seastar::logger::format_info, hobject_t const&) ../src/seastar/include/seastar/util/log.hh:230
    #14 0x2a2ee12 in void seastar::logger::debug<hobject_t const&>(seastar::logger::format_info, hobject_t const&) ../src/seastar/include/seastar/util/log.hh:373
    #15 0x2a2ee12 in PGBackend::omap_get_vals_by_keys(ObjectState const&, OSDOp&, object_stat_sum_t&) const ../src/crimson/osd/pg_backend.cc:1220
    #16 0x2c76349 in operator()<PGBackend, ObjectState> ../src/crimson/osd/ops_executer.cc:577
    #17 0x2c76349 in do_const_op<crimson::osd::OpsExecuter::execute_op(OSDOp&)::<lambda(auto:167&, const auto:168&)> > ../src/crimson/osd/ops_executer.cc:449
    #18 0x2e04ce9 in do_read_op<crimson::osd::OpsExecuter::execute_op(OSDOp&)::<lambda(auto:167&, const auto:168&)> > ../src/crimson/osd/ops_executer.h:216
    #19 0x2e04ce9 in crimson::osd::OpsExecuter::execute_op(OSDOp&) ../src/crimson/osd/ops_executer.cc:576
Reactor stalled for 762 ms on shard 0. Backtrace: 0x45d9d 0xda72bd3 0xd801f73 0xd81f6f9 0xd81fb9c 0xd81fe2c 0xd8200f7 0x12b2f 0x7f6dfd33ae85 0x7f6dfd33bb36 0x7f6dfd32e0b5 0x7f6dfd32ff3a 0xd61d0 0x32412 0xbd8a7 0xbd134 0x54178 0xba5b3 0xc014c 0x1881f22 0x188344a 0xe8b439d 0xe8b58f2 0x2521d5a 0x2a2ee12 0x2c76349 0x2e04ce9 0x3c70c55 0x3cb8aa8 0x7f6de558de39
    #20 0x3c70c55 in execute_osd_op ../src/crimson/osd/objclass.cc:35
    #21 0x3cb8aa8 in cls_cxx_map_get_val(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::v15_2_0::list*) ../src/crimson/osd/objclass.cc:372
    #22 0x7f6de558de39  (/home/rzarzynski/ceph1/build/lib/libcls_rbd.so.1.0.0+0x28e39)

0x7f6de5176e70 is located 249456 bytes inside of 262144-byte region [0x7f6de513a000,0x7f6de517a000)
allocated by thread T0 here:
    #0 0x7f6dfd3084a7 in aligned_alloc (/lib64/libasan.so.6+0xb54a7)
    #1 0xdd414fc in seastar::thread_context::make_stack(unsigned long) ../src/seastar/src/core/thread.cc:196
    #2 0x7fff3214bc4f  ([stack]+0xa5c4f)
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #45225 from dang/wip-dang-fix-inverted
Daniel Gryniewicz [Mon, 7 Mar 2022 14:10:11 +0000 (09:10 -0500)]
Merge pull request #45225 from dang/wip-dang-fix-inverted

RGW - Fix inverted return check

Reviewed-by: Eric Ivancich <eivancic@redhat.com>
3 years agocrimson/osd: do_pgnls_common debug message format 45274/head
Matan Breizman [Mon, 7 Mar 2022 12:47:11 +0000 (12:47 +0000)]
crimson/osd: do_pgnls_common debug message format

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 years agoMerge pull request #45149 from sunnyku/wip-fix-schedule-status
Ilya Dryomov [Mon, 7 Mar 2022 11:14:36 +0000 (12:14 +0100)]
Merge pull request #45149 from sunnyku/wip-fix-schedule-status

mgr/rbd_support: cast pool_id from int to str when collecting LevelSpec

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #42098 from joscollin/wip-B50033-rank0-stale-perf-stats wip-jsalomon-prim-balance-score
Venky Shankar [Mon, 7 Mar 2022 05:07:23 +0000 (10:37 +0530)]
Merge pull request #42098 from joscollin/wip-B50033-rank0-stale-perf-stats

mgr/stats: be resilient to offline rank0 MDS

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #41397 from vshankar/wip-48619
Venky Shankar [Mon, 7 Mar 2022 05:04:15 +0000 (10:34 +0530)]
Merge pull request #41397 from vshankar/wip-48619

cephfs-top: display average read/write/metadata latency

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #42001 from mchangir/mds-implement-new-getvxattr-rpc
Venky Shankar [Mon, 7 Mar 2022 05:02:57 +0000 (10:32 +0530)]
Merge pull request #42001 from mchangir/mds-implement-new-getvxattr-rpc

mds,client: add new getvxattr op

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #44863 from nmshelke/ceph-fuse-54049
Venky Shankar [Mon, 7 Mar 2022 05:00:51 +0000 (10:30 +0530)]
Merge pull request #44863 from nmshelke/ceph-fuse-54049

ceph-fuse: perform cleanup if test_dentry_handling failed

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45174 from adk3798/no-drain-admin
Adam King [Sun, 6 Mar 2022 17:19:17 +0000 (12:19 -0500)]
Merge pull request #45174 from adk3798/no-drain-admin

mgr/cephadm: block draining last _admin host

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45202 from adk3798/no-label-rm-admin
Adam King [Sun, 6 Mar 2022 17:17:08 +0000 (12:17 -0500)]
Merge pull request #45202 from adk3798/no-label-rm-admin

mgr/cephadm: block removing last instance of _admin label

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #45253 from tchaikov/wip-crimson-is-future
Kefu Chai [Sun, 6 Mar 2022 05:21:14 +0000 (13:21 +0800)]
Merge pull request #45253 from tchaikov/wip-crimson-is-future

crimson/common: specialize seastar::is_future<> for interruptible_fut…

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #45258 from tchaikov/wip-cmake-disable-dpdk-warnings
Kefu Chai [Sat, 5 Mar 2022 12:36:06 +0000 (20:36 +0800)]
Merge pull request #45258 from tchaikov/wip-cmake-disable-dpdk-warnings

cmake: pass RTE_DEVEL_BUILD=n when building dpdk

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoMerge pull request #45255 from kamoltat/wip-ksirivad-add-jenkins-window
Ilya Dryomov [Sat, 5 Mar 2022 12:02:07 +0000 (13:02 +0100)]
Merge pull request #45255 from kamoltat/wip-ksirivad-add-jenkins-window

.github/pull_request_template.md: added test windows command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agorbd: fix a typo in "rbd trash purge schedule ls" formatted output 45149/head
Ilya Dryomov [Sat, 5 Mar 2022 08:59:36 +0000 (09:59 +0100)]
rbd: fix a typo in "rbd trash purge schedule ls" formatted output

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoqa/workunits/rbd: expand LevelSpec parsing coverage
Ilya Dryomov [Fri, 4 Mar 2022 13:52:43 +0000 (14:52 +0100)]
qa/workunits/rbd: expand LevelSpec parsing coverage

Invoke "rbd mirror snapshot schedule ls -R" and "rbd mirror snapshot
schedule status" commands on all levels, consistently.  In particular,
make sure that an image level schedule is listed for a recursive query
at the pool level both before and after the schedule kicks in:

  $ rbd create --size 1G --mirror-image-mode snapshot -p foo bar
  $ rbd mirror snapshot schedule add -p foo --image bar 1m
  $ rbd mirror snapshot schedule ls -p foo -R
  POOL  NAMESPACE  IMAGE  SCHEDULE
  foo              bar    every 1m
  <wait for schedule to become visible in status>
  $ rbd mirror snapshot schedule ls -p foo -R
  POOL  NAMESPACE  IMAGE  SCHEDULE
  foo              bar    every 1m

Also, make sure that pool and image level status queries work:

  $ rbd mirror snapshot schedule status -p foo
  SCHEDULE TIME        IMAGE
  2022-03-04 07:14:00  foo/bar
  $ rbd mirror snapshot schedule status -p foo --image bar
  SCHEDULE TIME        IMAGE
  2022-03-04 07:14:00  foo/bar

Both of these issues are fixed by the previous commit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agocmake: pass RTE_DEVEL_BUILD=n when building dpdk 45258/head
Kefu Chai [Sat, 5 Mar 2022 04:49:57 +0000 (12:49 +0800)]
cmake: pass RTE_DEVEL_BUILD=n when building dpdk

ceph is still using the Makefile based building system for building
DPDK. and DPDK enables -Werror if RTE_DEVEL_BUILD is 'y' which is
enabled by default when the dpdk is built from a git repo.

but newer GCC is more picky than the older versions, to prevent
the possible FTBFS when we switch to newer GCC for building old
branches whose dpdk submodule might be include the changes addressing
those warnings. let's just disable this option.

the only effect of this option is to add -Werror to CFLAGS. but
the building warnings from DPDK is not our focus when developing
Ceph in the most cases. so it should be fine.

see also
https://github.com/ceph/dpdk/blob/eac901ce29be559b1bb5c5da33fe2bf5c0b4bfd6/doc/build-sdk-quick.txt#L18

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years ago.github/pull_request_template.md: added test windows command 45255/head
Kamoltat [Fri, 4 Mar 2022 19:01:21 +0000 (19:01 +0000)]
.github/pull_request_template.md: added test windows command

Added `jenkins test windows` to the

Show available Jenkins Commands section

Signed-off-by: Kamoltat <ksirivad@redhat.com>
3 years agotest/crimson: use std::for_each() for applying plain function 45253/head
Kefu Chai [Fri, 4 Mar 2022 18:45:30 +0000 (02:45 +0800)]
test/crimson: use std::for_each() for applying plain function

let's just use std::for_each() for applying function not returning future
to a range, otherwise we'd have

../src/test/crimson/seastore/test_transaction_manager.cc:950:5: error: no matching function for call to 'parallel_for_each'
    seastar::parallel_for_each(
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/seastar/include/seastar/core/loop.hh:559:1: note: candidate template ignored: constraints not satisfied [with Iterator = boost::iterators::counting_iterator<unsigned int, boost::use_default, boost::use_default>, Sentinel = boost::iterators::counting_iterator<unsigned int, boost::use_default, boost::use_default>, Func = (lambda at ../src/test/crimson/seastore/test_transaction_manager.cc:953:7)]
parallel_for_each(Iterator begin, Sentinel end, Func&& func) noexcept {
^
../src/seastar/include/seastar/core/loop.hh:553:78: note: because type constraint 'std::same_as<void, future<> >' was not satisfied:

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/common: specialize seastar::is_future<> for interruptible_future<>
Kefu Chai [Fri, 4 Mar 2022 17:36:36 +0000 (01:36 +0800)]
crimson/common: specialize seastar::is_future<> for interruptible_future<>

this ensures that seastar helper functions are able to accept
interruptible_future<> in place of vanilla seastar::future<>.

for instance, if concepts is enabled, seastar::when_all_succeed()
has a set of constraits which include:

is_future<std::remove_reference_t<decltype(*i)>>::value

where i is the iterator passed to this function. so, to ensure
seastar::when_all_succeed() works with interruptible_future,
we need to teach the is_future<> to accept interruptible_future
as well.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoRGW - Fix inverted return check 45225/head
Daniel Gryniewicz [Wed, 2 Mar 2022 15:54:29 +0000 (10:54 -0500)]
RGW - Fix inverted return check

get_obj_head_ioctx() returns the standard int but the call was casting
it to a bool, inverting it's meaning.  Fix it to act correctly.

Fixes: https://tracker.ceph.com/issues/54452
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #45140 from dvanders/snaptrim_fix
Laura Flores [Thu, 3 Mar 2022 17:48:23 +0000 (11:48 -0600)]
Merge pull request #45140 from dvanders/snaptrim_fix

osd: require osd_pg_max_concurrent_snap_trims > 0

3 years agoMerge pull request #45239 from ronen-fr/wip-rf-54458-snaps
Ronen Friedman [Thu, 3 Mar 2022 17:14:39 +0000 (19:14 +0200)]
Merge pull request #45239 from ronen-fr/wip-rf-54458-snaps

test: osd-scrub-snaps.sh: fix expected 'missing snaps' log string

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45042 from dvanders/report_leader
Yuri Weinstein [Thu, 3 Mar 2022 15:47:46 +0000 (07:47 -0800)]
Merge pull request #45042 from dvanders/report_leader

Monitor: forward report command to leader

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45035 from ssdohammer-sl/bug-fix-TierFlushDuringFlush
Yuri Weinstein [Thu, 3 Mar 2022 15:47:25 +0000 (07:47 -0800)]
Merge pull request #45035 from ssdohammer-sl/bug-fix-TierFlushDuringFlush

test: fix TierFlushDuringFlush to wait until dedup_tier is set on base pool

3 years agoMerge pull request #44439 from myoungwon/fix-reference-leak-dedup-tier
Yuri Weinstein [Thu, 3 Mar 2022 15:47:06 +0000 (07:47 -0800)]
Merge pull request #44439 from myoungwon/fix-reference-leak-dedup-tier

osd: fix ObjectContextRef reference leak

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45222 from tchaikov/wip-cmake-cleanup
Kefu Chai [Thu, 3 Mar 2022 15:17:55 +0000 (23:17 +0800)]
Merge pull request #45222 from tchaikov/wip-cmake-cleanup

cmake: use string(JOIN ..) to compose URL for boost download

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45219 from idryomov/wip-ceph-config-get-doc
Ilya Dryomov [Thu, 3 Mar 2022 10:41:32 +0000 (11:41 +0100)]
Merge pull request #45219 from idryomov/wip-ceph-config-get-doc

doc: document "ceph config get <who> <option>"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agotest: osd-scrub-snaps.sh: fix expected 'missing snaps' log string 45239/head
Ronen Friedman [Thu, 3 Mar 2022 08:03:00 +0000 (08:03 +0000)]
test: osd-scrub-snaps.sh: fix expected 'missing snaps' log string

Fix the expected log message to match the scrub code, by removing
the redundant part.

Fixes: https://tracker.ceph.com/issues/54458
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #45090 from liu-chunmei/seastore-fix-sparse-read
Liu-Chunmei [Thu, 3 Mar 2022 02:28:36 +0000 (18:28 -0800)]
Merge pull request #45090 from liu-chunmei/seastore-fix-sparse-read

crimson/seastore: fix object not exists when do fiemap

Reviewed-by: Samuel Just <sam.just@inktank.com>
3 years agoMerge pull request #45209 from zdover23/wip-doc-2022-03-01-hardware-recs-alpha-links
zdover23 [Thu, 3 Mar 2022 00:51:04 +0000 (10:51 +1000)]
Merge pull request #45209 from zdover23/wip-doc-2022-03-01-hardware-recs-alpha-links

doc/start: alphabetize hardware-recs links

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
3 years agocrimson: fix object not exist when do fiemap 45090/head
chunmei-liu [Fri, 25 Feb 2022 05:48:07 +0000 (21:48 -0800)]
crimson: fix object not exist when do fiemap

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson/seastore: make fiemap return errorator future
chunmei-liu [Sat, 19 Feb 2022 18:56:15 +0000 (10:56 -0800)]
crimson/seastore: make fiemap return errorator future

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45216 from guits/fix-54441
Guillaume Abrioux [Wed, 2 Mar 2022 21:49:10 +0000 (22:49 +0100)]
Merge pull request #45216 from guits/fix-54441

ceph-volume: fix generic activate

3 years agoMerge pull request #45207 from pritha-srivastava/wip-rgw-data-sync-run
Casey Bodley [Wed, 2 Mar 2022 20:35:22 +0000 (15:35 -0500)]
Merge pull request #45207 from pritha-srivastava/wip-rgw-data-sync-run

rgw: adding OPT_DATA_SYNC_RUN to gc_ops_list so that gc gets

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge pull request #44656 from NitzanMordhai/fix_44092_config_get
Yuri Weinstein [Wed, 2 Mar 2022 16:02:05 +0000 (08:02 -0800)]
Merge pull request #44656 from NitzanMordhai/fix_44092_config_get

mon/ConfigMonitor: fix config get key with whitespace

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #44479 from leeq2016/leeq2016_0106
Yuri Weinstein [Wed, 2 Mar 2022 16:01:40 +0000 (08:01 -0800)]
Merge pull request #44479 from leeq2016/leeq2016_0106

common: Use thread-local pointer variables to save the *shard

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #44425 from sqiu110/fix-ENABLE_COVERAGE
Yuri Weinstein [Wed, 2 Mar 2022 16:00:08 +0000 (08:00 -0800)]
Merge pull request #44425 from sqiu110/fix-ENABLE_COVERAGE

cmake: link ceph-common against gcov if coverage is enabled

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #43058 from k0ste/feature_52512
Yuri Weinstein [Wed, 2 Mar 2022 15:59:38 +0000 (07:59 -0800)]
Merge pull request #43058 from k0ste/feature_52512

mgr/prometheus: Added `avail_raw` field for Pools DF Prometheus mgr module

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agocmake: use string(JOIN ..) to compose URL for boost download 45222/head
Kefu Chai [Wed, 2 Mar 2022 15:49:50 +0000 (23:49 +0800)]
cmake: use string(JOIN ..) to compose URL for boost download

* since the minimum required cmake version is now 3.16, there is no
  need to check for cmake version for using multiple URLs for
  downloading external project.
* use string(JOIN ..) to compose URL option for downloading boost

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agodoc: document "ceph config get <who> <option>" 45219/head
Ilya Dryomov [Sat, 26 Feb 2022 11:53:18 +0000 (12:53 +0100)]
doc: document "ceph config get <who> <option>"

... and note the confusing asymmetry with "ceph config set <who>
<option> <value>".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44923 from rhcs-dashboard/box-host-add
Ernesto Puerta [Wed, 2 Mar 2022 12:17:45 +0000 (13:17 +0100)]
Merge pull request #44923 from rhcs-dashboard/box-host-add

cephadm/box: default add hosts

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 #45080 from ceph/epuertat-patch-1
Guillaume Abrioux [Wed, 2 Mar 2022 08:36:32 +0000 (09:36 +0100)]
Merge pull request #45080 from ceph/epuertat-patch-1

doc: fix ceph-volume ref

3 years agoMerge pull request #45082 from ceph/epuertat-patch-3
Guillaume Abrioux [Wed, 2 Mar 2022 08:35:56 +0000 (09:35 +0100)]
Merge pull request #45082 from ceph/epuertat-patch-3

doc: fix titles

3 years agorgw: adding OPT_DATA_SYNC_RUN to gc_ops_list so that gc gets 45207/head
Pritha Srivastava [Tue, 1 Mar 2022 10:23:32 +0000 (15:53 +0530)]
rgw: adding OPT_DATA_SYNC_RUN to gc_ops_list so that gc gets
initialized for this command.

Fixes: https://tracker.ceph.com/issues/54433
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoMerge pull request #45198 from tchaikov/wip-cxx-20
Kefu Chai [Wed, 2 Mar 2022 02:20:35 +0000 (10:20 +0800)]
Merge pull request #45198 from tchaikov/wip-cxx-20

changes to compile with latest seastar and C++20

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45204 from liu-chunmei/seastore-fix-bad_alloc
Liu-Chunmei [Wed, 2 Mar 2022 01:37:20 +0000 (17:37 -0800)]
Merge pull request #45204 from liu-chunmei/seastore-fix-bad_alloc

crimson/seastore: fix bad_alloc

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoceph-volume: fix generic activate 45216/head
Guillaume Abrioux [Tue, 1 Mar 2022 23:38:17 +0000 (00:38 +0100)]
ceph-volume: fix generic activate

afd8be7eac5e996c3bd07656601a4534053e2516 broke it.
It has dropped`block_wal` and `block_db` from
`ceph_volume.devices.raw.activate.activate_bluestore` but
`activate.main.Activate.main` still passes those arguments when
calling `RAWActivate([]).activate()`

Fixes: https://tracker.ceph.com/issues/54441
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #45215 from neha-ojha/wip-cf-add
Neha Ojha [Tue, 1 Mar 2022 22:20:42 +0000 (14:20 -0800)]
Merge pull request #45215 from neha-ojha/wip-cf-add

doc/foundation.rst: Add ArvanCloud to the Foundation

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
3 years agodoc/foundation.rst: Add ArvanCloud to the Foundation 45215/head
Neha Ojha [Tue, 1 Mar 2022 20:47:21 +0000 (20:47 +0000)]
doc/foundation.rst: Add ArvanCloud to the Foundation

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agocmake/rgw: remove detection for curl_multi_wait 45214/head
Casey Bodley [Tue, 1 Mar 2022 18:27:42 +0000 (13:27 -0500)]
cmake/rgw: remove detection for curl_multi_wait

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agorgw: remove libcurl warning about curl_multi_wait()
Casey Bodley [Tue, 1 Mar 2022 18:23:45 +0000 (13:23 -0500)]
rgw: remove libcurl warning about curl_multi_wait()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoRevert "rgw: detect and work around a curl_multi_wait bug"
Casey Bodley [Tue, 1 Mar 2022 18:21:39 +0000 (13:21 -0500)]
Revert "rgw: detect and work around a curl_multi_wait bug"

This reverts commit 0359be62b79857357f6d0d4fb81c6bb4e0c381a6.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Conflicts:
src/rgw/rgw_http_client.cc array initializer, is_threaded->is_started

3 years agomgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module 43058/head
Konstantin Shalygin [Mon, 6 Sep 2021 07:54:23 +0000 (14:54 +0700)]
mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module

Fixes: https://tracker.ceph.com/issues/52512
Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
3 years agoseastar: bump up seastar submodule to recent master 45198/head
Kefu Chai [Tue, 1 Mar 2022 16:57:47 +0000 (00:57 +0800)]
seastar: bump up seastar submodule to recent master

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/common/interruptible_future: ensure seastar::AllAreFutures<> is happy
Kefu Chai [Tue, 1 Mar 2022 16:06:07 +0000 (00:06 +0800)]
crimson/common/interruptible_future: ensure seastar::AllAreFutures<> is happy

if compiled with C++20, C++ concept is enabled. to ensure the
constraints required by when_all_impl() is fulfilled, we need to
specialize is_tuple_of_futures<> for interruptible_future.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoinclude/xlist: define iterator without std::iterator<>
Kefu Chai [Tue, 1 Mar 2022 16:14:09 +0000 (00:14 +0800)]
include/xlist: define iterator without std::iterator<>

std::iterator<> is deprecated in C++17, so let's just
define the required traits directly.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/os/seastore: use iter_cend()
Kefu Chai [Tue, 1 Mar 2022 16:08:48 +0000 (00:08 +0800)]
crimson/os/seastore: use iter_cend()

to avoid the pain of fixing the FTBFS with C++20 like

/var/ssd/ceph/src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.cc:141:19: error: use of overloaded operator '!=' is ambiguous (with operand types 'crimson::os::seastore::omap_manager::StringKVInnerN$
  assert(child_pt != iter_end());
         ~~~~~~~~ ^  ~~~~~~~~~~
/usr/include/assert.h:93:27: note: expanded from macro 'assert'
     (static_cast <bool> (expr)                                         \
                          ^~~~
/var/ssd/ceph/src/crimson/os/seastore/omap_manager/btree/string_kv_node_layout.h:380:10: note: candidate function
    bool operator==(const iter_t &rhs) const {
         ^
/var/ssd/ceph/src/crimson/os/seastore/omap_manager/btree/string_kv_node_layout.h:380:10: note: candidate function (with reversed parameter order)

also, to be explicit is advisable.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson: include <seastar/core/metrics.hh>
Kefu Chai [Tue, 1 Mar 2022 16:08:03 +0000 (00:08 +0800)]
crimson: include <seastar/core/metrics.hh>

after the restructure of seastar source tree, we have to include
metrics.hh for accessing the metrics types.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/admin/osd_admin: avoid using _format()
Kefu Chai [Tue, 1 Mar 2022 16:01:37 +0000 (00:01 +0800)]
crimson/admin/osd_admin: avoid using _format()

see also 3fd91d7e6d9315244aeff02070721ef4a021b0b3

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/osd: use reference when structured binding
Kefu Chai [Tue, 1 Mar 2022 14:38:49 +0000 (22:38 +0800)]
crimson/osd: use reference when structured binding

to silence warning from clang13 with -std=c++20, like

ceph/src/crimson/osd/replicated_recovery_backend.cc:1098:21: warning: loop variable '[off, len]' creates a copy from type 'const std::pair<const unsigned long, unsigned long>' [-Wrange-loop-construct]
    for (const auto [off, len] : extents) {
                    ^
ceph/src/crimson/osd/replicated_recovery_backend.cc:1098:10: note: use reference type 'const std::pair<const unsigned long, unsigned long> &' to prevent copying
    for (const auto [off, len] : extents) {
         ^~~~~~~~~~~~~~~~~~~~~~~
                    &

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoinclude/rados: define iterator without std::iterator<>
Kefu Chai [Mon, 28 Feb 2022 15:01:27 +0000 (23:01 +0800)]
include/rados: define iterator without std::iterator<>

std::iterator<> is deprecated in C++17, so let's just
define the required traits directly.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/os: define iterator without std::iterator<>
Kefu Chai [Mon, 28 Feb 2022 15:00:04 +0000 (23:00 +0800)]
crimson/os: define iterator without std::iterator<>

std::iterator<> is deprecated in C++17, so let's just
define the required traits directly.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/os/seastore: remove default ctor for delta_t
Kefu Chai [Mon, 28 Feb 2022 14:47:19 +0000 (22:47 +0800)]
crimson/os/seastore: remove default ctor for delta_t

otherwise the aggregate initialization for this type would fail to
work on C++20, as the user-declared ctor is defined for this struct.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/os: stop using seastar::metrics::label
Kefu Chai [Mon, 28 Feb 2022 14:35:52 +0000 (22:35 +0800)]
crimson/os: stop using seastar::metrics::label

seastar::metrics::label was dropped in a recent change. quote from
the commit message which removed this type:

>     In practice, it's an over-kill and just add information in the reporting
>    layer.

see also da395f31989a1ee333e489ffb251fc1152f12f0a in seastar repo

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoinclude/buffer: include <memory>
Kefu Chai [Mon, 28 Feb 2022 13:46:39 +0000 (21:46 +0800)]
include/buffer: include <memory>

to address following FTBFS:

/usr/bin/ccache /usr/bin/clang++-13 -DBOOST_ALL_NO_LIB -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_T$
In file included from /var/ssd/ceph/src/crimson/os/seastore/seastore_types.cc:4:
In file included from /var/ssd/ceph/src/crimson/os/seastore/seastore_types.h:14:
In file included from /var/ssd/ceph/src/include/denc.h:47:
/var/ssd/ceph/src/include/buffer.h:98:37: error: no template named 'unique_ptr' in namespace 'std'; did you mean 'boost::movelib::unique_ptr'?
struct unique_leakable_ptr : public std::unique_ptr<T, ceph::nop_delete<T>> {
                                    ^~~~~~~~~~~~~~~
                                    boost::movelib::unique_ptr
/opt/ceph/include/boost/move/unique_ptr.hpp:354:7: note: 'boost::movelib::unique_ptr' declared here
class unique_ptr
      ^

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #45047 from ceph/wip-yuriw-release-15.2.16-master
Josh Durgin [Tue, 1 Mar 2022 16:05:55 +0000 (08:05 -0800)]
Merge pull request #45047 from ceph/wip-yuriw-release-15.2.16-master

doc: 15.2.16 Release Notes

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agorgw: prevent spurious/lost notifications in the index completion thread
Yuval Lifshitz [Wed, 23 Feb 2022 15:21:10 +0000 (17:21 +0200)]
rgw: prevent spurious/lost notifications in the index completion thread

this was happening when asyn completions happened during reshard.
more information about testing:
https://gist.github.com/yuvalif/d526c0a3a4c5b245b9e951a6c5a10517

we also add more logs to the completion manager.
should allow finding unhandled completions due to reshards.

Fixes: https://tracker.ceph.com/issues/54435
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agodoc/start: alphabetize hardware-recs links 45209/head
Zac Dover [Tue, 1 Mar 2022 13:53:29 +0000 (23:53 +1000)]
doc/start: alphabetize hardware-recs links

This PR alphabetizes the internal and external
references at the bottom of the Restructured
Text.

(This is really just a PR made so that I can
show how to make a documentation pull request.)

(In a video.)

(For people who prefer step-by-step instructions
in video form.)

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #44050 from ronen-fr/wip-rf-digest-update
Ronen Friedman [Tue, 1 Mar 2022 12:14:25 +0000 (14:14 +0200)]
Merge pull request #44050 from ronen-fr/wip-rf-digest-update

osd/scrub: ignoring unsolicited DigestUpdate events

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/seastore: fix bad_alloc 45204/head
chunmei-liu [Tue, 1 Mar 2022 01:22:23 +0000 (17:22 -0800)]
crimson/seastore: fix bad_alloc

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45139 from zdover23/wip-doc-2022-02-24-hardware-recs-adatri-recs
zdover23 [Tue, 1 Mar 2022 04:41:20 +0000 (14:41 +1000)]
Merge pull request #45139 from zdover23/wip-doc-2022-02-24-hardware-recs-adatri-recs

doc/start: include A. D'Atri's hardware-recs recs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agomgr/cephadm: block removing last instance of _admin label 45202/head
Adam King [Tue, 1 Mar 2022 01:23:10 +0000 (20:23 -0500)]
mgr/cephadm: block removing last instance of _admin label

Fixes: https://tracker.ceph.com/issues/54425
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45191 from neesingh-rh/cephfs-top_doc_fix
Laura Flores [Mon, 28 Feb 2022 22:20:03 +0000 (16:20 -0600)]
Merge pull request #45191 from neesingh-rh/cephfs-top_doc_fix

doc/cephfs: Typographical error.

3 years agodoc/releases: couple of notable changes for core 45047/head
Neha Ojha [Mon, 28 Feb 2022 22:08:15 +0000 (22:08 +0000)]
doc/releases: couple of notable changes for core

also fix release date for v15.2.16

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #45136 from adk3798/extra-all
Adam King [Mon, 28 Feb 2022 21:58:38 +0000 (16:58 -0500)]
Merge pull request #45136 from adk3798/extra-all

mgr/cephadm: extend extra_container_args to other service types

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agomgr/cephadm: block draining last _admin host 45174/head
Adam King [Fri, 25 Feb 2022 22:55:06 +0000 (17:55 -0500)]
mgr/cephadm: block draining last _admin host

Fixes: https://tracker.ceph.com/issues/54413
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45166 from pritha-srivastava/wip-rgw-bucket-sync-run
Casey Bodley [Mon, 28 Feb 2022 21:16:03 +0000 (16:16 -0500)]
Merge pull request #45166 from pritha-srivastava/wip-rgw-bucket-sync-run

rgw: add OPT_BUCKET_SYNC_RUN to gc_ops_list, so that

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agodoc/cephfs: Typographical error. 45191/head
Neeraj Pratap Singh [Mon, 28 Feb 2022 09:45:22 +0000 (15:15 +0530)]
doc/cephfs: Typographical error.

Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
3 years agodoc/start: include A. D'Atri's hardware-recs recs 45139/head
Zac Dover [Thu, 24 Feb 2022 07:22:42 +0000 (17:22 +1000)]
doc/start: include A. D'Atri's hardware-recs recs

This PR restores material about partition alignment
and material about separating OS and OSD data that
was removed in an earlier rewrite. The restoration
of this information was requested by Anthony D'Atri in
https://github.com/ceph/ceph/pull/45123/

This PR also includes several refinements to the language
that could not be made to this text until now, owing to my
(Zac's) ignorance and illiteracy.

I call upon Mark Nelson (and anyone else with sufficient
command of the current state of storage technology) to advise
me on whether the Ceph Foundation feels comfortable in the year
2022 referring to QLC as an emerging technology.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(squash) more notes and revisions

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agocephadm/box: default add hosts 44923/head
Pere Diaz Bou [Mon, 7 Feb 2022 12:16:08 +0000 (13:16 +0100)]
cephadm/box: default add hosts

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agorgw: add OPT_BUCKET_SYNC_RUN to gc_ops_list, so that 45166/head
Pritha Srivastava [Fri, 25 Feb 2022 11:00:46 +0000 (16:30 +0530)]
rgw: add OPT_BUCKET_SYNC_RUN to gc_ops_list, so that
gc is initialised and send_chain does not crash.

Also deleting objects inline in case gc is uninitialised.

Fixes: https://tracker.ceph.com/issues/54417
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoosd/scrub: cluster-logging unsolicited DigestUpdate events 44050/head
Ronen Friedman [Thu, 2 Dec 2021 13:05:38 +0000 (13:05 +0000)]
osd/scrub: cluster-logging unsolicited DigestUpdate events

... and not just to the OSD's log

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #44941 from ronen-fr/wip-rf-scrubBEv1_2
Ronen Friedman [Sat, 26 Feb 2022 12:56:36 +0000 (14:56 +0200)]
Merge pull request #44941 from ronen-fr/wip-rf-scrubBEv1_2

osd/scrub: limiting scrubber-backend external interfaces

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #43957 from petrutlucian94/windows_ipv6
David Galloway [Fri, 25 Feb 2022 20:56:30 +0000 (15:56 -0500)]
Merge pull request #43957 from petrutlucian94/windows_ipv6

msg: Fix Windows IPv6 support

3 years agoMerge pull request #44870 from phlogistonjohn/jjm-nfs-cleanups2
Adam King [Fri, 25 Feb 2022 15:08:05 +0000 (10:08 -0500)]
Merge pull request #44870 from phlogistonjohn/jjm-nfs-cleanups2

mgr/nfs: support managing exports without orchestration enabled

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #44845 from phlogistonjohn/jjm-nfs-cleanups
Adam King [Fri, 25 Feb 2022 15:02:52 +0000 (10:02 -0500)]
Merge pull request #44845 from phlogistonjohn/jjm-nfs-cleanups

mgr/nfs: various minor cleanups

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #45113 from adk3798/minimize-image
Adam King [Fri, 25 Feb 2022 14:58:08 +0000 (09:58 -0500)]
Merge pull request #45113 from adk3798/minimize-image

cephadm: still set container_image when --no-assimilate-config is provided in bootstrap

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #45127 from rkachach/fix_issue_54026_part1
Adam King [Fri, 25 Feb 2022 14:56:12 +0000 (09:56 -0500)]
Merge pull request #45127 from rkachach/fix_issue_54026_part1

mgr/cephadm: Adding python natsort module

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45132 from melissa-kun-li/asyncssh_error_messages
Adam King [Fri, 25 Feb 2022 14:54:15 +0000 (09:54 -0500)]
Merge pull request #45132 from melissa-kun-li/asyncssh_error_messages

mgr/cephadm: reduce log level for asyncssh error messages

Reviewed-by: Michael Fritch <mfritch@suse.com>