Commit Graph

88496 Commits

Author SHA1 Message Date
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
Venky Shankar
f253e3c311 test: validate empty json output during recursive scrub
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Fixes: http://tracker.ceph.com/issues/23958
2018-07-17 05:20:43 -04:00
Venky Shankar
ba23f5aa70 test: subclass test_scrub.Workload from CephFSTestCase
This allows usage of assert*() calls instead of writing
our own version.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-07-17 05:20:43 -04:00
Venky Shankar
a70d21b162 mds: dump minimal cli output during recursive scrub trigger
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-07-17 05:20:43 -04:00
Nathan Cutler
78cd83ec44
Merge pull request #23079 from smithfarm/wip-with-seastar-fix
build/ops: install-deps.sh: set with_seastar

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-17 10:57:52 +02:00
Jianpeng Ma
0c10ce1d90 os/bluestore: Add new perfcounter which record latency of
kv_finalize_thread.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-07-17 16:42:26 +08:00
songweibin
3afe57c47d test/librbd: drop unused variable ‘num_aios’
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-07-17 09:35:00 +08:00
Neha Ojha
38170cdb1b osd: reset complete_to when trimming the log past it
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 18:01:26 -07:00
Neha Ojha
de42fee0df osd: allow trim() to proceed when there are missing items
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 16:48:58 -07:00
Neha Ojha
e538c31f0f osd: handle trim() during backfill and async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 16:31:22 -07:00
Neha Ojha
22d17fb5aa osd: add flag to remember async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 15:42:43 -07:00
Neha Ojha
f48584a5b4 osd: print pg log length and trim_to
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 15:06:12 -07:00
Neha Ojha
1ae5fd32c9 osd: make calc_trim_to() independent of min_last_complete_ondisk
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-16 14:46:21 -07:00
David Zafman
3b7f502c85 common: Fix description for osd_skip_data_digest
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-07-16 14:32:54 -07:00
Sage Weil
d134c4985f common/options: disable osd_skip_data_digest
This is flawed in that it stops doing digests based on the primary's
backend store, not the replicas.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c7d8add701f156eb8bd8c7dc8ae9903bd782e77f)
2018-07-16 14:24:06 -07:00
Sage Weil
7a523e3822 common/options: make osd_skip_data_digest a DEV option
And document/warn to never turn it off after it's been on.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c854ed9b33a5a293c8ace15718e26f74237e3332)
2018-07-16 14:23:33 -07:00
Nathan Cutler
4b8c3b8e79 build/ops: install-deps.sh: set with_seastar
25d5122b5538062e8282251c3d7bae0f9792d596 introduced code into
install-deps.sh which was intended to set a variable "with_seastar" to the
string "true" or "false" depending on whether or not an environment
variable WITH_SEASTAR is defined.

As originally implemented, the conditional is always true, so with_seastar
is set to "true" unconditionally. Fix this by putting $WITH_SEASTAR in
double quotes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-16 22:07:57 +02:00
Nathan Cutler
e2104f7005 spdk: -march=core2 instead of -march=native
-march=native causes gcc to use opcodes according to whichever CPU happens to
be installed in the build host, which can be different for every build. This
makes it impossible to achieve a reproducible build.

Also, if the build host has a very new CPU, running the resulting binaries on
older CPUs (of the same family, i.e. x86_64) could result in segmentation
fault.

Hopefully nobody will be running Ceph on x86_64 CPUs older than Core2 (?)

Fixes: http://tracker.ceph.com/issues/24948
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-16 21:13:26 +02:00
Ron Allred
4641ebb075 ceph-volume util/prepare.py
Replaces PR#21887
Rename function check_id to osd_id_exists in util/prepare.py
Fix boolean analysis of osd_id_exists when --osd-id is provided on command line

Signed-off-by: Ron Allred <rallred@itrefined.com>
2018-07-16 13:17:10 -05:00
Patrick Donnelly
3820cf897a
mds: print mdsmap processed at low debug level
Production deployments use low debugging but it'd be useful to always know what
MDSMap epoch the MDS is currently processing. (In the case of skipped epochs or
unsynchronized processing.)

Fixes: https://tracker.ceph.com/issues/24852

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-16 09:33:34 -07:00
Patrick Donnelly
5af96d8bc0
Merge PR #23068 into master
* refs/pull/23068/head:
	doc: fix some errors in the cephfs-journal-tool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-16 09:17:19 -07:00
Jason Dillaman
62031c90d7
Merge pull request #22737 from trociny/wip-24675
librbd: validate data pool for self-managed snapshot support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-16 11:43:11 -04:00
Alfredo Deza
6043a2255d ceph-volume lvm.auto create a strategies module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
30d17788a9 ceph-volume lvm.prepare do not pass the name when creating a vg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
01aece2b9a ceph-volume api.lvm create_vg should optionally name vgs on the fly
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
0cd5a698b1 ceph-volume lvm.main make auto a subcommand
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00