Ricardo Dias
5ec7d35157
mgr/dashboard_v2: Unit tests refactoring
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:01 +00:00
Ricardo Marques
acd7b6f5a7
mgr/dashboard_v2: Rename angular components prefix
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-05 13:07:01 +00:00
Ricardo Marques
54b00a99e9
mgr/dashboard_v2: Add frontend login/logout
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-05 13:07:01 +00:00
Ricardo Dias
4fd405e8d7
mgr/dashboard_v2: Combine coverage and tests results from py27 and py3
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:00 +00:00
Ricardo Dias
694a3052af
mgr/dashboard_v2: Fix pylint executor and warnings/errors
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:00 +00:00
Ricardo Dias
17ac1cd6f1
mgr/dashboard_v2: Refactoring of unit tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:00 +00:00
Sebastian Wagner
85344da61c
mgr/dashboard_v2: Added RESTController test case
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-05 13:07:00 +00:00
Tiago Melo
1f21d68f1b
mgr/dashboard_v2: add initial frontend code
...
This contains the angular boilerplate, some initial structure and the navigation component.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-05 13:07:00 +00:00
Ricardo Dias
b37a3b60b5
mgr/dashboard_v2: Renamed/moved RESTResource to RESTController
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:00 +00:00
Ricardo Dias
1021615bd5
mgr/dashboard_v2: Added developer notes to README
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:00 +00:00
Ricardo Dias
ec57819386
mgr/dashboard_v2: Very simple ping example
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:59 +00:00
Ricardo Dias
1333d3d63e
mgr/dashboard_v2: auth module refactoring
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:59 +00:00
Ricardo Dias
d418853a87
mgr/dashboard_v2: pass json body keys as args to REST resource methods
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:59 +00:00
Volker Theile
7d42d042ec
mgr/dashboard_v2: Ignore the __pycache__ directory.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-05 13:06:59 +00:00
Sebastian Wagner
005105023a
mgr/dashboard_v2: use float values when checking session expire time
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-05 13:06:59 +00:00
Sebastian Wagner
82faee01bc
mgr/dashboard_v2: Added test_restresource.py
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-05 13:06:59 +00:00
Volker Theile
654c35e3b0
mgr/dashboard_v2: Log script_name on unauthorized access
...
This commit also replaces double quotes with single quotes.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-05 13:06:59 +00:00
Lenz Grimmer
01eeb84996
mgr/dashboard_v2: Updated README
...
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-03-05 13:06:59 +00:00
Ricardo Dias
48e3df1bcb
mgr/dashboard_v2: Fix python 2/3 compability problems
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:58 +00:00
Ricardo Dias
bb352847a8
mgr/dashboard_v2: added tox conf file to run unit tests and linting
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:58 +00:00
Sebastian Wagner
59eb1490d8
mgr/dashboard_v2: Added RESTResource
Python class.
...
This is the base class for providing a RESTful interface to a resource.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-05 13:06:58 +00:00
Ricardo Dias
c72c01ea1a
mgr/dashboard_v2: Added pylint support and fixed linting errors
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:58 +00:00
Ricardo Marques
61a91392cf
mgr/dashboard_v2: Auth API
...
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-05 13:06:58 +00:00
Volker Theile
4adc9ecca8
mgr/dashboard_v2: Create proper text editor config files to maintain consistent coding styles.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-05 13:06:58 +00:00
Volker Theile
0281b2cb88
mgr/dashboard_v2: Add command to create/update username/password.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-05 13:06:58 +00:00
Ricardo Dias
001201cbe1
mgr/dashboard_v2: Fix cherrypy shutdown handler
...
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>
2018-03-05 13:06:58 +00:00
Ricardo Dias
7002f80fe0
mgr/dashboard_v2: updated READMED with unit testing info
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:57 +00:00
Ricardo Dias
5eda0e1670
mgr/dashboard_v2: added first unit test example
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:57 +00:00
Ricardo Dias
46c7ae0d3b
mgr/dashboard_v2: ceph_module mock to support unit testing
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:06:57 +00:00
Volker Theile
c0bba2610f
mgr/dashboard_v2: Make host and port configurable.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-05 13:06:57 +00:00
Lenz Grimmer
63c778b76f
mgr/dashboard_v2: Initial commit of the dashboard_v2 Manager module
...
Create the directory and basic module initialization.
Add a minimal `README.rst`
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-03-05 13:06:57 +00:00
Alfredo Deza
1407747568
ceph-volume tests alleviate libvirt timeouts when reloading
...
See vagrant-libvirt comment:
https://github.com/vagrant-libvirt/vagrant-libvirt/issues/510#issuecomment-195326272
And ceph-ansible commit:
eae6ad6d40
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-05 07:58:42 -05:00
Jos Collin
afe657c2fe
doc: Drop the output of pg query
...
Drop the output of pg query from the doc, as it is:
* Very old. The doc has only one-fourth of the latest 'pg query' output.
* Updating the latest 'pg query' output in the doc would be huge.
* too difficult to maintain it in the doc and make it sync with the changes of the actual 'pg query' output.
However, we can insert parts of the output in the doc if necessary.
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-05 18:16:43 +05:30
Nathan Cutler
95b0880d7f
spdk: advance to upstream dc82989dd2747db0384cafb3b310f2e8792d5c24
...
This fixes a py2/3-related build issue in SPDK.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-05 12:09:45 +01:00
Ilya Dryomov
392fab6919
qa: krbd msgr-segments test
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-05 11:51:08 +01:00
Kefu Chai
1178d05fe2
Merge pull request #20687 from Songweibin/wip-misc-cleanup
...
mon,osd,crush: misc cleanup
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-05 17:57:52 +08:00
Kefu Chai
a5103b6cad
Merge pull request #20485 from jcsp/wip-23017
...
mgr: quieten logging on missing OSD stats
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-05 17:56:18 +08:00
Yao Zongyou
5b3eee1023
common: fix potential memory leak in HTMLFormatter
...
If HTMLFormatter::set_status called twice, memory will leaked,
so fix it.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2018-03-05 10:57:38 +08:00
Sage Weil
5980993f4b
Merge pull request #20573 from liewegas/wip-mgr-ovh
...
qa/suites/rados/rest/mgr: provision openstack volumes
2018-03-04 15:44:21 -06:00
Sage Weil
056d02b064
global/global_init: close stdout in postfork_finish, not start
...
During the interval where we have done our prefork but not actually
detached from the parent to daemonize, we may still want to send output
to stdout.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:55 -06:00
Sage Weil
a350c8032a
rbd-nbd: fix postfork_{start,finish} callers
...
_start is called right after the prefork(). _finish is called when we
do the logical daemonize() and say goodbye to the parent.
Fixes: http://tracker.ceph.com/issues/23143
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:55 -06:00
Sage Weil
50941e24e2
ceph-mds: use preforker
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Sage Weil
c183037c7e
ceph-mds: do not dump usage on error
...
It's rude.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Sage Weil
d55a66c56e
ceph-osd: use preforker
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Sage Weil
85f6873e04
msg/async: do not make Stack a fork watcher
...
Instead of doing a stop/start on fork, shut down entirely pre-fork. This
is a cleaner solution for the cases where e.g. the parent does not need
to restart the msgr at all (this is usually the case!) but does need
to call psotfork_start in order to restart log thread (which is assumed
to be running when the parent's cct is destroyed).
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Sage Weil
2e47633ffa
common/ceph_context: mark some singletones as drop-on-fork
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Sage Weil
f3862d8849
log: allow stop() when not started
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-04 15:31:54 -06:00
Ilya Dryomov
1ea80cf693
Merge pull request #20692 from idryomov/wip-krbd-huge-image-test
...
qa: krbd huge-image test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-03 13:18:33 +01:00
Mike Christie
8ec0ab5958
doc: update iSCSI upstream kernel to 4.16
...
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-03-02 16:05:54 -06:00
Ilya Dryomov
6828641e72
qa: krbd huge-image test
...
We've had multiple overflows in ceph_calc_file_object_mapping().
It wasn't being used by rbd, but it now is.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-02 19:41:11 +01:00