Casey Bodley
94db6ef834
Merge pull request #10510 from yehudasa/wip-16861
...
test_rgw_bencode: null terminate strings before checking
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-01 15:26:01 -04:00
Josh Durgin
ef9e8dc37d
Merge pull request #9944 from sileht/master
...
python-rados: extends ReadOp/WriteOp API
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-01 09:53:03 -07:00
Kefu Chai
6c04c94d03
Merge pull request #10098 from dzafman/wip-16568
...
tools: New "removeall" used to remove head with snapshots
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-02 00:26:54 +08:00
Kefu Chai
43de9824db
Merge pull request #10085 from chengweiv5/fix-doc
...
doc: ceph-deploy mon add doesn't take multiple nodes
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-02 00:17:29 +08:00
root
a3b5a461d2
For range requests, let the range be dumped before the error is honored.
...
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2016-08-01 20:52:45 +05:30
root
67bfbf4102
For zero sized objects, let the range adhere as per the RFC
...
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2016-08-01 20:52:45 +05:30
root
a94ec15a3b
For zero sized objects, return 416 during range requests
...
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2016-08-01 20:52:45 +05:30
Casey Bodley
e3ba5e8543
Merge pull request #10480 from ceph/lifecycle-cleanup
...
Clean up lifecycle thread
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-01 10:59:31 -04:00
xie xingguo
f9fbdcddd0
common: kill set_nibblewise_key_u32() method
...
Which is never used by anyone.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-01 20:03:34 +08:00
Pritha Srivastava
bcdc2df306
rgw: Rework of s3 LDAP Authentication code.
...
The LDAP authentication code has been reworked based
on the new authentication infrastructure.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2016-08-01 12:29:28 +05:30
huanwen ren
4f5346cc10
doc/cephfs: fix up mds_standby_replay describe
...
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-01 14:52:01 +08:00
xie xingguo
2ead84781d
mon/OSDMonitor: fix CEPH_FEATURE_SERVER_JEWEL of preprocess_boot() check
...
We shall check CEPH_FEATURE_SERVER_JEWEL carried by osd_features of
MOSDBoot message, as it will be properly filled by every OSD during
OSD::_send_boot() process.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-01 12:24:35 +08:00
xie xingguo
3b160df0aa
mon/OSDMonitor: expose require_kraken_osds flag to user
...
For newly created cluster the CEPH_OSDMAP_REQUIRE_KRAKEN will be
automatically set, while for existing clusters it will not.
This change add "require_jewel_osds" to white list, so user
can access it by the "ceph osd set *" command family.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-01 12:24:26 +08:00
Patrick Donnelly
9bef6cf85a
Merge remote-tracking branch 'upstream/pull/10514/head'
...
* upstream/pull/10514/head:
src/vstart.sh: stop script aborting when ceph.cfg is not there
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-30 16:33:29 -04:00
Willem Jan Withagen
df49518642
src/vstart.sh: stop script aborting when ceph.cfg is not there
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-07-30 22:05:06 +02:00
Mykola Golub
77ec14a95b
Merge pull request #10432 from dillaman/wip-16708
...
rbd-mirror: potential IO stall when using asok flush request
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-07-30 19:59:49 +03:00
Mykola Golub
df2aa585c4
Merge pull request #10341 from dillaman/wip-16223
...
rbd-mirror: reduce memory footprint during journal replay
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-07-30 19:28:02 +03:00
Mehdi Abaakouk
5c630e37a9
python-rados: Implements new write_ops
...
* rados_write_op_create
* rados_write_op_append
* rados_write_op_write_full
* rados_write_op_write
* rados_write_op_remove
* rados_write_op_truncate
* rados_write_op_zero
Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
2016-07-30 10:15:20 +02:00
Mehdi Abaakouk
250e16538a
python-rados: add some read_op/write_op methods
...
This change adds python API for the following C methods:
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate
Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
2016-07-30 10:15:09 +02:00
Kefu Chai
00b6fe11d2
Merge pull request #10489 from ceph/wip-cmake
...
cmake changes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-07-30 13:24:32 +08:00
Yehuda Sadeh
4410eedc83
test_rgw_bencode: null terminate strings before checking
...
Fixes: http://tracker.ceph.com/issues/16861
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-07-29 16:07:01 -07:00
Greg Farnum
3421851fce
doc: add some links to CephFS troubleshooting guide
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-29 13:59:22 -07:00
Greg Farnum
1c5778ecf9
doc: extend the CephFS troubleshooting guide
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-29 13:26:39 -07:00
Willem Jan Withagen
13d42705cc
common/dns_resolve.h: Make sure the .h file has al required includes.
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-07-29 20:57:57 +02:00
Willem Jan Withagen
4557585447
src/common/dns_resolve.cc: reorder the includes
...
- dns_resolv.h should only be include after all the std-includes are
made. Otherwise it will result into undefined structs/variables on
FreeBSD/Clang
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-07-29 20:22:22 +02:00
Frank S. Filz
30c4b3bea9
libcephfs: Add unit tests for ceph_ll_setlk and ceph_ll_getlk
...
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2016-07-29 10:56:35 -07:00
Kefu Chai
a27bbaaebf
cmake: link libcommon against pthread
...
as Thread.cc lives in libcommon, and global is not using libpthread
directly. so moving libpthread linkage from libglobal to libcommon.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-30 00:26:44 +08:00
Josh Durgin
e5b3ee0b79
Merge pull request #10177 from BlaXpirit/ceph-tests-py3
...
pybind: Port Python-based tests and remaining Python bindings to Python 3
Reviewed-by: Case Bodley <cbodley@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-07-29 09:04:27 -07:00
Daniel Gryniewicz
bc299e56e4
Clean up lifecycle thread
...
Make sure that the lifecycle thread is terminated and all memory is
cleaned up on shutdown.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-07-29 11:34:21 -04:00
Patrick Donnelly
a955647a2d
Merge remote-tracking branch 'upstream/pull/10312/head'
...
* upstream/pull/10312/head:
vstart: refactor and fix forced config changes
vstart: cleanup echoed commands and sh issues
2016-07-29 11:13:48 -04:00
Kefu Chai
8bf5cd1606
cmake: cleanup Findfuse.cmake
...
* remove unused stuff, we do not pass/use FUSE_VERSION in cmake.
the FUSE_VERSION we are using is defined by "fuse_common.h".
* use FindPackageHandleStandardArgs for handling find_package()
arguments.
* also detect osxfuse on MacOS.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
8bac1c1eeb
cmake: do not reference undefined variables
...
* AIO_LIBS is now named AIO_LIBARIES, and there is not point to print
out its path
* USE_NSS is not defined if NSS is not checked, so if(USE_NSS) is better
here.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
aa524e689d
cmake: remove duplicated linked lib for libcommon
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
7296be4e84
cmake: use fullpaths of libraries
...
better off using the detected path, instead of using the default path
for finding the linked libaries.
see "cmake --help-policy CMP0065" for more details.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
221c47d349
cmake: set policies
...
this makes sure we are compatible with latest and future cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
ce1d2e47ed
cmake: remove uuid
...
as it is replaced by the boost implementation, and not detected in
cmake anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
998a50627f
cmake: do not link ec_jerasure_generic against crush
...
crush is not used in erasure plugins at this moment.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Kefu Chai
417c54f1ef
cmake: exclude private symbols in librbd
...
missed it in 0edfad0
.
* librbd: pass '--exclude-libs,ALL' to linker
* rbd: link against used libraries explicitly, rbd is accessing some
internal symbols not exposed by librbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-29 23:12:33 +08:00
Jason Dillaman
20dd3adeac
Merge pull request #10483 from trociny/fixup-test-rbd-mirror
...
qa/workunits/rbd: small fixup and improvements for rbd-mirror tests
Reviewed-by: Jason Dillaman <dillaman@hotmail.com>
2016-07-29 10:17:06 -04:00
John Spray
8999ae1419
Merge pull request #10374 from ktdreyer/wip-doc-debug-ceph-fuse
...
doc: add troubleshooting steps for ceph-fuse
Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-29 14:41:52 +01:00
Mykola Golub
1d4384c54e
Merge pull request #10332 from dillaman/wip-16689
...
librbd: optimize away unnecessary object map updates
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-07-29 16:31:04 +03:00
Ken Dreyer
ae4b1744df
doc: add troubleshooting steps for ceph-fuse
...
Thanks to John Spray <jspray@redhat.com> on ceph-devel for this
information.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-07-29 07:08:34 -06:00
John Spray
80c0dfcbda
Merge pull request #10479 from batrick/standby-notes
...
doc: small standby doc edits
Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-29 13:49:03 +01:00
John Spray
df0720c98b
Merge pull request #10434 from batrick/i16743
...
doc: add client config ref
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-29 13:48:00 +01:00
Daniel Gryniewicz
bacc5b089c
Merge pull request #10409 from weiqiaomiao/wqm-wip-rgw-reboot
...
rgw:fix rgw boot failed after upgrade to master latest version
2016-07-29 08:29:51 -04:00
lande1234
aba7d3b874
Test scenario
...
Signed-off-by: lande1234 <lan.de3@zte.com.cn>
2016-07-29 04:58:26 +00:00
zhang.zezhu
edb17c32a3
rgw/rgw_main: fix unnecessary variables defined
...
Signed-off-by: zhang.zezhu <zhang.zezhu@zte.com.cn>
2016-07-29 01:20:05 +00:00
Mark Nelson
e7cfdc842e
Merge pull request #10379 from xiexingguo/xxg-wip-bluestore-2016-07-21
...
os/bluestore: fix bitmap allocating failure if max_alloc_size is 0
Mark's Comments:
This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests.
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-07-28 19:49:09 -05:00
Mark Nelson
efc68bc0a5
Merge pull request #10140 from ifed01/wip-bluestore-fsck-update
...
os/bluestore: replace interval_set with a bitset for used_block conta…
Mark's Comments:
This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests, however no fsck specific performance or memory tests were performed.
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-07-28 19:32:15 -05:00
Greg Farnum
a06bb0dffc
client: include COMPLETE and ORDERED states in cache dump
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-07-28 16:19:26 -07:00