Commit Graph

84672 Commits

Author SHA1 Message Date
Jason Dillaman
285a2fdbfc
Merge pull request #20935 from trociny/wip-get-name
librbd: add API function to get image name 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:44:28 -04:00
kungf
a9b9477a44 os/bluestore: change the type of aio_t:res to long
io_event::res was assigned to io_t::rval, but io_event::res
is long, if rval is int, this will cause overflow.

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

Signed-off-by: kungf <yang.wang@easystack.cn>
2018-03-30 20:15:42 +08:00
Kefu Chai
9e8af3e243
Merge pull request #21117 from smithfarm/wip-23504
tests: remove TestPGLog ASSERT_DEATH test

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-30 09:45:44 +08:00
Patrick Donnelly
0e3d5653e4
Merge PR #20927 into master
* refs/pull/20927/head:
	doc: use actual entity address for clarity
	doc: make minor grammatical rectifications

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 14:03:36 -07:00
Jason Dillaman
4e36277bd3
Merge pull request #21131 from trociny/wip-23502
qa/suites/rbd: set qemu task time_wait param

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-29 15:45:07 -04:00
John Wilkins
ca016f376c doc: Edits
Made a few minor edits.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
2018-03-29 15:17:34 -04:00
falcon78921
ffb68cc916 doc: Updated add primary storage documentation for latest CloudStack release (4.11)
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-03-29 15:17:13 -04:00
Mark Nelson
9b4bae1532 osd/OSD: make dout in _check_full conditional
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-03-29 12:47:19 -05:00
Patrick Donnelly
388303f31a
Merge PR #20983 into master
* refs/pull/20983/head:
	ceph_authtool: add mode option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 09:47:59 -07:00
Sébastien Han
b179cd2755 ceph_authtool: add mode option
We now have the ability to set the keyring file mode with the help of
'--mode MODE'. The mode needs to be specified in octal using the format:
0600.

Closes: http://tracker.ceph.com/issues/23513

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-03-29 18:40:45 +02:00
Mykola Golub
6fe8d64705 qa/suites/rbd: set qemu task time_wait param
so workloads qemu_dynamic_features.sh and qemu_rebuild_object_map.sh,
which check if qemu is finished with periodicity 60 sec, have enough
time to detect this before the rbd image is removed.

Fixes: https://tracker.ceph.com/issues/23502
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 17:44:00 +03:00
Mykola Golub
af15b2cef4 qa/tasks/qemu: add a parameter to wait for workloads detect qemu finished
In the case when a workload needs to detect qemu finished by running a
check with a periodicity of N sec it needs to set time_wait to 2 * N
in order to avoid races on finish.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 17:43:31 +03:00
Yuri Weinstein
8c31e568e2 test:qa:infra - teuthology crontab items as of 3/27/18
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-03-29 06:31:03 -07:00
Kefu Chai
67e016568c
Merge pull request #21121 from tchaikov/wip-no-relicensing
msg/async/dpdk: remove xsky copyright and LGPL copying

Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-03-29 21:21:49 +08:00
Casey Bodley
9f32fb9c98
Merge pull request #21105 from ashitakasam/wip-bug
rgw: comparison between signed and unsigned integer expressions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-29 09:19:22 -04:00
Jason Dillaman
028e30cceb
Merge pull request #21074 from trociny/wip-librados_test_stub-append
test/librados_test_stub: always create copy of buffers passed to operation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-29 08:18:32 -04:00
Jason Dillaman
7c2f02d945
Merge pull request #21116 from trociny/wip-23499
qa/workunits/rbd: remove sanity check in test_admin_socket.sh

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-29 08:17:51 -04:00
Kefu Chai
3f4984db04 msg/async/dpdk: remove xsky copyright and LGPL copying
it's not legitimate to relicense source code without original author's
permission. some of the source files are copied from seastar project
with minor changes. so xsky cannot claim the copyright of them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-29 19:37:36 +08:00
Kefu Chai
1b5ad4f223
Merge pull request #21107 from tchaikov/wip-pg-stat-cap-trimq
osd: cap snaptrimq_len at 2^32

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-29 18:54:56 +08:00
Kefu Chai
b3a7cd9660
Merge pull request #21106 from tchaikov/wip-compressor-zstd
compressor: add zstd back

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-29 18:54:22 +08:00
Kefu Chai
4ad5a586b3
Merge pull request #21097 from ceph/wip-ifed-fix-reclaim-cap-bug
os/bluestore: fix broken cap in _balance_bluefs_freespace()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 18:53:07 +08:00
Kefu Chai
4fb21e1a18
Merge pull request #20556 from yanghonggang/master
lttng: Trace rgw data transfer, bi entry and object header update processes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-29 18:44:39 +08:00
Nathan Cutler
adcba97a41 tests: remove TestPGLog ASSERT_DEATH test
Fixes: http://tracker.ceph.com/issues/23504
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-29 11:40:09 +02:00
Mykola Golub
d392393e1f qa/workunits/rbd: remove sanity check in test_admin_socket.sh
Fixes: https://tracker.ceph.com/issues/23499
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 12:29:40 +03:00
Kefu Chai
9ad7407222 osd: cap snaptrimq_len at 2^32
(uint64_t)(1 << 31) evaluates to 0xffffffff80000000 instead of 0x80000000,
because the converted signed number is sign-extended.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-29 13:44:09 +08:00
Neha Ojha
6aceb66524
Merge pull request #21104 from neha-ojha/wip-minimal-perf-suite
qa/suites: add minimal performance suite

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2018-03-28 20:31:30 -07:00
Yan, Zheng
754eb4d200 mds: cleanup MDCache::open_snaprealms()
don't retry if all snaprealms' parent are open

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-03-29 11:10:20 +08:00
Kefu Chai
60d1787596
Merge pull request #21092 from runsisi/wip-osdmon-log
mon/OSDMonitor: logging non-active osd id when handling osd beacon

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-29 09:06:57 +08:00
Kefu Chai
9502b121a1
Merge pull request #21091 from runsisi/wip-elector-cleanup
mon/Elector: remove unused member fields start_stamp and ack_stamp

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 09:06:25 +08:00
Kefu Chai
5cd64fdf86
Merge pull request #21085 from xiexingguo/wip-kill-p2-macros
intarith: get rid of  P2* and ROUND_UP* macros

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 09:05:47 +08:00
Kefu Chai
98d766a371
Merge pull request #21082 from zhsj/fix-java9
cmake: bump target jdk to 1.7

Reviewed-by: Wido den Hollander <wido@42on.com>
2018-03-29 09:04:42 +08:00
Kefu Chai
bff0d38e32
Merge pull request #21062 from xiexingguo/wip-hobject-cmp
common/hobject: compare two objects' key directly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 09:04:02 +08:00
Kefu Chai
ff3d489399
Merge pull request #20955 from liewegas/wip-mgr-mkfs-grace
mon: double mon_mgr_mkfs_grace from 60s -> 120s

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-29 09:03:16 +08:00
Kefu Chai
ab6e35b41e
Merge pull request #20862 from wido/ipv6-local-address
common/ipaddr: Do not select link-local IPv6 addresses

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 08:59:09 +08:00
Kefu Chai
7e3124faa5
Merge pull request #21081 from majianpeng/rbd-remove-unused-func
osdc: remove unused function.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-29 08:58:27 +08:00
Kefu Chai
77a2a1ffca compressor: add zstd back
it's a regression introduced by 16c3552a

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-29 08:54:31 +08:00
ashitakasam
5507f29f9a rgw: comparison between signed and unsigned integer expressions
Fixes: Change the data type of 'c' from int to size_t in
src/rgw/rgw_civetweb.cc RGWCivetWeb::read_data

Signed-off-by: ashitakasam <694240887@qq.com>
2018-03-29 08:39:07 +08:00
Neha Ojha
c5484e098e qa/suites: add minimal performance suite
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-03-28 17:36:55 -07:00
Kefu Chai
7dbc67f5e0
Merge pull request #20040 from liewegas/wip-snapmapper
osd: make snapmapper warn+clean up instead of assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-29 08:29:19 +08:00
Pavani Rajula
29da5c03c0 pybind/cephfs: added comments to cephfs.pyx
Signed-off-by: Pavani Rajula<rpavani1998@gmail.com>
2018-03-28 23:11:46 +05:30
Igor Fedotov
bcc9715deb os/bluestore: fix broken cap in _balance_bluefs_freespace()
1 << 31 is cast to signed int that results in huge value when casting to
uint64_t making min() call ineffective.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-03-28 15:55:48 +03:00
Kefu Chai
2739b6f1c5
Merge pull request #21071 from mkoderer/vstart-fix
vstart.sh: Fix help text in vstart.sh

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-28 20:31:43 +08:00
Lenz Grimmer
5a65671fbe
Merge pull request #20961 from smithfarm/wip-dashboard-rst
doc: mgr/dashboard.rst: mention ceph.conf and ceph mgr services

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-28 14:31:25 +02:00
Jianpeng Ma
e88d0bed57 osdc: remove unused function.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-03-28 20:17:12 +08:00
Marc Koderer
0fb5effa7e vstart.sh: Fix help text
Signed-off-by: Marc Koderer <marc.koderer@sap.com>
2018-03-28 14:03:04 +02:00
Kefu Chai
f710466995
Merge pull request #21077 from Ashid6/master
doc: typo fix

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-28 19:04:29 +08:00
Kefu Chai
ea97c120d2
Merge pull request #20660 from Leeshine/wip-mon-op-tracker
mon,mgr: make  osd_metric more popular and report slow ops to mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-28 19:02:35 +08:00
Kefu Chai
e4647dc09c
Merge pull request #21057 from tchaikov/wip-22114
mon: mark mgr reports as no_reply

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-03-28 19:01:58 +08:00
Ashita Dashottar
1e8d753876 doc: typo fix
Signed-off-by: Ashita Dashottar <AshitaDashottar6@gmail.com>
2018-03-28 16:15:00 +05:30
Yan, Zheng
002c732dc3 mds: make sure snaptable version > 0
version 0 snaptable confuses snapshot cache code

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-03-28 17:55:16 +08:00