]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoosd: fix noisy debug line
Sage Weil [Sat, 16 Apr 2016 12:56:13 +0000 (08:56 -0400)]
osd: fix noisy debug line

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8628 from SUSE/wip-ceph-common-pre-scriptlet
Sage Weil [Sat, 16 Apr 2016 12:54:57 +0000 (08:54 -0400)]
Merge pull request #8628 from SUSE/wip-ceph-common-pre-scriptlet

ceph.spec.in: terminate if statement in %pre scriptlet

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec.in: terminate if statement in %pre scriptlet 8628/head
Nathan Cutler [Sat, 16 Apr 2016 11:48:03 +0000 (13:48 +0200)]
ceph.spec.in: terminate if statement in %pre scriptlet

One of the if statements in the ceph-common %pre scriptlet was not properly
terminated.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8620 from yehudasa/wip-rgw-region-fixes
Orit Wasserman [Sat, 16 Apr 2016 08:06:51 +0000 (10:06 +0200)]
Merge pull request #8620 from yehudasa/wip-rgw-region-fixes

rgw : region to zonegroup related fixes
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8617 from liewegas/wip-15098
Sage Weil [Sat, 16 Apr 2016 01:22:57 +0000 (21:22 -0400)]
Merge pull request #8617 from liewegas/wip-15098

debian: start ceph-mon-all and ceph-osd-all on package install …

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #8613 from liewegas/wip-debug-map-trim
Sage Weil [Sat, 16 Apr 2016 01:17:34 +0000 (21:17 -0400)]
Merge pull request #8613 from liewegas/wip-debug-map-trim

osd: some debug output for old osdmap trimming

9 years agocommon: typo-fix for osd_check_max_object_name_len_on_startup
Yehuda Sadeh [Fri, 15 Apr 2016 23:48:34 +0000 (16:48 -0700)]
common: typo-fix for osd_check_max_object_name_len_on_startup

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agocommon: typo-fix for osd_check_max_object_name_len_on_startup 8621/head
Robin H. Johnson [Fri, 15 Apr 2016 22:27:44 +0000 (15:27 -0700)]
common: typo-fix for osd_check_max_object_name_len_on_startup

Fixes a typo introduced in 02f5885114eab8ce21dedb8c3337422d89cc0d9b

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoMerge pull request #8560 from liewegas/wip-lfn-startup
Sage Weil [Fri, 15 Apr 2016 21:16:45 +0000 (17:16 -0400)]
Merge pull request #8560 from liewegas/wip-lfn-startup

osd: refuse to start if object name limits are not possible

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #7984 from rldleblanc/wpq-starvation
Sage Weil [Fri, 15 Apr 2016 21:16:21 +0000 (17:16 -0400)]
Merge pull request #7984 from rldleblanc/wpq-starvation

common: WeightedPriorityQueue Re-Add Round Robin for Classes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Karol Mroz <kmroz@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8505 from liewegas/wip-15391
Sage Weil [Fri, 15 Apr 2016 21:14:57 +0000 (17:14 -0400)]
Merge pull request #8505 from liewegas/wip-15391

osd/ReplicatedPG: make handle_watch_timeout no-op if !active

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8545 from xiexingguo/xxg-wip-lfn
Sage Weil [Fri, 15 Apr 2016 21:14:39 +0000 (17:14 -0400)]
Merge pull request #8545 from xiexingguo/xxg-wip-lfn

os/filestore: fix return type mismatch for lfn parse

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8555 from avnerbh/fixes_no_3
Sage Weil [Fri, 15 Apr 2016 21:14:22 +0000 (17:14 -0400)]
Merge pull request #8555 from avnerbh/fixes_no_3

msg/xio: simple fixes

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
9 years agoMerge pull request #8570 from xiexingguo/xxg-wip-scrub
Sage Weil [Fri, 15 Apr 2016 21:11:51 +0000 (17:11 -0400)]
Merge pull request #8570 from xiexingguo/xxg-wip-scrub

osd: clear requeue_scrub_on_unblock flag after requeue scrub

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8586 from liewegas/wip-15441
Sage Weil [Fri, 15 Apr 2016 21:08:49 +0000 (17:08 -0400)]
Merge pull request #8586 from liewegas/wip-15441

osd: fix watch reconnect race

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8619 from yehudasa/wip-rgw-jewel-fixes
Casey Bodley [Fri, 15 Apr 2016 20:56:48 +0000 (16:56 -0400)]
Merge pull request #8619 from yehudasa/wip-rgw-jewel-fixes

rgw: fix binfo_cache, RGWShardCollectCR

9 years agorgw: cross rgw request need to send 'zonegroup' http header 8620/head
Yehuda Sadeh [Fri, 15 Apr 2016 20:42:19 +0000 (13:42 -0700)]
rgw: cross rgw request need to send 'zonegroup' http header

instead of 'region'.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix get_zonegroup()
Yehuda Sadeh [Fri, 15 Apr 2016 20:42:06 +0000 (13:42 -0700)]
rgw: fix get_zonegroup()

was passing in the wrong param

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8281 from theanalyst/doc/multisite-rgw
Casey Bodley [Fri, 15 Apr 2016 20:41:51 +0000 (16:41 -0400)]
Merge pull request #8281 from theanalyst/doc/multisite-rgw

doc: rgw adding a very basic multisite doc

9 years agodoc: add multisite to index 8281/head
Abhishek Lekshmanan [Fri, 15 Apr 2016 20:27:10 +0000 (22:27 +0200)]
doc: add multisite to index

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
9 years agodoc: rgw multisite documentation
Abhishek Lekshmanan [Wed, 23 Mar 2016 17:55:38 +0000 (18:55 +0100)]
doc: rgw multisite documentation

Adding basic documentation for new multisite features, with an example
showing 3 zones in a zonegroup.

Fixes: http://tracker.ceph.com/issues/15247
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agorgw: binfo_cache is now a RGWRados member 8619/head
Yehuda Sadeh [Fri, 15 Apr 2016 17:25:12 +0000 (10:25 -0700)]
rgw: binfo_cache is now a RGWRados member

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWShardCollectCR does not need a cct member
Yehuda Sadeh [Fri, 15 Apr 2016 17:21:18 +0000 (10:21 -0700)]
rgw: RGWShardCollectCR does not need a cct member

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7912 from ceph/wip-cmake-make-check
Casey Bodley [Fri, 15 Apr 2016 16:21:29 +0000 (12:21 -0400)]
Merge pull request #7912 from ceph/wip-cmake-make-check

Wip cmake make check

9 years agoMerge pull request #8614 from liewegas/wip-fsmap-underscore
Gregory Farnum [Fri, 15 Apr 2016 15:47:15 +0000 (08:47 -0700)]
Merge pull request #8614 from liewegas/wip-fsmap-underscore

mds/FSMap: use _ in key name

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodebian: start ceph-mon-all and ceph-osd-all on package install 8617/head
Sage Weil [Fri, 15 Apr 2016 15:46:56 +0000 (11:46 -0400)]
debian: start ceph-mon-all and ceph-osd-all on package install

This matches ceph-mds-all and ceph-all behavior.

Fixes: http://tracker.ceph.com/issues/15098
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8615 from theanalyst/fix-mailmap-self
Loic Dachary [Fri, 15 Apr 2016 15:11:14 +0000 (17:11 +0200)]
Merge pull request #8615 from theanalyst/fix-mailmap-self

mailmap: Abhishek Lekshmanan affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomailmap: Abhishek Lekshmanan affiliation 8615/head
Abhishek Lekshmanan [Fri, 15 Apr 2016 14:14:02 +0000 (16:14 +0200)]
mailmap: Abhishek Lekshmanan affiliation

Adding an entry to normalize the personal email id and work email id
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agomds/FSMap: use _ in key name 8614/head
Sage Weil [Fri, 15 Apr 2016 13:37:35 +0000 (09:37 -0400)]
mds/FSMap: use _ in key name

No space or else it isn't valid XML.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8608 from swamireddy/contrib_list_10.1.2
Loic Dachary [Fri, 15 Apr 2016 13:36:23 +0000 (15:36 +0200)]
Merge pull request #8608 from swamireddy/contrib_list_10.1.2

mailmap update

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoosd: some debug output for old osdmap trimming 8613/head
Sage Weil [Fri, 15 Apr 2016 13:14:34 +0000 (09:14 -0400)]
osd: some debug output for old osdmap trimming

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: add option to disable startup check 8560/head
Sage Weil [Fri, 15 Apr 2016 13:05:13 +0000 (09:05 -0400)]
osd: add option to disable startup check

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: refuse to start if configure object limits don't work
Sage Weil [Tue, 12 Apr 2016 15:00:33 +0000 (11:00 -0400)]
osd: refuse to start if configure object limits don't work

Fail early if the configured max object name cannot be stored on
the (FileStore) backend.  This avoids rude surprises down the
line when some random rados op get ENAMETOOLONG.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agovstart.sh: --short to set ext4-friendly object name and namespace limits
Sage Weil [Wed, 13 Apr 2016 20:48:12 +0000 (16:48 -0400)]
vstart.sh: --short to set ext4-friendly object name and namespace limits

So devs can work on ext4.  Note that this will also mean s3-tests
will fail under vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomailmap: Jenkins name normalization 8608/head
Swami Reddy [Sun, 10 Apr 2016 14:12:18 +0000 (19:42 +0530)]
mailmap: Jenkins name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Abhishek Lekshmanan name normalization
Swami Reddy [Sun, 10 Apr 2016 14:08:26 +0000 (19:38 +0530)]
mailmap: Abhishek Lekshmanan name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Wei Qiaomiao affiliation
Swami Reddy [Sun, 10 Apr 2016 14:06:36 +0000 (19:36 +0530)]
mailmap: Wei Qiaomiao affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Luo Runbing affiliation
Swami Reddy [Sun, 10 Apr 2016 14:04:39 +0000 (19:34 +0530)]
mailmap: Luo Runbing affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agocmake: link ceph_test_rados_api_list against libglobal 7912/head
Kefu Chai [Fri, 15 Apr 2016 03:45:49 +0000 (11:45 +0800)]
cmake: link ceph_test_rados_api_list against libglobal

see 769c0aff

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: Add cython_modules to `make check`
Ali Maredia [Mon, 4 Apr 2016 21:45:11 +0000 (17:45 -0400)]
cmake: Add cython_modules to `make check`

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: remove repeat OSD.cc
Ali Maredia [Wed, 16 Mar 2016 19:32:03 +0000 (15:32 -0400)]
cmake: remove repeat OSD.cc

Signed-off-by: Ali Maredia <amaredia@redhat.com>
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>