Commit Graph

88469 Commits

Author SHA1 Message Date
Casey Bodley
541d72d568
Merge pull request #23032 from cbodley/wip-24873
radosgw-admin: 'sync error trim' loops until complete

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-07-18 13:25:01 -04:00
Andrew Schoen
7bfc29d1ef
Merge pull request #23116 from alfredodeza/wip-rm24961
ceph-volume tests/functional run lvm list after OSD provisioning

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-18 17:11:20 +00:00
Alfredo Deza
e01fb206d6 ceph-volume tests/functional run lvm list after OSD provisioning
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-18 12:39:01 -04:00
Adam C. Emerson
7df69486f4 rgw: Cache notify fault injection
Allow a configured probability of dropping a notify message on the
floor without processing or acking it.

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

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-07-18 12:20:18 -04:00
Andrew Schoen
5b175a5bb6 ceph-volume: unmount lvs correctly before zapping
If the lv found does not include the meatadata to construct an osd path,
then we should try to unmount it's path instead.

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

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-18 11:08:15 -05:00
Alfredo Deza
ffa86bc07d
Merge pull request #23075 from alfredodeza/wip-24492
ceph-volume batch command

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-18 12:04:11 -04:00
David Zafman
48ae3d0844
Merge pull request #23083 from dzafman/wip-disable-skip-dd
osd: Change osd_skip_data_digest default to false and make it LEVEL_DEV

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-18 11:23:07 -04:00
Boris Ranto
2e4c8896b8
Merge pull request #22732 from b-ranto/wip-metric-reset
prometheus: Fix metric resets

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-07-18 16:20:57 +02:00
Patrick Donnelly
f973f9cac5
Merge PR #23040 into master
* refs/pull/23040/head:
	ceph-debug-docker: install python3 cephfs/rados packages

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2018-07-18 06:43:13 -07:00
Patrick Donnelly
8620c4caf5
vstart_runner: pass ctx to FuseMount and load mount info
Credit to Venky for finding the problem.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-18 06:42:16 -07:00
Jason Dillaman
67c8b6e0d0
Merge pull request #23008 from tchaikov/wip-rbd-silence-gcc-warning
tools/rbd: assert(g_ceph_context) not g_conf

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-18 08:10:07 -04:00
Lenz Grimmer
2c783ebe8b
Merge pull request #22902 from alfonsomthd/24778-dashboard-info-cards-refactor
mgr/dashboard: Dashboard info cards refactoring

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-07-18 12:33:19 +02:00
Kefu Chai
3817e30d68
Merge pull request #23108 from tchaikov/wip-install-deps-seastar
run-make-check: set WITH_SEASTAR with a non-empty string

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-07-18 11:53:07 +08:00
Kefu Chai
4ca636f9b6 install-deps: set DEBIAN_FRONTEND for apt-get
so it won't complain if the tty is not an interactive one.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-18 10:28:08 +08:00
Kefu Chai
45bca777aa run-make-check: set WITH_SEASTAR with a non-empty string
otherwise "test -n $WITH_SEASTAR" fails, and the dependencies won't be
installed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-18 10:25:21 +08:00
Patrick Donnelly
3e18ac7217
Merge PR #22966 into master
* refs/pull/22966/head:
	mds: clarify doc string for mds_beacon_grace

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-07-17 18:47:35 -07:00
Neha Ojha
a5329ba8dd osd/PGLog: allow pg log trim when complete_to is less than trim_to
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-17 14:06:19 -07:00
Boris Ranto
9130ab40b3 prometheus: Set the response header for cached response
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:29:00 +02:00
Boris Ranto
83565c3483 prometheus: Reset the time the data was captured
This was forgotten during the previous patches.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:29:00 +02:00
Boris Ranto
2583672dba prometheus: Format metrics in the collect function
This allows us to clear metrics upon formatting in the collect function.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Boris Ranto
c00dd55f40 prometheus: Remove the Metrics class
The class was introduced to account for the 'pending' mechanism but that
is no longer being used by the code so we no longer need it since it
serves a purpose of a simple dictionary, now.

This simplifies the code and brings a bit of performance improvements
since the Metric classes in the collect method are created only if they
did not exist before.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Boris Ranto
d395868d9e prometheus: Optimize metrics formatting
It is faster to use join for join multiple strings than the regular
string concatenation since it does not create a new string on each
iteration.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Boris Ranto
0869351892 prometheus: Use instance instead of inst variable
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Boris Ranto
84241a2953 prometheus: Make the cache timeout configurable
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Boris Ranto
f6c4db8c11 prometheus: Fix metric resets
This patch changes the way we reset metrics when collecting data in the
prometheus exporter module. With this patch, the exported metrics at any
point in time should align with a freshly started ceph-mgr module.

The patch also introduces locking mechanism to serialize the requests
and to avoid overwriting the metrics during multiple scrapes happenning
at the same time.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-17 22:28:59 +02:00
Alfredo Deza
2d988337a9 ceph-volume tests validate the new utils for prompts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:43:00 -04:00
Alfredo Deza
0283fcc38b ceph-volume util create prompt helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:43:00 -04:00
Alfredo Deza
8d4525a59d ceph-volume tests.api update lvm sizing tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
56b1bf633d ceph-volume tests verify str_to_int utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
99e034d7ee ceph-volume api.lvm convert and use extents for sizing calculations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
cb5b30ab43 ceph-volume util move the str_to_int utility out of lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
226a5389ab ceph-volume lvm.batch update help docs from auto to batch
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
ae98cc3512 ceph-volume lvm.main rename auto to batch
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
d7707650a5 ceph-volume lvm rename auto to batch
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
fb6a2da7a1 ceph-volume lvm.strategies add stubs for filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
9f13951414 ceph-volume lvm.strategies add bluestore with validators
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:42:59 -04:00
Alfredo Deza
326fdd94c9
Merge pull request #23093 from ceph/wip-rm24044
ceph-volume: an OSD ID must be exist and be destroyed before reuse

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-17 14:03:10 -04:00
Matt Benjamin
30973c5a5c
Merge pull request #23038 from linuxbox2/wip-rgwfile-deepstat
rgw_file: deep stat handling
2018-07-17 13:12:10 -04:00
Kefu Chai
de4706dde7
Merge pull request #23044 from tchaikov/wip-crimson-connection
crimson/connection: misc changes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-17 23:31:23 +08:00
Abhishek L
fa89f831a7
Merge pull request #23057 from liewegas/wip-12.2.7-notes
doc/release/luminous: v12.2.6 and v12.2.7 release notes

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-17 16:45:34 +02:00
Jason Dillaman
c385e9df0f
Merge pull request #23085 from Songweibin/wip-rbd-unused-var
test/librbd: drop unused variable ‘num_aios’

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-17 09:59:56 -04:00
Andrew Schoen
02a13f2de0 ceph-volume: an osd ID must exist and be destroyed before reuse
Fixes: https://tracker.ceph.com/issues/24044

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-17 08:13:07 -05:00
Sage Weil
03dfef3a91 Merge PR #22681 into master
* refs/pull/22681/head:
	common: use ceph_pthread_getname

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-17 07:18:30 -05:00
Sage Weil
23cb424934 Merge PR #23052 into master
* refs/pull/23052/head:
	osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-17 07:18:25 -05:00
Sage Weil
8e0f8314a3 doc/release/luminous: v12.2.7 release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-17 07:08:48 -05:00
John Spray
fe2ebb5287 mgr/progress: introduce the progress module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-07-17 12:51:32 +01:00
Nathan Cutler
5f29e56ef6
Merge pull request #22899 from smithfarm/wip-doc-argonaut
doc: cleanup: prune Argonaut-specific verbiage

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-07-17 13:29:49 +02:00
Nathan Cutler
232323671c doc/start/hardware-recommendations.rst: link to Ceph blog
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-17 12:20:01 +02:00
Nathan Cutler
1d7ea8d27c doc: fix up install/upgrading-ceph.rst
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-17 12:20:01 +02:00
Nathan Cutler
73124c8df8 doc: cleanup: prune Argonaut-specific verbiage
Also drop all release-specific upgrading instructions (they only go up to
Firefly, anyway - none of the current releases are covered).

Note that all of this verbiage I am removing here can still be accessed
on docs.ceph.com via e.g. http://docs.ceph.com/docs/firefly/

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-17 12:20:01 +02:00