Commit Graph

67304 Commits

Author SHA1 Message Date
Yuri Weinstein
b29faef354 qa: Cleaned up distros to use latest versions
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-01-05 13:38:04 -08:00
Samuel Just
9d5fb726c6 Merge pull request #12788 from athanatos/wip-oi-mismatch
PrimaryLogPG: don't update digests for objects with mismatched names

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-05 12:13:54 -08:00
Jason Dillaman
9ad8fec43f Merge pull request #12413 from ovh/wip-support-hammer-in-rbd_recover_tool
tools: support hammer in rbd_recover_tool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-05 10:27:41 -05:00
Mykola Golub
18567fb9f9 Merge pull request #12050 from dillaman/wip-16180
librados: asynchronous selfmanaged_snap_create/selfmanaged_snap_remove APIs

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-05 17:18:11 +02:00
Kefu Chai
d58dcba22f Merge pull request #12763 from wjwithagen/wip-wjw-freebsd-boostpython
CMakeLists.txt: boost_python.so requires libpython.*.so on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 22:21:59 +08:00
Kefu Chai
053d40fc17 Merge pull request #12562 from majianpeng/rockdb-option
rocksdb: add option: writable_file_max_buffer_size = 0

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-05 22:12:57 +08:00
Loic Dachary
23e6de2b7d Merge pull request #12760 from tchaikov/wip-18371
ceph-disk: convert none str to str before printing it

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-01-05 15:08:49 +01:00
Kefu Chai
0d5780c93d Merge pull request #12728 from Liuchang0812/fix-17861
osd: add asock command to dump the scrub queue

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 22:07:31 +08:00
Kefu Chai
14d8d5d10f Merge pull request #12775 from xiexingguo/xxg-wip-shutup-warning
common: get rid of "warning: ignoring return value of ‘strerror_r’"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 21:59:30 +08:00
Kefu Chai
752ef9bfde Merge pull request #12769 from bachp/cmake-keyutils
cmake: search for Keyutils in default paths

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 20:49:46 +08:00
Kefu Chai
9681c49905 Merge pull request #12785 from wjwithagen/wip-wjw-cmake-parse_secret_objs
src/CMakeLists.txt: Move parse_secret_objs setting within definition block

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 20:43:34 +08:00
Bartłomiej Święcki
1380a39018 tools: Support hammer in rbd_recover_tool
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2017-01-05 10:24:16 +00:00
Xie Xingguo
71fa695edd Merge pull request #12772 from hjwsm1989/mempool
include/mempool: fix typo in comments

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-05 08:30:12 +08:00
Samuel Just
5ead0588e8 Merge pull request #12779 from badone/wip-check_new_interval-comment
osd/osd_types: Move comment to more relevant position

Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-04 14:03:19 -08:00
Yuri Weinstein
dd51d2e09b Merge pull request #12610 from tmuthamizhan/wip-ansible-suite
qa/suite: Added a smoke suite for ceph-ansible

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-01-04 12:51:51 -08:00
Willem Jan Withagen
4db092cee0 CMakeLists.txt/FreeBSD: Boost_python needs explicit linking with libpython*.so
- Otherwise losts of unresolved errors will result.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-04 21:50:22 +01:00
Nathan Cutler
cc4551485a Merge pull request #12181 from SUSE/wip-18037
osd: improve error message when FileStore op fails due to EPERM

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-01-04 19:06:25 +01:00
Kefu Chai
5e0dd1e7df ceph-disk: convert none str to str before printing it
Error('somethings goes wrong', e) is thrown if exception `e` is caught
in ceph-disk, where e is not a string. so we can not just concat it in
Error's __str__(). so cast it to str before doing so.

introduced by d0e29c7

Fixes: http://tracker.ceph.com/issues/18371
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-05 00:12:55 +08:00
Jason Dillaman
cc6b6fbb58 Merge pull request #12697 from kylinstorage/wip-rbd-bench
rbd: additional validation for 'bench' optional parameters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-04 10:58:59 -05:00
Jason Dillaman
92a54190c2 Merge pull request #12319 from gaurav36/bug-18125-rbd-mirror-enable-disable
librbd: warning message for mirroring pool option

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-04 10:21:50 -05:00
Kefu Chai
28622f88ae Merge pull request #12191 from wjwithagen/wip-wjw-freebsd-radosgw-admin
rgw_file: radosgw-admin can be built under FreeBSD

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-04 23:09:06 +08:00
Haomai Wang
0940e7e1a2 Merge pull request #12737 from amirv/refactor
Move code from .h into .cc

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-04 23:07:24 +08:00
Willem Jan Withagen
cabc409bf5 src/CMakeLists.txt: Move parse_secret_objs setting within definition block
- parse_secret_objs is only used when secret.c is actually used
   and that is with CEPHFS or RBD

This removes a Cmake warning on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-04 13:29:45 +01:00
Pascal Bach
c79bf93d02 cmake: search for Keyutils in default paths and cleanup
This makes it more portable

Remove /usr/include as it is searched by find_path anyway.
Remove unnecessary include that weren't used.


Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
2017-01-04 12:47:17 +01:00
Kefu Chai
a7b78620f0 Merge pull request #12705 from badone/wip-ceph_test_rados_api_tier-valgrind-fixes
test/librados/tier.cc: Fix valgrind errors

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-04 18:08:46 +08:00
Gaurav Kumar Garg
a0379f096d rbd: warning message for mirroring pool option
When user enable/disable mirroring option on a pool, than
re-enabling/disabling mirroring option should give warning
message if it is already enable/disable.
It should also give warning when changing the mode from pool
to image or vice versa.

Fixes: http://tracker.ceph.com/issues/18125

Reported-by:  Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2017-01-04 11:06:19 +01:00
Kefu Chai
d0be9caeec Merge pull request #12544 from hjwsm1989/oc
osdc/ObjectCacher: use state instead of get_state()

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-04 18:06:13 +08:00
Kefu Chai
ee5d8b97eb Merge pull request #8942 from majianpeng/Finisher-optimize
common/Finisher: Using queue(list<context*>) instead queue(context*).

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 18:05:11 +08:00
Kefu Chai
2ffc63bc9a Merge pull request #9760 from stiopaa1/msg_messengercc_move
msg/Messenger.cc: add std::move

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 18:02:47 +08:00
Kefu Chai
bb70beb603 Merge pull request #12732 from Liuchang0812/wip-issue-17449
mgr: Make stats period configurable

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 17:57:34 +08:00
liuchang0812
7542a3582b osd: add asock command to dump the scrub queue
* add a public method to dumps scrubs
* register new command "dump_scrubs" to asock_admin

Fixes: http://tracker.ceph.com/issues/17861
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-04 14:43:16 +08:00
Kefu Chai
95c01de421 Merge pull request #12777 from wjin/clean_posixworker
msg/async: rm nonused thread variable in posixworker

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 14:38:58 +08:00
xie xingguo
3bd8422b05 common: get rid of "warning: ignoring return value of ‘strerror_r’"
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-04 13:55:24 +08:00
Xie Xingguo
3c0561cb0a Merge pull request #12778 from badone/wip-check_new_interval-logging
osd/osd_type: Fix logging output

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-04 13:52:04 +08:00
Brad Hubbard
dc01b4bfea Merge pull request #12671 from badone/wip-ceph_test_rados_api_cmd-valgrind-fixes
test/librados/cmd.cc: Fix trivial memory leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 15:25:59 +10:00
Brad Hubbard
9af64b8752 osd/osd_types: Move comment to more relevant position
The PriorSet constructor does not reference up_thru at all so the
comment makes more sense in pg_interval_t::check_new_interval.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-04 15:10:35 +10:00
Brad Hubbard
f3001f35ef osd/osd_type: Fix logging output
Logging should reflect the actual function name.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-04 14:48:31 +10:00
Brad Hubbard
f7ddb77719 Merge pull request #12656 from badone/wip-c_read_operations-leak
test/librados/c_read_operations.cc: Fix trivial memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 14:44:12 +10:00
Kefu Chai
2d515697b4 Merge pull request #12442 from badone/wip-coverity-librados-TestCase
test/librados: Silence Coverity memory leak warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 12:24:45 +08:00
Wei Jin
42c9d15e1d msg/async: rm nonused thread variable in posixworker
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
2017-01-04 11:41:13 +08:00
Brad Hubbard
988aea42bc Merge pull request #12690 from badone/wip-ceph_test_rados_api_snapshots-valgrind-fixes
test/librados/snapshots.cc: Fix memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 12:06:06 +10:00
huangjun
a176a6e338 include/mempool: fix typo in comments
Signed-off-by: huangjun <hjwsm1989@gmail.com>
2017-01-04 09:04:14 +08:00
Josh Durgin
e05e87e138 Merge pull request #12770 from yuriw/wip-fix-distro-master
qa: fixed distros links

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-03 16:48:38 -08:00
Tamil Muthamizhan
ad9b75f8d0 Added a smoke suite for ceph-ansible
Smoke suite with basic tests for ceph ansible deployment

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-01-03 16:11:28 -08:00
Yuri Weinstein
fbb560c901 qa: fixed distros links
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-01-03 15:59:18 -08:00
Nathan Cutler
b61c8158d3 Merge pull request #11787 from SUSE/wip-17802
doc: clarify "ceph quorum" syntax

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 00:16:47 +01:00
Nathan Cutler
f7723e59b6 osd: improve error message when FileStore op fails due to EPERM
References: http://tracker.ceph.com/issues/18037
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-04 00:10:21 +01:00
Samuel Just
780c299032 PrimaryLogPG: don't update digests for objects with mismatched names
I've only seen this on one cluster, but let's not issue repops during
scrub on objects where the object_info_t::soid value is not correct.
The cluster in question has been through many different non-release
kernels and osd versions, so the objects presumably came about due to an
old xfs or filestore bug.  They recently became fatal since we made
filestore crash on ENOENT for setattrs.  In the past, the cluster just
silently tolerated them.

http://tracker.ceph.com/issues/18409 is a larger feature to detect these
better and repair them automatically.

Related: http://tracker.ceph.com/issues/18409
Signed-off-by: Samuel Just <sjust@redhat.com>
2017-01-03 11:16:03 -08:00
Ali Maredia
209c0a6cbe Merge pull request #12385 from dlan17/master
cmake: explictly call find_package(PythonInterp) first to fix build err

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2017-01-03 21:55:27 +05:30
Casey Bodley
601aa9d25c Merge pull request #12658 from oritwas/wip-rgw-17239
rgw: clear master_zonegroup when reseting RGWPeriodMap

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-03 10:44:43 -05:00