Jason Dillaman
bdcf9d9a2c
rbd: correct object size formatting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:00:37 -04:00
Ilya Dryomov
260741a47d
doc: lock_timeout is a per mapping option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-20 16:39:09 +02:00
Ilya Dryomov
b0311db99b
Merge pull request #21522 from idryomov/wip-krbd-lock-timeout-test
...
qa: krbd_exclusive_option.sh: add lock_timeout test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 16:21:48 +02:00
Ilya Dryomov
b74489ece3
Merge pull request #21513 from idryomov/wip-krbd-notrim-test
...
qa: krbd_fallocate.sh: add notrim test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 16:20:46 +02:00
Stephan Müller
1b28705be5
mgr/dashboard: Add pool listing
...
Adds a new top level menu entry, called "Pool", which lists all pools
and contains a minimalistic detail view.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-20 16:13:34 +02:00
Stephan Müller
d0d3dfac59
mgr/dashboard: K-v-table uses autoReload input
...
The "autoReload" input from the data table can now be used in the key
value table as well.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-20 16:11:12 +02:00
Lenz Grimmer
564cac3e68
Merge pull request #21517 from rjfd/wip-dashboard-fix-rbd-auth
...
mgr/dashboard: rbd: add @AuthRequired to snapshots controller
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 15:55:37 +02:00
Lenz Grimmer
6d07530df3
Merge pull request #20869 from votdev/dashboard_rgw_ro
...
mgr/dashboard: Add RGW user and bucket lists (read-only)
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-04-20 15:52:21 +02:00
Jan Fajerski
14e29fdc00
common/strtoll: remove superfluous const modifier
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-04-20 15:30:45 +02:00
Lenz Grimmer
7075470c3c
Merge pull request #21386 from votdev/api_interceptor
...
mgr/dashboard: Rename and refactor ApiInterceptorService class
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-04-20 11:34:47 +02:00
Ricardo Dias
6aa52b675e
Merge pull request #21531 from LenzGr/mgr-dashboard-documentation
...
doc: updated the dashboard feature list
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 09:55:25 +01:00
Nathan Cutler
f03b9028f5
qa/standalone/ceph-helpers.sh: provide argument to dirname
...
Fixes: http://tracker.ceph.com/issues/23805
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-20 10:10:15 +02:00
Zhang Shaowen
e1a1034aec
rgw: admin rest api shouldn't return error when getting user's stats if
...
the user hasn't create any bucket.
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2018-04-20 16:06:06 +08:00
Willem Jan Withagen
ad6baee3f9
EventKqueue: Clang want realloc return to be typed
...
Otherwise Clang start complaining:
src/msg/async/EventKqueue.cc:202:18: error: assigning to 'struct SaveEvent *' from incompatible type 'void *'
sav_events = realloc(sav_events, sizeof(struct SaveEvent)*newsize);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.`
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-04-20 10:00:03 +02:00
Lenz Grimmer
3666365460
doc: updated the dashboard feature list
...
Updated and improved the Mgr Dashboard feature list: added RBD management
features.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-20 09:50:33 +02:00
Patrick Donnelly
8b3b7dbefa
Merge PR #21499 into master
...
* refs/pull/21499/head:
doc/cephfs: update kernel client quotas support info
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2018-04-19 16:15:28 -07:00
Patrick Donnelly
cdd701f434
githubmap: update contributors
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:15:27 -07:00
Patrick Donnelly
7fa4965c2a
Merge PR #21472 into master
...
* refs/pull/21472/head:
mds: optimize purge queue expire pos update
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:05:25 -07:00
Patrick Donnelly
9b2a919d70
Merge PR #21434 into master
...
* refs/pull/21434/head:
client: add client option descriptions
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 14:59:24 -07:00
Casey Bodley
02f64e7f8b
rgw: move all pool creation into rgw_init_ioctx
...
the pool_create/application_enable logic was duplicated in three places,
and only one of them was reporting the error on ERANGE
Fixes: http://tracker.ceph.com/issues/23480
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-19 15:10:36 -04:00
Patrick Donnelly
378a6fcfe8
qa: check old_max_mds is not wiped by marked down twice
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:57:45 -07:00
Patrick Donnelly
bee7a113c7
MDSMonitor: do not wipe old_max_mds when marked down twice
...
Fixes: http://tracker.ceph.com/issues/23800
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:52:50 -07:00
Patrick Donnelly
a4778e9d62
Merge PR #21498 into master
...
* refs/pull/21498/head:
client: flush the mdlog in _fsync before waiting on unstable reqs
Reviewed-by: dongdong tao <tdd21151186@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 11:09:46 -07:00
Boris Ranto
4dde3d355f
Merge pull request #21530 from jan--f/mgr-prometheus-fix-osd-metadata
...
pybind/mgr/prometheus: fix creation of osd_metadata metric
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-04-19 19:42:48 +02:00
Kefu Chai
c5e6f6b0a4
common/strtol: fix strict_strtoll() so it accepts hex starting with 0x
...
- simplify the error handling of strtoll().
- only instantiate ostringstream when handling errors.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 23:35:31 +08:00
Jan Fajerski
05a37d4a61
pybind/mgr/prometheus: fix creation of osd_metadata metric
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-04-19 17:34:25 +02:00
Kefu Chai
ed96c33181
Merge pull request #21446 from smithfarm/wip-ctest-py3-fallback
...
cmake/mgr: use Python 3 virtualenv if mgr subinterpreter is Python 3
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 23:13:23 +08:00
Kefu Chai
3d5aaf5a59
Merge pull request #21477 from liewegas/wip-kvstore-tool
...
ceph-kvstore-tool: make it a bit more friendly
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 22:57:42 +08:00
Kefu Chai
12e42211aa
Merge pull request #21488 from tchaikov/wip-i-choose-to-die-instead-of-leak
...
msg/async/EventKqueue: assert on OOM
Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-04-19 22:57:00 +08:00
Volker Theile
3416cf2ec4
mgr/dashboard: Add ability to cancel notifications.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Volker Theile
9db2d058bc
mgr/dashboard: Do not show notifications for HTTP 409 errors.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Volker Theile
8d775bedce
mgr/dashboard: Rename auth-interceptor and refactor it to display notifications for more errors than 401 and 500.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Andrew Schoen
eaa02bc722
Merge pull request #21496 from ceph/wip-rm23678
...
ceph-volume: allow skipping systemd interactions on activate/create
Reviewed-by: Andrew Schoen <aschoen@redhat.com
2018-04-19 14:36:40 +00:00
Yan, Zheng
e3a38e9e89
mon: respect standby_for_fscid when choosing standby replay mds
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 21:36:26 +08:00
Yan, Zheng
8d40e21de0
mon: fix standby replay in multimds setup
...
The code should break loops for two level. otherwise, in multimds setup,
a standby mds may get assigned to standby replay multiple times. This
bug may cause monitor to crash.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23658
2018-04-19 21:26:31 +08:00
Volker Theile
ee5c9ad03c
mgr/dashboard: Modify RGW proxy response of errors to display a detailed message in the error notification.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 11:35:13 +02:00
Volker Theile
386965934d
mgr/dashboard: Force datatable to hide the loading indicator in case of an error.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 11:35:13 +02:00
Volker Theile
26c2624945
mgr/dashboard: Add RGW user and bucket lists (read-only)
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 11:35:13 +02:00
Ricardo Dias
096f30964c
mgr/dashboard: rbd: add @AuthRequired to snapshots controller
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-19 10:27:07 +01:00
Ricardo Dias
47a55cf52e
Merge pull request #21466 from jcsp/wip-dashboard-cmake-all
...
cmake: include frontend build in 'all' target
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-19 10:19:47 +01:00
Ricardo Dias
2bccb866bd
mgr/dashboard: restcontroller: removed @args_from_json
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-19 10:15:27 +01:00
Lenz Grimmer
3bff4b207c
Merge pull request #21497 from votdev/forceidentifier_datatable
...
mgr/dashboard: Add 'forceIdentifier' attribute to datatable
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-04-19 11:13:32 +02:00
Kefu Chai
b8fa9837be
Merge pull request #21469 from liewegas/wip-log-nomsgs
...
mon/LogMonitor: do not crash on log sub w/ no messages
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-04-19 17:06:32 +08:00
Kefu Chai
7985f37e54
Merge pull request #21467 from tchaikov/wip-perf-stats-ns-incarnation
...
include/ceph_features: fix OS_PERF_STAT_NS's incarnation
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-04-19 17:05:29 +08:00
Kefu Chai
fb472ddc37
Merge pull request #21459 from runsisi/wip-mgrc-register
...
mgr/MgrClient: service registration filtered by service name instead of daemon name
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-19 17:02:53 +08:00
Ilya Dryomov
cec0ee3000
qa: krbd_exclusive_option.sh: add lock_timeout test case
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:43:35 +02:00
Ilya Dryomov
25869054de
qa: krbd_exclusive_option.sh: be more lax about ps states
...
Allow running this script by hand -- foreground process group vs
background process groups, etc.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:43:35 +02:00
Ilya Dryomov
d0ccfb4026
Merge pull request #21344 from yangdongsheng/lock_timeout
...
rbd: support lock_timeout in rbd mapping
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:26:09 +02:00
Ricardo Dias
1ee0f2a376
mgr/dashboard: .gitignore: ignore vscode .venv dir
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-19 08:53:08 +01:00
Ricardo Dias
671b134885
mgr/dashboard: restcontroller: support explicit resource ID
...
In the current implementation, RESTController tries to infer the
resource ID by looking at the declared parameters of the resource
methods (get, delete, set, and patch). This inference may not always
be correct, and therefore with this commit we can now explicitely
specify the structure of the resource ID. If the resource ID is
not explicitly specified, then we fallback to the inference algorithm.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-19 08:52:26 +01:00