]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agostop.sh: extract maybe_kill() into a function 40540/head
Kefu Chai [Thu, 1 Apr 2021 11:13:54 +0000 (19:13 +0800)]
stop.sh: extract maybe_kill() into a function

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agostop.sh: restructure stop logic
Kefu Chai [Thu, 1 Apr 2021 09:53:00 +0000 (17:53 +0800)]
stop.sh: restructure stop logic

avoid using multiple loops for stopping daemons, and to move the
related logic to a single place for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agostop.sh: add editor variables
Kefu Chai [Thu, 1 Apr 2021 08:45:06 +0000 (16:45 +0800)]
stop.sh: add editor variables

to ensure that the editors understanding them can follow our coding
convention.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39761 from aclamk/wip-stop-sh-less-kill
Kefu Chai [Thu, 1 Apr 2021 08:43:49 +0000 (16:43 +0800)]
Merge pull request #39761 from aclamk/wip-stop-sh-less-kill

stop.sh: prevent forced kill

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40348 from rhcs-dashboard/fix-49606-master
Alfonso Martínez [Thu, 1 Apr 2021 08:33:48 +0000 (10:33 +0200)]
Merge pull request #40348 from rhcs-dashboard/fix-49606-master

mgr/dashboard: improve telemetry opt-in reminder notification message

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
4 years agoMerge pull request #40519 from rhcs-dashboard/50077-vstart-runner-max-required-mgrs
Alfonso Martínez [Thu, 1 Apr 2021 06:30:50 +0000 (08:30 +0200)]
Merge pull request #40519 from rhcs-dashboard/50077-vstart-runner-max-required-mgrs

qa/tasks/vstart_runner.py: start max required mgrs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: rishabh-d-dave <NOT@FOUND>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40055 from yuvalif/wip-yuval-fix-49738
Yuval Lifshitz [Thu, 1 Apr 2021 04:30:07 +0000 (07:30 +0300)]
Merge pull request #40055 from yuvalif/wip-yuval-fix-49738

librgw/notifications: initialize kafka and amqp

4 years agoMerge pull request #40532 from liu-chunmei/seastore_journal_fix
Samuel Just [Thu, 1 Apr 2021 03:04:00 +0000 (20:04 -0700)]
Merge pull request #40532 from liu-chunmei/seastore_journal_fix

crimson/seastore:fix scan_extents in journal.cc

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/seastore:fix scan_extents in journal.cc 40532/head
chunmei-liu [Wed, 31 Mar 2021 21:41:47 +0000 (14:41 -0700)]
crimson/seastore:fix scan_extents in journal.cc

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
4 years agoMerge pull request #40265 from ceph/wip-1610
David Galloway [Wed, 31 Mar 2021 16:24:56 +0000 (12:24 -0400)]
Merge pull request #40265 from ceph/wip-1610

doc: Add Pacific release notes

4 years agoMerge pull request #40483 from gregsfortytwo/wip-stretch-mon-location
Gregory Farnum [Wed, 31 Mar 2021 16:07:12 +0000 (09:07 -0700)]
Merge pull request #40483 from gregsfortytwo/wip-stretch-mon-location

Improve mon location handling for stretch clusters

Reviewed-by: Sam Just <sjust@redhat.com>
4 years agodoc/releases/pacific.rst: Spacing 40265/head
David Galloway [Wed, 31 Mar 2021 15:20:40 +0000 (11:20 -0400)]
doc/releases/pacific.rst: Spacing

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #40521 from tchaikov/wip-mon-log
Kefu Chai [Wed, 31 Mar 2021 15:51:51 +0000 (23:51 +0800)]
Merge pull request #40521 from tchaikov/wip-mon-log

mon/Monitor: add a space before "*m" in logging message

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agodoc: rgw release notes for pacific
Casey Bodley [Mon, 29 Mar 2021 19:15:08 +0000 (15:15 -0400)]
doc: rgw release notes for pacific

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agodoc/releases/pacific.rst: add rbd highlights
Ilya Dryomov [Mon, 29 Mar 2021 17:35:00 +0000 (19:35 +0200)]
doc/releases/pacific.rst: add rbd highlights

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agodoc: add links for pacific cephfs features
Patrick Donnelly [Mon, 29 Mar 2021 16:46:32 +0000 (09:46 -0700)]
doc: add links for pacific cephfs features

Note: cephfs-mirror does not yet have user-facing documentation to link
to.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc/releases/pacific.rst: add CEPHX_V2 release note
Ilya Dryomov [Mon, 29 Mar 2021 09:49:20 +0000 (11:49 +0200)]
doc/releases/pacific.rst: add CEPHX_V2 release note

Landed in pacific in commit a6651bad8f1f ("auth: require CEPHX_V2 by
default").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agodoc/releases/pacific.rst: add RADOS highlights
Neha Ojha [Fri, 26 Mar 2021 21:48:46 +0000 (21:48 +0000)]
doc/releases/pacific.rst: add RADOS highlights

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agodoc/releases/pacific.rst: add more release notes
Neha Ojha [Fri, 26 Mar 2021 19:34:12 +0000 (19:34 +0000)]
doc/releases/pacific.rst: add more release notes

Some of these were under >=15.0.0 in master PendingReleaseNotes.

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agodoc: include more CephFS updates
Patrick Donnelly [Fri, 26 Mar 2021 17:40:31 +0000 (10:40 -0700)]
doc: include more CephFS updates

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc/releases/pacific: add Dashboard notes
Ernesto Puerta [Fri, 26 Mar 2021 12:14:08 +0000 (13:14 +0100)]
doc/releases/pacific: add Dashboard notes

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agodoc: add more CephFS release notes for Pacific
Patrick Donnelly [Thu, 25 Mar 2021 23:10:00 +0000 (16:10 -0700)]
doc: add more CephFS release notes for Pacific

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc/releases/pacific: a few adjustments
Sage Weil [Thu, 25 Mar 2021 21:27:33 +0000 (16:27 -0500)]
doc/releases/pacific: a few adjustments

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agodoc/releases/index: add pacific to index
Sage Weil [Thu, 25 Mar 2021 18:15:16 +0000 (13:15 -0500)]
doc/releases/index: add pacific to index

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agodoc/releases/pacific: draft outline, and upgrade instructions
Sage Weil [Thu, 25 Mar 2021 18:13:43 +0000 (13:13 -0500)]
doc/releases/pacific: draft outline, and upgrade instructions

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agodoc: Add release note for mclock scheduler refinements and profiles
Sridhar Seshasayee [Thu, 25 Mar 2021 15:41:21 +0000 (21:11 +0530)]
doc: Add release note for mclock scheduler refinements and profiles

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
4 years agodoc: add release note for libcephsqlite
Patrick Donnelly [Wed, 24 Mar 2021 23:14:33 +0000 (16:14 -0700)]
doc: add release note for libcephsqlite

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc: remove aggressive scrubbing from pacific release notes
Josh Durgin [Wed, 24 Mar 2021 22:24:37 +0000 (15:24 -0700)]
doc: remove aggressive scrubbing from pacific release notes

This was reverted in pacific by 673b5ea4ae988096d7165f7ff166f6c556345386

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
4 years agodoc: Add Pacific release notes
David Galloway [Fri, 19 Mar 2021 23:21:07 +0000 (19:21 -0400)]
doc: Add Pacific release notes

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge PR #40509 into master
Patrick Donnelly [Wed, 31 Mar 2021 15:26:32 +0000 (08:26 -0700)]
Merge PR #40509 into master

* refs/pull/40509/head:
qa/tasks/cephfs: create enough subvolumes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #40515 from tchaikov/wip-system-zstd
Kefu Chai [Wed, 31 Mar 2021 15:19:31 +0000 (23:19 +0800)]
Merge pull request #40515 from tchaikov/wip-system-zstd

cmake, script/run-make: enable WITH_SYSTEM_ZSTD on focal

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #40527 from ceph/wip-14219
David Galloway [Wed, 31 Mar 2021 15:11:36 +0000 (11:11 -0400)]
Merge pull request #40527 from ceph/wip-14219

doc/release/nautilus.rst: Correct regressed version

4 years agoMerge pull request #40368 from zdover23/wip-doc-cephadm-osd-deploy-osd-rewrite-2021...
zdover23 [Wed, 31 Mar 2021 14:25:13 +0000 (00:25 +1000)]
Merge pull request #40368 from zdover23/wip-doc-cephadm-osd-deploy-osd-rewrite-2021-Mar-25

doc/cephadm: rewrite part of "deploy osds"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #40374 from zdover23/wip-doc-cephadm-osd-dry-run-rewrite-2021...
zdover23 [Wed, 31 Mar 2021 14:24:37 +0000 (00:24 +1000)]
Merge pull request #40374 from zdover23/wip-doc-cephadm-osd-dry-run-rewrite-2021-Mar-25

doc/cephadm: rewrite "dry run" section in osd.rst

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agodoc/release/nautilus.rst: Correct regressed version 40527/head
David Galloway [Wed, 31 Mar 2021 13:41:45 +0000 (09:41 -0400)]
doc/release/nautilus.rst: Correct regressed version

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #40370 from MrFreezeex/fix-perfdump-rbd-mirror
Mykola Golub [Wed, 31 Mar 2021 13:11:18 +0000 (16:11 +0300)]
Merge pull request #40370 from MrFreezeex/fix-perfdump-rbd-mirror

rbd-mirror: fix UB while registering perf counters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #40525 from tchaikov/wip-50079
Kefu Chai [Wed, 31 Mar 2021 12:50:06 +0000 (20:50 +0800)]
Merge pull request #40525 from tchaikov/wip-50079

cmake: do not pass extra param to crimson tests

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocmake: do not pass extra param to crimson tests 40525/head
Kefu Chai [Wed, 31 Mar 2021 12:35:51 +0000 (20:35 +0800)]
cmake: do not pass extra param to crimson tests

Fixes: https://tracker.ceph.com/issues/50079
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon/Monitor: add a space before "*m" in logging message 40521/head
Kefu Chai [Wed, 31 Mar 2021 10:44:49 +0000 (18:44 +0800)]
mon/Monitor: add a space before "*m" in logging message

for better readability, otherwise the log reads like:

handle_probe_probe mon.5 v2:192.168.1.234:3300/0mon_probe(probe 77f26cbf-918c-44c5-b2ff-63a1ae713839 ...

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoqa/tasks/vstart_runner.py: start max required mgrs 40519/head
Alfonso Martínez [Wed, 31 Mar 2021 08:11:50 +0000 (10:11 +0200)]
qa/tasks/vstart_runner.py: start max required mgrs

Pass environment copy with max required mgrs when shell kwarg is True.

Fixes: https://tracker.ceph.com/issues/50077
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
4 years agoosd: osdmap: do not assert target_v when encoding under stretch mode 40483/head
Greg Farnum [Tue, 30 Mar 2021 00:56:13 +0000 (00:56 +0000)]
osd: osdmap: do not assert target_v when encoding under stretch mode

As in dd63a3e21fb6d63b8951a6542fb09f98b79b8cd6 for the OSDMap, this
caused crashes when encoding for kernel clients, and is unnecessary
for servers because they are separately gated.

I did a full audit of every instance of "assert" I added to the codebase
to make sure this is the very last one of these issues.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4 years agomon: let users specify a crush location on boot, and send it in MMonJoin
Greg Farnum [Mon, 29 Mar 2021 23:06:53 +0000 (23:06 +0000)]
mon: let users specify a crush location on boot, and send it in MMonJoin

Go to some effort to look at our location in the monmap and update it the
same way we update names or IP addresses when necessary. Let users
pass in the location on the CLI via "--set-crush-location".

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4 years agomon: messages: Extend MMonJoin so it can provide a crush_location on join
Greg Farnum [Mon, 22 Mar 2021 21:26:58 +0000 (21:26 +0000)]
mon: messages: Extend MMonJoin so it can provide a crush_location on join

This will let newly-created monitors auto-join on startup in stretch mode, by
providing the needed location.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4 years agoscript/run-make: enable WITH_SYSTEM_ZSTD on focal 40515/head
Kefu Chai [Wed, 31 Mar 2021 04:27:44 +0000 (12:27 +0800)]
script/run-make: enable WITH_SYSTEM_ZSTD on focal

to speed up the build for "make check"

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: allow use libzstd in system
Kefu Chai [Wed, 31 Mar 2021 04:15:17 +0000 (12:15 +0800)]
cmake: allow use libzstd in system

since we are moving the test nodes from bionic to focal, we are able to
use the prebuilt libzstd libraries when running "make check". to speed
up the build and test, in this change:

* add FindZstd.cmake which allows us to use the libzstd in system
* extract BuildZstd.cmake for better readability
* add an option named "WITH_SYSTEM_ZSTD", which defaults to "OFF",
  so user can enable it on demand.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40449 from tchaikov/wip-mds-autoscaler-ann
Kefu Chai [Wed, 31 Mar 2021 00:34:04 +0000 (08:34 +0800)]
Merge pull request #40449 from tchaikov/wip-mds-autoscaler-ann

pybind/mgr/mds_autoscaler: add type annotation

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #40505 from tchaikov/wip-progress
Kefu Chai [Wed, 31 Mar 2021 00:33:32 +0000 (08:33 +0800)]
Merge pull request #40505 from tchaikov/wip-progress

mgr/PyModule: put mgr_module_path before Py_GetPath()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge PR #40471 into master
Sage Weil [Tue, 30 Mar 2021 22:25:14 +0000 (18:25 -0400)]
Merge PR #40471 into master

* refs/pull/40471/head:
qa/suites/rados/cephadm: stop testing on broken focal kubic podman

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoqa/tasks/cephfs: create enough subvolumes 40509/head
Ramana Raja [Tue, 30 Mar 2021 19:31:46 +0000 (15:31 -0400)]
qa/tasks/cephfs: create enough subvolumes

... in a subvolume group so that the desired number of ephmerally pinned
subtrees are created for the subvolume group, which has the distributed
ephemeral pin policy set on it.

Fixes: https://tracker.ceph.com/issues/48411
Signed-off-by: Ramana Raja <rraja@redhat.com>
4 years agoMerge pull request #40503 from ceph/wip-14219
David Galloway [Tue, 30 Mar 2021 20:15:17 +0000 (16:15 -0400)]
Merge pull request #40503 from ceph/wip-14219

doc: 14.2.19 Release Note

4 years agomgr/PyModule: put mgr_module_path before Py_GetPath() 40505/head
Kefu Chai [Tue, 30 Mar 2021 18:32:38 +0000 (02:32 +0800)]
mgr/PyModule: put mgr_module_path before Py_GetPath()

pip comes with _vendor/progress. so there is chance to import the vendored
version of "progress" module instead of the "progress" mgr module, and
fail to import the latter.

in this change, the order of paths are rearranged so the configured
`mgr_module_path` is put before the return value of `Py_GetPath()`.

Fixes: https://tracker.ceph.com/issues/50058
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: 14.2.19 Release Note 40503/head
David Galloway [Tue, 30 Mar 2021 16:27:51 +0000 (12:27 -0400)]
doc: 14.2.19 Release Note

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #40496 from tchaikov/wip-cmake-test
Kefu Chai [Tue, 30 Mar 2021 12:58:03 +0000 (20:58 +0800)]
Merge pull request #40496 from tchaikov/wip-cmake-test

cmake: pass unparsed args to add_ceph_test()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocmake: pass unparsed args to add_ceph_test() 40496/head
Kefu Chai [Tue, 30 Mar 2021 08:18:48 +0000 (16:18 +0800)]
cmake: pass unparsed args to add_ceph_test()

this allows us to pass extra argument to the script or executable to
further customize its behavior when testing.

also fix all the callers of add_ceph_unittest(), as there is no need to
repeat the executable, which is also used as the name of the test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: pass PARALLEL to add_ceph_unittest()
Kefu Chai [Tue, 30 Mar 2021 08:17:14 +0000 (16:17 +0800)]
cmake: pass PARALLEL to add_ceph_unittest()

and parse it using cmake_parse_arguments(), more flexible this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: drop duplicated fmt::fmt in ceph_common_deps
Kefu Chai [Tue, 30 Mar 2021 05:30:34 +0000 (13:30 +0800)]
cmake: drop duplicated fmt::fmt in ceph_common_deps

we already have it in ceph_common_deps, and the already-existing one is
located after the new one. so linker should be able to find it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/dashboard: improve telemetry opt-in reminder notification message 40348/head
Waad Alkhoury [Tue, 30 Mar 2021 06:38:01 +0000 (08:38 +0200)]
mgr/dashboard: improve telemetry opt-in reminder notification message

Added activition button and linked the word telemetry to telemetry documentation

Fixes: https://tracker.ceph.com/issues/49606
Signed-off-by: Waad Alkhoury <walkhour@redhat.com>
4 years agoMerge pull request #40453 from tchaikov/wip-doc-confval
Kefu Chai [Tue, 30 Mar 2021 01:26:46 +0000 (09:26 +0800)]
Merge pull request #40453 from tchaikov/wip-doc-confval

doc/rados/configuration: format confval with "confval" directive

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #40462 from cyx1231st/wip-seastore-fix-onode-tree-eagain
Samuel Just [Mon, 29 Mar 2021 19:41:29 +0000 (12:41 -0700)]
Merge pull request #40462 from cyx1231st/wip-seastore-fix-onode-tree-eagain

crimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #40472 into master
Sage Weil [Mon, 29 Mar 2021 16:20:39 +0000 (12:20 -0400)]
Merge PR #40472 into master

* refs/pull/40472/head:
mgr/cephadm/upgrade: ignore deployed_by until mgr is upgraded

Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge PR #40443 into master
Sage Weil [Mon, 29 Mar 2021 14:35:13 +0000 (10:35 -0400)]
Merge PR #40443 into master

* refs/pull/40443/head:
doc/rbd: missed blacklist -> blocklist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #40390 into master
Sage Weil [Mon, 29 Mar 2021 14:06:17 +0000 (10:06 -0400)]
Merge PR #40390 into master

* refs/pull/40390/head:
cstart.sh: some improvements
cpatch: allow python 3.6 or 3.8
cpatch: behave with ninja (instead of make)

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #40409 into master
Sage Weil [Mon, 29 Mar 2021 14:05:10 +0000 (10:05 -0400)]
Merge PR #40409 into master

* refs/pull/40409/head:
qa/workunits/cephadm/test_cephadm: specify image separately

Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge PR #40428 into master
Sage Weil [Mon, 29 Mar 2021 13:49:35 +0000 (09:49 -0400)]
Merge PR #40428 into master

* refs/pull/40428/head:
win32*.sh: disable libcephsqlite when targeting Windows

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agomgr/cephadm/upgrade: ignore deployed_by until mgr is upgraded 40472/head
Sage Weil [Mon, 29 Mar 2021 13:42:03 +0000 (08:42 -0500)]
mgr/cephadm/upgrade: ignore deployed_by until mgr is upgraded

Until we upgrade the mgr itself, we will never be able to make our
deployed daemons have a deployed_by == target_digests.  Ignore those
daemons until the mgr is the right version.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #40470 from idryomov/wip-msgr1-extra-tickets
Ilya Dryomov [Mon, 29 Mar 2021 13:29:03 +0000 (15:29 +0200)]
Merge pull request #40470 from idryomov/wip-msgr1-extra-tickets

auth/CephxClientHandler: explain why skipping extra_tickets is needed

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agocrimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed 40462/head
Yingxin Cheng [Mon, 29 Mar 2021 06:04:13 +0000 (14:04 +0800)]
crimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed

Fixes: http://tracker.ceph.com/issues/50028
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/.../transaction_manager: add log for eagain
Yingxin Cheng [Mon, 29 Mar 2021 05:57:25 +0000 (13:57 +0800)]
crimson/.../transaction_manager: add log for eagain

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoqa/suites/rados/cephadm: stop testing on broken focal kubic podman 40471/head
Sage Weil [Mon, 29 Mar 2021 12:51:08 +0000 (07:51 -0500)]
qa/suites/rados/cephadm: stop testing on broken focal kubic podman

See https://tracker.ceph.com/issues/49633

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoauth/CephxClientHandler: explain why skipping extra_tickets is needed 40470/head
Ilya Dryomov [Mon, 29 Mar 2021 11:45:10 +0000 (13:45 +0200)]
auth/CephxClientHandler: explain why skipping extra_tickets is needed

Since nautilus, CEPHX_GET_AUTH_SESSION_KEY shares both the auth ticket
and the service tickets, sparing an extra round-trip to get the service
tickets via CEPHX_GET_PRINCIPAL_SESSION_KEY.  This applies to msgr1 as
well, but we don't take advantage of it on the client side.

However, fixing CephxClientHandler to do the right thing breaks msgr1.
Since msgr1 is on its way out, rather than also fixing MonClient just
document the bug and the current behaviour.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agoMerge pull request #40466 from inspur-wyq/patch-2
Kefu Chai [Mon, 29 Mar 2021 09:21:41 +0000 (17:21 +0800)]
Merge pull request #40466 from inspur-wyq/patch-2

blk/spdk/NVMEDevice.cc:  remove unused variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40188 from rhcs-dashboard/fix-49869-master
Alfonso Martínez [Mon, 29 Mar 2021 09:20:43 +0000 (11:20 +0200)]
Merge pull request #40188 from rhcs-dashboard/fix-49869-master

mgr/dashboard: fix broken feature toggles

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38679 from ceph/dependabot/npm_and_yarn/src/pybind/mgr/dashboard...
Alfonso Martínez [Mon, 29 Mar 2021 09:10:22 +0000 (11:10 +0200)]
Merge pull request #38679 from ceph/dependabot/npm_and_yarn/src/pybind/mgr/dashboard/frontend/node-notifier-8.0.1

build(deps): bump node-notifier from 8.0.0 to 8.0.1 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #39908 from rhcs-dashboard/fix-49645-master
Alfonso Martínez [Mon, 29 Mar 2021 09:01:39 +0000 (11:01 +0200)]
Merge pull request #39908 from rhcs-dashboard/fix-49645-master

mgr/dashboard: Remove username, password fields from Manager Modules/dashboard,influx

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #40023 from rhcs-dashboard/fix-49354-master
Alfonso Martínez [Mon, 29 Mar 2021 08:58:38 +0000 (10:58 +0200)]
Merge pull request #40023 from rhcs-dashboard/fix-49354-master

mgr/dashboard: Device health status is not getting listed under hosts section

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #40332 from rhcs-dashboard/prometheus-alert-notification-fix
Alfonso Martínez [Mon, 29 Mar 2021 08:51:56 +0000 (10:51 +0200)]
Merge pull request #40332 from rhcs-dashboard/prometheus-alert-notification-fix

mgr/dashboard: Fix for alert notification message being undefined

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
4 years agoMerge pull request #39917 from rhcs-dashboard/fix-43058-master
Alfonso Martínez [Mon, 29 Mar 2021 08:03:33 +0000 (10:03 +0200)]
Merge pull request #39917 from rhcs-dashboard/fix-43058-master

mgr/dashboard: warn password expiration in User Management

4 years agoblk/spdk/NVMEDevice.cc: remove unused variables 40466/head
wangyunqing [Mon, 29 Mar 2021 07:56:17 +0000 (15:56 +0800)]
blk/spdk/NVMEDevice.cc:  remove unused variables

Signed-off-by: wangyunqing <wangyunqing@inspur.com>
4 years agoMerge pull request #40240 from rhcs-dashboard/clear-cookies-on-logout
Alfonso Martínez [Mon, 29 Mar 2021 06:52:46 +0000 (08:52 +0200)]
Merge pull request #40240 from rhcs-dashboard/clear-cookies-on-logout

mgr/dashboard: Unable to login to ceph dashboard until clearing cookies manually

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #40458 from lxbsz/typo
Xiubo Li [Mon, 29 Mar 2021 06:22:08 +0000 (14:22 +0800)]
Merge pull request #40458 from lxbsz/typo

client: fix typo in the comments

4 years agocrimson/onode-staged-tree: fix typo in compare_full_key()
Yingxin Cheng [Thu, 18 Mar 2021 15:39:25 +0000 (23:39 +0800)]
crimson/onode-staged-tree: fix typo in compare_full_key()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoclient: fix typo in the comments 40458/head
Xiubo Li [Mon, 29 Mar 2021 04:00:35 +0000 (12:00 +0800)]
client: fix typo in the comments

Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agodoc/rados/configuration: format confval with "confval" directive 40453/head
Kefu Chai [Sun, 28 Mar 2021 15:30:44 +0000 (23:30 +0800)]
doc/rados/configuration: format confval with "confval" directive

for better formatting

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/dev/cephadm: quote command with backquotes
Kefu Chai [Sun, 28 Mar 2021 15:29:53 +0000 (23:29 +0800)]
doc/dev/cephadm: quote command with backquotes

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: add a new directive "confval"
Kefu Chai [Sun, 28 Mar 2021 15:25:02 +0000 (23:25 +0800)]
doc: add a new directive "confval"

* so we can define configuration in a more structured way
* so the confvals can be cross referenced

see also https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_object_type

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40445 from liewegas/cephadm-upgrade-progress-version
Kefu Chai [Sun, 28 Mar 2021 12:08:51 +0000 (20:08 +0800)]
Merge pull request #40445 from liewegas/cephadm-upgrade-progress-version

mgr/cephadm: make upgrade progress bar mention target version, not repo digest

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #40447 from Daniel-Pivonka/cephadmdocapplyrgwflags
Kefu Chai [Sun, 28 Mar 2021 12:06:01 +0000 (20:06 +0800)]
Merge pull request #40447 from Daniel-Pivonka/cephadmdocapplyrgwflags

mgr/orchestrator: fix rgw realm and zone flags

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #40379 from adk3798/no-overwrite
Kefu Chai [Sun, 28 Mar 2021 12:03:22 +0000 (20:03 +0800)]
Merge pull request #40379 from adk3798/no-overwrite

mgr/cephadm: --no-overwite flag for apply command

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #39969 from batrick/i49684
Kefu Chai [Sun, 28 Mar 2021 12:01:32 +0000 (20:01 +0800)]
Merge pull request #39969 from batrick/i49684

qa: wait for daemons to come up via cephadm

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #40396 from maydaycc/wip-49968
Kefu Chai [Sun, 28 Mar 2021 11:59:53 +0000 (19:59 +0800)]
Merge pull request #40396 from maydaycc/wip-49968

mgr: attr_list reassigned before use in diskprediction_local module

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40421 from badone/wip-fix-typo-get_device_id
Kefu Chai [Sun, 28 Mar 2021 11:59:06 +0000 (19:59 +0800)]
Merge pull request #40421 from badone/wip-fix-typo-get_device_id

common/blkdev: Remove trailing single quote

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40450 from smithfarm/wip-50007-alt
Nathan Cutler [Sat, 27 Mar 2021 18:34:53 +0000 (19:34 +0100)]
Merge pull request #40450 from smithfarm/wip-50007-alt

rpm: drop extraneous explicit sqlite-libs runtime dependency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agorpm: drop extraneous explicit sqlite-libs runtime dependency 40450/head
Nathan Cutler [Fri, 26 Mar 2021 10:03:34 +0000 (11:03 +0100)]
rpm: drop extraneous explicit sqlite-libs runtime dependency

Commit 75980798f19b8c11efd75ba4aae3e491d4c99f98 introduced a new package,
libcephsqlite, with a hard RPM dependency on a package "sqlite-libs" which
does not exist in openSUSE.

Since the runtime library dependencies of libcephsqlite are handled by RPM
transparently, this line is not needed.

Fixes: https://tracker.ceph.com/issues/50007
Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #40442 from Thingee/update-foundation-page
Kefu Chai [Sat, 27 Mar 2021 08:57:43 +0000 (16:57 +0800)]
Merge pull request #40442 from Thingee/update-foundation-page

doc: Update Foundation page

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agodoc: Updating Foundation membership page 40442/head
Mike Perez [Fri, 26 Mar 2021 15:52:49 +0000 (08:52 -0700)]
doc: Updating Foundation membership page

Signed-off-by: Mike Perez <thingee@gmail.com>
4 years agoMerge pull request #40408 from varshar16/wip-doc-update-ninja
Kefu Chai [Sat, 27 Mar 2021 07:45:38 +0000 (15:45 +0800)]
Merge pull request #40408 from varshar16/wip-doc-update-ninja

doc/install: update about ninja

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #40345 from rzarzynski/wip-crimson-doc-waitstates-follow-up
Kefu Chai [Sat, 27 Mar 2021 03:28:33 +0000 (11:28 +0800)]
Merge pull request #40345 from rzarzynski/wip-crimson-doc-waitstates-follow-up

doc/crimson: improve wording about the pipeline / wait states.

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agopybind/mgr/mds_autoscaler: add type annotation 40449/head
Kefu Chai [Sat, 27 Mar 2021 03:14:34 +0000 (11:14 +0800)]
pybind/mgr/mds_autoscaler: add type annotation

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #38732 into master
Patrick Donnelly [Fri, 26 Mar 2021 22:13:07 +0000 (15:13 -0700)]
Merge PR #38732 into master

* refs/pull/38732/head:
client: fire the finish_cap_snap() after buffer being flushed
client: simplify the iterating code
client: remove unused _flushed_cap_snap
client: clean up the code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #40326 into master
Patrick Donnelly [Fri, 26 Mar 2021 22:11:28 +0000 (15:11 -0700)]
Merge PR #40326 into master

* refs/pull/40326/head:
client: rebuild bl to avoid too many vector(> IOV_MAX)

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>