Commit Graph

79507 Commits

Author SHA1 Message Date
Alfredo Deza
f61007cc65 ceph-volume util.system create mappings of mounts
This makes it easier for consumers to detect a path, or a device that
might be mounted or might have more than one mount, including tmpfs and
devtmpfs support, which was just not possible before.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-19 11:31:38 -04:00
Alfredo Deza
85cdc78300 ceph-volume util.prepare separate filestore vs. bluestore prepare utils
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
bbcca70d96 ceph-volume process allow obfuscating a key or index when logging commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
555b664882 ceph-volume util.prepare add other ln helpers for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
211c38f591 ceph-volume util.arg_validators allow to pass a group as --data for lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
6b23fc7224 ceph-volume util.disk add utilities for is_device and is_partition
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
ac0d1555d3 ceph-volume api.lvm udpate create_lv for bluestore
Require full size notation for LVM (e.g. 50G or 100M) and do not
"translate" tags by pre-fixing them with 'ceph'. That is already how the
rest of the API works, no need to make that translation in one place

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:29 -04:00
Alfredo Deza
1e8a79b8f4 ceph-volume lvm.prepare update filestore workflow to use new helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
e4fc3464af ceph-volume lvm.prepare initial take on bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
17028f3a3c ceph-volume lvm.common update help flags for bluestore usage
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
16d7feb2b5 ceph-volume api.lvm allow to create a vg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
63d2afbc60 ceph-volume lvm add block CLI flags for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Alfredo Deza
dc3ced3074 ceph-volume lvm make bluestore the default option
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 12:46:28 -04:00
Sage Weil
043d8b2087 Merge pull request #18376 from tchaikov/wip-authors
doc: update Component Technical Leads and maintainers to canonical location

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 08:51:39 -05:00
Casey Bodley
50ba674dc0 Merge pull request #18355 from gaosibei/wip-rgw-refrence
RGW: change function parameters from value to refrence

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-18 08:18:12 -04:00
Matt Benjamin
e43f345b38 Merge pull request #17432 from joscollin/wip-cleanup-fix-rgwconf
rgw: Access RGWConf through RGWEnv
2017-10-18 07:57:20 -04:00
Matt Benjamin
c584a8d27c Merge pull request #17440 from mikulely/cleanup-iterate
rgw: update outdated debug func name
2017-10-18 07:52:57 -04:00
Matt Benjamin
fee8a8ea9b Merge pull request #17956 from zhangsw/fix-rgw-encry-torrent-bug
rgw: Torrents are not supported for objects encrypted using SSE-C
2017-10-18 07:52:39 -04:00
Matt Benjamin
52834493f9 Merge pull request #18057 from baixueyu/branch1
rgw: fix radosgw-admin quota enable return value bug
2017-10-18 07:52:19 -04:00
Alfredo Deza
fc1b889326 Merge pull request #18375 from tchaikov/wip-ceph-disk-check-log
ceph-disk: write log to /var/log/ceph not to /var/run/ceph

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-18 06:51:27 -04:00
scuttlemonkey
843d964d11 AUTHORS: Update Component Technical Leads and maintainers to canonical location of ceph.com.
Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
2017-10-18 18:48:37 +08:00
Mykola Golub
041cca4a32 Merge pull request #18315 from dillaman/wip-21797
librbd: object map batch update might cause OSD suicide timeout

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-18 13:36:47 +03:00
Kefu Chai
9f2715a5e0 Merge pull request #18345 from wido/doc-osd-replace
doc: Remove additional arguments when replacing OSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:34:57 +08:00
Kefu Chai
e0856bd7e7 ceph-disk: write log to /var/log/ceph not to /var/run/ceph
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:03:44 +08:00
Xie Xingguo
2e1e3f8b2f Merge pull request #18373 from tchaikov/wip-opt-desc
doc: fix the desc of "osd max pg per osd hard ratio"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-18 16:15:35 +08:00
Kefu Chai
d940f62203 doc: fix the desc of "osd max pg per osd hard ratio"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 16:07:50 +08:00
Jos Collin
46544cf5d6 Merge pull request #18370 from mikulely/cleanup-rgw-write-meta
rgw: drop outdated function doc

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-18 05:34:45 +00:00
Jiaying Ren
f7318f67f0 rgw: drop misplaced&outdated func doc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-10-18 12:32:24 +08:00
Kefu Chai
2e50ae1f13 Merge pull request #18352 from rzarzynski/wip-testfio-fix-pgps
Revert "bluestore/fio: Fixed problem with all objects having the same hash

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-10-18 10:52:13 +08:00
Kefu Chai
9adab8b52a Merge pull request #18338 from xiexingguo/wip-pg
osd/PrimaryLogPG: do not use approx_size() for log trimming

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:48:32 +08:00
Kefu Chai
0b8f22535a Merge pull request #18340 from Yan-waller/wip-walle-1014osdprimarypg
osd/PG: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 10:47:37 +08:00
Kefu Chai
a09dd84ee7 Merge pull request #18351 from tchaikov/wip-osx
common/event_socket.h: include <errno.h> to use errno

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-10-18 10:46:50 +08:00
Kefu Chai
0adcd198b5 Merge pull request #18353 from xiexingguo/wip-do-read
osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:46:18 +08:00
Kefu Chai
75f3526201 Merge pull request #18321 from majianpeng/msg-async-cleanup
msg/async: batch handle numevents.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-10-18 10:45:48 +08:00
Kefu Chai
09010d2e4c Merge pull request #18358 from tchaikov/wip-max-pg-per-osd
osd,mon: add max-pg-per-osd limit

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-18 10:44:16 +08:00
Kefu Chai
62b70b36ef Merge pull request #18289 from smithfarm/wip-21762
build/ops: rpm: move ceph-*-tool binaries out of ceph-test subpackage

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-10-18 10:43:22 +08:00
gaosibei
c677fbcedf RGW: change function parameters from value to refrence
Signed-off-by: Sibei Gao  <gaosb@inspur.com>
2017-10-18 08:49:45 +08:00
Matt Benjamin
8923664ed7 Merge pull request #18184 from oritwas/wip-rgw-21725
rgw: disable dynamic resharding in multisite environment
2017-10-17 12:42:10 -04:00
Kefu Chai
9911e905e4 Merge pull request #16745 from Liuchang0812/object-store-repair
common, tool: update kvstore-tool to repair key/value database

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 00:24:39 +08:00
Patrick Donnelly
d96255138c
Merge PR #18281 into master
* refs/pull/18281/head:
	Fixed the readme examples
	ptl-tool: Drop Default Labelling of PRs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-17 08:12:46 -07:00
Kefu Chai
c3cd0c13a1 mon: change "mon_pg_warn_min_per_osd" to uint64_t
* this silences a warning from -Wsign-compare.
* also switch all its user to the new-style option

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:41 +08:00
Kefu Chai
0d68197376 osd,mon: change "mon_max_pg_per_osd" to uint64_t
as it should never be a negative number. if this option is disabled,
it's 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:41 +08:00
Kefu Chai
4c7df944c7 osd: add max-pg-per-osd limit
osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:40 +08:00
Casey Bodley
68544e4e16 Merge pull request #18331 from Yan-waller/wip-walle-1008vstartrgw
vstart.sh: move rgw configuration to client.rgw section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-17 11:06:53 -04:00
Jos Collin
3d13279b95 Fixed the readme examples
Fixed the readme examples, according to the new --label definition.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:33:33 +05:30
Jos Collin
65ddee2c3e ptl-tool: Drop Default Labelling of PRs
Dropped default labelling of PRs. Allowed --label '', which won't label the PR. The user can omit --label too, if the PR should not be labelled.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:20:36 +05:30
Jos Collin
24dacf5bf5 Merge pull request #18231 from batrick/ptl-tool-labeled-prs
ptl-tool: load labeled PRs

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-17 14:09:14 +00:00
xie xingguo
4667280f8a osd/PrimaryLogPG: trigger auto-repair on full-object-size CRC error
There are still FileStore users and the full-object CRC might be able
to catch silently returned data errors. Since we support auto-repair now,
let's trigger an auto-repair process instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-17 20:23:05 +08:00
Kefu Chai
a27668bf5f common/lockdep: do not set std::string using braces
this silences follow warning from clang:

ceph/src/common/lockdep.cc:219:12: warning: braces around scalar initializer [-Wbraced-scalar-init]
    name = { "unknown" };
           ^~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 20:11:40 +08:00
Radoslaw Zarzynski
923cc63088 Revert "bluestore/fio: Fixed problem with all objects having the same hash"
This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-10-17 14:10:11 +02:00