Ali Maredia
8e3e3f45e4
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>
2016-04-14 20:48:21 -04:00
Ali Maredia
54eb382058
cmake: moved tests into test/system dir
...
Added a CMakeLists.txt into test/system.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:21 -04:00
Ali Maredia
803def3a6e
cmake: moved tests into test/rgw dir
...
Added a CMakeLists.txt into test/rgw.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:21 -04:00
Ali Maredia
798b821e02
cmake: moved tests into test/osdc dir
...
Added a CMakeLists.txt into test/osdc.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
4492439ef0
cmake: moved tests into test/ObjectMap dir
...
Added a CMakeLists.txt into test/ObjectMap.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
e7c14597eb
cmake: moved tests into test/msgr dir
...
Added a CMakeLists.txt into test/msgr.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
cfffdf62da
cmake: moved tests into test/messenger dir
...
Added a CMakeLists.txt into test/messenger.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
99d343636e
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>
2016-04-14 20:48:20 -04:00
Ali Maredia
eb8e49c5cb
cmake: moved tests into test/libcephfs dir
...
Added a CMakeLists.txt into test/libcephfs.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
99d66ca5c8
cmake: moved tests into test/journal dir
...
Added a CMakeLists.txt into test/journal.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
997291e6f1
cmake: moved tests into test/filestore dir
...
Added a CMakeLists.txt into test/filestore.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
02d508c727
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>
2016-04-14 20:48:20 -04:00
Ali Maredia
d50478f30f
cmake: moved tests into test/cls_version dir
...
Added a CMakeLists.txt into test/cls_version.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
e2b0f6fec5
cmake: moved tests into test/cls_statelog dir
...
Added a CMakeLists.txt into test/cls_statelog.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
8da608de38
cmake: moved tests into test/cls_rgw dir
...
Added a CMakeLists.txt into test/cls_rgw.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
521b07b46e
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>
2016-04-14 20:48:20 -04:00
Ali Maredia
2636c16783
cmake: moved tests into test/cls_refcount dir
...
Added a CMakeLists.txt into test/cls_refcount.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
fe673ea86b
cmake: moved tests into test/cls_rbd dir
...
Added a CMakeLists.txt into test/cls_rbd.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
7271c96d27
cmake: moved tests into test/cls_numops dir
...
Added a CMakeLists.txt into test/cls_numops.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
de64f829c3
cmake: moved tests into test/cls_log dir
...
Added a CMakeLists.txt into test/cls_log.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
0e851dec9f
cmake: moved tests into test/cls_lock dir
...
Added a CMakeLists.txt into test/cls_lock.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
6a791fadc1
cmake: moved tests into test/cls_hello dir
...
Added a CMakeLists.txt into test/cls_hello.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
c1f94dff4d
cmake: moved tests into test/bench dir
...
Added a CMakeLists.txt into test/bench.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
025f5524ed
cmake: moved tests into test/os dir
...
Added a CMakeLists.txt into test/os.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:20 -04:00
Ali Maredia
ef8b113d07
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>
2016-04-14 20:48:20 -04:00
Ali Maredia
74ea1f9fae
cmake: moved tests into test/objectstore dir
...
Added a CMakeLists.txt into test/objectstore.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
852276d889
cmake: moved tests into test/mds dir
...
Added a CMakeLists.txt into test/mds.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
3fffaa6e3e
cmake: moved tests into test/libradosstriper dir
...
Added a CMakeLists.txt into test/libradosstriper.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
83ff75091f
cmake: moved tests into test/librados dir
...
Added a CMakeLists.txt into test/librados.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
84c999a570
cmake: moved tests into test/fs dir
...
Added a CMakeLists.txt into test/fs.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
3a10843552
cmake: moved tests into test/crush dir
...
Added a CMakeLists.txt into test/crush.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
f65c87acad
cmake: moved tests into test/common dir
...
Added a CMakeLists.txt into test/common.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-14 20:48:19 -04:00
Ali Maredia
9be90605b9
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>
2016-04-14 20:48:19 -04:00
Ali Maredia
5d4d3ff704
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>
2016-04-14 20:48:19 -04:00
Ali Maredia
3186c00814
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>
2016-04-14 20:48:19 -04:00
Ali Maredia
59568e59ed
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>
2016-04-14 20:48:19 -04:00
Ali Maredia
e0f400fdef
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>
2016-04-14 20:48:19 -04:00
Ali Maredia
a7bd5e4bdc
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>
2016-04-14 20:48:19 -04:00
Josh Durgin
95ee97a7b9
Merge pull request #8606 from dillaman/wip-15457
...
rbd: loosen image spec validation requirements
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-04-14 16:46:27 -07:00
Josh Durgin
cbc3218a4a
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>
2016-04-14 15:41:14 -07:00
Jason Dillaman
9634214ce1
release-notes: document rbd cli name validation override
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-14 17:59:27 -04:00
Jason Dillaman
08c8cee2db
rbd: fail if cannot extract spec from legacy "--image" optional
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-14 17:59:26 -04:00
Jason Dillaman
08fcc72f00
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>
2016-04-14 17:59:26 -04:00
Jason Dillaman
e57d7c110e
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>
2016-04-14 17:59:26 -04:00
Jason Dillaman
6579c7da48
common: new rbd image spec validation option
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-14 17:59:26 -04:00
Roland Mechler
18ea756b91
Removed parentheses for if statement.
...
Signed-off-by: Roland Mechler <rmechler@cisco.com>
2016-04-14 20:38:53 +00:00
Orit Wasserman
b1adcf8539
Merge pull request #8588 from yehudasa/wip-rgw-period-id
...
rgw: try to use current period id in a few more cases
2016-04-14 21:06:13 +02:00
Orit Wasserman
6e2667aec1
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>
2016-04-14 21:05:36 +02:00
Greg Farnum
d1ed6ebb3c
update release-notes manually
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-14 11:29:13 -07:00
Yehuda Sadeh
d43704f6d2
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>
2016-04-14 11:17:11 -07:00