Commit Graph

67288 Commits

Author SHA1 Message Date
John Spray
5d945fb71e qa/vstart_runner: more robust stop() on daemons
Previously this could get hung up if we killed one
PID and then the daemon reappears with a different
one (perhaps because we caught it during
daemonization?)

Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:43:39 +00:00
John Spray
081038ef53 qa: fix vstart_runner tasks import
Instead of hunting around the filesystem for
ceph-qa-suite, get it from our own location.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:43:39 +00: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
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
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
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
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
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
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
Jason Dillaman
7e40baaae4 Merge pull request #12723 from gaurav36/rbd-remove-unused-condition
rbd: remove unused condition within group action handler

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-03 09:34:45 -05:00
Jason Dillaman
b4e10139fa Merge pull request #12509 from SUSE/wip-18262
doc: add verbiage to rbdmap manpage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-03 09:32:37 -05:00
Jason Dillaman
01cc5e8dfb Merge pull request #12667 from trociny/wip-librados_test_stub-tmap_udate
test: librados_test_stub: tmap_update: return -ENOENT when removing nonexisent key

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-03 09:14:46 -05:00
Kefu Chai
3da84ae456 Merge pull request #12712 from liewegas/wip-18366
mon/OSDMonitor: set last_force_op_resend on overlay pool too

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-03 19:38:22 +08:00
Kefu Chai
1397872306 Merge pull request #12717 from hrchu/patch-1
doc: Update keystone.rst

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-03 18:37:48 +08:00
hrchu
70a7ef99bb doc: Update keystone.rst
Make it clear that project/domain options accept name instead of id.

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-01-03 09:27:13 +00:00
Haomai Wang
eb60e5fd3e Merge pull request #12734 from liupan1111/wip-fix-nvme-driver-compile-issue
spdk: upgrade spdk to v16.12

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-03 16:01:45 +08:00
Brad Hubbard
a945407bde Merge pull request #12751 from tchaikov/wip-18395
ceph_test_rados_api_watch_notify: move global variables into test class

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-03 17:38:16 +10:00
Kefu Chai
543886405d Merge pull request #12730 from Liuchang0812/fix-dev-doc-pglog
doc/dev: update log_based_pg.rst, fix some display problem

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-03 14:38:19 +08:00
Kefu Chai
c43274f2bb ceph_test_rados_api_watch_notify: move global variables into test class
so the class instances using mempool are destructed before the mempools
are destroyed. this avoids the "invalid read" issue reported by
valgrind.

Fixes: http://tracker.ceph.com/issues/18395
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-03 14:24:28 +08:00
Kefu Chai
d50ddd3a4b Merge pull request #12713 from badone/wip-ceph_test_rados_api_watch_notify-valgrind-fixes
test_rados_watch_notify: Fix trivial memory leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-03 14:19:16 +08:00
Kefu Chai
38f8bc3628 Merge pull request #12680 from badone/wip-ceph_test_rados_api_misc-valgrind-fixes
ceph_test_rados_api_misc: Fix trivial memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-03 14:07:22 +08:00
liuchang0812
5fa0a015fc doc/dev: update log_based_pg.rst, fix some display problem
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-03 13:11:27 +08:00