]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agomgr/cephadm:Document the cephadm config-check feature 39541/head
Paul Cuzner [Tue, 2 Mar 2021 02:40:46 +0000 (15:40 +1300)]
mgr/cephadm:Document the cephadm config-check feature

This patch updates the docs to describe the config-check feature,
describing how these checks can be enabled and managed.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:fix to resolve mypy issue
Paul Cuzner [Tue, 2 Mar 2021 01:18:37 +0000 (14:18 +1300)]
mgr/cephadm:fix to resolve mypy issue

Build of ceph metadata needed addition type hints.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:add unit test for the lookup_check helper
Paul Cuzner [Fri, 19 Feb 2021 02:09:58 +0000 (15:09 +1300)]
mgr/cephadm:add unit test for the lookup_check helper

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Drop active healthcheck during a disable request
Paul Cuzner [Fri, 19 Feb 2021 02:09:02 +0000 (15:09 +1300)]
mgr/cephadm:Drop active healthcheck during a disable request

The healthcheck could already be active when the admin attempts
to disable it. This patch removes the related healthcheck if it's set
during a config-check disable request.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Added helper function to return a specific healthcheck
Paul Cuzner [Fri, 19 Feb 2021 02:06:45 +0000 (15:06 +1300)]
mgr/cephadm:Added helper function to return a specific healthcheck

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:unit test added for nics better than most
Paul Cuzner [Thu, 18 Feb 2021 23:52:24 +0000 (12:52 +1300)]
mgr/cephadm:unit test added for nics better than most

checks that we're not raising a healthcheck for a host if it's
nic speed it better than the rest!

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:skip an alert if the linkspeed is better than most
Paul Cuzner [Thu, 18 Feb 2021 23:50:22 +0000 (12:50 +1300)]
mgr/cephadm:skip an alert if the linkspeed is better than most

The logic was issuing a healthcheck if the linkspeed was different
to the majority. But if the difference is good (i.e. better!) we should
not be raising a healthcheck

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:fix mypy warning
Paul Cuzner [Thu, 18 Feb 2021 23:41:12 +0000 (12:41 +1300)]
mgr/cephadm:fix mypy warning

Since switching how the roles for a host are determining the
type hint was missed..this patch addresses that

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Remove check from ceph metadata gathering
Paul Cuzner [Thu, 18 Feb 2021 23:37:36 +0000 (12:37 +1300)]
mgr/cephadm:Remove check from ceph metadata gathering

A check for _ceph_get_server was included for unit testing, but
the tests have been updated to make this obsolete.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Add unit test for hosts without public network NIC
Paul Cuzner [Thu, 18 Feb 2021 23:24:07 +0000 (12:24 +1300)]
mgr/cephadm:Add unit test for hosts without public network NIC

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Minor updates to address review comments
Paul Cuzner [Thu, 18 Feb 2021 23:23:13 +0000 (12:23 +1300)]
mgr/cephadm:Minor updates to address review comments

Changes to reflect review comments
- picked up on subscribed = unknown state
- using get_daemon_types() call
- use log.exception more
- changed logic and errors from the public_network check

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Added CLI interface for the configuration checker
Paul Cuzner [Thu, 18 Feb 2021 03:22:11 +0000 (16:22 +1300)]
mgr/cephadm:Added CLI interface for the configuration checker

Patch to add CLI commands to show and manage the state of the
configuration checker feature

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Multiple updates related to the addition of the CLI
Paul Cuzner [Thu, 18 Feb 2021 03:17:22 +0000 (16:17 +1300)]
mgr/cephadm:Multiple updates related to the addition of the CLI

Some changes needed to support the introduction of the CLI commands
used to manage the cephadm checks. For example, the main Cephadm
check class now interacts with the keystore directly to determine
status, and provides support for commands like ls to list the
check definitions. In addition the main class now handles existing
configuration checks and ensure that the stored state in the keystore
matches the checks defined by the module

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Moved 'ownership' of the checker to cephadm
Paul Cuzner [Thu, 18 Feb 2021 03:11:55 +0000 (16:11 +1300)]
mgr/cephadm:Moved 'ownership' of the checker to cephadm

Initial implementation used the Serve class as the owner of the
configuration checker. This patch moves the checker up to the
cephadm module itself, to make the CLI command logic cleaner

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Unit tests updated to account for upgrades
Paul Cuzner [Thu, 18 Feb 2021 03:09:27 +0000 (16:09 +1300)]
mgr/cephadm:Unit tests updated to account for upgrades

Upgrades may change the config checks, so the tests now validate
that new checks and old bogus checks are handled correctly

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Updates to CephadmConfigChecks class
Paul Cuzner [Tue, 16 Feb 2021 23:49:41 +0000 (12:49 +1300)]
mgr/cephadm:Updates to CephadmConfigChecks class

Multiple updates to ensure
- mgr health checks are raised correctly
- checks are independent and may be disabled

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:Adds unit tests for the CephadmConfigChecks class
Paul Cuzner [Tue, 16 Feb 2021 23:45:38 +0000 (12:45 +1300)]
mgr/cephadm:Adds unit tests for the CephadmConfigChecks class

Add unit tests to test suite to verify functionality. The unit tests use
a sample host definition and scale that to simulate a cluster to run
the tests against

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:add module option to enable configuration checks
Paul Cuzner [Tue, 16 Feb 2021 23:43:02 +0000 (12:43 +1300)]
mgr/cephadm:add module option to enable configuration checks

Adds config_checks_enabled (bool) option

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm:added ceph version consistency check
Paul Cuzner [Thu, 11 Feb 2021 00:03:59 +0000 (13:03 +1300)]
mgr/cephadm:added ceph version consistency check

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm: added config checker to main serve loop
Paul Cuzner [Wed, 10 Feb 2021 22:31:22 +0000 (11:31 +1300)]
mgr/cephadm: added config checker to main serve loop

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm: adding check logic
Paul Cuzner [Wed, 10 Feb 2021 22:30:05 +0000 (11:30 +1300)]
mgr/cephadm: adding check logic

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agomgr/cephadm: resolve rebase conflicts
Paul Cuzner [Tue, 9 Feb 2021 19:49:31 +0000 (08:49 +1300)]
mgr/cephadm: resolve rebase conflicts

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
4 years agoMerge pull request #39601 from badone/wip-ceph_test_rados_api_watch_notify-enoent...
Brad Hubbard [Mon, 1 Mar 2021 22:10:10 +0000 (08:10 +1000)]
Merge pull request #39601 from badone/wip-ceph_test_rados_api_watch_notify-enoent-failure

tests: ceph_test_rados_api_watch_notify: Allow for reconnect

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge PR #39680 into master
Patrick Donnelly [Mon, 1 Mar 2021 20:07:32 +0000 (12:07 -0800)]
Merge PR #39680 into master

* refs/pull/39680/head:
mds: allow `fs authorize` command to work

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge PR #39710 into master
Patrick Donnelly [Mon, 1 Mar 2021 20:05:47 +0000 (12:05 -0800)]
Merge PR #39710 into master

* refs/pull/39710/head:
qa: run fs:verify on all distros

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge PR #39725 into master
Patrick Donnelly [Mon, 1 Mar 2021 19:35:58 +0000 (11:35 -0800)]
Merge PR #39725 into master

* refs/pull/39725/head:
qa: delete all fs during tearDown

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #39732 from mychoxin/resolve_compile_error
Jason Dillaman [Mon, 1 Mar 2021 18:25:25 +0000 (13:25 -0500)]
Merge pull request #39732 from mychoxin/resolve_compile_error

test/librbd: resolve compile error on centos

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #39731 from mychoxin/use_unified_zero_func
Jason Dillaman [Mon, 1 Mar 2021 18:24:46 +0000 (13:24 -0500)]
Merge pull request #39731 from mychoxin/use_unified_zero_func

rbd: use portable zero-ing memory function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #39521 from yuvalif/wip-yuval-fix-49322
Casey Bodley [Mon, 1 Mar 2021 15:05:48 +0000 (10:05 -0500)]
Merge pull request #39521 from yuvalif/wip-yuval-fix-49322

rgw/notification: add exception handling for persistent notification thread

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agotest/librbd: resolve compile error on centos 39732/head
YuanXin [Sat, 27 Feb 2021 04:01:40 +0000 (12:01 +0800)]
test/librbd: resolve compile error on centos

Signed-off-by: YuanXin <yuanxin@didiglobal.com>
4 years agoMerge pull request #39743 from tchaikov/wip-crimson-cleanup
Kefu Chai [Mon, 1 Mar 2021 08:39:41 +0000 (16:39 +0800)]
Merge pull request #39743 from tchaikov/wip-crimson-cleanup

crimson/osd: capturing this in a better way

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #39652 from athanatos/sjust/wip-crimson-omap
Kefu Chai [Mon, 1 Mar 2021 07:48:40 +0000 (15:48 +0800)]
Merge pull request #39652 from athanatos/sjust/wip-crimson-omap

crimson: btree omap_manager rework with other misc fixes

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #39631 into master
Sage Weil [Mon, 1 Mar 2021 00:00:29 +0000 (19:00 -0500)]
Merge PR #39631 into master

* refs/pull/39631/head:
osd/OSDMap: don't warn on NEW osd ids
mon/OSDMonitor: behave if inc map sets weight on not-yet-existing OSD
mon/OSDMonitor: do not mark newly created OSDs OUT

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge PR #39696 into master
Sage Weil [Mon, 1 Mar 2021 00:00:16 +0000 (19:00 -0500)]
Merge PR #39696 into master

* refs/pull/39696/head:
qa/suites/rados/monthrash: crank up client side debugging w/ mon thrashing

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoosd/OSDMap: don't warn on NEW osd ids 39631/head
Sage Weil [Sun, 28 Feb 2021 16:29:53 +0000 (11:29 -0500)]
osd/OSDMap: don't warn on NEW osd ids

If we allocate a new OSD, don't raise a health alert about it.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agocrimson/osd: keep ClientRequest alive during `seastar::repeat()` 39743/head
Kefu Chai [Sun, 28 Feb 2021 05:23:29 +0000 (13:23 +0800)]
crimson/osd: keep ClientRequest alive during `seastar::repeat()`

before this change, `this` is wrapped by a smart pointer which is
in turn captured by multiple continuations. the continuation with the
longest life cycle is the one passed to `seastar::repeat()`. where
the underlying `repeater` captures the continuation as its member variable.
and `repeater` is not destroyed before `seastar::repeat()` returns.

so, we only need to capture `opref` in the continuation passed to
`seastar::repeat()`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: use finally for capturing this
Kefu Chai [Sun, 28 Feb 2021 05:20:41 +0000 (13:20 +0800)]
crimson/osd: use finally for capturing this

* no need to capture this, it is already enclosed by `ref`
* use finally for capturing `ref`, and for printing out the "complete"
  logging message. we could use a different branch for printing out
  the failure message if any.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: reduce the indent
Kefu Chai [Sun, 28 Feb 2021 05:19:56 +0000 (13:19 +0800)]
crimson/osd: reduce the indent

instead of using a lambda, use a future variable for reducing the indent
level.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agorbd: use portable zero-ing memory function 39731/head
YuanXin [Sat, 27 Feb 2021 03:37:19 +0000 (11:37 +0800)]
rbd: use portable zero-ing memory function

Signed-off-by: YuanXin <yuanxin@didiglobal.com>
4 years agoMerge PR #39455 into master
Sage Weil [Sat, 27 Feb 2021 15:15:27 +0000 (10:15 -0500)]
Merge PR #39455 into master

* refs/pull/39455/head:
doc/man/8/ceph: document --max option
src/test/osd/safe-to-destroy: adjust test
ceph: print command output to stdout even on error
mgr/DaemonServer: include details in 'osd ok-to-stop' output
mgr: add --max <n> to 'osd ok-to-stop' command
mgr: relax osd ok-to-stop condition on degraded pgs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #39629 into master
Sage Weil [Sat, 27 Feb 2021 15:13:43 +0000 (10:13 -0500)]
Merge PR #39629 into master

* refs/pull/39629/head:
crush/CrushWrapper: rebuild shadow tree on 'osd crush reweight-subtree'
crush/CrushWrapper: update shadow trees on update_item()

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge PR #39674 into master
Sage Weil [Sat, 27 Feb 2021 15:12:08 +0000 (10:12 -0500)]
Merge PR #39674 into master

* refs/pull/39674/head:
mon/OSDMonitor: fix safety/idempotency of {set,rm}-device-class

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: João Eduardo Luís <joao@suse.de>
4 years agoMerge PR #39728 into master
Sage Weil [Sat, 27 Feb 2021 15:10:18 +0000 (10:10 -0500)]
Merge PR #39728 into master

* refs/pull/39728/head:
mon/PGMap: include the per-pool usage breakdown in pg dump

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39705 from smithfarm/wip-fix-s390x-build-regression
Nathan Cutler [Sat, 27 Feb 2021 14:35:34 +0000 (15:35 +0100)]
Merge pull request #39705 from smithfarm/wip-fix-s390x-build-regression

rpm: re-disable SUSE lttng build on z390x

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39733 from mgfritch/cephadm-test-multiple-digest
Sebastian Wagner [Sat, 27 Feb 2021 10:00:12 +0000 (11:00 +0100)]
Merge pull request #39733 from mgfritch/cephadm-test-multiple-digest

cephadm: add multi-digest test

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agocephadm: add multi-digest test 39733/head
Michael Fritch [Sat, 27 Feb 2021 05:16:41 +0000 (22:16 -0700)]
cephadm: add multi-digest test

quick unit test for inspect of a container with multiple digests

Signed-off-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #39648 from liewegas/cephadm-spec-config
Sebastian Wagner [Fri, 26 Feb 2021 22:06:35 +0000 (23:06 +0100)]
Merge pull request #39648 from liewegas/cephadm-spec-config

mgr/cephadm: add config section to ServiceSpec

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/man/8/ceph: document --max option 39455/head
Sage Weil [Tue, 23 Feb 2021 15:56:24 +0000 (10:56 -0500)]
doc/man/8/ceph: document --max option

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agosrc/test/osd/safe-to-destroy: adjust test
Sage Weil [Mon, 22 Feb 2021 23:01:35 +0000 (18:01 -0500)]
src/test/osd/safe-to-destroy: adjust test

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoceph: print command output to stdout even on error
Sage Weil [Sat, 20 Feb 2021 16:58:47 +0000 (11:58 -0500)]
ceph: print command output to stdout even on error

Currently in the case where the mon returns a command error code, we print
the error stream and Error ... message but not the command output.  Usually
there isn't any, so we haven't noticed until now, but there is not reason
why shouldn't return both an error code and some output.

Restructure the code so that the error message goes *after* the JSON output,
where it will be a bit more obvious to the user (if the stdout scrolled
the terminal, for instance).  (This is not a change in behavior since
previously we weren't seeing the stdout at all.)

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge PR #39686 into master
Patrick Donnelly [Fri, 26 Feb 2021 17:34:04 +0000 (09:34 -0800)]
Merge PR #39686 into master

* refs/pull/39686/head:
qa/ceph_fuse: don't use createfs anymore while mounting

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #39664 into master
Patrick Donnelly [Fri, 26 Feb 2021 17:32:03 +0000 (09:32 -0800)]
Merge PR #39664 into master

* refs/pull/39664/head:
pybind/cephfs: DT_REG and DT_LNK values are wrong

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge PR #39574 into master
Patrick Donnelly [Fri, 26 Feb 2021 17:29:37 +0000 (09:29 -0800)]
Merge PR #39574 into master

* refs/pull/39574/head:
client: wake up the front pos waiter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #39294 into master
Patrick Donnelly [Fri, 26 Feb 2021 17:28:26 +0000 (09:28 -0800)]
Merge PR #39294 into master

* refs/pull/39294/head:
client: add testcase for ceph_ll_lookup_vino
client: add ceph_ll_lookup_vino
client: make _lookup_ino take a vinodeno_t
client: stop doing unnecessary work in ll_lookup_inode

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
4 years agoMerge PR #39538 into master
Sage Weil [Fri, 26 Feb 2021 17:20:43 +0000 (12:20 -0500)]
Merge PR #39538 into master

* refs/pull/39538/head:
mgr/telemetry: fix 'channel_indent' typo
mgr/telemetry: check if 'ident' channel is active

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #39429 into master
Sage Weil [Fri, 26 Feb 2021 17:20:20 +0000 (12:20 -0500)]
Merge PR #39429 into master

* refs/pull/39429/head:
qa/tasks/mgr/dashboard: identify cluster in telemetry test

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoqa: delete all fs during tearDown 39725/head
Patrick Donnelly [Fri, 26 Feb 2021 17:13:21 +0000 (09:13 -0800)]
qa: delete all fs during tearDown

During the ceph task Unwind, the MDS are stopped. If any file system
still exists, we will see failover messages in the cluster log.

Fixes: https://tracker.ceph.com/issues/49510
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #39709 into master
Patrick Donnelly [Fri, 26 Feb 2021 16:56:03 +0000 (08:56 -0800)]
Merge PR #39709 into master

* refs/pull/39709/head:
qa: use tcmalloc with valgrind in fs:valgrind

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #39714 from zdover23/wip-doc-cephadm-typo-togeter-2021-Feb-26
zdover23 [Fri, 26 Feb 2021 13:49:33 +0000 (23:49 +1000)]
Merge pull request #39714 from zdover23/wip-doc-cephadm-typo-togeter-2021-Feb-26

doc/cephadm: s/togeter/together/

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/orchestrator: validate config options at apply time 39648/head
Sage Weil [Tue, 23 Feb 2021 21:51:09 +0000 (16:51 -0500)]
mgr/orchestrator: validate config options at apply time

Make sure config options are valid/exist.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agomgr/cephadm: disallow managed options in ServiceSpec config section
Sage Weil [Tue, 23 Feb 2021 21:50:44 +0000 (16:50 -0500)]
mgr/cephadm: disallow managed options in ServiceSpec config section

If a service is managing a config option, prevent the user from specifying
it in the spec.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agomgr/cephadm: add config section to ServiceSpec
Sage Weil [Tue, 23 Feb 2021 18:47:59 +0000 (13:47 -0500)]
mgr/cephadm: add config section to ServiceSpec

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #39644 from liewegas/cephadm-service-id
Sebastian Wagner [Fri, 26 Feb 2021 13:21:43 +0000 (14:21 +0100)]
Merge pull request #39644 from liewegas/cephadm-service-id

cephadm: include service_name in unit.meta file

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: s/togeter/together 39714/head
Zac Dover [Fri, 26 Feb 2021 12:10:51 +0000 (22:10 +1000)]
doc/cephadm: s/togeter/together

Exactly as it says in the title; this is a typo
I noticed while reading over the cephadm guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39713 from tchaikov/wip-mgr-rbd-support-type
Kefu Chai [Fri, 26 Feb 2021 11:48:20 +0000 (19:48 +0800)]
Merge pull request #39713 from tchaikov/wip-mgr-rbd-support-type

mgr/rbd_support: fix type annotation of mirror_info

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #39551 from sebastian-philipp/doc-cephadm-reduce-orch-cli
Sebastian Wagner [Fri, 26 Feb 2021 11:39:04 +0000 (12:39 +0100)]
Merge pull request #39551 from sebastian-philipp/doc-cephadm-reduce-orch-cli

doc/cephadm: Restructure orchestrator docs

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/cephadm: remove Orchestrator CLI from cephadm toc 39551/head
Sebastian Wagner [Thu, 25 Feb 2021 15:57:07 +0000 (16:57 +0100)]
doc/cephadm: remove Orchestrator CLI from cephadm toc

not much useful information there anymore.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: move host labels to host mgmt
Sebastian Wagner [Thu, 25 Feb 2021 14:17:36 +0000 (15:17 +0100)]
doc/cephadm: move host labels to host mgmt

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group MDS sections into one chapter
Sebastian Wagner [Thu, 25 Feb 2021 14:14:36 +0000 (15:14 +0100)]
doc/cephadm: group MDS sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: Add iscsi
Sebastian Wagner [Thu, 18 Feb 2021 17:07:44 +0000 (18:07 +0100)]
doc/cephadm: Add iscsi

Fixes https://tracker.ceph.com/issues/49488

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group NFS sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 16:36:11 +0000 (17:36 +0100)]
doc/cephadm: group NFS sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: rename monitoring chapter title
Sebastian Wagner [Thu, 18 Feb 2021 14:48:27 +0000 (15:48 +0100)]
doc/cephadm: rename monitoring chapter title

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group MON sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 14:39:59 +0000 (15:39 +0100)]
doc/cephadm: group MON sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: make custom containers its own chapter
Sebastian Wagner [Thu, 18 Feb 2021 14:34:04 +0000 (15:34 +0100)]
doc/cephadm: make custom containers its own chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group RGW mgmt sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 14:17:07 +0000 (15:17 +0100)]
doc/cephadm: group RGW mgmt sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: move scheduler topic to service mgmt
Sebastian Wagner [Thu, 18 Feb 2021 14:24:21 +0000 (15:24 +0100)]
doc/cephadm: move scheduler topic to service mgmt

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: move unmanaged=true to service-mgmt.rst
Sebastian Wagner [Thu, 18 Feb 2021 14:08:44 +0000 (15:08 +0100)]
doc/cephadm: move unmanaged=true to service-mgmt.rst

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group general service mgmt sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 14:06:31 +0000 (15:06 +0100)]
doc/cephadm: group general service mgmt sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group OSD mgmt sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 13:48:33 +0000 (14:48 +0100)]
doc/cephadm: group OSD mgmt sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: Move FQDN chapter to host mgmt.rst
Sebastian Wagner [Thu, 18 Feb 2021 14:20:59 +0000 (15:20 +0100)]
doc/cephadm: Move FQDN chapter to host mgmt.rst

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: Move SSH config from operations to host-mgmt.rst
Sebastian Wagner [Thu, 18 Feb 2021 13:52:22 +0000 (14:52 +0100)]
doc/cephadm: Move SSH config from operations to host-mgmt.rst

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/cephadm: group host mgmt sections into one chapter
Sebastian Wagner [Thu, 18 Feb 2021 12:43:09 +0000 (13:43 +0100)]
doc/cephadm: group host mgmt sections into one chapter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #39692 from zdover23/wip-doc-dev-t8y-debugging-analyzing-rewrite...
zdover23 [Fri, 26 Feb 2021 10:42:50 +0000 (20:42 +1000)]
Merge pull request #39692 from zdover23/wip-doc-dev-t8y-debugging-analyzing-rewrite-2021-Feb-25

doc/dev: t8y - rewrite "a. & d. a t8y job"

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agodoc/dev: t8y - rewrite "a. & d. a t8y job" 39692/head
Zac Dover [Thu, 25 Feb 2021 13:20:26 +0000 (23:20 +1000)]
doc/dev: t8y - rewrite "a. & d. a t8y job"

This PR rewrites the "Analyzing and Debugging a
Teuthology Job" section of the "Debugging Tips"
page of the Teuthology User Guide in the Developer
Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #39614 from sebastian-philipp/cephadm-again-test-ubuntu_2004_podman
Sebastian Wagner [Fri, 26 Feb 2021 10:02:24 +0000 (11:02 +0100)]
Merge pull request #39614 from sebastian-philipp/cephadm-again-test-ubuntu_2004_podman

qa/cephadm: Test again podman on ubuntu 20.04

Reviewed-by: Sage Weil <sage@redhat.com>
4 years agomgr/rbd_support: fix type annotation of mirror_info 39713/head
Kefu Chai [Fri, 26 Feb 2021 08:47:12 +0000 (16:47 +0800)]
mgr/rbd_support: fix type annotation of mirror_info

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38604 from cybozu/doc-fix-the-meaning-of-min_size
Kefu Chai [Fri, 26 Feb 2021 09:25:45 +0000 (17:25 +0800)]
Merge pull request #38604 from cybozu/doc-fix-the-meaning-of-min_size

doc: fix the meaning of default_min_size of pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39684 from xxhdx1985126/wip-alienstore-parallelism-improvement
Kefu Chai [Fri, 26 Feb 2021 06:06:44 +0000 (14:06 +0800)]
Merge pull request #39684 from xxhdx1985126/wip-alienstore-parallelism-improvement

crimson/os/alienstore: improve alienstore's write parallelism

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39602 from tchaikov/wip-mgr-flux-ann
Kefu Chai [Fri, 26 Feb 2021 03:37:28 +0000 (11:37 +0800)]
Merge pull request #39602 from tchaikov/wip-mgr-flux-ann

mgr: add type annotations to BaseMgrModule and influx

Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agoMerge pull request #39371 from tchaikov/wip-mgr-rbd-support-ann
Kefu Chai [Fri, 26 Feb 2021 03:36:15 +0000 (11:36 +0800)]
Merge pull request #39371 from tchaikov/wip-mgr-rbd-support-ann

mgr/rbd_support: add type annotation and cleanups

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agocrimson/os/alienstore: improve alienstore's write parallelism 39684/head
Xuehan Xu [Thu, 25 Feb 2021 08:57:23 +0000 (16:57 +0800)]
crimson/os/alienstore: improve alienstore's write parallelism

replace the grand per store tp_mutex with a finer grained per-collection
lock for better concurrency

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agocrimson/os/futurized_store: fix return comment on omap_get_values 39652/head
Samuel Just [Tue, 23 Feb 2021 05:19:18 +0000 (21:19 -0800)]
crimson/os/futurized_store: fix return comment on omap_get_values

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/os/seastore/omap_manager: rework to be null safe and adjust interfaces
Samuel Just [Tue, 16 Feb 2021 06:51:36 +0000 (06:51 +0000)]
crimson/os/seastore/omap_manager: rework to be null safe and adjust interfaces

Adjusts a few things in omap_manager/btree:
- fix to be null safe, simplify/rename iterator interface
- update interface methods to match futurized_store.h
- misc whitespace fixes

Signed-off-by: Samuel Just <sjust@redhat.com>
4 years agomon/PGMap: include the per-pool usage breakdown in pg dump 39728/head
Sage Weil [Fri, 26 Feb 2021 01:58:27 +0000 (19:58 -0600)]
mon/PGMap: include the per-pool usage breakdown in pg dump

We started accounting for this ages ago, but we don't expose it anywhere.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #39666 from zdover23/wip-doc-dev-t8y-rerunning-tests-rewrite-2021...
Neha Ojha [Fri, 26 Feb 2021 01:14:59 +0000 (17:14 -0800)]
Merge pull request #39666 from zdover23/wip-doc-dev-t8y-rerunning-tests-rewrite-2021-Feb-24

doc/dev: rewrite t8y "re-running tests"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39694 from zdover23/wip-doc-dev-t8y-debugging-triaging-rewrite...
Neha Ojha [Fri, 26 Feb 2021 01:09:56 +0000 (17:09 -0800)]
Merge pull request #39694 from zdover23/wip-doc-dev-t8y-debugging-triaging-rewrite-2021-Feb-25

doc/dev: rewrite t8y "triaging" section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39695 from zdover23/wip-doc-dev-t8y-debugging-adding-sections...
Neha Ojha [Fri, 26 Feb 2021 01:08:30 +0000 (17:08 -0800)]
Merge pull request #39695 from zdover23/wip-doc-dev-t8y-debugging-adding-sections-2021-Feb-26

doc/dev: add t8y debug section names

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39697 from zdover23/wip-doc-dev-t8y-debug-reporting-the-issue...
Neha Ojha [Fri, 26 Feb 2021 01:07:49 +0000 (17:07 -0800)]
Merge pull request #39697 from zdover23/wip-doc-dev-t8y-debug-reporting-the-issue-rewrite-2021-Feb-26

doc/dev: rewrite t8y "reporting the issue"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #39707 from petrutlucian94/overlapped
Jason Dillaman [Fri, 26 Feb 2021 00:08:31 +0000 (19:08 -0500)]
Merge pull request #39707 from petrutlucian94/overlapped

rbd: fix mingw 5.0.3 compatibility issue

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoqa: run fs:verify on all distros 39710/head
Patrick Donnelly [Thu, 25 Feb 2021 21:27:24 +0000 (13:27 -0800)]
qa: run fs:verify on all distros

It's believed this is no longer a problem now that we use tcmalloc.

Fixes: https://tracker.ceph.com/issues/49391
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>