Commit Graph

84453 Commits

Author SHA1 Message Date
Alfredo Deza
b1920d6e73 ceph-volume lvm.activate error if no bluestore OSDs are found
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:37 -04:00
Alfredo Deza
d6524297ac ceph-volume tests/functional add 'activate all' for xenial/filestore/dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:37 -04:00
Alfredo Deza
452081e57e ceph-volume tests/functional add 'activate all' for xenial/bluestore/dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:37 -04:00
Alfredo Deza
5513f4de4e ceph-volume tests/functional add 'activate all' for centos7/filestore/dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:36 -04:00
Alfredo Deza
16421c9058 ceph-volume tests/functional add 'activate all' for centos7/bluestore/dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:36 -04:00
Alfredo Deza
ef09f3996b ceph-volume tests/functional add 'activate all' in filestore playbook
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:36 -04:00
Alfredo Deza
797518a546 ceph-volume tests/functional add 'activate all' in bluestore playbook
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 17:25:07 -04:00
Alfredo Deza
2d8f48983d ceph-volume tests ensure activate all behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:40 -04:00
Alfredo Deza
967938a0cf ceph-volume lvm.activate warn when no osds are found with --all
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:40 -04:00
Alfredo Deza
6975e221d9 ceph-volume tests add process.call unit tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:40 -04:00
Alfredo Deza
fb0008ea8b ceph-volume lvm.activate add 'activate all' functionality
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:40 -04:00
Alfredo Deza
50c9d5331b ceph-volume process.call add conditional verbosity on failure
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:39 -04:00
Alfredo Deza
2e8249f9e2 ceph-volume systemd.systemctl add helpers for daemon status
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:39 -04:00
Alfredo Deza
cee7612ce4 ceph-volume lvm.listing create a helper that lists osds
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:39 -04:00
Alfredo Deza
4f305eb661 ceph-volume lvv.activate allo to configure the CLI with --all
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-29 15:12:39 -04:00
Alfredo Deza
b2fc3fac30
Merge pull request #21070 from ceph/wip-cv-vagrant-reload
ceph-volume improve robustness when reloading vms in tests

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-27 13:31:55 -04:00
John Spray
c7049c103a
Merge pull request #20494 from wido/influx-time-fixes
mgr/influx: Various time fixes

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-27 17:45:19 +01:00
Kefu Chai
625faf00bd
Merge pull request #21063 from guzhongyan/bs-cleanup
os/bluestore: remove unused variable.

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2018-03-28 00:31:25 +08:00
Kefu Chai
5b5638ebef
Merge pull request #21043 from wido/zabbix-osd-numpgs
mgr/zabbix: Send max, min and avg PGs of OSDs to Zabbix

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-27 22:59:22 +08:00
Kefu Chai
c9903b5b9c
Merge pull request #21037 from guzhongyan/bf-format
os/bluestore: fix some code formatting

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-03-27 22:56:57 +08:00
Kefu Chai
7b20a15020
Merge pull request #20951 from tchaikov/wip-FTBFS-bluestore-armhf
bluestore: fix build on armhf

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-27 22:55:41 +08:00
Kefu Chai
648a3111a0
Merge pull request #21034 from rzarzynski/wip-bs-reorder-bluefs_extent_t
os/bluestore: reorder members of bluefs_extent_t for space efficiency

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-27 22:54:59 +08:00
Kefu Chai
f2545d2b84
Merge pull request #20900 from ifed01/wip-ifed-fix-interals-in-repair
os/bluestore: bluestore repair should use interval_set::union_insert

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-27 22:53:54 +08:00
Kefu Chai
fc86c2b76f
Merge pull request #20774 from rishabh-d-dave/fix-tilde-expansion
config: expand tilde for ~/.ceph/$cluster.conf

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-27 22:44:33 +08:00
Kefu Chai
a1f204edf5
Merge pull request #20558 from chardan/jfw-wip-show_compression_methods-22420
osd,compressor: Expose compression algorithms via MOSDBoot.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-27 22:43:23 +08:00
Kefu Chai
81b00f58e0
Merge pull request #20314 from ovh/bp-librados-nntk
librados: extend C API for so it accepts keys with NUL chars

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-27 22:41:04 +08:00
Alfredo Deza
3be723d4d9 ceph-volume tests create a retry script for vagrant reload
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-27 10:16:28 -04:00
Alfredo Deza
b1b9c7a416 ceph-volume tests use a reload script in simple functional tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-27 09:49:52 -04:00
Alfredo Deza
a54f503786 ceph-volume tests use a reload script in lvm functional tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-27 09:49:36 -04:00
Gu Zhongyan
38ee40c5f4 os/bluestore: remove unused variable.
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-03-27 19:00:47 +08:00
Ricardo Dias
b4a7955034
Merge pull request #21005 from rjfd/wip-mgr-fix-error-handling
mgr: fixes python error handling

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2018-03-27 11:32:06 +01:00
Lenz Grimmer
d5e54fda5c
Merge pull request #21024 from s0nea/wip-dashboard-return-features-list
mgr/dashboard: Convert the RBD feature names to a list of strings

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-27 11:45:54 +02:00
Lenz Grimmer
914faf2c1e
Merge pull request #21004 from s0nea/wip-dashboard-skip-datapool-testcase
mgr/dashboard: skip data pool testcase for none-bluestore clusters

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-27 11:43:18 +02:00
Lenz Grimmer
43e5097c2f
Merge pull request #20873 from sebastian-philipp/dashboard_v2-simple-html-debug
mgr/dashboard: Add minimalistic browsable API

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-27 11:31:07 +02:00
Ricardo Dias
c9e5d782d5
Merge pull request #21047 from rjfd/wip-mgr-smart-fix-py3
mgr/smart: fix python3 module loading

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-03-27 10:06:14 +01:00
Casey Bodley
6b59fbfcc6
Merge pull request #21027 from cbodley/wip-qa-swift-force-branch
qa/tasks/swift: add support for the "force-branch" configurable.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-03-26 14:27:46 -04:00
Sebastian Wagner
7a7a17caa9 mgr/dashboard: New API tests for perf_couters
Added OSD and MDS tests.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 17:16:41 +02:00
Sebastian Wagner
80b6ce804f mgr/dashboard: Add minimalistic browsable API
Also provides a simple HTML form to POST
data to a `RESTController`'s `create()` method.

Also added ENABLE_BROWSABLE_API setting to the dashboard

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 17:16:37 +02:00
Sebastian Wagner
f959709f39 mgr/dashboard: Renamed types as it clashes with std lib
This will lead to a name clash, when importing `types`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 17:16:16 +02:00
Ricardo Dias
d91a620ab3
mgr/smart: fix python3 module loading
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-26 15:56:01 +01:00
Ricardo Dias
072699d863
mgr: fixes python error handling
The current `handle_pyerror` function implementation relies in the
`traceback.format_exception_only` python function to format the
exception object. The problem is that this python function might also
raise an exception. This commit fixes it by enclosing that python
function call in try...catch block.

Fixes: http://tracker.ceph.com/issues/23406

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-26 15:17:15 +01:00
Nathan Cutler
b71eb01705
Merge pull request #19439 from chardan/jfw-wip-14363-normalize-rm
rgw, mon: normalize delete/remove in admin console (cleanup 22444)

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-03-26 15:35:40 +02:00
Lenz Grimmer
765b346aee
Merge pull request #21011 from tspmelo/wip-submit-btn
mgr/dashboard: Add submit button component

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-26 14:54:51 +02:00
Jos Collin
bf82cb2075
Merge pull request #21032 from simransinghal/fixtypo
rgw: Fix typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-03-26 17:22:38 +05:30
Kefu Chai
0754b797e1
Merge pull request #21020 from trociny/wip-vstart-no-mon-config
stop.sh: use --no-mon-config when trying to unmap rbd devices

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-26 19:33:56 +08:00
Wido den Hollander
582935f222
mgr/zabbix: Send max, min and avg PGs of OSDs to Zabbix
We already send the max, min and avg fill ratio of OSDs but
knowing the OSD with the highest amount of PGs is also useful.

This allows admins to create a trigger should it happen that there
is a OSD with too many PGs.

This could happen if a lot of OSDs fail and PGs start to move filling
up one or more OSDs with many PGs.

As PGs eat CPU and Memory people usually like to watch out for these
situations.

Signed-off-by: Wido den Hollander <wido@42on.com>
2018-03-26 13:27:27 +02:00
Xie Xingguo
4198558162
Merge pull request #21036 from xiexingguo/wip-wrong-tip
os/bluestore: s/bluefs_total/bluefs_free/

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2018-03-26 18:13:51 +08: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
Ricardo Dias
5867292162
Merge pull request #21006 from rjfd/wip-dashboard-fix-auth-py3
mgr/dashboard: fixed password generation in Auth controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-26 10:58:27 +01:00
Ricardo Dias
d5763de318
Merge pull request #20865 from sebastian-philipp/dashboard_v2_pool-create
mgr/dashboard: Add Pool-create to the backend

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-26 10:07:15 +01:00