Commit Graph

89052 Commits

Author SHA1 Message Date
Alfredo Deza
549109c1de ceph-volume lvm.zap unmount lvs and close dmcrypt on partitions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-14 10:47:13 -04:00
Alfredo Deza
ac00e72255 ceph-volume tests.functional batch add filestore sceanrios to tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-13 08:38:08 -04:00
Alfredo Deza
21d4f4afce ceph-volume lvm.zap iterate over multiple lvs on a pv
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-12 08:23:31 -04:00
Alfredo Deza
bfd1bfc242 ceph-volume tests.functional add xenial batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-11 18:48:43 -04:00
Alfredo Deza
26ca6c129a ceph-volume tests.functional add bluestore,filestore playbooks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-11 18:48:43 -04:00
Alfredo Deza
a4ff2bff50 ceph-volume tests.functional add centos7 filestore batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 16:19:54 -04:00
Alfredo Deza
544e364e8c ceph-volume tests.functional add centos7 bluestore batch tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 16:19:54 -04:00
Alfredo Deza
d2c181fc70 ceph-volume tests.util assert new as_int,as_float helper methods
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:32 -04:00
Alfredo Deza
3adf13f868 ceph-volume tests verify new utility for journal sizes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
4c0b4df1df ceph-volume util.prepare add a helper to get journal sizes from ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
ff7054116c ceph-volume util.disk add as_int and as_float helpers for Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
f473bce7ad ceph-volume lvm.strategies fix a bug where incorrect template was used
The template wouldn't render the total OSDs and the removed section was
repeated

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
01aebfc6a0 ceph-volume lvm.strategies use get_journal_size helper for filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
f29ec4c607 ceph-volume lvm.strategies update filestore use of Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
75e9729b76 ceph-volume lvm.strategies update bluestore use of Size
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
af99401cad ceph-volume lvm.strategies create single type filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
5a54ab1760 ceph-volume tests.util verify that Size object don't change state
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
7816fa9f90 ceph-volume tests.util update to reflect Size object changes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:31 -04:00
Alfredo Deza
00dba2e83a ceph-volume util.disk do not modify self instance of Size objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
8f7bca7ba1 ceph-volume lvm.strategies use new template location in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
783e58472c ceph-volume util create a templates module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Alfredo Deza
35a48728ae doc/rados update journal size defaults to 5GB
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-10 13:14:30 -04:00
Yuri Weinstein
75967da42b
Merge pull request #22967 from linuxbox2/wip-slo-nosize
rgw: Swift SLO size_bytes member is optional

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:14:09 -07:00
Yuri Weinstein
2a72d893d2
Merge pull request #23056 from stiopaa1/fixRgwAdminUser
rgw: fix dependencies/target_link_libraries

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-08-10 09:13:40 -07:00
Yuri Weinstein
d6e2f9f24b
Merge pull request #23282 from zhangsw/fix-rgw-server-header
rgw: add Http header 'Server' in response headers.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:13:18 -07:00
Yuri Weinstein
4ea1111e60
Merge pull request #23405 from joke-lee/WIP-RGW-BUCKET-NOTIFY
rgw: add s3 notification sub resources

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:12:41 -07:00
Yuri Weinstein
82b35dbc72
Merge pull request #23434 from joke-lee/wip-cors-rule-num-limit
rgw: cors rules num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-08-10 09:12:15 -07:00
Alfredo Deza
0b63a746ee
Merge pull request #23210 from alfredodeza/wip-bluestore-sizing
doc: document sizing for `block.db`

Reviewed-by: Ben England <bengland@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-10 11:15:29 -04:00
Casey Bodley
81ce951655
Merge pull request #23511 from excellentkf/WIP-test
common/options: correct the description of rgw_enable_lc_threads option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 09:00:47 -04:00
Kefu Chai
50f7f7e32e
Merge pull request #23496 from bstillwell/crush_doc_fixes
doc: Fix a couple typos and improve diagram formatting

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-10 12:45:29 +08:00
Kefu Chai
c91006141b
Merge pull request #23477 from liewegas/wip-kv-merge-name
kv/KeyValueDB: return const char* from MergeOperator::name()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-10 10:54:13 +08:00
Kefu Chai
7acb991728
Merge pull request #23474 from tchaikov/wip-config-expand-meta
common: expand meta in parse_argv()

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-10 10:52:53 +08:00
yanjun
e4c35bfa8f
Merge pull request #23481 from Yan-waller/wip-walle-180808-smooth-intervals
mgr,mon: fix to apply changed mon_stat_smooth_intervals

Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-10 10:51:52 +08:00
yanjun
d50bef3861
Merge pull request #23482 from Yan-waller/wip-walle-180808-mgr-deadlock
mgr: fix beacon interruption caused by deadlock

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-10 10:49:19 +08:00
yanjun
8d50ca449c
Merge pull request #23487 from xiexingguo/wip-hb-peers-v2
osd/OSD: choose heartbeat peers more carefully

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
2018-08-10 10:47:19 +08:00
Alfredo Deza
f563510c58
Merge pull request #23514 from bstillwell/operations_doc_fixes
doc: Multiple spelling fixes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-08-09 17:41:58 -04:00
Bryan Stillwell
791b00daa1 doc: Multiple spelling fixes
I ran a lot of the docs through aspell and found a number of spelling problems.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-09 14:51:25 -06:00
Sage Weil
ebaa80690d Merge PR #23471 into master
* refs/pull/23471/head:
	mon/PGMap: fix spacing around pretty-printed SI units
	include/types: render SI units adjacent to number

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-08-09 14:35:56 -05:00
Sage Weil
6fe0ad0897 Merge PR #23473 into master
* refs/pull/23473/head:
	OSD: translate the error result

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-09 14:35:50 -05:00
Bryan Stillwell
e6abe89ec6 doc: Fix a couple typos and improve diagram formatting
I found a couple misspelled words in the crush-map documentation, and also
tweaked the formatting of the CRUSH hierarchy diagram to center some of the
entries.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-09 11:00:40 -06:00
Sage Weil
4c513eabdb Merge PR #23422 into master
* refs/pull/23422/head:
	log/Log: fix buffer overflow

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-09 08:06:25 -05:00
excellentkf
09b278b9b4 common/options: correct the description of rgw_enable_lc_threads option
Signed-off-by: excellentkf <likefei@cmss.chinamobile.com>
2018-08-09 20:39:10 +08:00
Kefu Chai
42b1cff8cb
Merge pull request #23466 from tspmelo/wip-update-packages
mgr/dashboard: Update frontend packages

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2018-08-09 20:35:17 +08:00
John Wilkins
309a3fdb73
Merge pull request #23431 from falcon78921/wip-doc-rados-pool
doc: fixed links in Pools section

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2018-08-08 21:23:28 -07:00
xie xingguo
64362ac21d osd/OSD.cc: force updating heartbeat peers periodically
Because the cluster topology may change (e.g., because we add some
new racks, hosts and disks) and we want the existing osds are then
aware of new incoming osds, guaranteeing osds are always trying to
do heartbeat as wide as possible(e.g., across all racks, hosts etc.).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-09 08:44:59 +08:00
xie xingguo
8a77e1f4dc crush/CrushWrapper: check against dead crush rule
We currently remove a rule without adjusting the **rules** array
because we don't recycle the rule_no and hence there can be
holes in the "rules" array.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-09 08:44:58 +08:00
xie xingguo
bcc11541b8 osd/OSD.cc: choose heartbeat peers by failure domain
By default, monitor requires at least two valid failure votes/reports from
different hosts to mark an OSD down, which turns out to be impossible sometimes
for a replicated-pool of size of 2 in those clusters made up of hosts
with contiguous labeled OSDs.

This patch instead does a breadth-first search based on the highest level of
failure domain at cluster-wide, to try to make heartbeat peers can cover all failure domains
whenever possible, which can hopefully help accelerating osd failure detection
in the above case..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-09 08:44:58 +08:00
Kefu Chai
72cc4cedd4
Merge pull request #23441 from tchaikov/wip-cmake-rocksdb-cleanup
cmake: rocksdb related cleanup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-09 00:46:53 +08:00
Patrick Donnelly
059d21a370
Merge PR #23462 into master
* refs/pull/23462/head:
	doc: cleanup in cephfs/capabilities

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-08 09:40:21 -07:00
Sage Weil
aa485c9b41 mon/PGMap: fix spacing around pretty-printed SI units
"1k foo" not "1kfoo"

Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-08 10:55:18 -05:00