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
Ilya Dryomov
b5c51bd9c5
qa/suites/krbd: rename blkroset to basic
...
More simple fixed-1.yaml based tests are coming.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-02 18:26:38 +01:00
vasukulkarni
8e8c5e2a38
Merge pull request #20680 from cbodley/wip-qa-dnsmasq
...
qa: clean up dnsmasq task and fix EPERM error
2018-03-02 08:47:40 -08:00
Yuri Weinstein
5f6ab4667a
Merge pull request #19252 from joke-lee/website_redirect
...
rgw: fix s3 website redirection error
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-02 08:22:03 -08:00
Yuri Weinstein
9ed013a82f
Merge pull request #20635 from mdw-at-linuxbox/wip-master-rgw-openssl
...
rgw: curl* reuse and for debian, use openssl not gnutls.
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-03-02 08:21:22 -08:00
Alfredo Deza
cf65a91acf
Merge pull request #20673 from ceph/wip-rm23148
...
docs fix ceph-volume missing sub-commands
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-02 09:49:30 -05:00
Jos Collin
eb290eebbd
doc: Update Monitoring OSDs and PGs
...
Updated 'Monitoring OSDs and PGs' doc with:
* Latest command output
* misc doc fixes
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-02 18:31:32 +05:30
songweibin
ad60da940d
crush: should break the loop if leaves overfull
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-02 15:54:06 +08:00
songweibin
0bfafc2db0
osd: drop redundant assert check
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-02 15:39:48 +08:00
Xie Xingguo
01fc18c447
Merge pull request #20684 from liewegas/wip-bluestore-cache-debug
...
os/bluestore: no trim debug noise if there is no trimming to be done
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-02 10:57:57 +08:00
Sage Weil
4cdadddffb
os/bluestore: no trim debug noise if there is no trimming to be done
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-01 20:33:24 -06:00
Kefu Chai
7c1ab086da
Merge pull request #20637 from wjwithagen/wjw-fix-MDSmonitor.h
...
mon/MDSMonitor: fix clang build failure
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-02 10:20:54 +08:00
Kefu Chai
b60659564f
Merge pull request #20671 from batrick/rados-doc-flags
...
doc: init flags to 0 in rados example
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-02 09:19:54 +08:00
Kefu Chai
1b5c937509
Merge pull request #20653 from xiexingguo/wip-fix-upmap
...
mon, osd: fix potential collided *Up Set* after PG remapping
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-02 09:01:06 +08:00
Kefu Chai
759e5f5a9b
Merge pull request #20655 from xiexingguo/wip-fix-calc-upmap
...
osd/OSDMap: skip out/crush-out osds
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-02 08:59:49 +08:00
Kefu Chai
ca2fd5abb8
Merge pull request #20506 from jan--f/prometheus-rm-outdated-daemon-metrics
...
pybind/mgr/prometheus: don't export metrics for dead daemon; new metrics
Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-02 08:57:42 +08:00
Kefu Chai
8e272b2549
Merge pull request #20667 from tchaikov/wip-qa-standalone
...
qa/standalone: s/delete_erasure_pool/delete_erasure_coded_pool/
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-03-02 08:56:11 +08:00
Casey Bodley
11570fab73
qa: clean up dnsmasq task and fix EPERM error
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-01 15:55:57 -05:00
Jason Dillaman
aed3a1db9d
Merge pull request #20648 from trociny/wip-snap_set_diff-empty_snapset
...
librados/snap_set_diff: don't assert on empty snapset
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:40 -05:00