Commit Graph

82898 Commits

Author SHA1 Message Date
Jason Dillaman
4b69976510
Merge pull request #20099 from Songweibin/wip-fix-deep-cp
librbd: fix deep copy a child-image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 08:32:20 -05:00
Alfredo Deza
a7d11ca27d doc/ceph-volume remove notice that dmcrypt is not supported
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:28:40 -05:00
Alfredo Deza
9524021aa1 doc/man/ceph-volume add simple documentation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:26:58 -05:00
Alfredo Deza
09f35cb249 ceph-volume simple.scan update help menu to indicate device support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:15:36 -05:00
Alfredo Deza
b90c1a8684 ceph-volume tests for keyring parsing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:13:12 -05:00
Alfredo Deza
bece7af052 ceph-volume tests for validate_devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:12:51 -05:00
Alfredo Deza
636ebc1277 ceph-volume simple.activate b64decode keys for activation as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:12:05 -05:00
Jos Collin
5cd3b8c759 doc: Fix path in ceph-fuse.rst
This mistake was introduced in 9b6f9da3ce.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-02 16:18:30 +05:30
Gu Zhongyan
de2ddf9a8b rados: clean up rados_getxattrs() and rados_striper_getxattrs()
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-02-02 17:34:13 +08:00
Xie Xingguo
d9637b7675
Merge pull request #20178 from xiexingguo/wip-map-version
crush, mon: bump up map version only if we truly created a weight-set

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 16:37:00 +08:00
Zhi Zhang
a42a4d405c config: Change bluestore_cache_kv_max to type INT64
If bluestore_cache_kv_max is negative, bluestore won't calculate meta
ratio and kv ratio automatically. So change the type from UINT to INT to
make this bluestore logic work.

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2018-02-02 16:02:05 +08:00
Kefu Chai
14a1035a5e
Merge pull request #20197 from xiexingguo/wip-load-ws-from-ms
pybind/mgr/balancer: load weight-set from ms

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:57:14 +08:00
Kefu Chai
ce2413c671
Merge pull request #20196 from yaozongyou/improve-straw2-readability
crush: improve straw2 algorithm's readability

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:56:13 +08:00
Kefu Chai
43a2b00308
Merge pull request #20194 from xiexingguo/wip-badsteps
pybind/mgr/balancer: increase bad_steps properly

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:55:41 +08:00
Kefu Chai
85fe7ef9bd
Merge pull request #20189 from neha-ojha/wip-fix-update_calc_stats
PG: primary should not be in the peer_info, skip if it is

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-02-02 15:55:02 +08:00
Kefu Chai
c971535f8d
Merge pull request #20151 from badone/wip-run-tox-ceph-disk-deps-failure
tests: ceph-disk: Remove sitepackages=True

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 15:35:59 +08:00
Kefu Chai
af20ea9d5a
Merge pull request #20140 from smithfarm/wip-python3-mopup
build/ops: rpm: Python 3-only ceph-disk and ceph-volume

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 15:35:05 +08:00
Kefu Chai
5edf84a690
Merge pull request #19953 from badone/wip-c_read_operations-tautological-compare-warning
c_read_operations.cc: Silence tautological-compare compiler warning

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 15:29:33 +08:00
Jos Collin
9b6f9da3ce
Merge pull request #20071 from joscollin/wip-ceph-fuse-doc
doc: Specify mount details in ceph-fuse

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-02 12:00:18 +05:30
Jos Collin
025cfe3e53 doc: Specify mount details in ceph-fuse
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-02 10:56:48 +05:30
shun-s
b1d950ed50 OSDMap: add osdmap epoch info when printing info summary
add osdmap epoch info when printing info summary

Signed-off-by: shun-s <song.shun3@zte.com.cn>
2018-02-02 12:45:23 +08:00
Patrick Donnelly
7dabdf526d
Merge PR #19856 into master
* refs/pull/19856/head:
	qa: synchronize kcephfs suites with fs/multimds

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-01 14:50:12 -08:00
Alfredo Deza
03102e4417 ceph-volume tests add validation for lsblk parsers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 16:17:19 -05:00
Alfredo Deza
cce6a12f4a ceph-volume tests validate parsing of cryptsetup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
b80b61b90f ceph-volume tests add a stub for process.call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
c2367ef4a4 ceph-volume util.encryption add notes about extra b64decode call for ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
32cb810f8a ceph-volume util.encryption parse legacy encrypted with dirs too
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
f6dd0ff15f ceph-volume terminal create a logger to get terminal+log messages in one call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
5ece73b533 ceph-volume simple.activate support dmcrypted devices for both plain and luks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:35 -05:00
Alfredo Deza
a112436281 ceph-volume simple.scan parse the keyring out of the keyring file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 15:53:34 -05:00
Casey Bodley
1bff073b0e rgw: beast frontend can listen on multiple endpoints
rgw_frontends options port= and endpoint= can be given multiple times,
and the beast frontend will listen on each endpoint

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-02-01 11:22:25 -05:00
Alfredo Deza
22780c7aa8
Merge pull request #20203 from ceph/wip-rm22642
ceph-volume: fix usage of the --osd-id flag

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 11:13:21 -05:00
Mykola Golub
be60490f15 qa/workunits/rbd: remove "trash purge --threshold" test
It is difficult to make it work reliably in different environments.

Fixes: http://tracker.ceph.com/issues/22803
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-01 17:36:21 +02:00
Sage Weil
fbc4192357
Merge pull request #20090 from liewegas/wip-bluestore-label
os/bluestore: make bdev label parsing error more meaningful and less noisy

Reviewed-by: Varada Kari <varada.kari@gmail.com>
2018-02-01 08:51:01 -06:00
Casey Bodley
77a3b64f0d test/log: fix for crash with libc++
the original issue reproduced with operator<<(const char*) in libstdc++,
but this actually crashes with libc++. test the std::basic_streambuf*
overload instead, which is called out explicitly in
http://en.cppreference.com/w/cpp/io/ios_base/iostate:

> The badbit is set by the following standard library functions:
> * basic_ostream::operator<<(basic_streambuf*) when a null pointer is passed as the argument.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-02-01 09:37:48 -05:00
Igor Fedotov
0eacf651b1 test/store_test: update Many4KWritesTest* test cases to finalize with fsck
Doing that when statfs report doesn't match our expectations will
provide more insight on the mismatch and helps to avoid races if any.
Maybe Fixes: https://tracker.ceph.com/issues/21312

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-02-01 16:10:32 +03:00
Mykola Golub
69e479bd46
Merge pull request #20214 from dillaman/wip-22819
librbd: potential crash if object map check encounters error

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-01 12:01:00 +02:00
Radoslaw Zarzynski
64c7f313f9 osd: avoid the config's get_val() overhead on the read path.
Profiling shows the overhead of the md_config_t::get_val<T>
can be significant. Unfortunately, it is being used in two
critical places across the read path.

The patch resorts to the legacy config infrastructure to
mitigate the performance penalty. It is expected it will
be superseded with a solution that allows to use the new,
intended routines without hurting performance.
`
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-01 10:43:22 +01:00
xie xingguo
ffc06e696b pybind/mgr/balancer: make 'eval' command can evaluate specific pool
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-01 17:15:52 +08:00
xie xingguo
675c3525b8 mgr/balancer: pool-specific optimization for crush-compat
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-01 17:14:51 +08:00
xie xingguo
9590173242 pybind/mgr/balancer: remove optimization plan properly
Should pass in plan name instead of the plan itself.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-01 16:37:41 +08:00
Mykola Golub
452761e5d6 librbd: by default use new format for deep copy destination
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-01 09:25:06 +02:00
fang yuxiang
ad6039bbab osd/ReplicatedBackend: 'osd_deep_scrub_keys' doesn't work
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
2018-02-01 14:18:06 +08:00
Kefu Chai
b890201fa6
Merge pull request #20175 from tone-zhang/wip-fix-bug22828
cmake: fix libcephfs-test.jar build failure

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:46:35 +08:00
Kefu Chai
6062fe0a41
Merge pull request #20174 from cbodley/wip-log-stream-clear
log: clear thread-local stream's ios flags on reuse

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:45:54 +08:00
Kefu Chai
87aad2d241
Merge pull request #20166 from smithfarm/wip-fix-python2-global
build/ops: rpm: fix _defined_if_python2_absent conditional

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:43:35 +08:00
Kefu Chai
2bdb833b36
Merge pull request #20183 from tchaikov/wip-crushtool
crushtool: add --add-bucket and --move options

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:37:55 +08:00
Kefu Chai
2769583ff1
Merge pull request #20180 from xiexingguo/wip-more-balancer-fixes
mgr/balancer: two more fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:34:50 +08:00
Kefu Chai
8c7dd252cc
Merge pull request #20154 from xiexingguo/wip-mgr-balancer-fixes
mgr/balancer: pool-specific optimization support and bug fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:33:31 +08:00
Kefu Chai
129effb0bf
Merge pull request #20128 from guzhongyan/master
common/pick_address: wrong prefix_len in pick_iface()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:29:19 +08:00