Commit Graph

111047 Commits

Author SHA1 Message Date
Lenz Grimmer
2bf5503aa3
Merge pull request #34854 from BenoitKnecht/fix-alert-description
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-05-08 14:46:54 +02:00
Sebastian Wagner
0d72e7f8e4
Merge pull request #34843 from mgfritch/cephadm-cli-servicespec
mgr/orch: Clean-up ServiceSpec handling during add/remove (mds, rgw, iscsi, nfs)

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 11:12:27 +02:00
Sebastian Wagner
be117b555f
Merge pull request #34909 from sebastian-philipp/cephadm-doc-ceph.conf
doc/cephadm: add section about setting config settings

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 09:56:42 +02:00
Sebastian Wagner
43b21dfc61
Merge pull request #34891 from sebastian-philipp/cephadm-cephadmservice
mgr/cephadm: Add CephadmService class

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 09:45:08 +02:00
Jason Dillaman
1f82300bc5
Merge pull request #34853 from yison/rwl-image-writeback-cache-seq9
rbd/cache: Replicated Write Log core codes - compare_and_write

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-07 11:46:33 -04:00
Casey Bodley
5be87e6108
Merge pull request #34952 from cbodley/wip-44958
doc/rgw: document 'rgw gc max concurrent io'

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-05-07 11:45:30 -04:00
Laura Paduano
3c94d38501
Merge pull request #34929 from tspmelo/wip-e2e-script
mgr/dashboard: Improve run-frontend-e2e-tests.sh

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-05-07 16:49:49 +02:00
Casey Bodley
b0563a093a doc/rgw: document 'rgw gc max concurrent io'
Fixes: https://tracker.ceph.com/issues/44958

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-05-07 10:41:25 -04:00
Kefu Chai
90699f6e48
Merge pull request #34820 from sebastian-philipp/akamac-cephadm-fix-typo-in-postinst
debian: fix typo in cephadm user gecos

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-07 19:31:35 +08:00
Sebastian Wagner
20337c9b2a mgr/cephadm: Add IscsiService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
95952995f0 mgr/cephadm: Add CrashService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
92c53f58f8 mgr/cephadm: Add NodeExporterService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
27dc31ac84 mgr/cephadm: Add PrometheusService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
d74f0e9949 mgr/cephadm: Add AlertmanagerService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
b197904dda mgr/cephadm: Add GrafanaService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
3747badbff mgr/cephadm: Add RbdMirrorService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
a67ab0ae96 mgr/cephadm: Add RgwService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:01 +02:00
Sebastian Wagner
daf83a962d mgr/cephadm: Add MdsService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:06:00 +02:00
Sebastian Wagner
5b67b81a33 mgr/cephadm: Add MgrService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:05:31 +02:00
Sebastian Wagner
e2ddfefaaa mgr/cephadm: Add MonService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:05:02 +02:00
Sebastian Wagner
6c173b6db9 mgr/cephadm: Add NFSService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:05:02 +02:00
Sebastian Wagner
1bd19fc967 mgr/cephadm: move OSD related code to OSDService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 13:04:59 +02:00
Sebastian Wagner
011747c74e mgr/cephadm: move nfs and osd to services/
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-07 12:58:59 +02:00
Tiago Melo
7c71d9d75f mgr/dashboard: Improve run-frontend-e2e-tests.sh
Allow to configure Cypress using env vars.

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

Add Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-07 10:44:34 +00:00
Lenz Grimmer
a1ad3b1b77
Merge pull request #34855 from s0nea/wip-dashboard-troubleshooting
Reviewed-by: Enno Gotthold <egotthold@suse.de>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-05-07 12:27:31 +02:00
Alexey Miasoedov
7577b6385d debian: fix typo in cephadm user gecos
Signed-off-by: Alexey Miasoedov <alexey.miasoedov@gmail.com>
2020-05-07 12:07:06 +02:00
Lenz Grimmer
3a0cfdcc4d
Merge pull request #34591 from votdev/issue_45109
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-05-07 11:59:22 +02:00
Yuan Lu
03d000a789 librbd: add aio_compare_and_write test cases
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-07 09:55:08 +08:00
Yuan Lu
864e348b74 librbd: add aio_compare_and_write
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-07 09:55:02 +08:00
Yuan Lu
5d719ff919 librbd: add CompAndWriteRequest
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-07 09:54:56 +08:00
Kefu Chai
6d0b1776ea
Merge pull request #34921 from tchaikov/wip-seastar
crimson: pick up a recent seastar version and cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-05-07 09:30:30 +08:00
Jason Dillaman
fe8a93e4f4
Merge pull request #34851 from yison/rwl-image-writeback-cache-seq8
rbd/cache: Replicated Write Log core codes - retire entries and invalidate

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-06 15:56:42 -04:00
Benoît Knecht
653c3f6682 monitoring: Fix "10% OSDs down" alert description
The alert was triggered when less than 90% of OSDs were _up_, but then the
description took that value and described it as the percentage of OSDs being
_down_. So with 12% of OSDs down, the alert description would read:

```
88% or 88 of 100 OSDs are down (>=10%).
```

which can be panic-inducing.

This commit changes the alert expression to actually compute the ratio of OSDs
being down, which makes the correct value appear in the description.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2020-05-06 18:49:26 +02:00
Kefu Chai
74fde3a4a0 crimson: avoid using variadic future
it is deprecated by seastar. let's use future<tuple<...>> instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-07 00:33:48 +08:00
Kefu Chai
7a383b7868 seastar: pick up a recent seastar
to alleviate the pain of keeping in sync with seastar upstream.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-07 00:33:48 +08:00
Kefu Chai
f4b33c7b85 crimson/common: friend with do_with_impl()
seastar changed the implementatino of do_with(), so it's do_with_impl()
who tries to up-cast erroratorized future to seastar::future<>.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-07 00:33:48 +08:00
Kefu Chai
720f06aaf3 crimson: drop Dispatch::ms_verify_authorizer()
as it's not used at all. also, variadic future was deprecated by
seastar, so let's avoid using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-07 00:33:48 +08:00
Kefu Chai
04063715b5 crimson: s/reactor::cpu_id/seastar::this_shard_id/
the former was deprecated since seastar
02956fd436b413d6bbe562cf91533ada36553e54

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-07 00:33:48 +08:00
Sebastian Wagner
1256457a15 doc/cephadm: add section about setting config settings
Fixes: https://tracker.ceph.com/issues/44284

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-06 18:06:27 +02:00
Yuan Lu
fcae953c29 librbd: add invalidate test case
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-06 23:30:55 +08:00
Yuan Lu
8388f1e817 librbd: add invalidate
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-06 23:30:48 +08:00
Yuan Lu
48ad3cc26e librbd: retire entries
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-05-06 23:30:38 +08:00
Casey Bodley
a96f9583f4
Merge pull request #34899 from smanjara/wip-dynamic-resharding
qa/rgw: add ssl option in reshard tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-06 11:18:39 -04:00
Tatjana Dehler
a241a00452 doc/mgr/dashboard: Add troubleshooting guide
Fixes: https://tracker.ceph.com/issues/25196
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-05-06 17:16:33 +02:00
Sebastian Wagner
b1a572e8fe
Merge pull request #34887 from sebastian-philipp/cephadm-move-specstore
mgr/cephadm: move SpecStore and HostCache to inventoy.py

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-05-06 17:10:17 +02:00
Sebastian Wagner
cbab073936
Merge pull request #34898 from matthewoliver/cephadm-iscsi-priv
cephadm: give ceph-iscsi permissions to configfs

Reviewed-by: Boris Ranto <branto@redhat.com>
2020-05-06 17:09:51 +02:00
Kefu Chai
99918ce403 crimson/common: make do_with() noexcept
to be consistent with seasetar change of
85aa178d9539b2c9301d4fb0815596a741fb82c4, which make
`seasetar::do_with()` noexcept

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-06 23:07:30 +08:00
Kefu Chai
33af821baa crimson/common: use invoke instead of apply
to be consistent with 9b69c7989da57e69ed1bfc7aa122876e67c3d1fd
in seasetar, in which, seastar::apply() is deprecated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-06 23:07:30 +08:00
Jason Dillaman
d82c23c0c8
Merge pull request #34243 from trociny/wip-rbd-freeze-thaw
librbd: API for quiesce callbacks

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-06 10:15:40 -04:00
Jason Dillaman
a43859541b
Merge pull request #34706 from yison/rwl-image-writeback-cache-seq6
rbd/cache: Replicated Write Log core codes - aio_writesame

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-06 09:49:43 -04:00