]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agodoc/cephadm: rewrite "b.strap a new cluster" 39760/head
Zac Dover [Mon, 1 Mar 2021 14:01:05 +0000 (00:01 +1000)]
doc/cephadm: rewrite "b.strap a new cluster"

This PR rewrites the section "Bootstrap A New
Cluster" in the Cephadm Guide, in the Install
Chapter. I've broken this section up into what
seem to me to be the topics that the content
naturally divides into.

Signed-off-by: Zac Dover <zac.dover@gmail.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 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 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 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: use tcmalloc with valgrind in fs:valgrind 39709/head
Patrick Donnelly [Thu, 25 Feb 2021 21:17:12 +0000 (13:17 -0800)]
qa: use tcmalloc with valgrind in fs:valgrind

Follow-up: dc64ccf063f1ddf843fae4d2621ec25187f56135
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agorbd: fix mingw 5.0.3 compatibility issue 39707/head
Lucian Petrut [Thu, 25 Feb 2021 20:44:22 +0000 (20:44 +0000)]
rbd: fix mingw 5.0.3 compatibility issue

GetOverlappedResultEx isn't avaialable when using mingw 5.0.3
(default on Ubuntu Bionic).

Since we don't really need the extra parameters, we'll switch
to GetOverlappedResult.

We're doing this mostly for testing purposes as the mingw 5.0.3
runtime is known to be broken.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
4 years agocephadm: provide meta during bootstrap 39644/head
Sage Weil [Wed, 24 Feb 2021 16:59:44 +0000 (11:59 -0500)]
cephadm: provide meta during bootstrap

This is slightly gross, but we need ctx.meta_json for the bootstrap case,
which deploys a mon and mgr.

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agomgr/cephadm: put service_name in unit.meta and use it when available
Sage Weil [Tue, 23 Feb 2021 17:28:27 +0000 (12:28 -0500)]
mgr/cephadm: put service_name in unit.meta and use it when available

Inferring service_name from the daemon name is error-prone.

Fixes: https://tracker.ceph.com/issues/46219
Signed-off-by: Sage Weil <sage@newdream.net>
4 years agocephadm: accept arbitrary dict via --meta-json
Sage Weil [Tue, 23 Feb 2021 17:25:37 +0000 (12:25 -0500)]
cephadm: accept arbitrary dict via --meta-json

e.g., --meta-json '{"foo": "bar"}'

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agorpm: re-disable SUSE lttng build on z390x 39705/head
Nathan Cutler [Thu, 25 Feb 2021 18:01:18 +0000 (19:01 +0100)]
rpm: re-disable SUSE lttng build on z390x

This partially reverts 2b1e646f7aade3135a98c505111ac7ebef5e93a6 which
mistakenly changed a line inside an "%if 0%{?suse_version}" conditional.

Fixes: 2b1e646f7aade3135a98c505111ac7ebef5e93a6
Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #39649 from Daniel-Pivonka/fixorphaninitialdaemons
Sebastian Wagner [Thu, 25 Feb 2021 15:15:37 +0000 (16:15 +0100)]
Merge pull request #39649 from Daniel-Pivonka/fixorphaninitialdaemons

cephadm: fix bug in orphan-initial-daemons logic

Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #39613 from sebastian-philipp/DaemonDescriptionStatus
Sebastian Wagner [Thu, 25 Feb 2021 15:15:03 +0000 (16:15 +0100)]
Merge pull request #39613 from sebastian-philipp/DaemonDescriptionStatus

mgr/orch: Add DaemonDescriptionStatus

Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
4 years agoMerge pull request #39672 from ceph/wip-159-notes
David Galloway [Thu, 25 Feb 2021 14:54:50 +0000 (09:54 -0500)]
Merge pull request #39672 from ceph/wip-159-notes

doc/releases/octopus.rst: 15.2.9 Release Notes

4 years agodoc/dev: rewrite t8y "reporting the issue" 39697/head
Zac Dover [Thu, 25 Feb 2021 14:38:11 +0000 (00:38 +1000)]
doc/dev: rewrite t8y "reporting the issue"

This commit rewrites the "Reporting the Issue"
section, reflecting my better understanding of the
various tools and parties in play. I also added a
TL;DR-style summary (or argument) paragraph at the
top of the section.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoqa/suites/rados/monthrash: crank up client side debugging w/ mon thrashing 39696/head
Sage Weil [Mon, 22 Feb 2021 19:38:38 +0000 (13:38 -0600)]
qa/suites/rados/monthrash: crank up client side debugging w/ mon thrashing

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agodoc/dev: add t8y debug section names 39695/head
Zac Dover [Thu, 25 Feb 2021 14:15:56 +0000 (00:15 +1000)]
doc/dev: add t8y debug section names

This commit adds two section headings to the
Debugging section of the Teuthology Guide:

  1. Viewing Test Results
  2. Identifying Failed Jobs

The text as it stood before seemed to call out for
this explicit sectioning of material, so I've answered
that call.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/dev: rewrite t8y "triaging" section 39694/head
Zac Dover [Thu, 25 Feb 2021 14:05:38 +0000 (00:05 +1000)]
doc/dev: rewrite t8y "triaging" section

This commit simplifes and clarifies the "Triaging
the Cause of Failure" section in the Teuthology
Guide in the Developer Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/dev: rewrite t8y "re-running tests" 39666/head
Zac Dover [Wed, 24 Feb 2021 13:58:50 +0000 (23:58 +1000)]
doc/dev: rewrite t8y "re-running tests"

This PR rewrites the "re-running tests" section
so that its elegance and readability are improved.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoqa/ceph_fuse: don't use createfs anymore while mounting 39686/head
Rishabh Dave [Thu, 25 Feb 2021 10:50:49 +0000 (16:20 +0530)]
qa/ceph_fuse: don't use createfs anymore while mounting

createfs was removed codebase since it didn't created FS regardless of
its value.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #39598 from tchaikov/wip-crimson-op-sequencer
Kefu Chai [Thu, 25 Feb 2021 11:21:47 +0000 (19:21 +0800)]
Merge pull request #39598 from tchaikov/wip-crimson-op-sequencer

crimson/osd: refactor OperationRepeatSequencer

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #39659 from tchaikov/wip-pybind-rados-cleanup
Kefu Chai [Thu, 25 Feb 2021 11:18:31 +0000 (19:18 +0800)]
Merge pull request #39659 from tchaikov/wip-pybind-rados-cleanup

pybind/rados: remove rados_nobjects_list_next() from .pxi

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agomgr/{prometheus,telemetry}: appease mypy 39602/head
Kefu Chai [Tue, 23 Feb 2021 03:50:48 +0000 (11:50 +0800)]
mgr/{prometheus,telemetry}: appease mypy

update to adapt the type annotation of MgrModule.list_servers()

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/ceph_module: add type annotation to BaseMgrModule
Kefu Chai [Mon, 22 Feb 2021 05:45:31 +0000 (13:45 +0800)]
mgr/ceph_module: add type annotation to BaseMgrModule

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: use empty data points to signal shutting down
Kefu Chai [Mon, 22 Feb 2021 06:17:44 +0000 (14:17 +0800)]
mgr/influx: use empty data points to signal shutting down

to appease mypy, which prefer a queue with elements of the same type.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: avoid casting variable
Kefu Chai [Mon, 22 Feb 2021 06:03:44 +0000 (14:03 +0800)]
mgr/influx: avoid casting variable

self.config is a dict with elements of different types, to appease mypy,
we would need to cast the indexed item to the expected type. another way
is to use f-string, so the variable are always printed using `__str__`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: use get_module_option() for typed option
Kefu Chai [Mon, 22 Feb 2021 05:57:55 +0000 (13:57 +0800)]
mgr/influx: use get_module_option() for typed option

get_module_option() cast the option to the type claimed in its defition,
also, the returned value are always validated before it is originally
set. so there is no need to repeat this in mgr module.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: use "N/A" for unknown hostname
Kefu Chai [Mon, 22 Feb 2021 05:53:42 +0000 (13:53 +0800)]
mgr/influx: use "N/A" for unknown hostname

in theory, there is chance that get_metadata() returns None, so let use
"N/A" in this case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: add typing annotation
Kefu Chai [Mon, 22 Feb 2021 03:45:30 +0000 (11:45 +0800)]
mgr/influx: add typing annotation

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: specify range of threads
Kefu Chai [Mon, 22 Feb 2021 03:55:31 +0000 (11:55 +0800)]
mgr/influx: specify range of threads

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: specify the type of options
Kefu Chai [Mon, 22 Feb 2021 03:51:05 +0000 (11:51 +0800)]
mgr/influx: specify the type of options

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/mgr_module correct typing of self_test
Kefu Chai [Mon, 22 Feb 2021 03:46:48 +0000 (11:46 +0800)]
mgr/mgr_module correct typing of self_test

self_test() is allowed to return str

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: define commands uing CLICommand
Kefu Chai [Mon, 22 Feb 2021 03:28:07 +0000 (11:28 +0800)]
mgr/influx: define commands uing CLICommand

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/influx: define options using Option
Kefu Chai [Mon, 22 Feb 2021 03:17:05 +0000 (11:17 +0800)]
mgr/influx: define options using Option

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38937 from myoungwon/fix-snap-refcount
Kefu Chai [Thu, 25 Feb 2021 06:27:21 +0000 (14:27 +0800)]
Merge pull request #38937 from myoungwon/fix-snap-refcount

src/test: fix to avoid fail notification when testing manifest refcount

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #39610 from tchaikov/wip-mgr-set-option
Kefu Chai [Thu, 25 Feb 2021 06:23:40 +0000 (14:23 +0800)]
Merge pull request #39610 from tchaikov/wip-mgr-set-option

mgr: raise if set_module_option() fails

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #39320 from ifed01/wip-ifed-fix-huge-bluefs-write
Kefu Chai [Thu, 25 Feb 2021 06:21:34 +0000 (14:21 +0800)]
Merge pull request #39320 from ifed01/wip-ifed-fix-huge-bluefs-write

os/bluestore: fix huge(>4GB) writes from RocksDB to BlueFS.

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
4 years agoMerge pull request #39600 from tchaikov/wip-mgr-zabbix-desc
Kefu Chai [Thu, 25 Feb 2021 06:04:41 +0000 (14:04 +0800)]
Merge pull request #39600 from tchaikov/wip-mgr-zabbix-desc

mgr/zabbix: add desc to commands

Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agoMerge pull request #39676 from liewegas/fix-kv
Kefu Chai [Thu, 25 Feb 2021 05:29:09 +0000 (13:29 +0800)]
Merge pull request #39676 from liewegas/fix-kv

mon/KVMonitor: fix 'osd new' cross-service commit

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #38914 into master
Patrick Donnelly [Thu, 25 Feb 2021 03:34:23 +0000 (19:34 -0800)]
Merge PR #38914 into master

* refs/pull/38914/head:
qa: bump osd heartbeat grace for ffsb workload

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 years agoMerge PR #39498 into master
Patrick Donnelly [Thu, 25 Feb 2021 03:09:00 +0000 (19:09 -0800)]
Merge PR #39498 into master

* refs/pull/39498/head:
test: use std::atomic<bool> instead of volatile for cb_done var

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #39183 into master
Patrick Donnelly [Thu, 25 Feb 2021 03:07:59 +0000 (19:07 -0800)]
Merge PR #39183 into master

* refs/pull/39183/head:
mon: simplify fs 'services' view of 'ceph status'
mds: add volumes + status to data: section of 'ceph status'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agopybind/rados: remove rados_nobjects_list_next() from .pxi 39659/head
Kefu Chai [Wed, 24 Feb 2021 09:56:35 +0000 (17:56 +0800)]
pybind/rados: remove rados_nobjects_list_next() from .pxi

this is a follow-up of da5d4c813ffdd391da54dcf5022763616bab4b21

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #39668 from zdover23/wip-doc-dev-t8y-rewrite-naming-ceph-ci-branch...
Neha Ojha [Thu, 25 Feb 2021 00:49:27 +0000 (16:49 -0800)]
Merge pull request #39668 from zdover23/wip-doc-dev-t8y-rewrite-naming-ceph-ci-branch-2021-Feb-25

doc/dev: t8y-naming-ceph-ci-branch rewrite

Reviewed-by: Neha Ojha <nojha@redhat.com>