Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] mgr/dashboard_v2: Add RGW user and bucket lists (read-only) #146

Closed
wants to merge 164 commits into from
Closed

[WIP] mgr/dashboard_v2: Add RGW user and bucket lists (read-only) #146

wants to merge 164 commits into from

Conversation

votdev
Copy link
Member

@votdev votdev commented Feb 27, 2018

This PR will add the read-only user and bucket pages.

!!! DO NOT MERGE before the RGW proxy backend has been implemented. !!!

fireshot capture 11 - ceph - http___localhost_4200_ _rgw_users

fireshot capture 10 - ceph - http___localhost_4200_ _rgw_users

fireshot capture 9 - ceph - http___localhost_4200_ _rgw_buckets

Signed-off-by: Volker Theile vtheile@suse.com

LenzGr and others added 23 commits March 1, 2018 11:55
Create the directory and basic module initialization.

Add a minimal `README.rst`

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
This patch prevents cherrypy from crashing the mgr process when some
exception is thrown when shutting down cherrypy.

Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
…consistent coding styles.

Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
This is the base class for providing a RESTful interface to a resource.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
This commit also replaces double quotes with single quotes.

Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
sebastian-philipp and others added 9 commits March 2, 2018 08:35
Also:

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

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
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>
Signed-off-by: Tiago Melo <tmelo@suse.com>
User will be able to navigate from dashboard to "Monitor" and "OSDs" pages

Signed-off-by: Ricardo Marques <rimarques@suse.com>
Signed-off-by: Ricardo Marques <rimarques@suse.com>
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>
Fixed issue when rbd-mirroring is enabled without any Pools.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Stephan Müller and others added 13 commits March 2, 2018 13:55
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>
Signed-off-by: Stephan Müller <smueller@suse.com>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Also:

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

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
* 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>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
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>
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>
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Volker Theile <vtheile@suse.com>
@rjfd rjfd force-pushed the wip-mgr-dashboard_v2 branch 2 times, most recently from 8eab5a2 to 5449857 Compare March 5, 2018 21:58
@votdev
Copy link
Member Author

votdev commented Mar 13, 2018

This PR has been relocated to ceph#20869.

@votdev votdev closed this Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants