Commit Graph

68641 Commits

Author SHA1 Message Date
Kefu Chai
8f8c06096c Merge pull request #13452 from tchaikov/wip-suite-repo-for-workunit
qa/tasks/workunit: use the suite repo for cloning workunit

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-16 23:40:15 +08:00
Loic Dachary
a9afc5aaed Merge pull request #13457 from craig08/wip-18954
ceph-disk: Fix getting wrong group name when --setgroup in bluestore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-16 13:56:15 +01:00
Kefu Chai
c623b3eb1a Merge pull request #13443 from Liuchang0812/cleanup-common
common: add override in common and misc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-16 19:49:53 +08:00
craigchi
a8c0870e73 ceph-disk: Fix getting wrong group name when --setgroup in bluestore
ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
bluestore

Signed-off-by: craigchi <craig10624@gmail.com>
2017-02-16 19:23:23 +08:00
Brad Hubbard
5d1014f5fe Merge pull request #13454 from joscollin/joscollin-fix
os/FuseStore: include <functional> header in src/os/FuseStore.h for gcc 7.x

 Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-16 19:28:39 +10:00
Jos Collin
37ada3e51d os/FuseStore: include <functional> header in src/os/FuseStore.h for gcc 7.x
This is done as per the Header Dependency Changes in gcc 7.
https://gcc.gnu.org/gcc-7/porting_to.html

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-02-16 13:49:26 +05:30
Mykola Golub
321dc61a5a Merge pull request #13416 from dillaman/wip-rbd-mirror-cleanup
rbd-mirror: track images via global image id

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-16 09:35:24 +02:00
Kefu Chai
1f82b9b944 qa/tasks/workunit: use the suite repo for cloning workunit
as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-repo option when cloning workunits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-16 15:05:51 +08:00
liuchang0812
da109b3139 common: add override for common submodule and misc
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-16 13:32:22 +08:00
Kefu Chai
f91fa5ae96 Merge pull request #13406 from vumrao/wip-vumrao-18486
osd/Pool: Disallow enabling 'hashpspool' option to a pool without  '--yes-i-really-mean-it'

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-16 12:48:20 +08:00
Kefu Chai
42d4bf760a Merge pull request #13370 from dreamhost/wip-18887
msg/simple/Pipe: support IPv6 QoS.

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-16 12:47:06 +08:00
Kefu Chai
fd8ab865f7 Merge pull request #13260 from wjwithagen/wip-wjw-freebsd-getopt-2
tools/scripts:"FreeBSD getopt is not compatible, use the one from packages"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-16 12:44:18 +08:00
Sage Weil
e53af89bf3 Merge pull request #12144 from ifed01/wip-bluestore-no-blobdepth
os/bluestore: add new garbage collector

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 21:51:57 -06:00
Sage Weil
3cbe67f436 Merge pull request #13390 from Liuchang0812/remove-header
os/bluestore: some cleanup 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 21:51:37 -06:00
Sage Weil
fd39516023 Merge pull request #13398 from liewegas/wip-pgnls-snaps
osd: drop support for listing objects at a given snap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-02-15 21:51:16 -06:00
Sage Weil
829a08ff56 Merge pull request #13407 from liewegas/wip-osd-msgs
osd: change a few messages at level 0 and 1; change default level to 1/5

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-15 21:50:55 -06:00
Sage Weil
eb491a13dc Merge pull request #13235 from liewegas/wip-pg-split-interval
osd: have clients resend ops on pg split

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-02-15 16:20:18 -06:00
Sage Weil
e5056df48d Merge pull request #13445 from liewegas/wip-rgw-thrash
qa/suites/rgw/thrash: add osd thrashing tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-02-15 15:03:48 -06:00
Casey Bodley
5c9573ac25 Merge pull request #13434 from mikulely/cleanup-rgw-auth
rgw: cleanup unused var in rgw/rgw_rest_s3.cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-15 14:25:43 -05:00
Sage Weil
4f94a6e682 Merge pull request #13412 from yuyuyu101/wip-rdma-log
msg/async/rdma: add log to show correct destruct queuepair

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 12:09:03 -06:00
Sage Weil
f5cfba602b qa/suites/rgw/thrash: add rgw with osd trashing test
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:07:20 -05:00
Sage Weil
967b3cbcb7 qa/suites/rgw/multifs: drop redundant civetweb override
This probably breaks the frontend/apache.yaml case.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:00:13 -05:00
Matt Benjamin
89aaa6d1a4 Merge pull request #13441 from Liuchang0812/cleanup-rgw
rgw: add override in rgw subsystem
2017-02-15 10:53:05 -05:00
John Spray
6d95cb8a1c Merge pull request #13438 from Liuchang0812/cleanup-mds
mds: add override in mds subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-15 15:25:26 +00:00
Kefu Chai
833b00c5c7 Merge pull request #13431 from tchaikov/wip-cython-cephfs-without-librados
pybind: cephfs should be built without librados / python-rados

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-02-15 23:22:59 +08:00
Sage Weil
cf171986a4 Merge pull request #13439 from Liuchang0812/cleanup-osd
osd: add override in osd subsystem

Reviewed-by: Sage Weil <sage@redhat.com.
2017-02-15 09:03:13 -06:00
Sage Weil
70581335ec Merge pull request #13436 from Liuchang0812/cleanup-mgr
mgr: add override in mgr subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:01:37 -06:00
Sage Weil
efbc836519 Merge pull request #13440 from Liuchang0812/cleanup-mon
mon: add override in mon subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:01:02 -06:00
Sage Weil
19ce1081ae Merge pull request #13442 from Liuchang0812/cleanup-librados
librados: add override for librados

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 08:58:35 -06:00
Mykola Golub
22c2614195 Merge pull request #13421 from dillaman/wip-18935
qa/workunits/rbd: resolve potential rbd-mirror race conditions

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-15 16:00:45 +02:00
liuchang0812
87c4aaef1c librados: add override for librados
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:42:02 +08:00
liuchang0812
491d653632 mgr: add override in mgr subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:39:38 +08:00
liuchang0812
6a640d997d mds: add override in mds subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:26:08 +08:00
liuchang0812
a9b1d53d35 osd: add override in osd subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:22:01 +08:00
liuchang0812
1effdfe19b mon: add override in mon subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:18:22 +08:00
liuchang0812
cdc88879e0 rgw: add override in rgw subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:15:38 +08:00
Kefu Chai
df98e8be44 Merge pull request #13317 from ktdreyer/wip-doc-ms-bind-ipv6-exclusive
doc: clarify that "ms bind ipv6" disables IPv4

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-15 17:45:54 +08:00
Jiaying Ren
018ab6f8e3 rgw: cleanup unused var in rgw/rgw_rest_s3.cc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-02-15 17:33:08 +08:00
Loic Dachary
15dc6c23b2 Merge pull request #13424 from dachary/wip-crush-dprintk
crush: fix dprintk compilation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:56:22 +01:00
Kefu Chai
a7f8390705 pybind: cephfs: do not link against librados
otherwise python-cephfs might fail to build with followin error:

Scanning dependencies of target cython3_cephfs
/usr/bin/ld: cannot find -lrados
collect2: error: ld returned 1 exit status

Link Error: Ceph FS library not found

and apparently, cephfs *can* be built without librados. it's only
dependency is libcephfs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
4b19aa513f pybind: cephfs: add docstring for LibCephFS's __init__()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
72b57b8f25 pybind: fix the cstr(auth_id, ..) call
so cstr() prints the right error message if auth_id does not look right.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
221e4bd94e ceph.spec: python-cephfs no longer depends on python-rados
instead, it "Recommends" python-rados. as "Recommends:" is not supported on
older distros, only enable this on SuSE.

because python-cephfs *can* be used without python-rados. the
constructor of LibCephFS accepts a ceph.conf *or* a rados.Rados
instance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Loic Dachary
f29b840c64 crush: fix dprintk compilation
The syntax error was not noticed because dprintk is a macro
and the code is discarded by default.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-14 23:49:16 +01:00
Jason Dillaman
34016f7441 test: fix unused function warnings due to explicit template instantiation
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:45 -05:00
Jason Dillaman
7c45b13e2b rbd-mirror: async mirror image refresh state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:44 -05:00
Jason Dillaman
4b97611123 cls/rbd: async versions for dir_list and mirror_image_list
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:46 -05:00
Jason Dillaman
77d7d8f99d librbd: improved state tracking within object watcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:44 -05:00
Jason Dillaman
7565acc14f rbd-mirror: preliminary support to track multiple remote peer image sources
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:18 -05:00
Jason Dillaman
ced7187567 rbd-mirror: utilize global image id as internal unique key
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:16 -05:00