Commit Graph

89445 Commits

Author SHA1 Message Date
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
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
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
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
Julien Collet
809c5430c2 librbd: add image access/last modified timestamps
Add access and modify timestamps and associated tests
to RBD images.

Access (resp. modify) timestamps are updated on
read (resp. write) operations. A configurable throttling
mechanism is implemented (default to 60s).

Signed-off-by: Julien Collet <julien.collet@cern.ch>
2018-08-21 16:17:17 -04:00
Thomas Serlin
b012016cd5 debian/control: require fuse for ceph-fuse
This is the Ubuntu equivalent for:

https://github.com/ceph/ceph/pull/17120
http://tracker.ceph.com/issues/21057

Installing "ceph-fuse" should pull in the "fuse" package automatically.

Signed-off-by: Thomas Serlin <tserlin@redhat.com>
2018-08-21 15:55:39 -04:00
Jason Dillaman
9cfc3a7fc0
Merge pull request #23649 from trociny/wip-26939
librbd: journaling unable request can not be sent to remote lock owner

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:38:32 -04:00
Jason Dillaman
f4fe2c34e6
Merge pull request #23311 from Songweibin/wip-fix-du-display
tools/rbd: minor fixes for rbd du display

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:37:46 -04:00
Jason Dillaman
4d7c6cc111
Merge pull request #23638 from Songweibin/wip-filter-user-snapshots
rbd: filter out group/trash snapshots from snap_list

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:37:25 -04:00
Kefu Chai
1e7242e4f8
Merge pull request #23615 from dmick/wip-ceph-mgr-deb
debian/rules: fix ceph-mgr .pyc files left behind

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 00:25:24 +08:00
Kefu Chai
3b3e54d861
Merge pull request #23606 from ifed01/wip-ifed-stupid-get-fragmentation-fix
os/bluestore: fix assertion in StupidAllocator::get_fragmentation

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:22:59 +08:00
Kefu Chai
8aa5ec8ef8
Merge pull request #23587 from xiexingguo/wip-recover-order
osd/PrimaryLogPG: optimize recover order

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:21:30 +08:00
Kefu Chai
f7d452e8d1
Merge pull request #23558 from liewegas/wip-mgr-always-on
mgr: keep status, balancer always on
2018-08-22 00:18:30 +08:00
Kefu Chai
fef9d575df
Merge pull request #23573 from rzarzynski/wip-msg-26937
msg: entity_addr_t::parse doesn't do memset(this, 0, ...) for clean-up

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:16:47 +08:00
Kefu Chai
bcd6ad1505
Merge pull request #23641 from wjwithagen/wjw-fix-pthread_get_name_np
include/compat.h: make pthread_get_name_np work when available

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 00:16:09 +08:00
Patrick Donnelly
c0e1734af7
Merge PR #23658 into master
* refs/pull/23658/head:
	qa: use cephfs standard configs for kclient

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-21 08:49:54 -07:00
Kefu Chai
e8efb01a64 test: silence -Wsign-compare warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 21:41:50 +08:00
Jason Dillaman
52788b2966
Merge pull request #23657 from trociny/wip-wsign-compare
test/librbd: fix compiler -Wsign-compare warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 09:37:23 -04:00
Kefu Chai
c159d1f302
Merge pull request #23591 from tchaikov/wip-lockless-auth
auth,common: add lockless auth

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-21 21:33:35 +08:00
Kefu Chai
0d209b6c21
Merge pull request #23567 from tchaikov/wip-cmake-cleanup
cmake: fix Debug build `WITH_SEASTAR=ON`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-21 21:30:46 +08:00
Willem Jan Withagen
68c9d9a2e1 common: be more informative if set PID-file fails
The errors returned by fcntl(...F_SETLK...) can be:
 -  -1 for any odd error
 -  EAGAIN if locking does not work because the file is already locked.

Differentiate in these to be more informative on what is going on.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-21 15:13:28 +02:00
Kefu Chai
e513e3cf32
Merge pull request #23631 from cyx1231st/test-seastar-config
crimson/common: apply config changes also on shard.0

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-21 21:08:37 +08:00
Yingxin
ca8ccb5b43 crimson/test: improve test_config with observers
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-08-22 03:04:42 +08:00
Kefu Chai
cfdaae642e
Merge pull request #23582 from badone/wip-remove-upstart
Remove upstart files and references

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-21 20:17:39 +08:00