Commit Graph

89469 Commits

Author SHA1 Message Date
Andrew Schoen
6d712ef959 ceph-volume: run tests without waiting on ceph repos
This provides a new playbook that installs ceph on all nodes and
generates the ceph config. Then it will rsync ceph-volume from the
control node, or jenkins slave, to all testing vms before completing
the deployment. This means we can run tests on PRs without waiting
for repos to be built for the branch in the PR.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 09:20:57 -04:00
Kefu Chai
9bef451aa7
Merge pull request #23719 from bstillwell/config-doc-fixes
doc: Fixed spelling errors in configuration section

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-24 14:15:58 +08:00
Kefu Chai
3c4d903409
Merge pull request #23724 from cyx1231st/test-config
test: fix compile error in test/crimson/test_config.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-24 12:44:09 +08:00
Yingxin
72c5df8cc6 test: fix compile error in test/crimson/test_config.cc
Change to use ceph::md_config_obs_impl.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-08-24 17:40:31 +08:00
Xie Xingguo
454088cccf
Merge pull request #23690 from dongbula/add-comment-in-reg-next-scrub
osd: add log when pg reg next scrub

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-24 11:28:02 +08:00
Kefu Chai
3fbfd2e62b
Merge pull request #23692 from tchaikov/wip-silence-gcc-warnings
test,common: silence GCC warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-08-24 10:30:40 +08:00
lvshuhua
7888143093 osd: add comment when pg reg next scrub
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
2018-08-24 08:59:29 +08:00
Xie Xingguo
13b9758044
Merge pull request #23715 from bstillwell/bluestore-doc-fixes
doc: Spelling fixes in BlueStore config reference

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-24 08:35:23 +08:00
Jos Collin
e2b739adac
Merge pull request #23711 from tspmelo/wip-26999
mgr/dashboard: Fix growing table in firefox

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-08-24 05:28:50 +05:30
Brad Hubbard
0758fb474b
Merge pull request #23698 from badone/wip-mark-jewel-EOL
doc/releases: Mark Jewel EOL

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-08-24 09:15:47 +10:00
Bryan Stillwell
2e98517d36 doc: Fixed spelling errors in configuration section
Correct a number of spelling mistakes and word omissions in the cluster
configuration section of the docs.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-23 16:17:08 -06:00
Bryan Stillwell
41ae1d2ecd doc: Spelling fixes in BlueStore config reference
Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-23 15:05:05 -06:00
David Zafman
b0d2c64d6b
Merge pull request #23376 from dzafman/wip-25108
object errors found in be_select_auth_object() aren't logged the same

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 13:23:55 -07:00
Josh Durgin
cc41b51c6a
Merge pull request #23518 from dzafman/wip-25084
osd: When possible check CRC in build_push_op() so repair can eventually stop

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-08-23 11:39:05 -07:00
David Zafman
687f63e599 test: Update tests for error message changes
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
David Zafman
bdd32cc847 osd: Use colon to separate error message from other info
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
David Zafman
b40784290f qa: Add new message to whitelist for scrub/repair tests
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
David Zafman
58c4d32203 test: Verify cluster logging of scrub error messages
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
David Zafman
cadf727258 osd: Log shard errors in be_select_auth_object() as other errors
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
David Zafman
c789fd1899 osd: Move object error check out of be_select_auth_object()
Fixes: http://tracker.ceph.com/issues/25108

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-23 11:09:22 -07:00
Dan Mick
220bf268a8
Merge pull request #23708 from tchaikov/wip-sudo-sysctl
run-make-check: should use sudo for running sysctl
2018-08-23 10:59:10 -07:00
David Zafman
a4f2ca3186
Merge pull request #23695 from dzafman/wip-27056
test: Use pids instead of jobspecs which were wrong

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 10:45:03 -07:00
Kefu Chai
691cee64b3 test: silence -Wsign-compare warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-23 23:50:33 +08:00
Kefu Chai
1f9ee22587 test,common: silence -Wunused-variable warnings
if compiled with -NDEBUG, assert() is optimised out.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-23 23:33:09 +08:00
Tiago Melo
09a2705381 mgr/dashboard: Fix growing table in firefox
It seems Firefox 52 has some kind of problem when
rendering our table inside a fieldset.

Since we don't really require the fieldset in the monitor page,
I have removed it to "fix" this problem.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-23 14:39:12 +01:00
Kefu Chai
b2ef5ddb9a run-make-check: should use sudo for running sysctl
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:47:11 +08:00
Kefu Chai
644ad14fd0
Merge pull request #23667 from thinkercui/bugfix
tools/rados: correct the read offset of bench

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:29:40 +08:00
Kefu Chai
58ab935d9a
Merge pull request #23664 from zy751713126/delete_redundant_code
pybind/rbd: make the code more concise

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:29:14 +08:00
Kefu Chai
b2733c0426
Merge pull request #23648 from sakhinov/sakhinov-fix-bcrypt
change ceph-mgr package depency from py-bcrypt to python2-bcrypt

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:25:32 +08:00
Kefu Chai
cf085103a8
Merge pull request #23647 from wjwithagen/wjw-fix-pidfile-err
common: be more informative if set PID-file fails

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:24:49 +08:00
Kefu Chai
62279559e3
Merge pull request #23643 from tchaikov/wip-cmake-dmclock
dmclock, cmake: sync up with ceph/dmclock, dmclock related cleanups

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-08-23 19:23:41 +08:00
Kefu Chai
21d2d8d393
Merge pull request #23624 from david-z/wip-fix-mgr-fs-status
mgr/status: Add standby-replay MDS ceph version

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-23 19:22:50 +08:00
Kefu Chai
ee7761db34
Merge pull request #23576 from ifed01/wip-ifed-fix-perf-counters
os/bluestore: bluestore_buffer_hit_bytes perf counter doesn't reset

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-23 19:22:12 +08:00
Kefu Chai
2532fb6b2a
Merge pull request #21983 from chardan/jfw-wip-libradosstriper_ultimate-final-battle
libradosstriper: conditional compile

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:20:16 +08:00
Kefu Chai
76eae2dad9
Merge pull request #23689 from tchaikov/wip-run-make-check-more-aio
run-make-check: increase fs.aio-max-nr to 1048576

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2018-08-23 10:10:29 +08:00
Brad Hubbard
0cc706b573 doc/releases: Mark Jewel EOL
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-08-23 08:45:22 +10:00
David Zafman
bc33170310 test: Use pids instead of jobspecs which were wrong
Fixes: http://tracker.ceph.com/issues/27056

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-22 10:57:04 -07:00
Kefu Chai
406a3a22b0
Merge pull request #23675 from tserlin/tserlin-require-fuse
debian/control: require fuse for ceph-fuse

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 21:18:21 +08:00
Kefu Chai
83f18055be
Merge pull request #23655 from tchaikov/wip-silence-Wsign-compare-warnings
test: silence -Wsign-compare warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-22 21:17:19 +08:00
Kefu Chai
b928c7777c run-make-check: increase fs.aio-max-nr to 1048576
the solution was suggested by Yingxin Cheng. otherwise we could have
EAGAIN returned by io_setup(2).

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 19:52:46 +08:00
Mykola Golub
645233ec82
Merge pull request #23630 from wjwithagen/wjw-fix-rbd-ggate-kldload
test/rbd: rbd_ggate test improvements

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-08-22 14:45:07 +03:00
Kefu Chai
06c86b7a87
Merge pull request #23684 from tchaikov/wip-doc-balancer
doc/rados/operations: add balancer.rst to TOC

Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-22 18:50:54 +08:00
Kefu Chai
a68120e884 doc/rados/operations: add balancer.rst to TOC
this helps user to find the balancer feature, and
also addresses the FTBFS of doc like

Warning, treated as error:
/home/jenkins-build/build/workspace/ceph-pr-docs/doc/rados/operations/balancer.rst:document
isn't included in any toctree

this doc was moved from doc/mgr/balancer.rst to
doc/rados/operations/balancer.rst in
a78d600e6b

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 16:08:02 +08:00
Kefu Chai
a5735b8718
Merge pull request #23642 from tchaikov/wip-crimson-msgr
cmake,crimson/net: add keepalive support, and enable unittest_seastar_messenger in "make check"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-22 16:00:14 +08:00
Kefu Chai
26c0172505 test/mon: no need to include OSD.h
what it needs is the definition of `struct statfs`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
e3242088ab common,test: update mClockPriorityQueue to accomodate the change in dmc
* cost is required to be a positive number
* PullPriorityQueue's construct uses an enum instead of a bool for
  specifying the behavior when request breaches the limit.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
bdc7c5fdfa dmclock: pick up tag.reservation calc fix and cmake changes
see
- ceph/dmclock#58
- ceph/dmclock#60
- ceph/dmclock#61

Fixes: http://tracker.ceph.com/issues/26998
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
e7d38d7a63 cmake: dmclock related cleanups
* do not include_directories() globally. use dmclock::dmclock's
  interface properties instead
* add_subdirectory(dmclock) instead of add_subdirectory(dmclock/src)
  for including its
* set dmclock_TEST instead of including the subdirectories under
  dmclock/
* objclass/class_api.cc includes PrimaryLogPG.h, which in turn includes
  indirect_intrusive_heap.h, so it'd better to compile class_api.cc as
  a part of osd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Patrick Donnelly
7a69ebbce7
Merge PR #23635 into master
* refs/pull/23635/head:
	mds: use monotonic clock in beacon
	mds: simplify beacon init

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-21 14:38:54 -07:00
Jason Dillaman
b613fbdb62 Merge pull request #21114 from colletj/colletj_rbd_image_timestamps
librbd: add rbd image access/modified timestamps

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 16:17:37 -04:00