Patrick Nawracay
0f0de0ce2a
mgr/dashboard: Add type hints to QA helper
...
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-10-08 10:42:14 +02:00
Ricardo Marques
731dcefbeb
mgr/dashboard: Check content-type before decode json response
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-10-01 11:47:38 +01:00
Patrick Nawracay
8daffe86a6
mgr/dashboard: Fix for some dashboard timing issues
...
Specifically fixes the recurringly occurring `test_osd.py` error on the
`test_scrub` method. But this change should also prevent other issues of
the same kind. Issues of "same kind" are issues which occurr due to
tests which do not immediately result in a clean cluster status and
aren't manually programmed to wait for it.
Fixes: http://tracker.ceph.com/issues/36107
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-09-21 16:01:24 +02:00
Ricardo Dias
47a50eeba5
Merge pull request #21881 from sebastian-philipp/dashboard-pool-patch
...
mgr/dashboard: Add Pool update endpoint
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-08-01 10:00:10 +01:00
Ricardo Marques
c4a1fe6b3b
mgr/dashboard: Add asserError helper method
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 16:16:50 +01:00
Sebastian Wagner
80106bcbc0
mgr/dashboard: Add Pool update endpoint
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-07-24 16:20:04 +02:00
Ricardo Dias
01a1a1ff84
qa/tasks/mgr/dashboard: Adapted tests to work with new authentication system
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-06-26 12:28:54 +01:00
Sebastian Wagner
3a34bae0fe
mgr/dashboard: Applied Exception handling to RBDs
...
* DashboardTestCase: Removed waiter-thread
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:46:47 +02:00
Sebastian Wagner
a49f39f60e
mgr/dashboard: Change to Status Code 400 by default.
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:39:51 +02:00
John Spray
b7a5da8bf0
qa: update dashboard tests for https://
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-27 09:58:47 -04:00
Ricardo Dias
fb41b943e0
qa/tasks/mgr/dashboard: rbd: use JSON schema validator
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:50 +01:00
Ricardo Dias
3e0e883e4d
qa/tasks/mgr/dashboard: rbd: snapshot rollback test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
386a7b53f2
mgr/dashboard: taskmanager: support exception handler
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
e11ae2355e
mgr/dashboard: rbd: major refactoring for using the Task decorator
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
1e854da1cc
qa/tasks/mgr/dashboard: rbd: image edit tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:48 +01:00
Ricardo Dias
8264e93458
qa/tasks/mgr/dashboard: rbd: image deletion test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:47 +01:00
Ricardo Dias
3ab7612d97
qa/tasks/mgr/dashboard: rbd: asynchronous image create test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:46 +01:00
Ricardo Dias
77c676ca6f
qa/tasks/mgr/dashboard: rbd: new image list format
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:46 +01:00
Patrick Nawracay
e4a0b12abf
mgr/dashboard: Implement RGW proxy
...
This implementation is basically a Rados Gateway reverse proxy. It
additionally takes care of the authentication to the Rados Gateway, but to use
it you will have to be authenticated against the dashboards RESTful API.
The corresponding credentials can be configured using the following commands:
dashboard set-rgw-api-secret-key <secret-key>
dashboard set-rgw-api-access-key <access-key>
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-04-11 12:26:42 +02:00
Sebastian Wagner
012be1dc86
qa/tasks/mgr/dashboard: Imroved JSON validation
...
Refactored `OsdTest` to make use of `self.assertSchema()`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-04-09 16:42:33 +02:00
Ricardo Dias
a392e612cc
Merge pull request #21007 from rjfd/wip-dashboard-fix-py3
...
mgr/dashboard: fix dashboard python 3 support
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 10:59:17 +01:00
Sebastian Wagner
dd18675e4f
mgr/dashboard: Minor tweak to DashboardTestCase._request
...
Don't fall through silently.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Ricardo Dias
25c75a952d
mgr/dashboard: fix dashboard python 3 support
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 15:56:20 +00:00
Ricardo Dias
aa205a6731
mgr/dashboard: renamed dashboard_v2 to dashboard
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-16 07:23:08 +00:00