]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomon: rate limit on health check update logging 16942/head
John Spray [Mon, 7 Aug 2017 11:52:42 +0000 (07:52 -0400)]
mon: rate limit on health check update logging

Fixes: http://tracker.ceph.com/issues/20888
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon: add helper for emitting logs by health status
John Spray [Fri, 1 Sep 2017 09:33:16 +0000 (05:33 -0400)]
mon: add helper for emitting logs by health status

We were starting to repeat our little "if(status==HEALTH_ERR"
blocks in too many places.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #17397 from ZVampirEM77/wip-doc
Jos Collin [Fri, 1 Sep 2017 03:36:42 +0000 (03:36 +0000)]
Merge pull request #17397 from ZVampirEM77/wip-doc

doc: fix doc/radosgw/admin.rst typos

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16521 from myoungwon/wip-objecter-finishers
Sage Weil [Thu, 31 Aug 2017 20:46:52 +0000 (15:46 -0500)]
Merge pull request #16521 from myoungwon/wip-objecter-finishers

osd: add multiple objecter finishers

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16586 from tianshan/fix_logrotate
Sage Weil [Thu, 31 Aug 2017 20:46:20 +0000 (15:46 -0500)]
Merge pull request #16586 from tianshan/fix_logrotate

logrotate: add systemd reload in logrotate in case of centos minimal without killall

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16643 from Aran85/wip-mon-deadlock-on-shutdown
Sage Weil [Thu, 31 Aug 2017 20:45:55 +0000 (15:45 -0500)]
Merge pull request #16643 from Aran85/wip-mon-deadlock-on-shutdown

kv/leveldb: fix deadlock when close db

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16733 from liupan1111/wip-bluefs-fio
Sage Weil [Thu, 31 Aug 2017 20:45:39 +0000 (15:45 -0500)]
Merge pull request #16733 from liupan1111/wip-bluefs-fio

os: add compile option to build libbluefs.so

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17244 from liewegas/wip-21121
Sage Weil [Thu, 31 Aug 2017 20:44:59 +0000 (15:44 -0500)]
Merge pull request #17244 from liewegas/wip-21121

osd: subscribe to new osdmap while waiting_for_healthy

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16925 from gmayyyha/mgr-osd-metadata
Sage Weil [Thu, 31 Aug 2017 18:59:18 +0000 (13:59 -0500)]
Merge pull request #16925 from gmayyyha/mgr-osd-metadata

mgr: implement completion of osd MetadataUpdate

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #17036 from majianpeng/add-pmem-submodule
Sage Weil [Thu, 31 Aug 2017 18:58:39 +0000 (13:58 -0500)]
Merge pull request #17036 from majianpeng/add-pmem-submodule

submodule: make libmpem as a submodule.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17354 from liewegas/wip-bluefs-compaction
Sage Weil [Thu, 31 Aug 2017 18:58:06 +0000 (13:58 -0500)]
Merge pull request #17354 from liewegas/wip-bluefs-compaction

os/bluestore/BlueFS: compact log even when sync_metadata sees no work

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
7 years agoMerge pull request #17357 from Liuchang0812/wip-bluefs-not-assert-eexist
Sage Weil [Thu, 31 Aug 2017 18:57:35 +0000 (13:57 -0500)]
Merge pull request #17357 from Liuchang0812/wip-bluefs-not-assert-eexist

os/bluestore: do not core dump when BlueRocksEnv gets EEXIST error

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17360 from tchaikov/wip-crush-cleanup
Sage Weil [Thu, 31 Aug 2017 18:57:19 +0000 (13:57 -0500)]
Merge pull request #17360 from tchaikov/wip-crush-cleanup

crush: various CrushWrapper cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17379 from liewegas/wip-div-p
Sage Weil [Thu, 31 Aug 2017 18:56:59 +0000 (13:56 -0500)]
Merge pull request #17379 from liewegas/wip-div-p

qa/suites/rados/singleton/diverget_priors*: broaden whitelist

7 years agoMerge pull request #17401 from liewegas/wip-disable-pidfile
Sage Weil [Thu, 31 Aug 2017 15:28:38 +0000 (10:28 -0500)]
Merge pull request #17401 from liewegas/wip-disable-pidfile

test/CMakeLists: disable test-pidfile.sh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #17390 from tchaikov/wip-test-coredump
Kefu Chai [Thu, 31 Aug 2017 14:46:13 +0000 (22:46 +0800)]
Merge pull request #17390 from tchaikov/wip-test-coredump

test: Don't dump core when using EXPECT_DEATH

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agodoc: fix doc/radosgw/admin.rst typos 17397/head
Enming Zhang [Thu, 31 Aug 2017 10:51:25 +0000 (18:51 +0800)]
doc: fix doc/radosgw/admin.rst typos

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agotest/CMakeLists: disable test-pidfile.sh 17401/head
Sage Weil [Thu, 31 Aug 2017 13:11:56 +0000 (09:11 -0400)]
test/CMakeLists: disable test-pidfile.sh

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agotest: Don't dump core when using EXPECT_DEATH 17390/head
Kefu Chai [Thu, 31 Aug 2017 08:48:22 +0000 (16:48 +0800)]
test: Don't dump core when using EXPECT_DEATH

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17362 from C2python/update_example
Abhishek L [Thu, 31 Aug 2017 08:27:23 +0000 (10:27 +0200)]
Merge pull request #17362 from C2python/update_example

doc: Revise the Example of Bucket Policy

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #17387 from tchaikov/wip-package-kvstoretool-man
Kefu Chai [Thu, 31 Aug 2017 05:49:28 +0000 (13:49 +0800)]
Merge pull request #17387 from tchaikov/wip-package-kvstoretool-man

rpm,deb: package ceph-kvstore-tool man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17145 from optimistyzy/822_bl
Haomai Wang [Thu, 31 Aug 2017 05:19:12 +0000 (22:19 -0700)]
Merge pull request #17145 from optimistyzy/822_bl

os/bluestore/NVMEDevice: change write_bl to bl

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoNVMEDevice: change write_bl to bl 17145/head
Ziye Yang [Tue, 22 Aug 2017 12:56:30 +0000 (20:56 +0800)]
NVMEDevice: change write_bl to bl

With this patch, both read and write can use this field in
task.

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
7 years agorpm,deb: package ceph-kvstore-tool man page 17387/head
Sage Weil [Thu, 31 Aug 2017 02:59:20 +0000 (22:59 -0400)]
rpm,deb: package ceph-kvstore-tool man page

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17382 from liewegas/wip-integration
Sage Weil [Thu, 31 Aug 2017 02:53:36 +0000 (21:53 -0500)]
Merge pull request #17382 from liewegas/wip-integration

src/script/build-integration-branch

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agosrc/script/build-integration-branch 17382/head
Sage Weil [Wed, 30 Aug 2017 20:42:19 +0000 (16:42 -0400)]
src/script/build-integration-branch

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17333 from liewegas/wip-luminous-mon-bits
Sage Weil [Thu, 31 Aug 2017 02:31:37 +0000 (21:31 -0500)]
Merge pull request #17333 from liewegas/wip-luminous-mon-bits

mon: final luminous compatset feature and osdmap flag

7 years agoMerge pull request #17376 from dillaman/ritz303-wip-doc-20437
Jason Dillaman [Wed, 30 Aug 2017 20:18:22 +0000 (16:18 -0400)]
Merge pull request #17376 from dillaman/ritz303-wip-doc-20437

doc/rbd: iSCSI Gateway Documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17217 from tchaikov/wip-19605
Sage Weil [Wed, 30 Aug 2017 19:18:13 +0000 (14:18 -0500)]
Merge pull request #17217 from tchaikov/wip-19605

osd/PG: discard msgs from down peers

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17339 from amitkumar50/cov-osd-2
Sage Weil [Wed, 30 Aug 2017 19:17:46 +0000 (14:17 -0500)]
Merge pull request #17339 from amitkumar50/cov-osd-2

osd: Deleting dead code PrimaryLogPG.cc

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
7 years agomon: set purged_snapdirs OSDMap flag once snapsets have all converted 17333/head
Sage Weil [Tue, 29 Aug 2017 04:01:19 +0000 (00:01 -0400)]
mon: set purged_snapdirs OSDMap flag once snapsets have all converted

This makes it easier to test whether the upgrade + conversion has
completed.  In particular, mimic+ will be able to simply test for this
flag without waiting for complete PG stats to know whether it is safe to
upgrade beyond luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: CEPH_MON_FEATURE_INCOMPAT_LUMINOUS
Sage Weil [Mon, 28 Aug 2017 19:21:44 +0000 (15:21 -0400)]
mon: CEPH_MON_FEATURE_INCOMPAT_LUMINOUS

- set this once we have a luminous quorum
- require luminous if we have this set locally
- include this on mkfs

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17247 from liewegas/wip-post-luminous-cleanup
Sage Weil [Wed, 30 Aug 2017 19:15:23 +0000 (14:15 -0500)]
Merge pull request #17247 from liewegas/wip-post-luminous-cleanup

osd: clean up pre-luminous compat cruft (part 1 of many)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/rados/singleton/diverget_priors*: broaden whitelist 17379/head
Sage Weil [Wed, 30 Aug 2017 19:13:08 +0000 (15:13 -0400)]
qa/suites/rados/singleton/diverget_priors*: broaden whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17071 from ivancich/wip-dup-ops-perf-regression
Sage Weil [Wed, 30 Aug 2017 18:35:06 +0000 (13:35 -0500)]
Merge pull request #17071 from ivancich/wip-dup-ops-perf-regression

osd: speed up get_key_name

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #17206 from rzarzynski/wip-rgw-21085
Yuri Weinstein [Wed, 30 Aug 2017 15:36:22 +0000 (08:36 -0700)]
Merge pull request #17206 from rzarzynski/wip-rgw-21085

rgw: fix accessing expired memory in PrefixableSignatureHelper.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17250 from shashalu/fix-get-bucket-location
Yuri Weinstein [Wed, 30 Aug 2017 15:35:44 +0000 (08:35 -0700)]
Merge pull request #17250 from shashalu/fix-get-bucket-location

rgw: return bucket's location no matter which zonegroup it located in.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17294 from tchaikov/wip-clang-warnings
Yuri Weinstein [Wed, 30 Aug 2017 15:34:34 +0000 (08:34 -0700)]
Merge pull request #17294 from tchaikov/wip-clang-warnings

rgw,unittest_bit_alloc: silence clang analyzer warning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17343 from yaozongyou/rgw-admin-check-parameters-for-friendly...
Yuri Weinstein [Wed, 30 Aug 2017 15:33:25 +0000 (08:33 -0700)]
Merge pull request #17343 from yaozongyou/rgw-admin-check-parameters-for-friendly-prompt

rgw-admin: check input parameters for friendly prompt.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agodoc: tweaks for the RBD iSCSI configuration documentation 17376/head
Jason Dillaman [Tue, 8 Aug 2017 23:14:57 +0000 (19:14 -0400)]
doc: tweaks for the RBD iSCSI configuration documentation

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #15994 from chuang-he/fix_decrypt
Casey Bodley [Wed, 30 Aug 2017 14:15:41 +0000 (10:15 -0400)]
Merge pull request #15994 from chuang-he/fix_decrypt

rgw: Data encryption is not follow the AWS agreement

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agodoc/rbd: Replaced numbered steps with a # for dynamic numbering
Aron Gunn [Wed, 12 Jul 2017 22:11:25 +0000 (17:11 -0500)]
doc/rbd: Replaced numbered steps with a # for dynamic numbering

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Updated the content based on engineering feedback
Aron Gunn [Thu, 6 Jul 2017 22:22:38 +0000 (17:22 -0500)]
doc/rbd: Updated the content based on engineering feedback

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Updated the content based on engineering feedback
Aron Gunn [Thu, 6 Jul 2017 22:22:02 +0000 (17:22 -0500)]
doc/rbd: Updated the content based on engineering feedback

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Updated the content based on engineering feedback
Aron Gunn [Thu, 6 Jul 2017 22:20:40 +0000 (17:20 -0500)]
doc/rbd: Updated the content based on engineering feedback

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Updated the requirements based on engineering feedback
Aron Gunn [Thu, 6 Jul 2017 22:19:01 +0000 (17:19 -0500)]
doc/rbd: Updated the requirements based on engineering feedback

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the iSCSI gateway requirements content
Aron Gunn [Thu, 6 Jul 2017 17:35:38 +0000 (12:35 -0500)]
doc/rbd: Added the iSCSI gateway requirements content

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the iSCSI gateway overview content
Aron Gunn [Thu, 6 Jul 2017 17:34:49 +0000 (12:34 -0500)]
doc/rbd: Added the iSCSI gateway overview content

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the iSCSI gateway 'gwtop' monitoring content
Aron Gunn [Thu, 6 Jul 2017 17:34:10 +0000 (12:34 -0500)]
doc/rbd: Added the iSCSI gateway 'gwtop' monitoring content

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the iSCSI targets, Ansible and CLI docs
Aron Gunn [Thu, 6 Jul 2017 17:32:53 +0000 (12:32 -0500)]
doc/rbd: Added the iSCSI targets, Ansible and CLI docs

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the iSCSI initiators, RHEL, Windows, and ESX docs
Aron Gunn [Thu, 6 Jul 2017 17:31:39 +0000 (12:31 -0500)]
doc/rbd: Added the iSCSI initiators, RHEL, Windows, and ESX docs

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Updated the "toctree" adding the iSCSI gateway overview doc
Aron Gunn [Thu, 6 Jul 2017 17:28:06 +0000 (12:28 -0500)]
doc/rbd: Updated the "toctree" adding the iSCSI gateway overview doc

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agodoc/rbd: Added the unmodified iSCSI initiator images for ESX and Windows 2016
Aron Gunn [Thu, 6 Jul 2017 17:23:50 +0000 (12:23 -0500)]
doc/rbd: Added the unmodified iSCSI initiator images for ESX and Windows 2016

Fixes: http://tracker.ceph.com/issues/20437
Signed-off-by: Aron Gunn <agunn@redhat.com>
7 years agoosd: add multiple objecter finishers 16521/head
myoungwon oh [Mon, 24 Jul 2017 06:31:52 +0000 (15:31 +0900)]
osd: add multiple objecter finishers
Bluestore and Filestore already adapt multiple finishers to improve IO performance.
But Objecter finisher (for tier approach) is still single thread. This can be a
bottleneck if we generate many IOs as Bluestore and Filestore because most of
completion processes (proxy, writeback) are handled by a objecter finisher.

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agodoc: Revise the Example of Bucket Policy 17362/head
zhangwen [Wed, 30 Aug 2017 08:53:00 +0000 (16:53 +0800)]
doc: Revise the Example of Bucket Policy
Signed-off-by: Wen Zhang zhangwen1@unionpay.com
7 years agocrush: add more constness to CrushWrapper 17360/head
Kefu Chai [Wed, 30 Aug 2017 07:28:49 +0000 (15:28 +0800)]
crush: add more constness to CrushWrapper

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocrush: get largest bucket id faster
Kefu Chai [Wed, 30 Aug 2017 07:30:58 +0000 (15:30 +0800)]
crush: get largest bucket id faster

std::map<> is sorted, so we can always get the largest key by reading
it's last element.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17358 from tchaikov/wip-doc-disable-ofp
Haomai Wang [Wed, 30 Aug 2017 06:35:04 +0000 (23:35 -0700)]
Merge pull request #17358 from tchaikov/wip-doc-disable-ofp

doc/dev/perf: add doc on disabling -fomit-frame-pointer

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #16357 from Blackclaws/master
Kefu Chai [Wed, 30 Aug 2017 05:44:50 +0000 (13:44 +0800)]
Merge pull request #16357 from Blackclaws/master

ceph-disk activate unlocks bluestore data partition

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16312 from tchaikov/wip-store-event-if-added
Kefu Chai [Wed, 30 Aug 2017 05:43:16 +0000 (13:43 +0800)]
Merge pull request #16312 from tchaikov/wip-store-event-if-added

common,mds,mgr,mon,osd: store event only if it's added

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc/dev/perf: add doc on disabling -fomit-frame-pointer 17358/head
Kefu Chai [Wed, 30 Aug 2017 04:14:37 +0000 (12:14 +0800)]
doc/dev/perf: add doc on disabling -fomit-frame-pointer

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore: do not core dump when BlueRocksEnv gets EEXIST error 17357/head
liuchang0812 [Tue, 1 Aug 2017 14:48:10 +0000 (22:48 +0800)]
os/bluestore: do not core dump when BlueRocksEnv gets EEXIST error

in `rocksdb::repairdb`, rocksdb needs create a directory `lost` to archive all files.
we will get a EEXIST error when there is a `lost` directory already.

Fixes: http://tracker.ceph.com/issues/20871
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
7 years agoMerge pull request #15847 from jan--f/doc-fix-multimds-cmds
Sage Weil [Wed, 30 Aug 2017 03:19:59 +0000 (22:19 -0500)]
Merge pull request #15847 from jan--f/doc-fix-multimds-cmds

doc: add allow_multimds and fs_name parameter

Reviewed-by: Yan, Zheng <zyan@redhat.com>
7 years agoMerge pull request #16210 from aclamk/fix-radosgw-nfs-sync-hint
Sage Weil [Wed, 30 Aug 2017 02:53:49 +0000 (21:53 -0500)]
Merge pull request #16210 from aclamk/fix-radosgw-nfs-sync-hint

rgw,nfs: Add hint to use -o sync when mouting

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #16542 from linuxbox2/wip-rados-urls
Sage Weil [Wed, 30 Aug 2017 02:34:32 +0000 (21:34 -0500)]
Merge pull request #16542 from linuxbox2/wip-rados-urls

librados.h:  add LIBRADOS_SUPPORTS_APP_METADATA

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoos/bluestore/BlueFS: compact log even when sync_metadata sees no work 17354/head
Sage Weil [Wed, 30 Aug 2017 02:07:05 +0000 (22:07 -0400)]
os/bluestore/BlueFS: compact log even when sync_metadata sees no work

It's possible that when sync_metadata() is called there won't be any new
log data to flush because it was already flushed for other reasons (e.g.,
because fsync was called).  However, the log may still be large and in
need of compaction.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17346 from idryomov/wip-krbd-xfstests-update
Jason Dillaman [Tue, 29 Aug 2017 22:28:48 +0000 (18:28 -0400)]
Merge pull request #17346 from idryomov/wip-krbd-xfstests-update

qa/suites/krbd: rbd_xfstests job overhaul

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16771 from yanyixing/fix-base
Sage Weil [Tue, 29 Aug 2017 22:25:33 +0000 (17:25 -0500)]
Merge pull request #16771 from yanyixing/fix-base

mgr/dashboard: fix pool size base conversion

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16988 from mikulely/wip-mstart
Sage Weil [Tue, 29 Aug 2017 22:17:06 +0000 (17:17 -0500)]
Merge pull request #16988 from mikulely/wip-mstart

mstart.sh: support read CLUSTERS_LIST from env var

Reviewed-by: Sage Weil <sage@redhat.com.>
7 years agoMerge pull request #17057 from mikulely/enhance-vstart
Sage Weil [Tue, 29 Aug 2017 22:13:21 +0000 (17:13 -0500)]
Merge pull request #17057 from mikulely/enhance-vstart

vstart.sh: quote cmd params when display executing cmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17092 from Liuchang0812/wip-man-kvstore-tool
Sage Weil [Tue, 29 Aug 2017 22:10:12 +0000 (17:10 -0500)]
Merge pull request #17092 from Liuchang0812/wip-man-kvstore-tool

doc: add ceph-kvstore-tool's man

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17119 from nrdmn/wip-dashboard-httproot
Sage Weil [Tue, 29 Aug 2017 22:07:41 +0000 (17:07 -0500)]
Merge pull request #17119 from nrdmn/wip-dashboard-httproot

pybind/mgr/dashboard: add url_prefix

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #17135 from amitkumar50/cov-tools-1
Sage Weil [Tue, 29 Aug 2017 22:06:11 +0000 (17:06 -0500)]
Merge pull request #17135 from amitkumar50/cov-tools-1

tools: Initialization of *server, command variables

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17143 from smithfarm/wip-50-too-short
Sage Weil [Tue, 29 Aug 2017 22:05:08 +0000 (17:05 -0500)]
Merge pull request #17143 from smithfarm/wip-50-too-short

doc: SubmittingPatches: clarify PR title section

7 years agoMerge pull request #17177 from liupan1111/wip-fix-rm
Sage Weil [Tue, 29 Aug 2017 20:59:59 +0000 (15:59 -0500)]
Merge pull request #17177 from liupan1111/wip-fix-rm

osd: allow FULL_TRY after failsafe

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17220 from amitkumar50/cov-test-2
Sage Weil [Tue, 29 Aug 2017 20:59:32 +0000 (15:59 -0500)]
Merge pull request #17220 from amitkumar50/cov-test-2

test: Check to avoid divide by zero

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17313 from mslovy/wip-fix-storetest
Sage Weil [Tue, 29 Aug 2017 20:58:54 +0000 (15:58 -0500)]
Merge pull request #17313 from mslovy/wip-fix-storetest

os: kstore fix unittest for FiemapHole

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17329 from xiexingguo/wip-21162
Sage Weil [Tue, 29 Aug 2017 20:58:21 +0000 (15:58 -0500)]
Merge pull request #17329 from xiexingguo/wip-21162

mon/OSDMonitor: make 'osd crush rule rename' idempotent

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17296 from amitkumar50/cov-test-4
Sage Weil [Tue, 29 Aug 2017 20:38:10 +0000 (15:38 -0500)]
Merge pull request #17296 from amitkumar50/cov-test-4

test: assert check for negative returns

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17297 from amitkumar50/cov-os-2
Sage Weil [Tue, 29 Aug 2017 20:37:31 +0000 (15:37 -0500)]
Merge pull request #17297 from amitkumar50/cov-os-2

os: Removing dead code from LFNIndex.cc

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17334 from chenliuzhong/modify-fault_rang-parameter-in-reshard
Sage Weil [Tue, 29 Aug 2017 20:29:14 +0000 (15:29 -0500)]
Merge pull request #17334 from chenliuzhong/modify-fault_rang-parameter-in-reshard

os/bluestore: ExtentMap::reshard - fix wrong shard length

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7 years agoinclude/ceph_features: enable SERVER_MIMIC feature bit 17247/head
Sage Weil [Tue, 29 Aug 2017 20:27:23 +0000 (16:27 -0400)]
include/ceph_features: enable SERVER_MIMIC feature bit

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17337 from scienceluo/wip-luo-fix-cinder-conf-branch
Sage Weil [Tue, 29 Aug 2017 20:25:04 +0000 (15:25 -0500)]
Merge pull request #17337 from scienceluo/wip-luo-fix-cinder-conf-branch

doc: move glance_api_version option to the right place

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17341 from amitkumar50/cov-common-1
Sage Weil [Tue, 29 Aug 2017 20:24:29 +0000 (15:24 -0500)]
Merge pull request #17341 from amitkumar50/cov-common-1

common: logically dead code inside shunique_lock.h

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16915 from theanalyst/doc-12.2.0-major-changes
Sage Weil [Tue, 29 Aug 2017 18:54:01 +0000 (13:54 -0500)]
Merge pull request #16915 from theanalyst/doc-12.2.0-major-changes

doc: 12.2.0 major release announcements

7 years agodoc: release notes: changelog for 12.2.0 16915/head
Abhishek Lekshmanan [Tue, 29 Aug 2017 09:16:46 +0000 (11:16 +0200)]
doc: release notes: changelog for 12.2.0

Amalgamated all the dev & RC changelogs + the changelog we saw post
12.1.4 into one large 12.2.0 changelog.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoosd: speed up get_key_name 17071/head
J. Eric Ivancich [Thu, 17 Aug 2017 18:33:51 +0000 (14:33 -0400)]
osd: speed up get_key_name

Reduce string manipulation and creation of an extra string by
streamlining code for get_key_name in both eversion_t and
pg_log_dup_t.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #17308 from jcsp/wip-21157
Sage Weil [Tue, 29 Aug 2017 16:34:37 +0000 (11:34 -0500)]
Merge pull request #17308 from jcsp/wip-21157

mgr: fix crash in MonCommandCompletion

Reviewed-by: Tim Serong <tserong@suse.com>
7 years agoMerge pull request #17312 from cbodley/wip-21155
Kefu Chai [Tue, 29 Aug 2017 16:14:21 +0000 (00:14 +0800)]
Merge pull request #17312 from cbodley/wip-21155

qa: create_cache_pool no longer runs 'pool application enable'

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17125 from xiexingguo/wip-add-bucket-with-loc
Yuri Weinstein [Tue, 29 Aug 2017 16:12:43 +0000 (09:12 -0700)]
Merge pull request #17125 from xiexingguo/wip-add-bucket-with-loc

mon/OSDMonitor: add location option for "crush add-bucket" command

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17239 from zmedico/PGPool-update-eliminate-expensive-union_of
Yuri Weinstein [Tue, 29 Aug 2017 16:12:25 +0000 (09:12 -0700)]
Merge pull request #17239 from zmedico/PGPool-update-eliminate-expensive-union_of

osd/PG: PGPool::update: avoid expensive union_of

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17276 from yuyuyu101/wip-mon-loop
Yuri Weinstein [Tue, 29 Aug 2017 16:11:53 +0000 (09:11 -0700)]
Merge pull request #17276 from yuyuyu101/wip-mon-loop

msg/async: don't stuck into resetsession/retrysession loop

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17288 from yuyuyu101/wip-21143
Yuri Weinstein [Tue, 29 Aug 2017 16:11:03 +0000 (09:11 -0700)]
Merge pull request #17288 from yuyuyu101/wip-21143

msg/async: don't kill connection if replacing

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocommon: logically dead code inside shunique_lock.h 17341/head
amitkuma [Tue, 29 Aug 2017 15:46:50 +0000 (21:16 +0530)]
common: logically dead code inside shunique_lock.h

Fixes the coverity issue:

** 1352097 Structurally dead code

CID 1352097 (#1 of 1): Structurally dead code (UNREACHABLE)
unreachable: This code cannot be reached: return ceph::shunique_lock<...

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
7 years agoosd: Deleting dead code PrimaryLogPG.cc 17339/head
amitkuma [Tue, 29 Aug 2017 14:58:53 +0000 (20:28 +0530)]
osd: Deleting dead code PrimaryLogPG.cc

Fixes the coverity issue:

** 1415775 Logically dead code
Here r cannot be less than 0.
CID 1415775 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this statement: return r;

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #17254 from joscollin/wip-cleanup-rgw-override
Casey Bodley [Tue, 29 Aug 2017 14:10:49 +0000 (10:10 -0400)]
Merge pull request #17254 from joscollin/wip-cleanup-rgw-override

rgw: add missing override in list_keys_init()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/suites/krbd: new rbd_xfstests job definition 17346/head
Ilya Dryomov [Fri, 18 Aug 2017 15:49:03 +0000 (17:49 +0200)]
qa/suites/krbd: new rbd_xfstests job definition

ext4 seems to be a better choice for our purposes -- less test churn,
rather small and reliable exclude list.

All excluded tests but generic/050 fail with no krbd in the mix, most
have popped up on linux-ext4 list at least once.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoqa/tasks/rbd.xfstests: take exclude list from yaml
Ilya Dryomov [Thu, 17 Aug 2017 13:35:42 +0000 (15:35 +0200)]
qa/tasks/rbd.xfstests: take exclude list from yaml

Different filesystems (and further, different configurations of the
same filesystem) need different exclude lists.  Hard coding the list in
a wrapper script is inflexible.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoqa/run_xfstests.sh: quit building xfstests on test nodes
Ilya Dryomov [Wed, 16 Aug 2017 09:47:19 +0000 (11:47 +0200)]
qa/run_xfstests.sh: quit building xfstests on test nodes

xfstests is a pain to build on trusty, xenial and centos7 with a single
script.  It is also very sensitive to dependencies, which again need to
be managed on all those distros -- different sets of supported commands
and switches, some versions have known bugs, etc.

Download a pre-built, statically linked tarball and use it instead.
The tarball was generated using xfstests-bld by Ted Ts'o, with a number
of tweaks by myself (mostly concerning the build environment).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoqa/run_xfstests.sh: drop *_MKFS_OPTIONS variables
Ilya Dryomov [Wed, 16 Aug 2017 09:47:19 +0000 (11:47 +0200)]
qa/run_xfstests.sh: drop *_MKFS_OPTIONS variables

AFAICT ./check doesn't query EXT4_MKFS_OPTIONS or BTRFS_MKFS_OPTIONS,
We don't need anything special for xfs, so remove all of them to avoid
confusion.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>