]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw: cleanup unused codes in rgw_admin.cc 15771/head
fang.yuxiang [Tue, 20 Jun 2017 08:12:19 +0000 (16:12 +0800)]
rgw: cleanup unused codes in rgw_admin.cc

Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
8 years agoMerge pull request #15749 from Adirl/wip
Haomai Wang [Mon, 19 Jun 2017 05:54:31 +0000 (13:54 +0800)]
Merge pull request #15749 from Adirl/wip

msg/async/rdma: handle buffers after close msg

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15725 from xiexingguo/wip-noupin
Sage Weil [Sun, 18 Jun 2017 15:37:18 +0000 (10:37 -0500)]
Merge pull request #15725 from xiexingguo/wip-noupin

mon/OSDMonitor: batch noup/noin osds support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/async/rdma: remove assert from srq destroy in ~Infiniband 15749/head
Daniel Bar-On [Mon, 8 May 2017 15:25:28 +0000 (15:25 +0000)]
msg/async/rdma: remove assert from srq destroy in ~Infiniband

issue:1040242

Even though ibv_destroy_srq does not return 0, all resources
are destroyed. No need to assert.

Change-Id: I96562130d22352390f9f7f9a3e0ddbe77a82d8f4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agomsg/async/rdma: handle buffers after close msg
Adirl [Sun, 7 May 2017 09:02:22 +0000 (09:02 +0000)]
msg/async/rdma: handle buffers after close msg

fixing an issue of OSD’s going down during recovery process while traffic
is running in the background.
fix is making sure that messages previously pulled from the cqe and are
now stored in the socket queue “buffers” will always be handled and fd
will be notified even if cqe is empty.

issue: 1025030

Change-Id: I6ced6b8ee0152e233632700ccc9ec19970e66b6a
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agoMerge pull request #15748 from Liuchang0812/wip-fix-release-note
Abhishek L [Sun, 18 Jun 2017 09:24:10 +0000 (11:24 +0200)]
Merge pull request #15748 from Liuchang0812/wip-fix-release-note

doc/release-note: update release-note

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15736 from cbodley/wip-20297
Orit Wasserman [Sun, 18 Jun 2017 06:09:01 +0000 (09:09 +0300)]
Merge pull request #15736 from cbodley/wip-20297

rgw: forward RGWPutBucketPolicy to meta master
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15132 from cbodley/wip-doc-rgw-remove-agent
Orit Wasserman [Sun, 18 Jun 2017 06:06:46 +0000 (09:06 +0300)]
Merge pull request #15132 from cbodley/wip-doc-rgw-remove-agent

doc/rgw: remove Federated Configuration, clean up multisite

8 years agodoc/release-note: update release-note 15748/head
liuchang0812 [Sun, 18 Jun 2017 03:56:07 +0000 (11:56 +0800)]
doc/release-note: update release-note

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomon/OSDMonitor: batch noup/noin osds support 15725/head
xie xingguo [Fri, 16 Jun 2017 07:52:01 +0000 (15:52 +0800)]
mon/OSDMonitor: batch noup/noin osds support

This is a follow-up change of https://github.com/ceph/ceph/pull/15381.
This patch also simplifies the original code logic a bit.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15658 from xiexingguo/wip-fix-reshard
Sage Weil [Sat, 17 Jun 2017 21:21:28 +0000 (16:21 -0500)]
Merge pull request #15658 from xiexingguo/wip-fix-reshard

os/bluestore: fix possible out of order shard(offset == 0); add sanity check

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15716 from jcsp/wip-mgr-fsmap
Sage Weil [Sat, 17 Jun 2017 21:21:03 +0000 (16:21 -0500)]
Merge pull request #15716 from jcsp/wip-mgr-fsmap

mgr: fix MgrStandby eating messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15732 from liewegas/wip-osd-boot-message
Sage Weil [Sat, 17 Jun 2017 21:20:12 +0000 (16:20 -0500)]
Merge pull request #15732 from liewegas/wip-osd-boot-message

osd: do not try to boot until we've seen the first osdmap

8 years agoMerge pull request #15740 from liewegas/wip-pgmap-debug
Sage Weil [Sat, 17 Jun 2017 21:19:41 +0000 (16:19 -0500)]
Merge pull request #15740 from liewegas/wip-pgmap-debug

mon,mgr: print pgmap reports to debug (not cluster) log

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15389 from gregsfortytwo/wip-18126
Sage Weil [Sat, 17 Jun 2017 21:16:00 +0000 (16:16 -0500)]
Merge pull request #15389 from gregsfortytwo/wip-18126

qa: do not restrict valgrind runs to centos

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15618 from liupan1111/wip-fix-comment
Kefu Chai [Sat, 17 Jun 2017 03:00:34 +0000 (11:00 +0800)]
Merge pull request #15618 from liupan1111/wip-fix-comment

tools/rados: fixed typo in help information

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15720 from ShiqiCooperation/rbdshiqi 14969/head
Jason Dillaman [Sat, 17 Jun 2017 02:19:07 +0000 (22:19 -0400)]
Merge pull request #15720 from ShiqiCooperation/rbdshiqi

test/unittest_librbd: remove unused variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15741 from wjwithagen/wip-wjw-freebsd-host-errno-2
Sage Weil [Fri, 16 Jun 2017 21:40:05 +0000 (16:40 -0500)]
Merge pull request #15741 from wjwithagen/wip-wjw-freebsd-host-errno-2

common/freebsd_errno.cc: fix missing ;

8 years agocommon/freebsd_errno.cc: fix missing ; 15741/head
Willem Jan Withagen [Fri, 16 Jun 2017 21:36:51 +0000 (23:36 +0200)]
common/freebsd_errno.cc: fix missing ;

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agomgr/DaemonServer: print PGMapDigest summary on send 15740/head
Sage Weil [Fri, 16 Jun 2017 21:15:37 +0000 (17:15 -0400)]
mgr/DaemonServer: print PGMapDigest summary on send

Useful for debugging.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15495 from wjwithagen/wip-wjw-freebsd-host-errno
Sage Weil [Fri, 16 Jun 2017 21:14:19 +0000 (16:14 -0500)]
Merge pull request #15495 from wjwithagen/wip-wjw-freebsd-host-errno

core: introduce (and fix) code to pass errno to other OSes

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15717 from liewegas/wip-20326
Sage Weil [Fri, 16 Jun 2017 21:12:20 +0000 (16:12 -0500)]
Merge pull request #15717 from liewegas/wip-20326

qa/tasks/ceph.py: tolerate active+clean+something

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15721 from majianpeng/bluestore-nodevice-nosymlink
Sage Weil [Fri, 16 Jun 2017 21:11:14 +0000 (16:11 -0500)]
Merge pull request #15721 from majianpeng/bluestore-nodevice-nosymlink

os/bluestore/BlueStore: no device no symlink.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15559 from dzafman/wip-20186
Sage Weil [Fri, 16 Jun 2017 21:03:49 +0000 (16:03 -0500)]
Merge pull request #15559 from dzafman/wip-20186

osd: Check snapset for validity when selecting authoritative shard

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15552 from TsaiJin/wip-queue-scrub-with-higher-priority
Yuri Weinstein [Fri, 16 Jun 2017 21:02:14 +0000 (14:02 -0700)]
Merge pull request #15552 from TsaiJin/wip-queue-scrub-with-higher-priority

osd/OSD.h: requeue the scrub job with higher priority to shorten the blocking time of related requests

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
8 years agomon/MgrStatMonitor: print PGMapDigest summary on receipt
Sage Weil [Fri, 16 Jun 2017 21:01:05 +0000 (17:01 -0400)]
mon/MgrStatMonitor: print PGMapDigest summary on receipt

Useful for debugging.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15722 from dmick/master
Gregory Farnum [Fri, 16 Jun 2017 20:57:01 +0000 (13:57 -0700)]
Merge pull request #15722 from dmick/master

test/osd/osd-dup.sh: use wait_for_clean

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15735 from theanalyst/rgw-uninit-atomic
Casey Bodley [Fri, 16 Jun 2017 20:34:03 +0000 (16:34 -0400)]
Merge pull request #15735 from theanalyst/rgw-uninit-atomic

rgw_rados: initialize cur_shard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15524 from cbodley/wip-rgw-sync-debug-logging
Casey Bodley [Fri, 16 Jun 2017 19:11:51 +0000 (15:11 -0400)]
Merge pull request #15524 from cbodley/wip-rgw-sync-debug-logging

rgw: raise debug level of meta sync logging

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15711 from cbodley/wip-rgw-swift-default-auth-error
Yehuda Sadeh [Fri, 16 Jun 2017 19:03:17 +0000 (12:03 -0700)]
Merge pull request #15711 from cbodley/wip-rgw-swift-default-auth-error

rgw: fix swift default auth error after auth strategy refactoring

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agotest/rgw: add multisite test_set_bucket_policy 15736/head
Casey Bodley [Fri, 16 Jun 2017 18:14:28 +0000 (14:14 -0400)]
test/rgw: add multisite test_set_bucket_policy

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: forward RGWPutBucketPolicy to meta master
Casey Bodley [Fri, 16 Jun 2017 17:57:06 +0000 (13:57 -0400)]
rgw: forward RGWPutBucketPolicy to meta master

Fixes: http://tracker.ceph.com/issues/20297
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoos/bluestore/BlueStore: no device no symlink. 15721/head
Jianpeng Ma [Fri, 16 Jun 2017 18:42:37 +0000 (02:42 +0800)]
os/bluestore/BlueStore: no device no symlink.

If bluestore_block_db_create or bluestore_block_db_create is false
and we use non-exist blockdevice as db/wal. ceph-osd still work and it
use block as db/wal. This bug introduced by 316810d7e74.

If stat(symlink) error and symlink still exist, this is bug.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agorgw_rados: initialize cur_shard 15735/head
Abhishek Lekshmanan [Fri, 16 Jun 2017 17:39:19 +0000 (19:39 +0200)]
rgw_rados: initialize cur_shard

valgrind reported an uninitialized value on use of cur_shard at a few
places, so explicitly declaring this to 0 as we are incrementing this
later

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agodoc/rgw: update pool names, document namespaces 15132/head
Casey Bodley [Thu, 18 May 2017 18:45:03 +0000 (14:45 -0400)]
doc/rgw: update pool names, document namespaces

Fixes: http://tracker.ceph.com/issues/19504
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agodoc/rgw: remove Upgrade to Older Versions of Jewel page
Casey Bodley [Wed, 17 May 2017 03:16:04 +0000 (23:16 -0400)]
doc/rgw: remove Upgrade to Older Versions of Jewel page

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agodoc/rgw: remove Federated Configuration page
Casey Bodley [Wed, 17 May 2017 03:14:16 +0000 (23:14 -0400)]
doc/rgw: remove Federated Configuration page

Fixes: http://tracker.ceph.com/issues/18082
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agodoc/rgw: clean up multisite config options
Casey Bodley [Wed, 17 May 2017 03:11:20 +0000 (23:11 -0400)]
doc/rgw: clean up multisite config options

remove region stuff, radosgw-agent stuff, and zone/pool stuff that is
duplicated in the multisite page

moved sync log config options into multisite section, added description
for rgw_run_sync_thread

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15678 from cbodley/wip-rgw-string-join
Casey Bodley [Fri, 16 Jun 2017 17:27:01 +0000 (13:27 -0400)]
Merge pull request #15678 from cbodley/wip-rgw-string-join

rgw: add variadic string join for s3 signature generation

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: remove debug log statements in RGWMetaSyncShardCR 15524/head
Casey Bodley [Tue, 6 Jun 2017 20:04:18 +0000 (16:04 -0400)]
rgw: remove debug log statements in RGWMetaSyncShardCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: raise debug level of meta sync logging
Casey Bodley [Tue, 6 Jun 2017 20:03:43 +0000 (16:03 -0400)]
rgw: raise debug level of meta sync logging

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15036 from joke-lee/master
Casey Bodley [Fri, 16 Jun 2017 17:23:08 +0000 (13:23 -0400)]
Merge pull request #15036 from joke-lee/master

rgw-multisite: fix the problem of rgw website configure 'RedirectAllRequestsTo' failed to sync to slave zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15731 from cbodley/wip-rgw-rest-client-signature
Orit Wasserman [Fri, 16 Jun 2017 17:22:51 +0000 (20:22 +0300)]
Merge pull request #15731 from cbodley/wip-rgw-rest-client-signature

rgw: fix rest client's order of args in get_v2_signature
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoosd: do not try to boot until we've seen the first osdmap 15732/head
Sage Weil [Fri, 16 Jun 2017 16:59:39 +0000 (12:59 -0400)]
osd: do not try to boot until we've seen the first osdmap

This is actually not a change in behavior *except* we see this message
instead of

2017-06-15 18:05:29.760938 24a7f700 -1 osd.1 0 osdmap SORTBITWISE OSDMap flag is NOT set; please set it

because the OSDMap() epoch 0 does not have SORTBITWISE.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorgw: fix error mapping after auth strategy refactoring 15711/head
Casey Bodley [Thu, 15 Jun 2017 18:55:12 +0000 (14:55 -0400)]
rgw: fix error mapping after auth strategy refactoring

the changes in bd81c216d0ef36a66c27180f13430c9702393fb6 inadvertently
changed swift's default auth error from EPERM to ACCESS. hacky fix to
change it back

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: fix rest client's order of args in get_v2_signature 15731/head
Casey Bodley [Fri, 16 Jun 2017 14:58:06 +0000 (10:58 -0400)]
rgw: fix rest client's order of args in get_v2_signature

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15672 from liewegas/wip-bluestore-cache-ratios
Sage Weil [Fri, 16 Jun 2017 15:03:43 +0000 (10:03 -0500)]
Merge pull request #15672 from liewegas/wip-bluestore-cache-ratios

os/bluestore: handle rounding error in cache ratios

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #15718 from ztczll/zl
Sage Weil [Fri, 16 Jun 2017 15:00:30 +0000 (10:00 -0500)]
Merge pull request #15718 from ztczll/zl

os/bluestore: remove unused variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15730 from liewegas/wip-make-check
Sage Weil [Fri, 16 Jun 2017 14:59:21 +0000 (09:59 -0500)]
Merge pull request #15730 from liewegas/wip-make-check

ceph-object-corpus: mark MMDSSlaveRequest incompat change

8 years agoceph-object-corpus: mark MMDSSlaveRequest incompat change 15730/head
Sage Weil [Fri, 16 Jun 2017 14:57:59 +0000 (10:57 -0400)]
ceph-object-corpus: mark MMDSSlaveRequest incompat change

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15251 from joscollin/wip-cleanup-redundant-headers-4
Sage Weil [Fri, 16 Jun 2017 13:45:29 +0000 (08:45 -0500)]
Merge pull request #15251 from joscollin/wip-cleanup-redundant-headers-4

common: Remove redundant includes - 4

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #15310 from liewegas/wip-qa-scrubs
Sage Weil [Fri, 16 Jun 2017 13:45:07 +0000 (08:45 -0500)]
Merge pull request #15310 from liewegas/wip-qa-scrubs

qa/tasks/ceph: raise exceptions if scrubbing fails or cannot proceed

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15657 from xiexingguo/wip-reshard-allocation
Sage Weil [Fri, 16 Jun 2017 13:44:34 +0000 (08:44 -0500)]
Merge pull request #15657 from xiexingguo/wip-reshard-allocation

os/bluestore: fix potential access violation

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15706 from tchaikov/wip-20115
Sage Weil [Fri, 16 Jun 2017 13:43:31 +0000 (08:43 -0500)]
Merge pull request #15706 from tchaikov/wip-20115

ceph-rest-api: be more tolerant on network failure

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15714 from liewegas/wip-20323
Sage Weil [Fri, 16 Jun 2017 13:42:57 +0000 (08:42 -0500)]
Merge pull request #15714 from liewegas/wip-20323

messages/MOSDPing: initialize MOSDPing padding

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15561 from zy751713126/add-create-rbd-default-info
Jason Dillaman [Fri, 16 Jun 2017 13:02:02 +0000 (09:02 -0400)]
Merge pull request #15561 from zy751713126/add-create-rbd-default-info

rbd: add default note info to size (create and resize)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15611 from tchaikov/wip-20175
Jason Dillaman [Fri, 16 Jun 2017 13:01:10 +0000 (09:01 -0400)]
Merge pull request #15611 from tchaikov/wip-20175

test/librbd: decouple ceph_test_librbd_api from libceph-common

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest/osd/osd-dup.sh: use wait_for_clean 15722/head
Dan Mick [Fri, 16 Jun 2017 06:12:14 +0000 (23:12 -0700)]
test/osd/osd-dup.sh: use wait_for_clean

Rather than a onetime 'ceph -s' test, which might be too early
on a loaded machine, use wait_for_clean; that's its job

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoos/bluestore:remove invalid statement 15718/head 16335/head
zhanglei [Fri, 16 Jun 2017 02:51:01 +0000 (22:51 -0400)]
os/bluestore:remove invalid statement

Signed-off-by: zhanglei <243290414@qq.com>
8 years agotest/unittest_librbd: Useless variables 15720/head
shiqi [Fri, 16 Jun 2017 02:34:25 +0000 (10:34 +0800)]
test/unittest_librbd: Useless variables

Signed-off-by: shiqi <1454927420@qq.com>
8 years agoqa/tasks/ceph.py: tolerate active+clean+something 15717/head
Sage Weil [Fri, 16 Jun 2017 02:29:15 +0000 (22:29 -0400)]
qa/tasks/ceph.py: tolerate active+clean+something

where something is, say, snaptrim.  or maybe scrubbing.
or whatever.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomessages/MOSDPing: initialize MOSDPing padding 15714/head
Sage Weil [Fri, 16 Jun 2017 02:18:08 +0000 (22:18 -0400)]
messages/MOSDPing: initialize MOSDPing padding

This memory must be initialized or else valgrind will be very unhappy.

Avoid the cost of zeroing (or even allocating) the buffer for normal
padding values by (re)using a static zero buffer.

Fixes: http://tracker.ceph.com/issues/20323
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15622 from joscollin/wip-CID1412576-divide-by-zero 15840/head
Kefu Chai [Fri, 16 Jun 2017 02:04:30 +0000 (10:04 +0800)]
Merge pull request #15622 from joscollin/wip-CID1412576-divide-by-zero

mon: DIVIDE_BY_ZERO in PGMapDigest::dump_pool_stats_full()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15596 from smithfarm/wip-copying
Kefu Chai [Fri, 16 Jun 2017 02:03:16 +0000 (10:03 +0800)]
Merge pull request #15596 from smithfarm/wip-copying

build/ops: rpm: package COPYING, move sample ceph.conf to ceph-common

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15668 from Liuchang0812/wip-fix-mgr-dashboard
Kefu Chai [Fri, 16 Jun 2017 02:01:34 +0000 (10:01 +0800)]
Merge pull request #15668 from Liuchang0812/wip-fix-mgr-dashboard

mgr/dashboard: fix type error in get_rate function

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15650 from gmayyyha/filestore-zfs
Kefu Chai [Fri, 16 Jun 2017 02:00:02 +0000 (10:00 +0800)]
Merge pull request #15650 from gmayyyha/filestore-zfs

os/filestore: zfs add get_name()

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15680 from xiexingguo/wip-bluestore-20170614
Kefu Chai [Fri, 16 Jun 2017 01:59:25 +0000 (09:59 +0800)]
Merge pull request #15680 from xiexingguo/wip-bluestore-20170614

os/bluestore: cleanup bluestore_types

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15704 from tchaikov/wip-mgr-raise-in-send-command
Kefu Chai [Fri, 16 Jun 2017 01:57:51 +0000 (09:57 +0800)]
Merge pull request #15704 from tchaikov/wip-mgr-raise-in-send-command

mgr: raise python exception on failure in send_command()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomgr: fix MgrStandby eating messages 15716/head
John Spray [Thu, 15 Jun 2017 19:57:36 +0000 (15:57 -0400)]
mgr: fix MgrStandby eating messages

It was failing to pass up the Mgr::ms_dispatch
return value, so messages were being consumed
even if Mgr was returning false.  Mgr returns
false to enable Client to see FSMap, so the
symptom was the Client not working.

While we're here, refactor switch into if, because
there were only two paths in the switch and we
don't expect to be adding more.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15654 from lixiaoy1/lisa_bid
Sage Weil [Thu, 15 Jun 2017 21:35:26 +0000 (16:35 -0500)]
Merge pull request #15654 from lixiaoy1/lisa_bid

bluestore: wrap blob id when it reaches maximum value of int16_t

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15666 from xiexingguo/wip-fix-shard-finishers
Sage Weil [Thu, 15 Jun 2017 21:34:35 +0000 (16:34 -0500)]
Merge pull request #15666 from xiexingguo/wip-fix-shard-finishers

os/bluestore: initialize finishers properly

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15675 from gregsfortytwo/wip-bad-command
Sage Weil [Thu, 15 Jun 2017 21:34:10 +0000 (16:34 -0500)]
Merge pull request #15675 from gregsfortytwo/wip-bad-command

mon,mgr: fix "ceph osd df", add some tools to find untested commands

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15687 from xiexingguo/wip-fix-decode-oi
Sage Weil [Thu, 15 Jun 2017 21:33:52 +0000 (16:33 -0500)]
Merge pull request #15687 from xiexingguo/wip-fix-decode-oi

osd/OSD: bump up current version; conditionally encoding manifest into oi

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15696 from liewegas/wip-19947
Sage Weil [Thu, 15 Jun 2017 21:33:09 +0000 (16:33 -0500)]
Merge pull request #15696 from liewegas/wip-19947

osd/PrimaryLogPG: fix oi reset during trim_object

8 years agoMerge pull request #15407 from david-z/wip-fix-mds-balancer
John Spray [Thu, 15 Jun 2017 18:23:25 +0000 (14:23 -0400)]
Merge pull request #15407 from david-z/wip-fix-mds-balancer

mds/MDBalancer: remove useless check_targets and hit_targets logic from MDS balancer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15095 from gregsfortytwo/wip-doc-mark-event
Josh Durgin [Thu, 15 Jun 2017 18:01:09 +0000 (14:01 -0400)]
Merge pull request #15095 from gregsfortytwo/wip-doc-mark-event

doc: describe mark_events logging available via the OSD's OpTracker

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15698 from Wilhelmshaven/remove_unused_func
Matt Benjamin [Thu, 15 Jun 2017 17:24:07 +0000 (13:24 -0400)]
Merge pull request #15698 from Wilhelmshaven/remove_unused_func

rgw: remove unused func in rgw_file.h

8 years agoMerge pull request #15707 from tchaikov/wip-20239
Sage Weil [Thu, 15 Jun 2017 16:43:19 +0000 (11:43 -0500)]
Merge pull request #15707 from tchaikov/wip-20239

doc: document the setup of restful and dashboard plugins

8 years agoqa/tasks/thrashosds: wait before wait_for_recovery 15310/head
Sage Weil [Wed, 31 May 2017 18:19:33 +0000 (14:19 -0400)]
qa/tasks/thrashosds: wait before wait_for_recovery

Make sure OSDs are up *and* they have flushed their PG stats before
waiting for recovery to ensure that we do not see a stale 'clean' state.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/thrash/worklaods/radosbench: use less disk
Sage Weil [Fri, 9 Jun 2017 01:29:00 +0000 (21:29 -0400)]
qa/suites/rados/thrash/worklaods/radosbench: use less disk

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/basic-luminous/scrub_test: skip final scrub
Sage Weil [Thu, 8 Jun 2017 22:17:41 +0000 (18:17 -0400)]
qa/suites/rados/basic-luminous/scrub_test: skip final scrub

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15125 from ukernel/wip-multimds-misc2
John Spray [Thu, 15 Jun 2017 16:07:59 +0000 (12:07 -0400)]
Merge pull request #15125 from ukernel/wip-multimds-misc2

mds: miscellaneous multimds fixes part2

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15440 from ukernel/wip-20170
John Spray [Thu, 15 Jun 2017 16:06:35 +0000 (12:06 -0400)]
Merge pull request #15440 from ukernel/wip-20170

mds: multimds flock fixes

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoqa/suites/rados/basic/repair_test: skip final scrub
Sage Weil [Wed, 31 May 2017 18:10:11 +0000 (14:10 -0400)]
qa/suites/rados/basic/repair_test: skip final scrub

OSD is deliberately damaged; scrub will fail.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph: raise exception if scrubs time out
Sage Weil [Fri, 26 May 2017 13:24:03 +0000 (09:24 -0400)]
qa/tasks/ceph: raise exception if scrubs time out

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph: raise an exception if pgs are not clean
Sage Weil [Fri, 26 May 2017 13:23:13 +0000 (09:23 -0400)]
qa/tasks/ceph: raise an exception if pgs are not clean

If this happens the preceding test should have cleaned
up (e.g., ceph.healthy:).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph: osd_scrub_pgs: try a bit longer
Sage Weil [Fri, 26 May 2017 13:22:37 +0000 (09:22 -0400)]
qa/tasks/ceph: osd_scrub_pgs: try a bit longer

I just saw a test fail that was still waiting for
scrubs to complete.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15308 from jcsp/wip-19706
John Spray [Thu, 15 Jun 2017 14:50:44 +0000 (10:50 -0400)]
Merge pull request #15308 from jcsp/wip-19706

mon: don't kill MDSs unless some beacons are getting through

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15411 from jcsp/wip-fs-suite
John Spray [Thu, 15 Jun 2017 14:50:07 +0000 (10:50 -0400)]
Merge pull request #15411 from jcsp/wip-fs-suite

qa: misc cephfs test improvements

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15708 from markhpc/wip-bluestore-shard_target
Sage Weil [Thu, 15 Jun 2017 14:46:08 +0000 (09:46 -0500)]
Merge pull request #15708 from markhpc/wip-bluestore-shard_target

os/bluestore: target_bytes should scale with meta/data ratios.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15082 from joke-lee/fix-website-redirect-request-to-master
Casey Bodley [Thu, 15 Jun 2017 14:15:06 +0000 (10:15 -0400)]
Merge pull request #15082 from joke-lee/fix-website-redirect-request-to-master

rgw-multisite: fix the problem of rgw website configure request not redirect to metadata master

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15617 from joke-lee/fix_put_bucket_policy_when_set_again
Casey Bodley [Thu, 15 Jun 2017 14:13:48 +0000 (10:13 -0400)]
Merge pull request #15617 from joke-lee/fix_put_bucket_policy_when_set_again

rgw: fix RGWPutBucketPolicy error when set BucketPolicy again without delete pre set Policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoosd/PrimaryLogPG: fix oi reset during trim_object 15696/head
Sage Weil [Thu, 15 Jun 2017 14:01:50 +0000 (10:01 -0400)]
osd/PrimaryLogPG: fix oi reset during trim_object

We partially fixed this in cd1271b4324431d16d3868a9f3b93cbefeeee057
but cleared the wrong oi (the clone's and not the
snap/head object's).

While we're here, drop the various bits where we clear
state bits; these are about to get clobbered when we reset
oi anyway.

Fixes: http://tracker.ceph.com/issues/19947
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15631 from xiexingguo/wip-bluestore-20170612
Sage Weil [Thu, 15 Jun 2017 14:00:03 +0000 (09:00 -0500)]
Merge pull request #15631 from xiexingguo/wip-bluestore-20170612

os/bluestore: stop calculating bound if we must reshard; narrow shard combination condition

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15636 from tsg-/isal-ec-avx512
Sage Weil [Thu, 15 Jun 2017 13:59:43 +0000 (08:59 -0500)]
Merge pull request #15636 from tsg-/isal-ec-avx512

erasure-code: update ec_isa version + add missing AVX512 ISA-L sources

8 years agoMerge pull request #15639 from liewegas/wip-20167
Sage Weil [Thu, 15 Jun 2017 13:59:14 +0000 (08:59 -0500)]
Merge pull request #15639 from liewegas/wip-20167

osd/PG: make non-empty PastIntervals non-fatal

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15641 from jecluis/wip-mon-deprecate-osd-create
Sage Weil [Thu, 15 Jun 2017 13:58:50 +0000 (08:58 -0500)]
Merge pull request #15641 from jecluis/wip-mon-deprecate-osd-create

mon: mark `osd create` as deprecated

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/Bluestore: target_bytes should scale with meta/data ratios. 15708/head
Mark Nelson [Thu, 15 Jun 2017 13:23:23 +0000 (08:23 -0500)]
os/Bluestore: target_bytes should scale with meta/data ratios.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
8 years agobuild/ops: rpm: package COPYING, move conf example to ceph-common 15596/head
Nathan Cutler [Fri, 9 Jun 2017 09:52:59 +0000 (11:52 +0200)]
build/ops: rpm: package COPYING, move conf example to ceph-common

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agobuild/ops: drop sample.fetch_config
Nathan Cutler [Thu, 15 Jun 2017 11:16:42 +0000 (13:16 +0200)]
build/ops: drop sample.fetch_config

smithfarm: @liewegas Is src/fetch_config still needed?
liewegas: i don't think so

Signed-off-by: Nathan Cutler <ncutler@suse.com>