Commit Graph

94377 Commits

Author SHA1 Message Date
Stephan Müller
a768571566 mgr/dashboard: Updated messages.xlf
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-30 16:42:57 +01:00
Stephan Müller
454f1caecf mgr/dashboard: Application icons in notifications
Now notifications and alerts show an application icon, that gives a hint
about their origin.

Fixes: https://tracker.ceph.com/issues/37950
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-30 16:42:57 +01:00
Stephan Müller
b5e0f997eb mgr/dashboard: Provide values with different style in KV-table
Now it's possible to style values inside the KV-table based on the
values.

Fixes: https://tracker.ceph.com/issues/37951
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-30 16:42:57 +01:00
Stephan Müller
8451e8c595 mgr/dashboard: Add the Prometheus alerts
The backend is now capable of receiving alert notifications from
the Prometheus alertmanager and it can get all alerts with all kinds of
parameters from the API of the same.

In the frontend Prometheus alerts can be found in "Cluster > Alerts". Incoming
notifications can be seen as usual in the notifications popover.

To clarify:
Prometheus alerts are received from the alertmanager API.
Prometheus alert notification are send from the alertmanager to the
backend receiver. An alert notification can have multiple alerts, but
these alerts differ from the prometheus alerts.

To clarify that, I've added some models and services.

If one of the methods to get alerts contains changes the user will be
notified.

The documentation explains how to configure the alertmanager to use the
dashboard receiver and how to connect the use of the alertmanager API.
Further it explains where to find the alerts and what happens if they
are configured and something is happening.

Fixes: https://tracker.ceph.com/issues/36721
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-01-30 16:42:57 +01:00
Lenz Grimmer
d239c2a8b4
Merge pull request #25638 from ricardoasmarques/iscsi-management-w
mgr/dashboard: iSCSI management API

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-30 15:56:48 +01:00
Lenz Grimmer
fda70511a8
Merge pull request #26172 from rhcs-dashboard/fix-skipped-api-tests
mgr/dashboard: fix skipped backend API tests

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-01-30 15:49:06 +01:00
Kefu Chai
8d5ddb5817
Merge pull request #26091 from tchaikov/wip-36737
cmake: use $CMAKE_BINARY_DIR for default $CEPH_BUILD_VIRTUALENV

Tested-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2019-01-30 21:35:52 +08:00
Sage Weil
1a9734c970 Merge PR #26142 into master
* refs/pull/26142/head:
	doc/dev/cephx: document current implementation of cephx

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-01-30 07:06:42 -06:00
Jason Dillaman
d07cc3b627
Merge pull request #26097 from trociny/wip-rbd-mirror-perf-lock
rbd-mirror: guard access to image replayer perf counters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-30 07:52:41 -05:00
Jason Dillaman
347eac67ba
Merge pull request #26168 from shyukri/qa-rbd-replace-bench-write
qa: rbd/workunits : Replace "rbd bench-write" with "rbd bench --io-type write"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-01-30 07:51:55 -05:00
alfonsomthd
c094e2d702 mgr/dashboard: fix skipped backend API tests
* When the creation of the cluster is delegated to vstart_runner.py
(--create or --create-target-only) the amount of MGRs required
is calculated by the script so there is no more skipped tests
due to insufficient amount of MGRs.

* Additionally, this issue is not reproducible anymore:
Fixes: https://tracker.ceph.com/issues/37964

* Fixed typo: TEUTHOLOFY_PY_REQS

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-01-30 13:05:02 +01:00
Lenz Grimmer
9ea48b7fba
Merge pull request #26162 from familyuu/crush
mgr/dashboard: CRUSH map viewer RFE

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-30 11:43:59 +01:00
Lenz Grimmer
8086a88329
Merge pull request #26182 from p-na/wip-pna-fix-pool-reload
mgr/dashboard: Fix reloading of pool listing

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-01-30 11:26:28 +01:00
Ricardo Marques
7ebc04d696
Merge pull request #26143 from LenzGr/master-documentation
doc: Updated feature list and overview in dashboard.rst

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-30 09:49:35 +00:00
Sebastian Wagner
c5dcd0cea9
Merge pull request #25893 from sebastian-philipp/orchestrator-current-status
doc/orchestrator: Aligned Documentation with specification

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-30 09:48:11 +01:00
guodan1
411c423410 mgr/dashboard: CRUSH map viewer RFE
Fixes: http://tracker.ceph.com/issues/37794

Signed-off-by: familyuu <guodan1@lenovo.com>
2019-01-30 11:04:14 +08:00
Neha Ojha
ead6c226eb
Merge pull request #26175 from neha-ojha/wip-37919
osd/PG.cc: account for missing set irrespective of last_complete

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-01-29 16:19:34 -08:00
Neha Ojha
023b5f6a21
Merge pull request #25737 from arthurhsliu/patch-1
doc: fix typo in erasure coding example

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 16:11:26 -08:00
Sage Weil
141c305c12 doc/dev/cephx: document current implementation of cephx
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-29 12:28:36 -06:00
Casey Bodley
0a506c8ff4
Merge pull request #26157 from cbodley/wip-rgw-olh-repair
rgw: repair olh attributes that were broken by sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 12:04:39 -05:00
Matt Benjamin
e3b6c8356e
Merge pull request #26002 from pritha-srivastava/wip-sts-assumerole-webidentity
rgw: Initial commit for AssumeRoleWithWebIdentity.
2019-01-29 11:58:50 -05:00
Kefu Chai
c6edb27b3a
Merge pull request #26110 from yaozongyou/fix-statistics-bug
mon: fix pg_sum_old not copied correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-30 00:19:01 +08:00
Sebastian Wagner
cfc0141db1 doc/orchestrator: Aligned Documentaiton with specification
Also: add current implementation status
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-29 15:51:16 +01:00
Kefu Chai
60c3988601
Merge pull request #26090 from tchaikov/wip-crimson-osdmap
crimson: persist/load osdmap to/from store

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-01-29 21:31:51 +08:00
Patrick Nawracay
2f73d34b63 mgr/dashboard: Fix reloading of pool listing
Remove broken functionality that prevents pools from being reloaded after
deletion. The code also introduced a different problem; when clicking on a tab
shortly after the page has been loaded, the code will restore the tab to the
wrong one.

Introduced by 9e913bfd59

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-01-29 12:51:39 +00:00
Lenz Grimmer
602c875bd6
Merge pull request #26135 from Tinatinak/fix_permission_decorator
mgr/dashboard: Correct permission decorator

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-01-29 13:38:36 +01:00
Lenz Grimmer
d1ceffebf1
Merge pull request #26165 from rhcs-dashboard/ng-envbuild-e2e
mgr/dashboard: added 'env_build' to 'npm run e2e'

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-29 13:34:36 +01:00
Kefu Chai
05f09420f7 crimson/osd: fix boot process
* send my client addresses to mon
* always update osdmap with the latest one

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:54 +08:00
Kefu Chai
7b56e70385 crimson/osd: load_pgs()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:54 +08:00
Kefu Chai
aa032af1eb crimson/os: add omap_get_values()
osd uses it for storing the pg_info.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:53 +08:00
Kefu Chai
f14f913fbf osd/HitSet: mark copy ctor of HitSet::Params noexcept
to be returned using seastar::future<...> the value type should satisfy
std::is_nothrow_constructible<T>.

with this change, pg_pool_t will be nothrow_constructible. and hence
can be returned using seastar::future<pg_pool_t>. otherwise
std::is_nothrow_constructible<pg_pool_t>::value would be false.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:53 +08:00
Kefu Chai
05a262d5aa crimson/osd: add operator<< to OSDState
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:59 +08:00
Kefu Chai
06e36ac991 crimson/os: note missing coll/oid in exception
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:59 +08:00
Kefu Chai
3b0db1db56 crimson/osd: load/store osdmap from/to store
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:58 +08:00
Mykola Golub
275bedc8d5
Merge pull request #26133 from dillaman/wip-37913
rbd: implement new 'rbd perf image iostat/iotop' commands

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-01-29 12:41:23 +02:00
Kefu Chai
a697025bc3 crimson/osd: add "--mkfs" support to crimson-osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 17:58:18 +08:00
Kefu Chai
004d088b29 crimson/os: move more features from MemStore to CyanStore
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 17:58:18 +08:00
Tina Kallio
ceb1fdc095 mgr/dashboard: Correct permission decorator
'CreatePermission' is required in order to restore an image from trash.

Signed-off-by: Tina Kallio <tina.kallio@gmail.com>
2019-01-29 10:07:36 +01:00
Pritha Srivastava
463c5603bd rgw: Initial commit for AssumeRoleWithWebIdentity.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2019-01-29 14:21:12 +05:30
Jason Dillaman
df4db9c5cb rbd: new 'perf image iostat/iotop' actions
This provides an 'iostat' and 'top'-like IO monitor for all
RBD images

Fixes: http://tracker.ceph.com/issues/37913
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-28 20:52:02 -05:00
Casey Bodley
1309e2d50e rgw: add RGWRados::repair_olh() to reconstruct olh attrs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-28 15:19:43 -05:00
Casey Bodley
b8d7f0ad1f rgw: add RGWRados::bi_get_olh() to read/decode olh entry
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-28 15:19:43 -05:00
Casey Bodley
a15e873634 rgw: bi_get() takes bucket_info
and calls the bucket_info overload of BucketShard::init() to avoid
reading the bucket info again

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-28 15:19:43 -05:00
Casey Bodley
c6c445f607 rgw: add BucketShard::init overload for bucket_info,obj
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-28 15:19:43 -05:00
Jason Dillaman
0474727294 rbd: simplify pool namespace positional argument handling
The pool and namespace can now be specified as in a
<pool-name>[/<namespace-name>] format as positional
arguments.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-28 14:36:44 -05:00
Jason Dillaman
88239791f6 mgr/rbd_support: support module for RBD features that require coordination
This initially adds mgr commands to collect RBD performance metrics
from the OSD dynamic perf collector:

  rbd perf image stats: collects IO rate statistics
  rbd perf image counters: collects raw IO counters

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-01-28 14:35:28 -05:00
David Zafman
3e6ff119e2
Merge pull request #25112 from dzafman/wip-scrub-warning
scrub warning check incorrectly uses mon scrub interval

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-28 10:46:18 -08:00
Casey Bodley
ee5abb4d17
Merge pull request #26081 from cbodley/wip-38007
rgw: bucket full sync handles delete markers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-28 12:07:18 -05:00
Yehuda Sadeh
a4e3959663
Merge pull request #25137 from yehudasa/wip-archive-zone-3
rgw: archive zone

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2019-01-28 09:05:23 -08:00
Casey Bodley
5ffd34c5a6 rgw: bucket full sync handles delete markers
full sync uses CLS_RGW_OP_LINK_OLH_DM for delete markers instead of
trying to fetch them from the source zone

Fixes: http://tracker.ceph.com/issues/38007

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-28 09:41:51 -05:00