]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa: krbd whole-object-discard test 20750/head
Ilya Dryomov [Tue, 6 Mar 2018 14:27:23 +0000 (15:27 +0100)]
qa: krbd whole-object-discard test

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge PR #20688 into wip-sage-testing-20180306.131906
Sage Weil [Tue, 6 Mar 2018 13:19:46 +0000 (07:19 -0600)]
Merge PR #20688 into wip-sage-testing-20180306.131906

* refs/pull/20688/head:
doc: Drop the output of pg query
doc: Update Monitoring OSDs and PGs

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agogithubmap: update contributors
Sage Weil [Tue, 6 Mar 2018 13:19:45 +0000 (07:19 -0600)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20718 from ceph/wip-rm23163
Alfredo Deza [Tue, 6 Mar 2018 13:04:46 +0000 (08:04 -0500)]
Merge pull request #20718 from ceph/wip-rm23163

ceph-volume tests alleviate libvirt timeouts when reloading

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20726 from b-ranto/wip-doc-upgrade
Kefu Chai [Tue, 6 Mar 2018 11:47:41 +0000 (19:47 +0800)]
Merge pull request #20726 from b-ranto/wip-doc-upgrade

build-doc: Upgrade ceph python libraries

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20103 from openattic/wip-mgr-dashboard_v2
Kefu Chai [Tue, 6 Mar 2018 11:08:57 +0000 (19:08 +0800)]
Merge pull request #20103 from openattic/wip-mgr-dashboard_v2

mgr/dashboard_v2: Initial submission of a web-based management UI (replacement for the existing dashboard)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20659 from tchaikov/wip-msg/async/dpdk/launch-on-coreid
Kefu Chai [Tue, 6 Mar 2018 09:10:52 +0000 (17:10 +0800)]
Merge pull request #20659 from tchaikov/wip-msg/async/dpdk/launch-on-coreid

msg/async: execute on core specified by core_id not its index

Reviewed-by: shangfufei <shangfufei@inspur.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #20519 from gregsfortytwo/wip-22882-linger-locking
Gregory Farnum [Tue, 6 Mar 2018 05:49:27 +0000 (21:49 -0800)]
Merge pull request #20519 from gregsfortytwo/wip-22882-linger-locking

osdc/Objecter: take budgets across a LingerOp instead of on child Ops

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosdc: create and use take_linger_budget for prefetching watch/notify budgets 20519/head
Greg Farnum [Mon, 12 Feb 2018 20:20:00 +0000 (12:20 -0800)]
osdc: create and use take_linger_budget for prefetching watch/notify budgets

We don't actually take any budget, as we don't want to hit the
total op limits (especially on eg rbd-mirror), but this prevents
our per-message budgeting from causing a deadlock.

Fixes: http://tracker.ceph.com/issues/22882
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #20517 from gregsfortytwo/wip-22114-beacon-blocking-2
Gregory Farnum [Tue, 6 Mar 2018 05:29:10 +0000 (21:29 -0800)]
Merge pull request #20517 from gregsfortytwo/wip-22114-beacon-blocking-2

mon: mark OSD beacons and pg_create messages as no_reply

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #20720 from ctrlaltdel/typo
Jos Collin [Tue, 6 Mar 2018 03:52:19 +0000 (09:22 +0530)]
Merge pull request #20720 from ctrlaltdel/typo

doc: Fix typo s/applicatoin/application/

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #20535 from ifed01/wip-ifed-bring-fio
Kefu Chai [Tue, 6 Mar 2018 00:36:39 +0000 (08:36 +0800)]
Merge pull request #20535 from ifed01/wip-ifed-bring-fio

test/fio: enable objectstore FIO plugin building without the need to install and build FIO source code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20708 from majianpeng/bluefs-bug-fix
Kefu Chai [Tue, 6 Mar 2018 00:31:07 +0000 (08:31 +0800)]
Merge pull request #20708 from majianpeng/bluefs-bug-fix

os/bluestore: fix wrong usage for BlueFS::_allocate.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: fix wrong usage for BlueFS::_allocate. 20708/head
Jianpeng Ma [Mon, 5 Mar 2018 16:54:14 +0000 (00:54 +0800)]
os/bluestore: fix wrong usage for BlueFS::_allocate.

In fact, function _allocate is atomic function which don't
allocate less than want space.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoos/bluestore/BlueFS: cleanup code for more readable.
Jianpeng Ma [Fri, 2 Mar 2018 16:33:00 +0000 (00:33 +0800)]
os/bluestore/BlueFS: cleanup code for more readable.

And remove the useless judgement.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #20699 from yaozongyou/fix-potential-memory-leak
Kefu Chai [Tue, 6 Mar 2018 00:29:06 +0000 (08:29 +0800)]
Merge pull request #20699 from yaozongyou/fix-potential-memory-leak

common: fix potential memory leak in HTMLFormatter

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20701 from tchaikov/wip-23212
Kefu Chai [Tue, 6 Mar 2018 00:28:12 +0000 (08:28 +0800)]
Merge pull request #20701 from tchaikov/wip-23212

os/bluestore: recalc_allocated() when decoding bluefs_fnode_t

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20544 from liewegas/wip-min-kv
Kefu Chai [Tue, 6 Mar 2018 00:27:20 +0000 (08:27 +0800)]
Merge pull request #20544 from liewegas/wip-min-kv

os/bluestore: kv_max -> kv_min

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20713 from smithfarm/wip-spdk-python3
Kefu Chai [Tue, 6 Mar 2018 00:22:05 +0000 (08:22 +0800)]
Merge pull request #20713 from smithfarm/wip-spdk-python3

spdk: advance to upstream dc82989d

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20131 from jcsp/wip-doc-encoding
John Spray [Mon, 5 Mar 2018 22:33:34 +0000 (22:33 +0000)]
Merge pull request #20131 from jcsp/wip-doc-encoding

doc/dev: add a brief guide to serialization

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agobuild-doc: Upgrade ceph python libraries 20726/head
Boris Ranto [Mon, 5 Mar 2018 21:46:37 +0000 (22:46 +0100)]
build-doc: Upgrade ceph python libraries

If you have python ceph bindings installed on your system, the doc-build
script will fail since pip detects them and fails to install the updated
bindings in the virtualenv. This fixes the issue by adding --upgrade
flag to pip so that it overrides the system-installed libraries.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #20717 from b-ranto/wip-restful-doc
Boris Ranto [Mon, 5 Mar 2018 21:37:49 +0000 (22:37 +0100)]
Merge pull request #20717 from b-ranto/wip-restful-doc

doc: Improve mgr/restful module documentation

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20542 from liewegas/wip-bluefs-buffered-io
Yuri Weinstein [Mon, 5 Mar 2018 17:43:36 +0000 (09:43 -0800)]
Merge pull request #20542 from liewegas/wip-bluefs-buffered-io

common/options: bluefs_buffered_io=true by default

Reviewed-by: Mark Nelson <mnelson@redhat.com>
7 years agoMerge pull request #20721 from idryomov/wip-krbd-parent-overlap-test
Ilya Dryomov [Mon, 5 Mar 2018 17:39:35 +0000 (18:39 +0100)]
Merge pull request #20721 from idryomov/wip-krbd-parent-overlap-test

qa: krbd parent-overlap test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/fio: enable objectstore FIO plugin building without the need to install and... 20535/head
Igor Fedotov [Wed, 21 Feb 2018 12:03:23 +0000 (15:03 +0300)]
test/fio: enable objectstore FIO plugin building without the need to install and build FIO source code

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20695 from mikechristie/wip-doc-mnc-update-iscsi-kernel
Jason Dillaman [Mon, 5 Mar 2018 17:27:09 +0000 (12:27 -0500)]
Merge pull request #20695 from mikechristie/wip-doc-mnc-update-iscsi-kernel

doc: update iSCSI upstream kernel to 4.16

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20663 from tchaikov/wip-ceph.in-py3
John Spray [Mon, 5 Mar 2018 15:36:27 +0000 (15:36 +0000)]
Merge pull request #20663 from tchaikov/wip-ceph.in-py3

ceph.in: use a different variable for holding thrown exception

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoDoc: Fix typo s/applicatoin/application/ 20720/head
Francois Deppierraz [Mon, 5 Mar 2018 14:36:47 +0000 (15:36 +0100)]
Doc: Fix typo s/applicatoin/application/

Signed-off-by: Francois Deppierraz <francois@ctrlaltdel.ch>
7 years agoMerge pull request #20714 from idryomov/wip-krbd-msgr-segments-test
Ilya Dryomov [Mon, 5 Mar 2018 14:25:56 +0000 (15:25 +0100)]
Merge pull request #20714 from idryomov/wip-krbd-msgr-segments-test

qa: krbd msgr-segments test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoos/bluestore: recalc_allocated() when decoding bluefs_fnode_t 20701/head
Kefu Chai [Mon, 5 Mar 2018 03:32:48 +0000 (11:32 +0800)]
os/bluestore: recalc_allocated() when decoding bluefs_fnode_t

Fixes: http://tracker.ceph.com/issues/23212
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: Improve mgr/restful module documentation 20717/head
Boris Ranto [Mon, 5 Mar 2018 13:01:46 +0000 (14:01 +0100)]
doc: Improve mgr/restful module documentation

Fixes: https://tracker.ceph.com/issues/23219
Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoqa: krbd parent-overlap test 20721/head
Ilya Dryomov [Wed, 28 Feb 2018 10:36:40 +0000 (11:36 +0100)]
qa: krbd parent-overlap test

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agomgr/dashboard_v2: added script to run backend API tests locally 20103/head
Ricardo Dias [Thu, 1 Mar 2018 09:55:42 +0000 (09:55 +0000)]
mgr/dashboard_v2: added script to run backend API tests locally

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/suites/mgr/dashboard_v2: added suite yaml for testing dashboard_v2
Ricardo Dias [Wed, 28 Feb 2018 22:15:44 +0000 (22:15 +0000)]
qa/suites/mgr/dashboard_v2: added suite yaml for testing dashboard_v2

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard_v2: implementation of backend API tests
Ricardo Dias [Wed, 28 Feb 2018 22:14:35 +0000 (22:14 +0000)]
qa/tasks/mgr/dashboard_v2: implementation of backend API tests

We moved the dashboard_v2 test cases that required a real ceph cluster
to run into qa/tasks/mgr with the necessary adaptations.
These tests can now be run in teuthology using the cephfs_test_runner
task.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr: move test initialization to setUpClass method
Ricardo Dias [Wed, 28 Feb 2018 22:11:34 +0000 (22:11 +0000)]
qa/tasks/mgr: move test initialization to setUpClass method

With this change, we avoid the disabling/enabling of the ceph-mgr module
being tested for each test function declared in each test case. Now
the ceph-mgr module being tested is disabled/enabled only once for each
test case.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Added smoke test.
Sebastian Wagner [Thu, 1 Mar 2018 08:28:34 +0000 (09:28 +0100)]
mgr/dashboard_v2: Added smoke test.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Add mgr-dashboard_v2 frontend unittests to `ctest`
Sebastian Wagner [Wed, 28 Feb 2018 14:09:05 +0000 (15:09 +0100)]
mgr/dashboard_v2: Add mgr-dashboard_v2 frontend unittests to `ctest`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Add CMake target to build the frontend.
Sebastian Wagner [Wed, 28 Feb 2018 09:08:55 +0000 (10:08 +0100)]
mgr/dashboard_v2: Add CMake target to build the frontend.

* Added new CMake flag `WITH_MGR_DASHBOARD_V2_FRONTEND`:
  Build the mgr/dashboard_v2 frontend using `npm install && npm run build`

* Set this flag to `OFF` when building packages.

* Removed creation of the frontend from `vstart.sh`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Integrate dashboard_v2 into `make check`
Sebastian Wagner [Tue, 27 Feb 2018 14:46:31 +0000 (15:46 +0100)]
mgr/dashboard_v2: Integrate dashboard_v2 into `make check`

Also:

* Disabled API tests in tox.
* No longer start a vstart.sh cluster in tox.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Remove `Service` and `ServiceMeta` class
Patrick Nawracay [Tue, 27 Feb 2018 10:10:39 +0000 (11:10 +0100)]
mgr/dashboard_v2: Remove `Service` and `ServiceMeta` class

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard_v2: Remove `BaseControllerMeta` meta class
Patrick Nawracay [Thu, 22 Feb 2018 12:03:00 +0000 (13:03 +0100)]
mgr/dashboard_v2: Remove `BaseControllerMeta` meta class

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard_v2: use global manager instance instead of injection
Ricardo Dias [Mon, 26 Feb 2018 15:25:25 +0000 (15:25 +0000)]
mgr/dashboard_v2: use global manager instance instead of injection

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Fix OSD menu entry position
Stephan Müller [Mon, 26 Feb 2018 14:21:39 +0000 (15:21 +0100)]
mgr/dashboard_v2: Fix OSD menu entry position

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard_v2: Auto reload cd-table
Stephan Müller [Wed, 21 Feb 2018 13:09:00 +0000 (14:09 +0100)]
mgr/dashboard_v2: Auto reload cd-table

Now every used cd-table with a valid "fetch" function will auto reload
itself by default every 10 seconds. You can also identify the unique
property of the row now, by default the unique identifier is "id".

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard_v2: Fixed exception in rbd_mirroring
Sebastian Wagner [Fri, 23 Feb 2018 15:21:24 +0000 (16:21 +0100)]
mgr/dashboard_v2: Fixed exception in rbd_mirroring

Fixed issue when rbd-mirroring is enabled without any Pools.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Enable table header and footer on perfcounters
Lenz Grimmer [Fri, 23 Feb 2018 19:15:08 +0000 (20:15 +0100)]
mgr/dashboard_v2: Enable table header and footer on perfcounters

Enable the ability to filter and paginate the performance counter tables
to make it easier to find specific information quickly.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agomgr/dashboard_v2: Add support for $PREFIX config
Ricardo Marques [Fri, 23 Feb 2018 16:09:29 +0000 (16:09 +0000)]
mgr/dashboard_v2: Add support for $PREFIX config

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Add links on dashboard
Ricardo Marques [Mon, 19 Feb 2018 14:37:48 +0000 (14:37 +0000)]
mgr/dashboard_v2: Add links on dashboard

User will be able to navigate from dashboard to "Monitor" and "OSDs" pages

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: enable rbd-mirror perf counters
Tiago Melo [Fri, 23 Feb 2018 15:35:48 +0000 (15:35 +0000)]
mgr/dashboard_v2: enable rbd-mirror perf counters

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: Updated reference documentation
Lenz Grimmer [Fri, 23 Feb 2018 15:28:09 +0000 (16:28 +0100)]
mgr/dashboard_v2: Updated reference documentation

Updated the dashboard chapter in the manual to reflect the
changes introduced by Dashboard v2 (e.g. username/password).

Updated description to include a high-level overview of the features
available.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agomgr/dashboard_v2: Adapt status datatable to default design of cd-table
Volker Theile [Fri, 23 Feb 2018 13:47:38 +0000 (14:47 +0100)]
mgr/dashboard_v2: Adapt status datatable to default design of cd-table

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: add mirroring page
Tiago Melo [Mon, 19 Feb 2018 10:16:03 +0000 (10:16 +0000)]
mgr/dashboard_v2: add mirroring page

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: Add rbd_mirroring to `/api/summary`
Sebastian Wagner [Fri, 23 Feb 2018 11:40:17 +0000 (12:40 +0100)]
mgr/dashboard_v2: Add rbd_mirroring to `/api/summary`

Also:

* Made `get_daemons_and_pools` a function independant of `RbdMirroring`.
* Added tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: OSD pages
Stephan Müller [Fri, 26 Jan 2018 09:18:48 +0000 (10:18 +0100)]
mgr/dashboard_v2: OSD pages

You can now list all osds and see details for each OSD.
The details can be viewed in tabs. You can view attributes, meta data
and histogram of the selected OSD.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard_v2: Fix datatable header layout in configuration doc
Volker Theile [Fri, 23 Feb 2018 11:25:59 +0000 (12:25 +0100)]
mgr/dashboard_v2: Fix datatable header layout in configuration doc

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: Move `dashboard/toplevel` to a new controller
Sebastian Wagner [Thu, 22 Feb 2018 13:52:08 +0000 (14:52 +0100)]
mgr/dashboard_v2: Move `dashboard/toplevel` to a new controller

Details:

* Moved `/dashboard/toplevel` API endpoint to `/summary`.
* Moved testcase to `tests/test_summary.py`.
* Also renamed service in the frontend.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Add RBD mirroring functionality
Tatjana Dehler [Mon, 19 Feb 2018 09:16:32 +0000 (10:16 +0100)]
mgr/dashboard_v2: Add RBD mirroring functionality

This commit adds the RBD mirroring functionality of the first dashboard to
the dashboard_v2 REST API. That's why the code is basically based on the
code of the first dashboard. It was just brought into a different structure
to fit into the structure of dashboard_v2.

The new API endpoint can be found at http://<host>:<port>/api/rbdmirror

The commit adds also related tests.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
7 years agomgr/dashboard_v2: add ceph configuration documentation page
Tiago Melo [Fri, 16 Feb 2018 17:17:20 +0000 (17:17 +0000)]
mgr/dashboard_v2: add ceph configuration documentation page

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: updated .gitignore
Ricardo Dias [Wed, 14 Feb 2018 16:43:08 +0000 (16:43 +0000)]
mgr/dashboard_v2: updated .gitignore

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoinstall-deps: install dashboard_v2 development dependencies
Ricardo Dias [Wed, 14 Feb 2018 15:53:47 +0000 (15:53 +0000)]
install-deps: install dashboard_v2 development dependencies

Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Kai Wagner <kwagner@suse.com>
7 years agodebian/control: add dashboard_v2 development dependencies
Ricardo Dias [Thu, 1 Mar 2018 09:01:47 +0000 (09:01 +0000)]
debian/control: add dashboard_v2 development dependencies

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoceph.spec: added dashboard_v2 development and runtime dependencies
Ricardo Dias [Wed, 14 Feb 2018 15:51:20 +0000 (15:51 +0000)]
ceph.spec: added dashboard_v2 development and runtime dependencies

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: fix tox.ini to handle the vstart changes
Ricardo Dias [Tue, 13 Feb 2018 14:11:27 +0000 (14:11 +0000)]
mgr/dashboard_v2: fix tox.ini to handle the vstart changes

vstart.sh script now enables and configures dashboard_v2 module, so
tox.ini script needs to handle that.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agovstart: mgr/dashboard_v2 enabling and configuration
Ricardo Dias [Tue, 13 Feb 2018 14:10:43 +0000 (14:10 +0000)]
vstart: mgr/dashboard_v2 enabling and configuration

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomake-dist: Added dashboard_v2 frontend build files to dist tarball
Ricardo Dias [Tue, 13 Feb 2018 14:03:05 +0000 (14:03 +0000)]
make-dist: Added dashboard_v2 frontend build files to dist tarball

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Fix hosts columns width
Ricardo Marques [Wed, 21 Feb 2018 12:17:25 +0000 (12:17 +0000)]
mgr/dashboard_v2: Fix hosts columns width

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Add missing 'aria-current' attribute to active breadcrumbs.
Volker Theile [Thu, 22 Feb 2018 08:54:07 +0000 (09:54 +0100)]
mgr/dashboard_v2: Add missing 'aria-current' attribute to active breadcrumbs.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: Add missing i18n attributes
Volker Theile [Wed, 21 Feb 2018 13:52:31 +0000 (14:52 +0100)]
mgr/dashboard_v2: Add missing i18n attributes

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: get rgw service list using CephService
Ricardo Dias [Wed, 21 Feb 2018 16:09:46 +0000 (16:09 +0000)]
mgr/dashboard_v2: get rgw service list using CephService

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: get tcmu_runner service list using CephService
Ricardo Dias [Wed, 21 Feb 2018 16:08:56 +0000 (16:08 +0000)]
mgr/dashboard_v2: get tcmu_runner service list using CephService

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: get rbd pool list using CephService
Ricardo Dias [Wed, 21 Feb 2018 16:07:57 +0000 (16:07 +0000)]
mgr/dashboard_v2: get rbd pool list using CephService

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: added CephService service class
Ricardo Dias [Wed, 21 Feb 2018 16:06:26 +0000 (16:06 +0000)]
mgr/dashboard_v2: added CephService service class

This class provides methods to get the list of services registered in
the cluster, and also to get the list of pools by application type.

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Service class base code
Ricardo Dias [Wed, 21 Feb 2018 16:05:40 +0000 (16:05 +0000)]
mgr/dashboard_v2: Service class base code

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard_v2: Data transform in k/v table
Stephan Müller [Fri, 16 Feb 2018 16:26:44 +0000 (17:26 +0100)]
mgr/dashboard_v2: Data transform in k/v table

The key value table can transform the input data into key value objects
now, you don't have to care about that anymore.

Also the first column of the data used in cd-table will be sorted if
not set manual through the "sorts" array.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard_v2: Also protect `/api`
Sebastian Wagner [Wed, 21 Feb 2018 14:46:40 +0000 (15:46 +0100)]
mgr/dashboard_v2: Also protect `/api`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Fixed capitalization on login page
Lenz Grimmer [Wed, 21 Feb 2018 10:52:07 +0000 (11:52 +0100)]
mgr/dashboard_v2: Fixed capitalization on login page

Changed "ceph" to "Ceph" in the welcome message.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agomgr/dashboard_v2: Improve empty row style
Ricardo Marques [Wed, 21 Feb 2018 10:46:28 +0000 (10:46 +0000)]
mgr/dashboard_v2: Improve empty row style

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Reorder menu entries
Ricardo Marques [Wed, 21 Feb 2018 10:14:49 +0000 (10:14 +0000)]
mgr/dashboard_v2: Reorder menu entries

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Add footer and header to hosts table
Ricardo Marques [Tue, 20 Feb 2018 16:56:56 +0000 (16:56 +0000)]
mgr/dashboard_v2: Add footer and header to hosts table

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Auto refresh hosts
Ricardo Marques [Tue, 20 Feb 2018 10:37:52 +0000 (10:37 +0000)]
mgr/dashboard_v2: Auto refresh hosts

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Prevent double click on table refresh
Ricardo Marques [Tue, 20 Feb 2018 16:46:23 +0000 (16:46 +0000)]
mgr/dashboard_v2: Prevent double click on table refresh

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Migrate cluster configuration
Patrick Nawracay [Mon, 19 Feb 2018 11:50:11 +0000 (12:50 +0100)]
mgr/dashboard_v2: Migrate cluster configuration

This commit adds the ability to retrieve and filter the cluster
configuration of Ceph through the RESTful API.

Parameters `level` and `service` can be added to filter the list.

Example:

    http://<host>:<port>/api/cluster_conf?level=basic&service=mds

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard_v2: Add iSCSI page
Ricardo Marques [Fri, 16 Feb 2018 11:48:20 +0000 (11:48 +0000)]
mgr/dashboard_v2: Add iSCSI page

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: Use monospace font on logs
Ricardo Marques [Mon, 19 Feb 2018 14:48:07 +0000 (14:48 +0000)]
mgr/dashboard_v2: Use monospace font on logs

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard_v2: add filesystem page
Tiago Melo [Thu, 15 Feb 2018 18:40:01 +0000 (18:40 +0000)]
mgr/dashboard_v2: add filesystem page

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: Datatable related code improvements
Volker Theile [Thu, 15 Feb 2018 10:16:11 +0000 (11:16 +0100)]
mgr/dashboard_v2: Datatable related code improvements

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: Add port to `ControllerTestCase.__init__`
Sebastian Wagner [Tue, 13 Feb 2018 16:26:27 +0000 (17:26 +0100)]
mgr/dashboard_v2: Add port to `ControllerTestCase.__init__`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Added tcmu iSCSI controller.
Sebastian Wagner [Tue, 13 Feb 2018 16:22:26 +0000 (17:22 +0100)]
mgr/dashboard_v2: Added tcmu iSCSI controller.

* Based on `mgr/dashboard/rbd_iscsi.py`.
* Fixed Python3 compatibility issues.
* Added test.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Add bin dir to PATH
Sebastian Wagner [Tue, 13 Feb 2018 16:24:04 +0000 (17:24 +0100)]
mgr/dashboard_v2: Add  bin dir to PATH

Add `<repo>/build/bin` to `PATH` when running unit tests.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: Create links to perf counters
Volker Theile [Thu, 15 Feb 2018 16:14:56 +0000 (17:14 +0100)]
mgr/dashboard_v2: Create links to perf counters

- Display links to the services in the Hosts data table
- Add missing MDS performance counter backend

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard_v2: add 404 page
Tiago Melo [Fri, 9 Feb 2018 19:49:55 +0000 (19:49 +0000)]
mgr/dashboard_v2: add 404 page

Add a 404 page that will be triggered every time the user tries to
access a route that does not exists or the servers responds with 404.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: Renamed `block_pool` controller to `rbd`
Sebastian Wagner [Thu, 15 Feb 2018 14:51:53 +0000 (15:51 +0100)]
mgr/dashboard_v2: Renamed `block_pool` controller to `rbd`

* Simplified the API
* Fixed and improved the rbd controller tests.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agomgr/dashboard_v2: add monitors page
Tiago Melo [Wed, 14 Feb 2018 16:05:56 +0000 (16:05 +0000)]
mgr/dashboard_v2: add monitors page

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: add router link table template
Tiago Melo [Wed, 14 Feb 2018 16:28:32 +0000 (16:28 +0000)]
mgr/dashboard_v2: add router link table template

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: add sparkline component
Tiago Melo [Wed, 14 Feb 2018 15:53:58 +0000 (15:53 +0000)]
mgr/dashboard_v2: add sparkline component

This also adds a template in the table component.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: move datatable module
Tiago Melo [Wed, 14 Feb 2018 15:49:39 +0000 (15:49 +0000)]
mgr/dashboard_v2: move datatable module

By moving the datatable module outside of the  components module we
can avoid a circular dependency between the datatable and sparkline
component.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: add performance counter page
Tiago Melo [Wed, 14 Feb 2018 15:13:35 +0000 (15:13 +0000)]
mgr/dashboard_v2: add performance counter page

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard_v2: Migrate standby module
Patrick Nawracay [Wed, 14 Feb 2018 09:14:35 +0000 (10:14 +0100)]
mgr/dashboard_v2: Migrate standby module

This commit will add a StandbyModule class to enable redirects from any
inactive MGR instance to the active MGR instance.

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard_v2: Updated README.rst, added HACKING.rst
Lenz Grimmer [Thu, 15 Feb 2018 11:28:41 +0000 (12:28 +0100)]
mgr/dashboard_v2: Updated README.rst, added HACKING.rst

Moved developer-related documentation from `README.rst` to a
new file `HACKING.rst`.

Converted `frontend/README.md` to ReST and merged it into `HACKING.rst`.

Added updates to the README provided by @rjfd in PR#83
(updated the whole unit tests content to match the latest changes
on unit test execution, updated the development notes about
controller development)

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>