]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agocmake: CMake environment variables added to automake
Ali Maredia [Wed, 17 Feb 2016 16:26:44 +0000 (11:26 -0500)]
cmake: CMake environment variables added to automake

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Building ceph-detect-init from source code
Ali Maredia [Mon, 15 Feb 2016 04:22:02 +0000 (23:22 -0500)]
cmake: Building ceph-detect-init from source code

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Building ceph-disk from source code
Ali Maredia [Mon, 15 Feb 2016 04:19:30 +0000 (23:19 -0500)]
cmake: Building ceph-disk from source code

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Add librgw_file tests
Ali Maredia [Wed, 17 Feb 2016 18:35:42 +0000 (13:35 -0500)]
cmake: Add librgw_file tests

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added rbd_mirror targets
Ali Maredia [Mon, 15 Feb 2016 03:30:15 +0000 (22:30 -0500)]
cmake: Added rbd_mirror targets

Added rbd_mirror libraries, unit tests, executables

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added an absolute path for libs
Ali Maredia [Fri, 12 Feb 2016 23:12:02 +0000 (18:12 -0500)]
cmake: Added an absolute path for libs

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: test_pidfile.sh test passing
Ali Maredia [Fri, 12 Feb 2016 19:30:21 +0000 (14:30 -0500)]
cmake: test_pidfile.sh test passing

Replaced relative paths in test_pidfile.sh
with CEPH_VAR environment variables set in cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Protect againist getenv returning nullptr
Ali Maredia [Fri, 12 Feb 2016 03:27:57 +0000 (22:27 -0500)]
cmake: Protect againist getenv returning nullptr

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: erasure-decode-non-regression.sh passing
Ali Maredia [Fri, 5 Feb 2016 00:08:19 +0000 (19:08 -0500)]
cmake: erasure-decode-non-regression.sh passing

Added missing dependencies and link libraries for
erasure-decode-non-regression.sh and added absolute
paths to ceph_erasure_code_non_regression.cc.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agounittest_journal: got rid of relative paths
Ali Maredia [Thu, 4 Feb 2016 01:31:01 +0000 (20:31 -0500)]
unittest_journal: got rid of relative paths

Replaced .libs in TestClassHandler.cc with CEPH_LIB

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agounittest_blkdev: absolute path for cmake make check
Ali Maredia [Wed, 3 Feb 2016 21:50:25 +0000 (16:50 -0500)]
unittest_blkdev: absolute path for cmake make check

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: test_objectstore_memstore.sh test passing
Ali Maredia [Thu, 28 Jan 2016 23:25:54 +0000 (18:25 -0500)]
cmake: test_objectstore_memstore.sh test passing

Replaced relative paths in test_objectstore_memstore.sh
with CEPH_VAR environment variables set in cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: erasure-code tests passing
Ali Maredia [Wed, 13 Jan 2016 19:40:22 +0000 (14:40 -0500)]
cmake: erasure-code tests passing

Replaced relative paths in test-erausure-eio.sh
test-erasure-code.sh, and replaced .libs in
erasure_code unittests with CEPH_VAR environment
variables set in cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: ceph_objectstore_tool.py test passing
Ali Maredia [Tue, 26 Jan 2016 20:32:05 +0000 (15:32 -0500)]
cmake: ceph_objectstore_tool.py test passing

Replaced relative paths in shell scripts in
test/ceph_objectstore_tool.py and init-ceph.in to
work with CEPH_FOO environment variables set in cmake.
Also added CEPH_BUILD_DIR environment variable set
to CMAKE_BINARY_DIR. It is used in init-ceph and
ceph_objectstore_tool.py.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: unittest_bufferlist passing in cmake
Ali Maredia [Fri, 15 Jan 2016 04:42:32 +0000 (23:42 -0500)]
cmake: unittest_bufferlist passing in cmake

Replaced relative paths in unittest_bufferlist.sh
to work with CEPH_FOO environment variables set in
cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: cephtool-test-rados/mds/osd passing in cmake
Ali Maredia [Thu, 14 Jan 2016 18:28:21 +0000 (13:28 -0500)]
cmake: cephtool-test-rados/mds/osd passing in cmake

Replaced relative paths in test/cephtool-test-mon.sh,
qa/workunits/cephtool/test.sh, and test/cephtool-test-mon.sh
to work with CEPH_FOO environment variables set in cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: working on cephtool-test-rados.sh test
Ali Maredia [Thu, 14 Jan 2016 00:22:38 +0000 (19:22 -0500)]
cmake: working on cephtool-test-rados.sh test

Replaced relative paths in test/cephtool-test-rados.sh,
qa/workunits/rados/test_rados_tool.sh,
src/test/vstart_wrapper.sh, with CEPH_FOO environment
variables set in cmake. Also edited the CMake path
finding logic in vstart.sh with the CEPH_FOO variables.

NOTE: test is not passing yet, possibly due to the
filesystem. this commit is a work in progress

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: working on rados-striper.sh test
Ali Maredia [Wed, 13 Jan 2016 00:33:29 +0000 (19:33 -0500)]
cmake: working on rados-striper.sh test

Replaced relative paths in test/mon/osd-crush.sh
with CEPH_VAR environment variables set in cmake.

NOTE: test is not passing yet, possibly due to the
filesystem. this commit is a work in progress

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: librbd fixes
Ali Maredia [Tue, 2 Feb 2016 02:14:44 +0000 (21:14 -0500)]
cmake: librbd fixes

Added src/librbd and test/librbd CMakeLists.txt's,
various previously missing libraries and targets,
revised unittest_librbd.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/system dir
Ali Maredia [Tue, 2 Feb 2016 01:49:49 +0000 (20:49 -0500)]
cmake: moved tests into test/system dir

Added a CMakeLists.txt into test/system.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/rgw dir
Ali Maredia [Tue, 2 Feb 2016 01:47:16 +0000 (20:47 -0500)]
cmake: moved tests into test/rgw dir

Added a CMakeLists.txt into test/rgw.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/osdc dir
Ali Maredia [Tue, 2 Feb 2016 01:45:09 +0000 (20:45 -0500)]
cmake: moved tests into test/osdc dir

Added a CMakeLists.txt into test/osdc.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/ObjectMap dir
Ali Maredia [Tue, 2 Feb 2016 01:43:57 +0000 (20:43 -0500)]
cmake: moved tests into test/ObjectMap dir

Added a CMakeLists.txt into test/ObjectMap.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/msgr dir
Ali Maredia [Tue, 2 Feb 2016 01:42:17 +0000 (20:42 -0500)]
cmake: moved tests into test/msgr dir

Added a CMakeLists.txt into test/msgr.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/messenger dir
Ali Maredia [Tue, 2 Feb 2016 01:40:33 +0000 (20:40 -0500)]
cmake: moved tests into test/messenger dir

Added a CMakeLists.txt into test/messenger.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/librados_test_stub dir
Ali Maredia [Tue, 2 Feb 2016 01:37:44 +0000 (20:37 -0500)]
cmake: moved tests into test/librados_test_stub dir

Added a CMakeLists.txt into test/librados_test_stub.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/libcephfs dir
Ali Maredia [Tue, 2 Feb 2016 01:36:07 +0000 (20:36 -0500)]
cmake: moved tests into test/libcephfs dir

Added a CMakeLists.txt into test/libcephfs.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/journal dir
Ali Maredia [Tue, 2 Feb 2016 01:19:04 +0000 (20:19 -0500)]
cmake: moved tests into test/journal dir

Added a CMakeLists.txt into test/journal.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/filestore dir
Ali Maredia [Tue, 2 Feb 2016 01:02:42 +0000 (20:02 -0500)]
cmake: moved tests into test/filestore dir

Added a CMakeLists.txt into test/filestore.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/compressor dir
Ali Maredia [Tue, 2 Feb 2016 00:59:37 +0000 (19:59 -0500)]
cmake: moved tests into test/compressor dir

Added a CMakeLists.txt into test/compressor,
libcompressor to src/compressor/CMakeLists.txt,
added absolute path into $snappy_sources, removed
.libs from compressor unit test source files

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_version dir
Ali Maredia [Tue, 2 Feb 2016 00:39:23 +0000 (19:39 -0500)]
cmake: moved tests into test/cls_version dir

Added a CMakeLists.txt into test/cls_version.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_statelog dir
Ali Maredia [Tue, 2 Feb 2016 00:37:58 +0000 (19:37 -0500)]
cmake: moved tests into test/cls_statelog dir

Added a CMakeLists.txt into test/cls_statelog.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_rgw dir
Ali Maredia [Tue, 2 Feb 2016 00:34:05 +0000 (19:34 -0500)]
cmake: moved tests into test/cls_rgw dir

Added a CMakeLists.txt into test/cls_rgw.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_replica_log dir
Ali Maredia [Tue, 2 Feb 2016 00:32:07 +0000 (19:32 -0500)]
cmake: moved tests into test/cls_replica_log dir

Added a CMakeLists.txt into test/cls_replica_log.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_refcount dir
Ali Maredia [Tue, 2 Feb 2016 00:28:18 +0000 (19:28 -0500)]
cmake: moved tests into test/cls_refcount dir

Added a CMakeLists.txt into test/cls_refcount.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_rbd dir
Ali Maredia [Tue, 2 Feb 2016 00:26:00 +0000 (19:26 -0500)]
cmake: moved tests into test/cls_rbd dir

Added a CMakeLists.txt into test/cls_rbd.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_numops dir
Ali Maredia [Tue, 2 Feb 2016 00:23:46 +0000 (19:23 -0500)]
cmake: moved tests into test/cls_numops dir

Added a CMakeLists.txt into test/cls_numops.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_log dir
Ali Maredia [Tue, 2 Feb 2016 00:20:55 +0000 (19:20 -0500)]
cmake: moved tests into test/cls_log dir

Added a CMakeLists.txt into test/cls_log.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_lock dir
Ali Maredia [Mon, 1 Feb 2016 22:48:16 +0000 (17:48 -0500)]
cmake: moved tests into test/cls_lock dir

Added a CMakeLists.txt into test/cls_lock.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/cls_hello dir
Ali Maredia [Mon, 1 Feb 2016 22:46:56 +0000 (17:46 -0500)]
cmake: moved tests into test/cls_hello dir

Added a CMakeLists.txt into test/cls_hello.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/bench dir
Ali Maredia [Mon, 1 Feb 2016 22:44:57 +0000 (17:44 -0500)]
cmake: moved tests into test/bench dir

Added a CMakeLists.txt into test/bench.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/os dir
Ali Maredia [Sat, 30 Jan 2016 01:11:03 +0000 (20:11 -0500)]
cmake: moved tests into test/os dir

Added a CMakeLists.txt into test/os.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/pybind dir
Ali Maredia [Thu, 28 Jan 2016 21:50:53 +0000 (16:50 -0500)]
cmake: moved tests into test/pybind dir

Added a CMakeLists.txt into test/pybind. Added
CEPH_BIN in front of relative path in
test_ceph_argparse.py.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/objectstore dir
Ali Maredia [Thu, 28 Jan 2016 21:49:06 +0000 (16:49 -0500)]
cmake: moved tests into test/objectstore dir

Added a CMakeLists.txt into test/objectstore.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/mds dir
Ali Maredia [Thu, 28 Jan 2016 21:47:18 +0000 (16:47 -0500)]
cmake: moved tests into test/mds dir

Added a CMakeLists.txt into test/mds.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/libradosstriper dir
Ali Maredia [Thu, 28 Jan 2016 21:45:55 +0000 (16:45 -0500)]
cmake: moved tests into test/libradosstriper dir

Added a CMakeLists.txt into test/libradosstriper.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/librados dir
Ali Maredia [Thu, 28 Jan 2016 21:45:00 +0000 (16:45 -0500)]
cmake: moved tests into test/librados dir

Added a CMakeLists.txt into test/librados.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/fs dir
Ali Maredia [Thu, 28 Jan 2016 21:42:26 +0000 (16:42 -0500)]
cmake: moved tests into test/fs dir

Added a CMakeLists.txt into test/fs.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/crush dir
Ali Maredia [Thu, 28 Jan 2016 21:40:21 +0000 (16:40 -0500)]
cmake: moved tests into test/crush dir

Added a CMakeLists.txt into test/crush.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/common dir
Ali Maredia [Thu, 28 Jan 2016 21:29:38 +0000 (16:29 -0500)]
cmake: moved tests into test/common dir

Added a CMakeLists.txt into test/common.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: shell scripts in test/encoding passing in cmake
Ali Maredia [Fri, 15 Jan 2016 17:17:30 +0000 (12:17 -0500)]
cmake: shell scripts in test/encoding passing in cmake

Replaced relative paths in scripts in test/encoding
to work with CEPH_FOO environment variables set in
cmake, CMakeLists.txt added.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: shell scripts in test/mon passing in cmake
Ali Maredia [Tue, 12 Jan 2016 23:22:46 +0000 (18:22 -0500)]
cmake: shell scripts in test/mon passing in cmake

Replaced relative paths in shell scripts in test/mon
to work with CEPH_FOO environment variables set in
cmake, added CMakelists.txt to test/mon

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: moved tests into test/osd dir
Ali Maredia [Tue, 12 Jan 2016 22:00:16 +0000 (17:00 -0500)]
cmake: moved tests into test/osd dir

Replaced relative paths in shell scripts in test/osd
directory with CEPH_VAR environment variables set in cmake,
added a CMakeLists.txt in test/osd.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: encode-decode-non-regression.sh passing in cmake
Ali Maredia [Fri, 15 Jan 2016 19:14:23 +0000 (14:14 -0500)]
cmake: encode-decode-non-regression.sh passing in cmake

Replaced relative paths in encode-decode-non-regression.sh
to work with CEPH_FOO environment variables set in
cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: test-ceph-helpers working
Ali Maredia [Mon, 11 Jan 2016 22:28:47 +0000 (17:28 -0500)]
cmake: test-ceph-helpers working

Moved all the libraries in CMAKE_BINARY_DIR/lib
and all the binaries in CMAKE_BINARY_DIR/bin. Set
various environment variables for test-ceph-helpers.
Put those variables throughout
qa/workunits/ceph-helpers.sh.

NOTE: This is a very rough draft of these fixes.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Reorganized test dir, added cmake functions
Ali Maredia [Tue, 26 Jan 2016 20:45:15 +0000 (15:45 -0500)]
cmake: Reorganized test dir, added cmake functions

make check targets now use add_ceph_test, or
add_ceph_unittest to be added to CTest. Renamed and
reordered targets in tests/CMakeLists.txt

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #8606 from dillaman/wip-15457
Josh Durgin [Thu, 14 Apr 2016 23:46:27 +0000 (16:46 -0700)]
Merge pull request #8606 from dillaman/wip-15457

rbd: loosen image spec validation requirements

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8603 from rmechler/wip-15362
Josh Durgin [Thu, 14 Apr 2016 22:41:14 +0000 (15:41 -0700)]
Merge pull request #8603 from rmechler/wip-15362

pybind/rados: fix omap method return values

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorelease-notes: document rbd cli name validation override 8606/head
Jason Dillaman [Thu, 14 Apr 2016 19:34:02 +0000 (15:34 -0400)]
release-notes: document rbd cli name validation override

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: fail if cannot extract spec from legacy "--image" optional
Jason Dillaman [Thu, 14 Apr 2016 17:30:14 +0000 (13:30 -0400)]
rbd: fail if cannot extract spec from legacy "--image" optional

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: optionally disable spec validation when creating images/snapshots
Jason Dillaman [Thu, 14 Apr 2016 17:24:21 +0000 (13:24 -0400)]
rbd: optionally disable spec validation when creating images/snapshots

Setting the "rbd-validate-names" config propery to false will disable
spec validation.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: add support for relaxed image spec validation
Jason Dillaman [Thu, 14 Apr 2016 17:13:42 +0000 (13:13 -0400)]
rbd: add support for relaxed image spec validation

Operations which create images or snapshots still fully enforce
the spec validation.  All other operations use a relaxed validation
format.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocommon: new rbd image spec validation option
Jason Dillaman [Thu, 14 Apr 2016 16:42:33 +0000 (12:42 -0400)]
common: new rbd image spec validation option

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoRemoved parentheses for if statement. 8603/head
Roland Mechler [Thu, 14 Apr 2016 20:30:41 +0000 (20:30 +0000)]
Removed parentheses for if statement.

Signed-off-by: Roland Mechler <rmechler@cisco.com>
9 years agoMerge pull request #8588 from yehudasa/wip-rgw-period-id
Orit Wasserman [Thu, 14 Apr 2016 19:06:13 +0000 (21:06 +0200)]
Merge pull request #8588 from yehudasa/wip-rgw-period-id

rgw: try to use current period id in a few more cases

9 years agoMerge pull request #8566 from cbodley/wip-rgw-period-reflect
Orit Wasserman [Thu, 14 Apr 2016 19:05:36 +0000 (21:05 +0200)]
Merge pull request #8566 from cbodley/wip-rgw-period-reflect

rgw: RGWPeriod::reflect() sets master zonegroup as default
Reviewed-by: Orit Wasserman<owasserm@redhat.com>
9 years agoupdate release-notes manually
Greg Farnum [Thu, 14 Apr 2016 18:29:05 +0000 (11:29 -0700)]
update release-notes manually

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8585 from cbodley/wip-rgw-reload-usage
Yehuda Sadeh [Thu, 14 Apr 2016 18:17:11 +0000 (11:17 -0700)]
Merge pull request #8585 from cbodley/wip-rgw-reload-usage

rgw: call rgw_log_usage_finalize() on reconfiguration

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8600 from liewegas/wip-rados-lfn
Samuel Just [Thu, 14 Apr 2016 16:16:33 +0000 (09:16 -0700)]
Merge pull request #8600 from liewegas/wip-rados-lfn

ceph_test_rados: make long name ~300 chars, (not ~800)

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8604 from gregsfortytwo/wip-fsmap-decode-fix
Sage Weil [Thu, 14 Apr 2016 16:03:36 +0000 (12:03 -0400)]
Merge pull request #8604 from gregsfortytwo/wip-fsmap-decode-fix

mds: FSmap decode fix

Reviewed-by: Sage Weil <sage@redhat.com>
Tested-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8565 from dillaman/wip-15471
Josh Durgin [Thu, 14 Apr 2016 15:59:41 +0000 (08:59 -0700)]
Merge pull request #8565 from dillaman/wip-15471

librbd: fix handling of proxied maintenance operations during shut down

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: do not return a failure if a peer cannot be notified of updateReviewed-by...
Josh Durgin [Thu, 14 Apr 2016 15:59:16 +0000 (08:59 -0700)]
librbd: do not return a failure if a peer cannot be notified of updateReviewed-by: Josh Durgin <jdurgin@redhat.com>

librbd: do not return a failure if a peer cannot be notified of update

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8511 from dillaman/wip-15436
Josh Durgin [Thu, 14 Apr 2016 15:58:57 +0000 (08:58 -0700)]
Merge pull request #8511 from dillaman/wip-15436

librbd: IO deadlock when dynamically enabling/disabling features

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8494 from dillaman/wip-15352
Josh Durgin [Thu, 14 Apr 2016 15:58:15 +0000 (08:58 -0700)]
Merge pull request #8494 from dillaman/wip-15352

journal: possible race condition during live replay

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoFixes for python omap method return values.
Roland Mechler [Wed, 13 Apr 2016 23:08:58 +0000 (23:08 +0000)]
Fixes for python omap method return values.

Signed-off-by: Roland Mechler <rmechler@cisco.com>
9 years agoFSMap: guard the ever_enabled_multiple decode 8604/head
Greg Farnum [Thu, 14 Apr 2016 15:15:35 +0000 (08:15 -0700)]
FSMap: guard the ever_enabled_multiple decode

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoceph_test_rados: make long name ~300 chars, (not ~800) 8600/head
Sage Weil [Wed, 13 Apr 2016 21:50:52 +0000 (17:50 -0400)]
ceph_test_rados: make long name ~300 chars, (not ~800)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8594 from dachary/wip-releases
Sage Weil [Thu, 14 Apr 2016 12:38:56 +0000 (08:38 -0400)]
Merge pull request #8594 from dachary/wip-releases

release-notes: v10.1.2 release notes

9 years agocmake: pass RULE_LAUNCHER_* to cythonReviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 14 Apr 2016 12:37:33 +0000 (08:37 -0400)]
cmake: pass RULE_LAUNCHER_* to cythonReviewed-by: Josh Durgin <jdurgin@redhat.com>

cmake: pass RULE_LAUNCHER_* to cython

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agolibrbd: dynamically disabling exclusive lock might leave lingering request 8511/head
Jason Dillaman [Thu, 14 Apr 2016 12:14:46 +0000 (08:14 -0400)]
librbd: dynamically disabling exclusive lock might leave lingering request

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8534 from kmroz/wip-rgw-rados-cleanup-1
Orit Wasserman [Thu, 14 Apr 2016 07:46:54 +0000 (09:46 +0200)]
Merge pull request #8534 from kmroz/wip-rgw-rados-cleanup-1

rgw-rados: return RGWSystemMetaObj init directly
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agorelease-notes: v10.1.2 release notes 8594/head
Loic Dachary [Thu, 14 Apr 2016 06:18:04 +0000 (08:18 +0200)]
release-notes: v10.1.2 release notes

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorelease-notes: v10.1.2 release notes (draft)
Loic Dachary [Thu, 14 Apr 2016 06:15:54 +0000 (08:15 +0200)]
release-notes: v10.1.2 release notes (draft)

cd src/script
virtualenv v
source v/bin/activate
pip install githubpy GitPython requests
GITHUB_ACCESS_TOKEN=xxxxxxx ./ceph-release-notes \
    -r tags/v10.1.1..tags/v10.1.2 $(git rev-parse --show-toplevel)

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #8381 from ceph/wip-cython-tarball-build
Josh Durgin [Thu, 14 Apr 2016 01:59:21 +0000 (18:59 -0700)]
Merge pull request #8381 from ceph/wip-cython-tarball-build

cmake/pybind: fix include paths for cephfs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8569 from jdurgin/wip-dev-package-doc
Josh Durgin [Thu, 14 Apr 2016 00:08:15 +0000 (17:08 -0700)]
Merge pull request #8569 from jdurgin/wip-dev-package-doc

doc: reinstate accidentally removed section header

Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
9 years agoMerge pull request #8587 from emenguy/fix_dependencies_documentation
Josh Durgin [Thu, 14 Apr 2016 00:06:08 +0000 (17:06 -0700)]
Merge pull request #8587 from emenguy/fix_dependencies_documentation

doc: fix dependencies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8584 from dillaman/wip-15479
Josh Durgin [Wed, 13 Apr 2016 23:20:20 +0000 (16:20 -0700)]
Merge pull request #8584 from dillaman/wip-15479

test: image replayer needs dummy remote mirror peer uuid

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agorgw: try to use current period id in a few more cases 8588/head
Yehuda Sadeh [Wed, 13 Apr 2016 23:05:09 +0000 (16:05 -0700)]
rgw: try to use current period id in a few more cases

If missing period id, try to use the current period id. This is needed
for sync agent compatibility.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8188 from ceph/wip-systemd-restart-defaults
Sage Weil [Wed, 13 Apr 2016 20:50:46 +0000 (16:50 -0400)]
Merge pull request #8188 from ceph/wip-systemd-restart-defaults

systemd: Use the same restart limits as upstart

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodoc: fix dependencies 8587/head
Etienne Menguy [Wed, 13 Apr 2016 19:31:16 +0000 (19:31 +0000)]
doc: fix dependencies

Signed-off-by: Etienne Menguy <etienne.menguy@corp.ovh.com>
9 years agosystemd: Use the same restart limits as upstart 8188/head
Boris Ranto [Thu, 17 Mar 2016 17:54:47 +0000 (18:54 +0100)]
systemd: Use the same restart limits as upstart

Currently, the systemd daemons are not restarted on failure. This patch
adds this functionality and sets the defaults to those defined in
upstart. This resolves to 3 fails per 30 minutes for osd, mon and mds
and 5 fails per 30 seconds for radosgw.

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agorgw: call rgw_log_usage_finalize() on reconfiguration 8585/head
Casey Bodley [Wed, 13 Apr 2016 17:30:16 +0000 (13:30 -0400)]
rgw: call rgw_log_usage_finalize() on reconfiguration

RGWRealmReloader was calling rgw_log_usage_init() with the new RGWRados
instance, but never cleaned up the previous one with
rgw_log_usage_finalize()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agotest: image replayer needs dummy remote mirror peer uuid 8584/head
Jason Dillaman [Wed, 13 Apr 2016 16:35:32 +0000 (12:35 -0400)]
test: image replayer needs dummy remote mirror peer uuid

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8498 from liewegas/wip-bluestore
Sage Weil [Wed, 13 Apr 2016 15:26:44 +0000 (11:26 -0400)]
Merge pull request #8498 from liewegas/wip-bluestore

os/bluestore: fix shortened bluefs paths in env mirror case

9 years agorgw: RGWPeriod::reflect() sets master zonegroup as default 8566/head
Casey Bodley [Tue, 12 Apr 2016 20:21:13 +0000 (16:21 -0400)]
rgw: RGWPeriod::reflect() sets master zonegroup as default

if RGWPeriod::reflect() is called right after a 'realm pull', it will
create the zonegroup objects but not set any as default.  so the next
time RGWRados is initialized, create_defaults() will add a new 'default'
zonegroup and set it as the master.  this causes a 'period update' to
find multiple master zonegroups and fail with EINVAL

reflect() now calls set_as_default(exclusive=true) on the master
zonegroup to guarantee that a default is set

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agojournal: race possible when re-watching a journal object 8494/head
Jason Dillaman [Wed, 13 Apr 2016 14:34:24 +0000 (10:34 -0400)]
journal: race possible when re-watching a journal object

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoos/bluestore: fix shortened bluefs paths in env mirror case 8498/head
Sage Weil [Thu, 7 Apr 2016 23:00:26 +0000 (19:00 -0400)]
os/bluestore: fix shortened bluefs paths in env mirror case

If we are mirroring the rocksdb env, don't shorten the
paths.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8556 from liewegas/wip-ext4
Sage Weil [Wed, 13 Apr 2016 13:19:19 +0000 (09:19 -0400)]
Merge pull request #8556 from liewegas/wip-ext4

doc: recommend against ext4

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agoMerge pull request #8574 from tchaikov/wip-readable-test-fix
Kefu Chai [Wed, 13 Apr 2016 12:32:50 +0000 (20:32 +0800)]
Merge pull request #8574 from tchaikov/wip-readable-test-fix

test/encoding/readable: use [ for "test" not ((

Reviewed-by: Erwan Velu <erwan@redhat.com>
9 years agoMerge pull request #8567 from cbodley/wip-rgw-period-pull-url
Orit Wasserman [Wed, 13 Apr 2016 11:30:05 +0000 (13:30 +0200)]
Merge pull request #8567 from cbodley/wip-rgw-period-pull-url

radosgw-admin: allow 'period pull --url' without full multisite config
Reviewed-by: Orit Wasserman <owasserm@redhat.com>