Commit Graph

87791 Commits

Author SHA1 Message Date
Jos Collin
3310565e85
Merge pull request #22663 from joscollin/wip-doc-dashboard
doc: updated get-involved.rst for ceph-dashboard

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-06-26 17:51:33 +05:30
Jos Collin
675fc8ac38 doc: updated get-involved.rst for ceph-dashboard
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-06-26 16:49:25 +05:30
Lenz Grimmer
ea870c249f
Merge pull request #22706 from joscollin/wip-doc-dashboardgrafana
doc/dashboard: fix formatting on Grafana instructions-2
2018-06-26 12:18:39 +02:00
Mykola Golub
d9fe8246c1
Merge pull request #22694 from dillaman/wip-test-rbd-mirror
test/rbd-mirror: disable use of gtest-parallel

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-26 10:24:25 +03:00
Kefu Chai
c9fb0484d6
Merge pull request #22591 from tchaikov/wip-gcc-8.1
cmake: disable -Werror-stringop-truncation for rocksdb

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-26 12:41:57 +08:00
Jos Collin
72f14881ae doc/dashboard: fix formatting on Grafana instructions
The whole list was in a code block, instead of just the snippets.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-06-26 09:10:15 +05:30
Sage Weil
cade2f96cb Merge PR #22691 into master
* refs/pull/22691/head:
	os/bluestore: fix minor issues in bitmap logging output
	os/bluestore: fix overlappedd allocation returned by bitmap allocator

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-25 21:21:17 -05:00
Kefu Chai
3117fde93a
Merge pull request #22682 from wwformat/fix-centos-install-deps
install-deps: check the exit status for the $builddepcmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-26 09:26:49 +08:00
Patrick Donnelly
9829f56c07
Merge PR #22532 into master
* refs/pull/22532/head:
	qa/suites: Add supported-random-distro$ links.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-25 15:48:34 -07:00
Patrick Donnelly
d038e1da7a
Merge PR #22626 into master
* refs/pull/22626/head:
	scripts: add ceph-common-dbg to debug packages

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-06-25 13:07:39 -07:00
Patrick Donnelly
fc41b98822
scripts: add ceph-common-dbg to debug packages
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-25 13:06:02 -07:00
Jason Dillaman
814a4a2388 test/rbd-mirror: disable use of gtest-parallel
This test repeatedly deadlocks when run under in parallel.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-25 15:32:15 -04:00
Kefu Chai
e7d98d73e5
Merge pull request #22693 from tspmelo/fix-lint-codelyzer
mgr/dashboard: fix lint error caused by codelyzer update

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-26 01:42:07 +08:00
Tiago Melo
4e7f4cbd3f mgr/dashboard: fix lint error caused by codelyzer update
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-06-25 17:23:00 +01:00
Igor Fedotov
4fe976db22
Merge pull request #22544 from ifed01/wip-ifed-alloc-bench-fix
test/objectstore: fix random generator in allocator_bench.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2018-06-25 19:17:28 +03:00
Igor Fedotov
dc4b5fc5af os/bluestore: fix minor issues in bitmap logging output
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-06-25 18:06:27 +03:00
Igor Fedotov
539af4f27e os/bluestore: fix overlappedd allocation returned by bitmap allocator
Fixes: https://tracker.ceph.com/issues/24598
Signed-off-by: Igor Fedotov <ifedotov@suse.som>
2018-06-25 18:06:24 +03:00
Yunchuan Wen
46e33d15a4 install-deps: check the exit status for the $builddepcmd
in some case, the $builddepcmd will failed without any "error:" output.
so we should check the exit status to handle it.

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2018-06-24 09:48:50 +08:00
Sage Weil
eb3bbb8462 Merge PR #22479 into master
* refs/pull/22479/head:
	mgr/devicehealth: add self-test
	mgr/devicehealth: make config options instance attributes
	mgr/devicehealth: active -> enable_monitoring
	mgr/mgr_module: update docstring for get()
	mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
	mgr/devicehealth: add some scraping infrastructure
	osd: optionally query smart for a single devid
	mgr/ActivePyModules: add get for 'device <devid>'
	osd: key smart results by unique device id
	mgr: enable devicehealth by default
	mgr/devicehealth: rename old smart module to devicehealth
2018-06-23 17:05:51 -05:00
Sage Weil
cd24ccefc5 Merge PR #22572 into master
* refs/pull/22572/head:
	osd: update clone_overlap even the clone have been evicted

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:05:45 -05:00
Sage Weil
23915a4baf Merge PR #22576 into master
* refs/pull/22576/head:
	common/obj_bencher.cc: faster object name generation

Reviewed-by: Erwan Velu <erwan@redhat.com>
2018-06-23 17:05:40 -05:00
Sage Weil
2f7595131b Merge PR #22588 into master
* refs/pull/22588/head:
	mgr/iostat: column_width should be int not float

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Mohamad Gebai <mgebai@suse.com>
2018-06-23 17:05:35 -05:00
Sage Weil
6ad9f13a18 githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:05:34 -05:00
Sage Weil
dc4e35b523 Merge PR #22615 into master
* refs/pull/22615/head:
	common: fix enum redeclaration

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:04:46 -05:00
Sage Weil
de0206cb80 Merge PR #22620 into master
* refs/pull/22620/head:
	common/WorkQueue: Before set_ioprio it must do create/try_create.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-06-23 17:04:41 -05:00
Sage Weil
9f44ab3308 Merge PR #22634 into master
* refs/pull/22634/head:
	mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-23 17:04:36 -05:00
Sage Weil
dd6ad72b90 mgr/devicehealth: add self-test
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
6b9c0689a4 mgr/devicehealth: make config options instance attributes
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
1af2f26d4f mgr/devicehealth: active -> enable_monitoring
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
f78d3ac6e5 mgr/mgr_module: update docstring for get()
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
378230c669 mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:55 -05:00
Sage Weil
aa01002478 mgr/devicehealth: add some scraping infrastructure
- command to fetch smart info
- command to scrape a device and store the metrics
- command to scrape all devices (and store)
- command to dump stored metrics
- purging of old metrics

This is based on code originally written by Yaarit.

Signed-off-by: Yaarit Hatuka yaarithatuka@gmail.com
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:53 -05:00
Sage Weil
18abfb2486 osd: optionally query smart for a single devid
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
9662fa061c mgr/ActivePyModules: add get for 'device <devid>'
This is slightly different than the usual pattern because it is
parameterized.  I want to avoid fetching *all* devices if we don't need
it.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
a5957a9d13 osd: key smart results by unique device id
This is more useful than the current local device name.

Clean up some formatting.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
9f51a1e537 mgr: enable devicehealth by default
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:31 -05:00
Sage Weil
07cbb10719 mgr/devicehealth: rename old smart module to devicehealth
Let's avoid "SMART" since it's misleading (it refers specifically to ATA).

Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-23 17:01:29 -05:00
Jason Dillaman
caed70b102
Merge pull request #22676 from trociny/wip-24637
librbd: fix crash when opening nonexistent snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-06-23 09:38:11 -04:00
Kefu Chai
46ad3d66e3
Merge pull request #22636 from tchaikov/wip-cmake-add_npm_command
cmake: add "add_npm_command()" command

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-06-23 09:18:16 +08:00
Patrick Donnelly
03a8fe824b
Merge PR #22486 into master
* refs/pull/22486/head:
	mds: avoid traversing all dirfrags when trying to get wrlocks

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-06-22 16:21:49 -07:00
Dan Mick
140761f8a2 mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules
Modules may wish to receive bulk data; allow it

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-22 14:55:34 -07:00
Yuri Weinstein
7897f21a70
Merge pull request #22674 from yuriw/wip-yuriw-perf-distro-master
qa/tests - added all supported distro to the mix, …
2018-06-22 12:24:57 -07:00
Mykola Golub
70936c3bb5 librbd: fix crash when opening nonexistent snapshot
Fixes: http://tracker.ceph.com/issues/24637
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-06-22 21:01:43 +03:00
Sage Weil
b2a699cb73 Merge PR #22578 into master
* refs/pull/22578/head:
	os/bluestore: provide a rough estimate for bitmap allocator

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-06-22 13:00:59 -05:00
Sage Weil
a072a5995d githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:58 -05:00
Sage Weil
60244f2bff Merge PR #22586 into master
* refs/pull/22586/head:
	global/signal_handler: one less frame of context
	global/signal_handler: write crash dumps to /var/lib/ceph/crash/$uuid/
	common/ceph_context: add "assert" and "abort" asok commands
	common/assert: record assert info in g_assert_* globals
	common: add crash_dir option
	common/assert: get rid of duplicate log dump from assert handler
	common/BackTrace: add dump()
	log: do not discard recent after dumping it
	debian,rpm: /var/lib/ceph/crash
2018-06-22 13:00:35 -05:00
Sage Weil
69cbbf6d88 Merge PR #22610 into master
* refs/pull/22610/head:
	os/bluestore: fix length overflow.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-22 13:00:30 -05:00
Sage Weil
8ca6fad099 Merge PR #22630 into master
* refs/pull/22630/head:
	osd/OSDMap.cc: move sanity checks to the proper place
	osd/OSDMap.cc: remove pg_upmap/pg_upmap_items too if osd is gone

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:25 -05:00
Sage Weil
37d20dfdc5 Merge PR #22661 into master
* refs/pull/22661/head:
	mgr: remove unused [get|set]_store_json fns

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2018-06-22 13:00:20 -05:00
Sage Weil
0ff66fa47c githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-22 13:00:19 -05:00