]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agodoc/security: Add single GPG key in lieu of existing three GPG keys 41383/head
Hardik Vyas [Tue, 18 May 2021 12:13:53 +0000 (17:43 +0530)]
doc/security: Add single GPG key in lieu of existing three GPG keys

Replace existing three GPG keys with new Ceph Security Team GPG key

Signed-off-by: Hardik Vyas <hvyas@redhat.com>
4 years agoMerge PR #40640 into master
Sage Weil [Tue, 18 May 2021 13:32:52 +0000 (09:32 -0400)]
Merge PR #40640 into master

* refs/pull/40640/head:
common: send SYSLOG_IDENTIFIER to journald
cephadm: enable log to journald by default

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
4 years agoMerge pull request #39580 from ifed01/wip-ifed-migrate
Rishabh Dave [Tue, 18 May 2021 12:50:43 +0000 (18:20 +0530)]
Merge pull request #39580 from ifed01/wip-ifed-migrate

ceph-volume: implement bluefs volume migration.

4 years agoMerge pull request #41282 from cbodley/wip-rgw-rm-civetweb
Matt Benjamin [Tue, 18 May 2021 12:19:09 +0000 (08:19 -0400)]
Merge pull request #41282 from cbodley/wip-rgw-rm-civetweb

rgw: remove the civetweb and fcgi frontends

4 years agoMerge pull request #41364 from rzarzynski/wip-crimson-monc-pending_messages-assert
Kefu Chai [Tue, 18 May 2021 09:45:28 +0000 (17:45 +0800)]
Merge pull request #41364 from rzarzynski/wip-crimson-monc-pending_messages-assert

crimson/monc: fix send_message() racing with reopen_session().

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41366 from tchaikov/wip-crimson-os-debug
Kefu Chai [Tue, 18 May 2021 09:05:15 +0000 (17:05 +0800)]
Merge pull request #41366 from tchaikov/wip-crimson-os-debug

crimson/os: use compile-time validation

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #41354 from idryomov/wip-rbd-pwl-ssd-recovery
Ilya Dryomov [Tue, 18 May 2021 08:25:42 +0000 (10:25 +0200)]
Merge pull request #41354 from idryomov/wip-rbd-pwl-ssd-recovery

librbd/cache/pwl/ssd: fix some crash recovery issues

Reviewed-by: Yin Congmin <congmin.yin@intel.com>
Reviewed-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
4 years agoMerge pull request #39772 from xxhdx1985126/wip-crimson-client-req-pipeline-parallelism
Kefu Chai [Tue, 18 May 2021 05:44:53 +0000 (13:44 +0800)]
Merge pull request #39772 from xxhdx1985126/wip-crimson-client-req-pipeline-parallelism

crimson/osd: optimize crimson-osd's client requests process parallelism

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #41362 from Aran85/crimson-diagrams
Kefu Chai [Tue, 18 May 2021 05:29:13 +0000 (13:29 +0800)]
Merge pull request #41362 from Aran85/crimson-diagrams

crimson/seastore: add string_kv_node_layout diagrams

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoMerge PR #40234 into master
Patrick Donnelly [Tue, 18 May 2021 02:50:45 +0000 (19:50 -0700)]
Merge PR #40234 into master

* refs/pull/40234/head:
client: always register callbacks before mount()
client: move SnapRealm methods to ClientSnapRealm.cc

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #40842 into master
Patrick Donnelly [Tue, 18 May 2021 02:49:40 +0000 (19:49 -0700)]
Merge PR #40842 into master

* refs/pull/40842/head:
qa: update the ffsb.sh to clone it from git://git.ceph.com/ffsb.git

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #41235 into master
Patrick Donnelly [Tue, 18 May 2021 02:47:57 +0000 (19:47 -0700)]
Merge PR #41235 into master

* refs/pull/41235/head:
mds: PurgeQueue.cc fix for 32bit compilation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #41239 into master
Patrick Donnelly [Tue, 18 May 2021 02:46:56 +0000 (19:46 -0700)]
Merge PR #41239 into master

* refs/pull/41239/head:
librbd: use uint64_t instead of size_t for SparseExtent::length
mgr/PyModule: use Py_ssize_t for the PyList index
os/bluestore: print size_t using %xz
client: print int64_t using PRId64

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
4 years agoMerge PR #41254 into master
Patrick Donnelly [Tue, 18 May 2021 02:42:54 +0000 (19:42 -0700)]
Merge PR #41254 into master

* refs/pull/41254/head:
mds: save the metadata pool id MDSRank class's private member

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #41267 into master
Patrick Donnelly [Tue, 18 May 2021 02:40:16 +0000 (19:40 -0700)]
Merge PR #41267 into master

* refs/pull/41267/head:
mds: defer the journal recovered success log

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #41268 into master
Patrick Donnelly [Tue, 18 May 2021 02:39:11 +0000 (19:39 -0700)]
Merge PR #41268 into master

* refs/pull/41268/head:
mds: fix possible mds_lock not locked assert

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #41341 from tchaikov/wip-dmclock
Kefu Chai [Tue, 18 May 2021 01:20:53 +0000 (09:20 +0800)]
Merge pull request #41341 from tchaikov/wip-dmclock

dmclock: pick up change to fix run_sched_ahead() scheduling issue

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
4 years agorgw: building the beast frontend is no longer optional 41282/head
Casey Bodley [Tue, 11 May 2021 14:01:20 +0000 (10:01 -0400)]
rgw: building the beast frontend is no longer optional

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agorgw: remove the fcgi frontend
Casey Bodley [Tue, 11 May 2021 13:56:01 +0000 (09:56 -0400)]
rgw: remove the fcgi frontend

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agorgw: remove the civetweb frontend from src and qa
Casey Bodley [Tue, 11 May 2021 13:42:53 +0000 (09:42 -0400)]
rgw: remove the civetweb frontend from src and qa

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #41262 from cbodley/wip-rgw-civetweb-deprecate
Casey Bodley [Mon, 17 May 2021 18:46:50 +0000 (14:46 -0400)]
Merge pull request #41262 from cbodley/wip-rgw-civetweb-deprecate

rgw: deprecate the civetweb frontend

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 years agocrimson/os: pass log level to LOG() 41366/head
Kefu Chai [Mon, 17 May 2021 17:26:11 +0000 (01:26 +0800)]
crimson/os: pass log level to LOG()

instead of passing function name to the underlying macro, pass log
level for better readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/os: use compile-time validation
Kefu Chai [Mon, 17 May 2021 17:13:03 +0000 (01:13 +0800)]
crimson/os: use compile-time validation

libfmt does compile-time format argument validation of the format string
and the argument when the the user-defined literal is used. but the
downside is that the formatter materialize the whole formatted string
into a std::string, before printing them argument into seastar's log buffer
inserter. presumably, the inserter would be more efficient in
comparision to the pre-format approach. so this validation is only
enabled for non NDEBUG build. so it is able to help us to identify
errors like

DEBUG("{} {}", 1, 2, 3)

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41348 from jdurgin/wip-release-notes-fixes
David Galloway [Mon, 17 May 2021 16:03:15 +0000 (12:03 -0400)]
Merge pull request #41348 from jdurgin/wip-release-notes-fixes

script/ceph-release-notes: work with py3 and remove backport release names from PRs

4 years agoMerge PR #41314 into master
Patrick Donnelly [Mon, 17 May 2021 15:38:41 +0000 (08:38 -0700)]
Merge PR #41314 into master

* refs/pull/41314/head:
qa/tasks/nfs: add test to check if cmds fail on not passing required arguments
mgr/nfs: fix flake8 missing whitespace around parameter equals error
mgr/nfs: annotate _cmd_nfs_* methods return value

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agotests/ceph_volume: add UT for bluefs migration stuff 39580/head
Igor Fedotov [Wed, 28 Apr 2021 19:17:24 +0000 (22:17 +0300)]
tests/ceph_volume: add UT for bluefs migration stuff

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agocrimson/monc: fix send_message() racing with reopen_session(). 41364/head
Radoslaw Zarzynski [Mon, 17 May 2021 13:50:55 +0000 (13:50 +0000)]
crimson/monc: fix send_message() racing with reopen_session().

The `send_message()` method is a high-level facility for
communicating with a monitor. If there is an active conn
available, it sends the message immediately; otherwise
the message is queued. This method assumes the queue is
already drained if the connection is available.

`active_con` is managed by `reopen_session()` where it's
first cleared and then reset after finding new alive mon.
This is followed by draining the `pending_messages` queue
which happens in `on_session_opened()` after the `MAuth`
exchange is finished.

Unfortunately, the path from the `active_con` clearing
to draining the queue is long and divided into multiple
continuations which results in lack of atomicity. When
e.g. `run_command()` interleaves the stages, following
crash happens:

```
INFO  2021-05-07 08:13:43,914 [shard 0] monc - do_auth_single: mon v2:172.21.15.82:6805/34166 => v2:172.21.15.82:3300/0 returns auth_reply(proto 2 0 (0) Success) v1: 0
ceph-osd: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-3910-g1b18e076/rpm/el8/BUILD/ceph-17.0.0-3910-g1b18e076/src/crimson/mon/MonClient.cc:1034: seastar::future<> crimson::mon::Client::send_message(MessageRef): Assertion `pending_messages.empty()' failed.
Aborting on shard 0.
Backtrace:
 0# 0x000055CDE6DB532F in ceph-osd
 1# FatalSignal::signaled(int, siginfo_t const*) in ceph-osd
 2# FatalSignal::install_oneshot_signal_handler<6>()::{lambda(int, siginfo_t*, void*)#1}::_FUN(int, siginfo_t*, void*) in ceph-osd
 3# 0x00007FC1BF20BB20 in /lib64/libpthread.so.0
 4# gsignal in /lib64/libc.so.6
 5# abort in /lib64/libc.so.6
 6# 0x00007FC1BD806B09 in /lib64/libc.so.6
 7# 0x00007FC1BD814DE6 in /lib64/libc.so.6
 8# crimson::mon::Client::send_message(boost::intrusive_ptr<Message>) in ceph-osd
 9# crimson::mon::Client::renew_subs() in ceph-osd
10# 0x000055CDE764FB0B in ceph-osd
11# 0x000055CDE10457F0 in ceph-osd
12# 0x000055CDEA0AB88F in ceph-osd
13# 0x000055CDEA0B0DD0 in ceph-osd
14# 0x000055CDEA2689FB in ceph-osd
15# 0x000055CDE9DC0EDA in ceph-osd
16# main in ceph-osd
17# __libc_start_main in /lib64/libc.so.6
18# _start in ceph-osd
```

The problem caused following failure at Sepia:
http://pulpito.front.sepia.ceph.com/rzarzynski-2021-05-07_07:41:02-rados-master-distro-basic-smithi/6104549

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: make do_osd_ops receive lvalue reference to osd ops vector 39772/head
Xuehan Xu [Sun, 16 May 2021 15:23:19 +0000 (23:23 +0800)]
crimson/osd: make do_osd_ops receive lvalue reference to osd ops vector

otherwise any async execution of lambdas in PG::do_osd_ops_execute() may
reference a outdated osd_op

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #40172 from p-se/pse-fix-cephadm-prom-alerts-missing
Sebastian Wagner [Mon, 17 May 2021 12:23:05 +0000 (14:23 +0200)]
Merge pull request #40172 from p-se/pse-fix-cephadm-prom-alerts-missing

mgr/cephadm: fix missing prometheus alerts

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
4 years agoMerge pull request #41361 from zdover23/wip-doc-rados-gateway-spelling-embeddding...
zdover23 [Mon, 17 May 2021 11:40:42 +0000 (21:40 +1000)]
Merge pull request #41361 from zdover23/wip-doc-rados-gateway-spelling-embeddding-2021-05-17

doc/radosgw: s/embeddding/embedding/

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/seastore: add string_kv_node_layout diagrams 41362/head
Aran85 [Mon, 17 May 2021 10:32:11 +0000 (18:32 +0800)]
crimson/seastore: add string_kv_node_layout diagrams

Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
4 years agodoc/radosgw: s/embeddding/embedding/ 41361/head
Zac Dover [Mon, 17 May 2021 11:01:37 +0000 (21:01 +1000)]
doc/radosgw: s/embeddding/embedding/

res ipsa loquitur

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #41360 from mflehmig/patch-1
Kefu Chai [Mon, 17 May 2021 07:10:35 +0000 (15:10 +0800)]
Merge pull request #41360 from mflehmig/patch-1

doc/rados: Fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/rados: Fix typo 41360/head
mflehmig [Mon, 17 May 2021 06:00:13 +0000 (08:00 +0200)]
doc/rados: Fix typo

Signed-off-by: Martin Flehmig <martin.flehmig@tu-dresden.de>
4 years agoMerge pull request #41315 from adk3798/check-version
Kefu Chai [Sun, 16 May 2021 15:55:25 +0000 (23:55 +0800)]
Merge pull request #41315 from adk3798/check-version

mgr/cephadm: check version in upgrade check

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
4 years agoMerge pull request #41328 from jmolmo/osd_replacement_in_fqdn_hosts
Kefu Chai [Sun, 16 May 2021 15:54:14 +0000 (23:54 +0800)]
Merge pull request #41328 from jmolmo/osd_replacement_in_fqdn_hosts

mgr/cephadm: Fix OSD replacement in hosts with FQDN host name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agoMerge pull request #41343 from dsavineau/issue_50717
Kefu Chai [Sun, 16 May 2021 15:49:18 +0000 (23:49 +0800)]
Merge pull request #41343 from dsavineau/issue_50717

mgr/cephadm: fix prometheus jinja template

Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #41306 from liewegas/udpate-isa-l
Kefu Chai [Sun, 16 May 2021 15:47:30 +0000 (23:47 +0800)]
Merge pull request #41306 from liewegas/udpate-isa-l

isa-l: incorporate fix for aarch64 text relocation

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: optimize crimson-osd's client requests process parallelism
Xuehan Xu [Thu, 11 Mar 2021 05:21:31 +0000 (13:21 +0800)]
crimson/osd: optimize crimson-osd's client requests process parallelism

Make client requests go to the concurrent pipeline stage "wait_repop" once they
are "submitted" to the underlying objectstore, which means their on-disk order
is guaranteed, so that successive client requests can go into the "process"
pipeline stage.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agocrimson/common: add new facilities to interruptible future
Xuehan Xu [Thu, 13 May 2021 08:52:11 +0000 (16:52 +0800)]
crimson/common: add new facilities to interruptible future

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agocrimson/osd: add two more stages into pg's client request pipeline
Xuehan Xu [Thu, 11 Mar 2021 05:16:22 +0000 (13:16 +0800)]
crimson/osd: add two more stages into pg's client request pipeline

These two stages are used to provide more parallelism in the pipeline,
while preserving client requests order.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #41342 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Sat, 15 May 2021 20:38:17 +0000 (13:38 -0700)]
Merge pull request #41342 from yuriw/wip-yuriw-crontab-master

qa/tests: added client-upgrade-nautilus-pacific tests

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
4 years agolibrbd/cache/pwl/ssd: stronger assert in aio_read_data_blocks() 41354/head
Ilya Dryomov [Thu, 13 May 2021 11:11:57 +0000 (13:11 +0200)]
librbd/cache/pwl/ssd: stronger assert in aio_read_data_blocks()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: rename aio_read_data_block() overload
Ilya Dryomov [Thu, 13 May 2021 11:11:57 +0000 (13:11 +0200)]
librbd/cache/pwl/ssd: rename aio_read_data_block() overload

Rename the overload that deals with multiple data blocks to
aio_read_data_blocks().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: persist correct write_data_pos
Ilya Dryomov [Thu, 13 May 2021 11:11:57 +0000 (13:11 +0200)]
librbd/cache/pwl/ssd: persist correct write_data_pos

WriteLogCacheEntry gets appended to persist_log_entries before
write_data_pos is updated with the actual media offset.  Because
push_back() makes a copy, the updated write_data_pos value never
makes it to media, making recovery impossible.

Fixes: https://tracker.ceph.com/issues/50669
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: set m_bytes_allocated_cap on recovery
Ilya Dryomov [Thu, 13 May 2021 11:11:57 +0000 (13:11 +0200)]
librbd/cache/pwl/ssd: set m_bytes_allocated_cap on recovery

Currently it's set only when a new cache is formatted.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: actually use first_{valid,free}_entry on recovery
Ilya Dryomov [Thu, 13 May 2021 11:11:57 +0000 (13:11 +0200)]
librbd/cache/pwl/ssd: actually use first_{valid,free}_entry on recovery

first_valid_entry and first_free_entry pointers are read from media
but not actually used: both m_first_valid_entry and m_first_free_entry
get assigned 0 (or garbage).  next_log_pos gets the same value as well
meaning that not only no recovery is attempted but the cache also gets
corrupted because DATA_RING_BUFFER_OFFSET is not applied.

Fixes: https://tracker.ceph.com/issues/50669
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: don't count log entries
Ilya Dryomov [Sat, 8 May 2021 08:24:37 +0000 (10:24 +0200)]
librbd/cache/pwl/ssd: don't count log entries

In ssd mode log entries are variable size.  Attempting to count and
impose watermarks on the number of log entries is bogus because the
total number of entries it would take to fill the cache to capacity
is also variable and can't be precisely estimated.

Fixes: https://tracker.ceph.com/issues/50669
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl: fix AbstractWriteLog::check_allocation() signature
Ilya Dryomov [Sat, 8 May 2021 08:15:05 +0000 (10:15 +0200)]
librbd/cache/pwl: fix AbstractWriteLog::check_allocation() signature

All parameters are integers and none of them are (in-)out, so don't
take them by reference.  Additionally num_lanes, num_log_entries and
num_unpublished_reserves don't need to be 64-bit as their respective
fields in AbstractWriteLog are 32-bit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl: rename m_log_pool_config_size to m_log_pool_size
Ilya Dryomov [Wed, 12 May 2021 10:19:07 +0000 (12:19 +0200)]
librbd/cache/pwl: rename m_log_pool_config_size to m_log_pool_size

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl: get rid of AbstractWriteLog::m_log_pool_actual_size
Ilya Dryomov [Wed, 12 May 2021 10:19:07 +0000 (12:19 +0200)]
librbd/cache/pwl: get rid of AbstractWriteLog::m_log_pool_actual_size

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agolibrbd/cache/pwl/ssd: get rid of WriteLog::pool_size
Ilya Dryomov [Wed, 12 May 2021 10:19:07 +0000 (12:19 +0200)]
librbd/cache/pwl/ssd: get rid of WriteLog::pool_size

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agoMerge pull request #41350 from liu-chunmei/seastore-fix-omap-manager-testcase
Kefu Chai [Sat, 15 May 2021 01:33:30 +0000 (09:33 +0800)]
Merge pull request #41350 from liu-chunmei/seastore-fix-omap-manager-testcase

crimson/seastore: fix omap manager testcase bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/seastore: fix omap manager testcase bug 41350/head
chunmei-liu [Fri, 14 May 2021 20:29:01 +0000 (13:29 -0700)]
crimson/seastore: fix omap manager testcase bug

can't erase map while iterating it.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
4 years agoscript/ceph-release-notes: remove release name from backport PR titles 41348/head
Josh Durgin [Fri, 14 May 2021 19:46:17 +0000 (15:46 -0400)]
script/ceph-release-notes: remove release name from backport PR titles

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
4 years agoscript/ceph-release-notes: remove EOL releases
Josh Durgin [Fri, 14 May 2021 19:32:45 +0000 (15:32 -0400)]
script/ceph-release-notes: remove EOL releases

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
4 years agoscript/ceph-release-notes: do not encode to bytes
Josh Durgin [Fri, 14 May 2021 19:31:09 +0000 (15:31 -0400)]
script/ceph-release-notes: do not encode to bytes

This is no longer needed with python3, and adds b'' around strings.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
4 years agomgr/cephadm: Fix OSD replacement in hosts with FQDN host name 41328/head
Juan Miguel Olmo Martínez [Thu, 13 May 2021 16:58:38 +0000 (18:58 +0200)]
mgr/cephadm: Fix OSD replacement in hosts with FQDN host name

Resolves: https://tracker.ceph.com/issues/50805

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoMerge PR #40848 into master
Sage Weil [Fri, 14 May 2021 16:10:08 +0000 (12:10 -0400)]
Merge PR #40848 into master

* refs/pull/40848/head:
SECURITY.md: update security policy

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agomgr/cephadm: fix prometheus jinja template 41343/head
Dimitri Savineau [Fri, 14 May 2021 16:08:21 +0000 (12:08 -0400)]
mgr/cephadm: fix prometheus jinja template

The prometheus yaml file shouldn't use "tab" character but only spaces.

Fixes: https://tracker.ceph.com/issues/50717
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoMerge pull request #41307 from dang/wip-dang-zipper-bucket-remove
Daniel Gryniewicz [Fri, 14 May 2021 15:45:03 +0000 (11:45 -0400)]
Merge pull request #41307 from dang/wip-dang-zipper-bucket-remove

RGW Zipper - consolidate two bucket remove APIs

4 years agoqa/tests: added client-upgrade-nautilus-pacific tests 41342/head
Yuri Weinstein [Fri, 14 May 2021 15:34:27 +0000 (08:34 -0700)]
qa/tests: added client-upgrade-nautilus-pacific tests

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
4 years agoqa/tasks/nfs: add test to check if cmds fail on not passing required arguments 41314/head
Varsha Rao [Fri, 14 May 2021 15:29:45 +0000 (20:59 +0530)]
qa/tasks/nfs: add test to check if cmds fail on not passing required arguments

Signed-off-by: Varsha Rao <varao@redhat.com>
4 years agomgr/nfs: fix flake8 missing whitespace around parameter equals error
Varsha Rao [Wed, 12 May 2021 17:03:32 +0000 (22:33 +0530)]
mgr/nfs: fix flake8 missing whitespace around parameter equals error

Signed-off-by: Varsha Rao <varao@redhat.com>
4 years agomgr/nfs: annotate _cmd_nfs_* methods return value
Varsha Rao [Wed, 12 May 2021 16:54:40 +0000 (22:24 +0530)]
mgr/nfs: annotate _cmd_nfs_* methods return value

Fixes: 7c57d1634
Fixes: https://tracker.ceph.com/issues/50783
Signed-off-by: Varsha Rao <varao@redhat.com>
4 years agodmclock: pick up change to fix run_sched_ahead() scheduling issue 41341/head
Kefu Chai [Fri, 14 May 2021 15:06:13 +0000 (23:06 +0800)]
dmclock: pick up change to fix run_sched_ahead() scheduling issue

see also https://tracker.ceph.com/issues/48317

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41003 from tchaikov/wip-more-confval
Kefu Chai [Fri, 14 May 2021 13:49:26 +0000 (21:49 +0800)]
Merge pull request #41003 from tchaikov/wip-more-confval

common/options: extract osd and mgr settings out

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoSECURITY.md: update security policy 40848/head
Hardik Vyas [Wed, 14 Apr 2021 08:43:21 +0000 (14:13 +0530)]
SECURITY.md: update security policy

Update Ceph Security Team GPG key and fix indentation issues

Signed-off-by: Hardik Vyas <hvyas@redhat.com>
4 years agocommon/options: dedup Option::services 41003/head
Kefu Chai [Fri, 23 Apr 2021 11:16:37 +0000 (19:16 +0800)]
common/options: dedup Option::services

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocommon/options: extract osd and mgr settings out
Kefu Chai [Fri, 23 Apr 2021 09:32:00 +0000 (17:32 +0800)]
common/options: extract osd and mgr settings out

the purposes of this change are:

* faster compilation, so the cmake generator can process .yaml.in files
  in parallel.
* allow daemons to include a subset of options which it is interested
  in.
* better maintainability. by grouping options in different .yaml.in
  files, developers understand who are the consumers of an option.

in this change, options only read by mgr are extracted into mgr.yaml.in,
and options only read by osd are extracted into osd.yaml.in.

so all options in mgr.yaml.in should have "services: mgr" in their
definition by default. the ones in osd.yaml.in have "services: osd".

in the case where options are consumed by multiple services or tools,
the option should add "common" to its "services" if it is supposed to be
consumed by a tool, or "mon" if it is read by monitor as well.

but it takes time to audit all the options, so only part of them are
processed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: Revert "cmake: use file(GLOB ..) to find .yaml.in files"
Kefu Chai [Fri, 23 Apr 2021 11:17:30 +0000 (19:17 +0800)]
cmake: Revert "cmake: use file(GLOB ..) to find .yaml.in files"

This reverts commit 4e58b5899e98397ea928cbde1451b0734fa0892b.

the list of .yaml.in file might change over time before we finish the
.yaml.in file split, but cmake would fail to figure out the list without
rerunning "cmake", so when a new .yaml.in file is introduced, developer
might end up with a FTBFS after pulling the change from remote repo.

so, we need to revert the file(GLOB ..) change, until all .yaml.in file
are created.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41326 from tchaikov/wip-seastar
Kefu Chai [Fri, 14 May 2021 04:06:22 +0000 (12:06 +0800)]
Merge pull request #41326 from tchaikov/wip-seastar

seastar: bump seastar to latest upstream master

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoMerge pull request #41322 from AmnonHanuhov/wip-fix_messageuref_memory_leak
Kefu Chai [Fri, 14 May 2021 04:04:57 +0000 (12:04 +0800)]
Merge pull request #41322 from AmnonHanuhov/wip-fix_messageuref_memory_leak

crimson/net: Set add_ref to false when creating a MessageRef in conn::send()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/net: Set add_ref to false when creating a MessageRef in conn::send() 41322/head
Amnon Hanuhov [Tue, 11 May 2021 12:07:35 +0000 (15:07 +0300)]
crimson/net: Set add_ref to false when creating a MessageRef in conn::send()

we should not increase the ref count when transferring the ownership from a
MessageURef instance to a MessageRef instance.

to address the memory leak introduced by
1f6e66470504fe5aec4cae3fc74d6e9927aae7aa.

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
4 years agoMerge pull request #41132 from liu-chunmei/crimson-perfcouter-dump
Samuel Just [Fri, 14 May 2021 03:30:36 +0000 (20:30 -0700)]
Merge pull request #41132 from liu-chunmei/crimson-perfcouter-dump

crimson/seastore: dump crimson perf counters

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #41317 from neha-ojha/wip-commandwq-cleanup
Neha Ojha [Fri, 14 May 2021 01:42:57 +0000 (18:42 -0700)]
Merge pull request #41317 from neha-ojha/wip-commandwq-cleanup

common/options/global.yaml.in: remove osd_command_thread* timeouts

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge PR #41329 into master
Sage Weil [Thu, 13 May 2021 23:41:17 +0000 (19:41 -0400)]
Merge PR #41329 into master

* refs/pull/41329/head:
doc: 15.2.12 Release Notes
doc: 14.2.21 Release Notes
doc/security: summarize CVEs
doc: 16.2.4 Release Notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agodoc: 15.2.12 Release Notes 41329/head
David Galloway [Thu, 13 May 2021 18:59:43 +0000 (14:59 -0400)]
doc: 15.2.12 Release Notes

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agodoc: 14.2.21 Release Notes
David Galloway [Thu, 13 May 2021 19:02:27 +0000 (15:02 -0400)]
doc: 14.2.21 Release Notes

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agodoc/security: summarize CVEs
Sage Weil [Thu, 13 May 2021 20:20:48 +0000 (15:20 -0500)]
doc/security: summarize CVEs

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agomgr/cephadm: check version in upgrade check 41315/head
Adam King [Wed, 12 May 2021 14:03:34 +0000 (10:03 -0400)]
mgr/cephadm: check version in upgrade check

Fixes: https://tracker.ceph.com/issues/50784
Signed-off-by: Adam King <adking@redhat.com>
4 years agodoc: 16.2.4 Release Notes
David Galloway [Thu, 13 May 2021 18:53:53 +0000 (14:53 -0400)]
doc: 16.2.4 Release Notes

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoseastar: bump seastar to latest upstream master 41326/head
Kefu Chai [Thu, 13 May 2021 15:24:34 +0000 (23:24 +0800)]
seastar: bump seastar to latest upstream master

for silencing GCC warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/net/Socket: do not reset FixedCPUServerSocket::shutdown_gate
Kefu Chai [Thu, 13 May 2021 16:02:47 +0000 (00:02 +0800)]
crimson/net/Socket: do not reset FixedCPUServerSocket::shutdown_gate

the copy constructor of seastar::gate is deleted explicitly. so we
cannot reset FixedCPUServerSocket::shutdown_gate by assigning a new
seastar::gate to it.

since we don't reuse a FixedCPUServerSocket after calling
FixedCPUServerSocket::destroy(), it's safe to leave a closed gate after
calling FixedCPUServerSocket::reset()

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41305 from zdover23/wip-doc-cephadm-monitoring-disabling-monitori...
zdover23 [Thu, 13 May 2021 14:23:57 +0000 (00:23 +1000)]
Merge pull request #41305 from zdover23/wip-doc-cephadm-monitoring-disabling-monitoring-2021-05-12

doc/cephadm: rewrite "disabling monitoring"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #41027 from mkogan1/wip-rgw-gc-max-objsf2
Casey Bodley [Thu, 13 May 2021 14:02:42 +0000 (10:02 -0400)]
Merge pull request #41027 from mkogan1/wip-rgw-gc-max-objsf2

radosgw-admin: skip GC init on read-only admin ops

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge PR #39550 into master
Sage Weil [Thu, 13 May 2021 13:57:14 +0000 (09:57 -0400)]
Merge PR #39550 into master

* refs/pull/39550/head:
mgr/cephadm: induce retune of osd memory on osd creation
qa/tasks/cephadm.conf: autotune osd memory by default
mgr/cephadm: do not autotune when _no_autotune_memory label is present
mgr/cephadm: autotune osd memory
common: add osd_memory_target_autotune
mgr/cephadm: report memory usage, request (limit) in 'orch ps'
doc/cephadm/host-management: document _admin group
mgr/orchestrator: fix help formatting

Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #41319 from tchaikov/wip-crimson-osd-cleanups
Kefu Chai [Thu, 13 May 2021 07:18:46 +0000 (15:18 +0800)]
Merge pull request #41319 from tchaikov/wip-crimson-osd-cleanups

crimson/osd: cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #41095 from liu-chunmei/crimson-perfcouter
Samuel Just [Thu, 13 May 2021 07:16:55 +0000 (00:16 -0700)]
Merge pull request #41095 from liu-chunmei/crimson-perfcouter

crimson/seastore: add perfcounters in seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #41270 from trociny/wip-50351
Kefu Chai [Thu, 13 May 2021 07:02:16 +0000 (15:02 +0800)]
Merge pull request #41270 from trociny/wip-50351

osd: don't assert in-flight backfill is always in recovery list

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
4 years agoMerge pull request #40660 from dvanders/stash
Kefu Chai [Thu, 13 May 2021 07:00:55 +0000 (15:00 +0800)]
Merge pull request #40660 from dvanders/stash

mon: load stashed map before mkfs monmap

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41233 from tchaikov/wip-osd-pg-cleanup
Kefu Chai [Thu, 13 May 2021 07:00:14 +0000 (15:00 +0800)]
Merge pull request #41233 from tchaikov/wip-osd-pg-cleanup

osd/PG: do not check for empty before loop

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #41257 from liewegas/cephadm-filter-net-message
Kefu Chai [Thu, 13 May 2021 06:59:25 +0000 (14:59 +0800)]
Merge pull request #41257 from liewegas/cephadm-filter-net-message

mgr/cephadm/schedule: fix message

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
4 years agoMerge pull request #41290 from Aran85/fix-crc
Kefu Chai [Thu, 13 May 2021 06:54:18 +0000 (14:54 +0800)]
Merge pull request #41290 from Aran85/fix-crc

osd: clear data digest when write_trunc

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: forward declare OSDOp and ObjectState 41319/head
Kefu Chai [Thu, 13 May 2021 06:23:58 +0000 (14:23 +0800)]
crimson/osd: forward declare OSDOp and ObjectState

simpler this way, also, silence clang warning, as OSDOp is defined as
struct, let's declare it as struct as well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: construct future state in-place
Kefu Chai [Thu, 13 May 2021 06:21:48 +0000 (14:21 +0800)]
crimson/osd: construct future state in-place

instead of constructing the value of state, pass the parameters for
building it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40646 from rzarzynski/wip-crimson-watch-timeout
Kefu Chai [Thu, 13 May 2021 06:18:25 +0000 (14:18 +0800)]
Merge pull request #40646 from rzarzynski/wip-crimson-watch-timeout

crimson/osd: implement timeout support for watches

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40608 from tschoonj/etag-spelling
Yuval Lifshitz [Thu, 13 May 2021 05:46:42 +0000 (08:46 +0300)]
Merge pull request #40608 from tschoonj/etag-spelling

rgw: fix spelling of eTag in S3 message structure

4 years agoMerge pull request #41245 from tchaikov/wip-doc-confval-ext
Kefu Chai [Thu, 13 May 2021 01:21:51 +0000 (09:21 +0800)]
Merge pull request #41245 from tchaikov/wip-doc-confval-ext

doc/_ext: fixes related to mgr option rendering

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agocrimson/seastore: add perfcoutners in seastore 41095/head
chunmei-liu [Tue, 11 May 2021 01:28:56 +0000 (18:28 -0700)]
crimson/seastore: add perfcoutners in seastore

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>