Sebastian Wagner
0f22f24a35
mgr/test_orchestrator: Refactor create_osds
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
a455dff412
mgr/volumes: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
d529f1db82
doc/mgr/orchestrator_modules: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
828992d7fe
mgr/selftest: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
b92dc71205
mgr/dashboard: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
bca36ab3cf
mgr/mds_autoscaler: Add to tox.ini
...
Fixes: f69abe6291
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:50:42 +01:00
Sebastian Wagner
1d40632826
mgr/mds_autoscaler: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:48:54 +01:00
Sebastian Wagner
1ecb93a470
mgr/test_orchestrator: adapt to now orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:48:54 +01:00
Sebastian Wagner
42d5c8991a
mgr/rook: Adapt to new orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:48:54 +01:00
Sebastian Wagner
68030bec52
mgr/cephadm: Adapt cephadm to new orch interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:48:54 +01:00
Sebastian Wagner
b6c770a4cb
mgr/orch: Remove old tests
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 16:48:54 +01:00
Sebastian Wagner
e4d7d7676f
mgr/orch: adapt orchestrator CLI to new interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 13:41:55 +01:00
Sebastian Wagner
fcf7513663
mgr/orch: replace Completion with OrchResult(Generic[T])
...
Greatly simplify the orchestrator interface
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-01 13:38:10 +01:00
Kefu Chai
34dee80251
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>
2021-03-01 16:39:41 +08:00
Kefu Chai
f0635e34b9
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>
2021-03-01 15:48:40 +08:00
Sage Weil
f11ccd2d60
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>
2021-02-28 19:00:29 -05:00
Sage Weil
aa5bd55b2d
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>
2021-02-28 19:00:16 -05:00
Sage Weil
7aba1840fb
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>
2021-02-28 11:29:53 -05:00
Kefu Chai
17fc145f90
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>
2021-02-28 14:06:05 +08:00
Kefu Chai
776a3ab14a
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>
2021-02-28 14:06:05 +08:00
Kefu Chai
c1a8ad1213
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>
2021-02-28 14:06:05 +08:00
Sage Weil
5e197a21e6
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>
2021-02-27 10:15:27 -05:00
Sage Weil
fd850030ad
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>
2021-02-27 10:13:43 -05:00
Sage Weil
db9255e734
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>
2021-02-27 10:12:08 -05:00
Sage Weil
9abdf95816
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>
2021-02-27 10:10:18 -05:00
Nathan Cutler
5cbf93287f
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>
2021-02-27 15:35:34 +01:00
Sebastian Wagner
2e21d9ba1c
Merge pull request #39733 from mgfritch/cephadm-test-multiple-digest
...
cephadm: add multi-digest test
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-27 11:00:12 +01:00
Michael Fritch
22f9712aaa
cephadm: add multi-digest test
...
quick unit test for inspect of a container with multiple digests
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-02-26 22:16:41 -07:00
Sebastian Wagner
6434723283
Merge pull request #39648 from liewegas/cephadm-spec-config
...
mgr/cephadm: add config section to ServiceSpec
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 23:06:35 +01:00
Sage Weil
98f1be85d9
doc/man/8/ceph: document --max option
...
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-26 13:11:43 -06:00
Sage Weil
2e156079c8
src/test/osd/safe-to-destroy: adjust test
...
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-26 13:11:43 -06:00
Sage Weil
9425eee579
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>
2021-02-26 13:11:43 -06:00
Patrick Donnelly
80fb753875
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>
2021-02-26 09:34:04 -08:00
Patrick Donnelly
a3b41418f8
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>
2021-02-26 09:32:03 -08:00
Patrick Donnelly
f8398f56f8
Merge PR #39574 into master
...
* refs/pull/39574/head:
client: wake up the front pos waiter
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-02-26 09:29:37 -08:00
Patrick Donnelly
b1a060291c
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>
2021-02-26 09:28:26 -08:00
Sage Weil
9652162bc4
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>
2021-02-26 12:20:43 -05:00
Sage Weil
7853a0ed8e
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>
2021-02-26 12:20:20 -05:00
Patrick Donnelly
297b392659
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>
2021-02-26 08:56:03 -08:00
zdover23
c52da5d41a
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>
2021-02-26 23:49:33 +10:00
Sage Weil
deb9eae5b1
mgr/orchestrator: validate config options at apply time
...
Make sure config options are valid/exist.
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-26 08:28:28 -05:00
Sage Weil
48934492df
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>
2021-02-26 08:28:28 -05:00
Sage Weil
6b852c2e01
mgr/cephadm: add config section to ServiceSpec
...
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-26 08:28:28 -05:00
Sebastian Wagner
4783a69b96
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>
2021-02-26 14:21:43 +01:00
Zac Dover
8c191fb5f7
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>
2021-02-26 22:10:51 +10:00
Kefu Chai
60a5dfbec8
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>
2021-02-26 19:48:20 +08:00
Sebastian Wagner
bd44dcce7c
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>
2021-02-26 12:39:04 +01:00
Sebastian Wagner
f4f3fee6fd
doc/cephadm: remove Orchestrator CLI from cephadm toc
...
not much useful information there anymore.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
a4aef4a49d
doc/cephadm: move host labels to host mgmt
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
1033c46ad7
doc/cephadm: group MDS sections into one chapter
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00