Commit Graph

85699 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nathan Cutler
ffab79587d cmake/mgr: use Python 3 virtualenv if mgr subinterpreter is Python 3
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-19 09:47:37 +02:00
Volker Theile
9e3ad18257 mgr/dashboard: Force identifier for RBD datatable.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 09:31:38 +02:00
Volker Theile
dda38317c4 mgr/dashboard: Add 'forceIdentified' attribute to datatable
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 09:23:58 +02:00
Dongsheng Yang
b09e4fe584 rbd: support lock_timeout in rbd mapping
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-04-19 02:59:21 -04:00
Ilya Dryomov
6931ab7ec9
Merge pull request #21056 from hitoshikamei/rbdmap-notrim
rbd: add notrim option to rbd map

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 08:51:57 +02:00
Kefu Chai
2efe9daf77
Merge pull request #21490 from tchaikov/wip-tox
mgr/dashboard: create venv for running tox

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-19 13:11:27 +08:00
Kefu Chai
1599414827 mgr/dashboard: create venv for running tox
the tox shipped with centos is 1.4.2, and is way too old. it does not
allow us to define the dependency using generative-envlist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 12:11:59 +08:00
Kefu Chai
f8a0a3cfec tools/setup-virtualenv.sh: bump up the version of tox to 2.9.1
2.8.1 brings an important fix, see
https://github.com/tox-dev/tox/issues/515.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 12:11:59 +08:00
Alfredo Deza
b6344f366d
Merge pull request #21489 from thmour/thmour_parallel_create
ceph-volume: allow parallel creates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 18:24:51 -04:00
Patrick Donnelly
bb95292213
Merge PR #16608 into master
* refs/pull/16608/head:
	qa: whitelist mds down wrn during cephfs testing
	mds: add config to disable fragmentation
	qa: add max_mds thrash test
	qa: mds_thrash updates for new max_mds behavior
	doc: update upgrade procedure and release notes
	qa: add test for cluster resizing
	qa: remove use of mds deactivate
	cephfs: add new down/joinable fs flags
	mds: evict all clients if last mds shutting down
	cephfs: deprecate ceph mds deactivate
	cephfs: kill allow_dirfrags
	cephfs: Kill allow_multimds
	cephfs: Change behavior of cluster_down flag
	mon/FSCommands: Set extra MDS to standby
	cephfs: Health check changes
	mon/MDSMonitor: Remove command support for legacy syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:36:54 -07:00
Patrick Donnelly
994cd16fbd
Merge PR #21456 into master
* refs/pull/21456/head:
	MDSMonitor: initialize new Filesystem epoch from pending

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-18 14:36:47 -07:00
Patrick Donnelly
63f6ce85c7
Merge PR #21457 into master
* refs/pull/21457/head:
	mds: unset deleted vars in shutdown_pass

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:40 -07:00
Patrick Donnelly
f28e19315c
Merge PR #21458 into master
* refs/pull/21458/head:
	MDSMonitor: cleanup and protect fsmap access

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-04-18 14:36:32 -07:00
Patrick Donnelly
c03dc9d40e
Merge PR #21473 into master
* refs/pull/21473/head:
	client: fix error operator precedence

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:26 -07:00
Patrick Donnelly
3292d43192
mds: unset deleted vars in shutdown_pass
So future passes do not try to delete again.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:14:39 -07:00
Nathan Cutler
90f5424782
Merge pull request #21480 from smithfarm/wip-backport-create-issue
scripts: new backport-create-issue script

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-18 19:57:45 +02:00
Nathan Cutler
327347a008 script/backport-create-issue: enable script to be imported
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-18 18:39:10 +02:00
Alfredo Deza
8848d03708 ceph-volume tests functional python tests for --no-systemd in activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Alfredo Deza
75685e33bf ceph-volume lvm.activate add --no-systemd flag to skip starting/enabling services
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Alfredo Deza
832da49ca8 ceph-volume lvm.common add --no-systemd flag to skip enabling/starting services
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Jason Dillaman
5c4f8c7dc3
Merge pull request #21436 from trociny/wip-test-out_of_order
test/librbd: ensure OutOfOrder test has enough concurrent management ops

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:46 -04:00
Jason Dillaman
d286e72616
Merge pull request #21493 from trociny/wip-deep-copy-missing-return
librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:22 -04:00
Lenz Grimmer
1b057bbc76
Merge pull request #21385 from ricardoasmarques/wip-list-all-rbds
mgr/dashboard: RBD management (frontend)

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 15:50:14 +02:00
Andrew Schoen
06c0933ae4
Merge pull request #21451 from ceph/wip-rm23581
ceph-volume: automatic VDO detection 

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 13:48:41 +00:00
Ricardo Marques
4e9a5aa7a6 mgr/dashboard: RBD management
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 12:04:08 +01:00
Mykola Golub
5f9a9fb142 librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-04-18 13:46:16 +03:00
Boris Ranto
a2eea2427a
Merge pull request #21383 from b-ranto/wip-mgr-rgw-metadata
prometheus: Implement rgw_metadata metric

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-04-18 12:46:00 +02:00
Ricardo Marques
f0d8338e98 mgr/dashboard: Add 'executing' cell template
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
2c4e35a7e1 mgr/dashboard: Configurable type for 'cd-submit-button'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
e78504503a mgr/dashboard: Add 'delete-confirmation-modal' component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
617632b358 mgr/dashboard: Force focus on submit
Forcing focus on submit button will guarantee that all inputs will lose focus
before submission.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
f34e719e7e mgr/dashboard: Add get method to summary service
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Lenz Grimmer
f2051a96aa
Merge pull request #21462 from ricardoasmarques/wip-backgroud-tasks-style
mgr/dashboard: Improve background tasks style

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-04-18 11:43:24 +02:00
Boris Ranto
c7cbc24803 prometheus: Implement rgw_metadata metric
This maps rgw id to its hostname and ceph version running on the node.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-04-18 11:02:44 +02:00
Ricardo Dias
ee263196a0
Merge pull request #21443 from LenzGr/mgr-dashboard-documentation
doc: Improved dashboard documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-18 09:48:28 +01:00
Theofilos Mouratidis
201817f27e ceph-volume: allow parallel creates
Currently the create code decides the vg_name "ceph-$cluster_fsid" as
the primary vg_name and creates a new name if this already exists.

If this code is run N times in parallel, the script will try to
create N times the vg with the name "ceph-$cluster_fsid" and it
will fail to create the N osds successfully.

Creating vgs with names like "ceph-$uuid4" lets our scripts to run
without any problems.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2018-04-18 10:02:37 +02:00
Kefu Chai
fdbc1e6d7c
Merge pull request #21485 from tchaikov/wip-tox
test/dashboard: hardcode .coverage path to workaround tox bugs

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-18 14:54:32 +08:00
Kefu Chai
d64f0ec7b8 msg/async/EventKqueue: assert on OOM
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 14:20:05 +08:00
Kefu Chai
32b07dd904 test/dashboard: hardcode .coverage path to workaround tox bugs
rhel/centos 7.3 comes with tox 1.4.2, which has a bunch of issues related
to environment variable substitution. for instance, see
- https://github.com/tox-dev/tox/issues/515
so, instead of having different coverage files for py3 and py2.7, it
would be simpler to just use the same path for coverage. this approach
works because pytest-cov plugin erases the coverage data file at the
beginning of test[1].

---
[1] https://pypi.org/project/pytest-cov/#coverage-data-file .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 13:50:38 +08:00