]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomsg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain 15832/head
Daniel Bar-On [Mon, 15 May 2017 10:44:29 +0000 (10:44 +0000)]
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain
destructor

issue: 1044307

Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agoMerge pull request #15317 from liupan1111/wip-fix-list
Mykola Golub [Thu, 22 Jun 2017 04:31:32 +0000 (07:31 +0300)]
Merge pull request #15317 from liupan1111/wip-fix-list

rbd-nbd: display pool/image/snap information in list output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15803 from mikulely/cleanup-rgw_rados_doc
Jos Collin [Thu, 22 Jun 2017 04:27:29 +0000 (04:27 +0000)]
Merge pull request #15803 from mikulely/cleanup-rgw_rados_doc

rgw: update function doc in rgw_rados.h  and rgw_rados.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15261 from mychoxin/yuanxin_use_func
Sage Weil [Thu, 22 Jun 2017 02:14:30 +0000 (21:14 -0500)]
Merge pull request #15261 from mychoxin/yuanxin_use_func

os/filestore: when print log, use __func__ instead of hard code function name

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15354 from badone/wip-rados-ls-auth-fix
Sage Weil [Thu, 22 Jun 2017 02:14:01 +0000 (21:14 -0500)]
Merge pull request #15354 from badone/wip-rados-ls-auth-fix

osd: Reverse order of op_has_sufficient_caps and do_pg_op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15649 from liewegas/wip-20274
Sage Weil [Thu, 22 Jun 2017 02:13:14 +0000 (21:13 -0500)]
Merge pull request #15649 from liewegas/wip-20274

osd/PrimaryLogPG: record prior_version for DELETE events

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15601 from liewegas/wip-no-restful-cert
Sage Weil [Thu, 22 Jun 2017 02:10:35 +0000 (21:10 -0500)]
Merge pull request #15601 from liewegas/wip-no-restful-cert

mgr: remove default cert; disable both restful and dashboard by default

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agorgw: update rgw_rados.h function doc 15803/head
Jiaying Ren [Wed, 21 Jun 2017 08:30:16 +0000 (16:30 +0800)]
rgw: update rgw_rados.h function doc

+ update system_obj_get_attr func comment
+ drop deprecated func comment for get_obj
+ update func comment for pool_iterate_begin

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agoMerge pull request #15755 from Adirl/wip-HUGEPAGES
Haomai Wang [Thu, 22 Jun 2017 01:23:29 +0000 (09:23 +0800)]
Merge pull request #15755 from Adirl/wip-HUGEPAGES

msg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoqa/workunits/rest/test_mgr_rest_api: remove ruleset 15601/head
Sage Weil [Thu, 22 Jun 2017 01:17:14 +0000 (21:17 -0400)]
qa/workunits/rest/test_mgr_rest_api: remove ruleset

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: configure cert
Sage Weil [Thu, 22 Jun 2017 01:09:58 +0000 (21:09 -0400)]
qa/suites/rados/rest/mgr-restful: configure cert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: add 'restful restart' command
Sage Weil [Thu, 22 Jun 2017 01:00:35 +0000 (21:00 -0400)]
pybind/mgr/restful: add 'restful restart' command

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15757 from runsisi/wip-image-ts
Jason Dillaman [Thu, 22 Jun 2017 00:51:52 +0000 (20:51 -0400)]
Merge pull request #15757 from runsisi/wip-image-ts

librbd: add create timestamp metadata for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth
Kefu Chai [Wed, 21 Jun 2017 23:46:57 +0000 (07:46 +0800)]
Merge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth

test: Make screencandy optional for FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoosd/PGLog: ignore ERROR entires in _merge_object_divergent_entries 15649/head
Sage Weil [Wed, 21 Jun 2017 22:25:47 +0000 (18:25 -0400)]
osd/PGLog: ignore ERROR entires in _merge_object_divergent_entries

Sometimes ERROR log entries do not have prior_version.  Also,
they aren't actually updates and don't affect the object.

Fixes: http://tracker.ceph.com/issues/20274
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15783 from liewegas/wip-20358
Sage Weil [Wed, 21 Jun 2017 21:01:51 +0000 (16:01 -0500)]
Merge pull request #15783 from liewegas/wip-20358

os/bluestore: move sharedblob to new collection in same shard

8 years agoMerge pull request #15785 from liewegas/wip-bluestore-fsck
Sage Weil [Wed, 21 Jun 2017 21:01:07 +0000 (16:01 -0500)]
Merge pull request #15785 from liewegas/wip-bluestore-fsck

qa/objectstore/bluestore*: fsck on mount

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15734 from dillaman/wip-librbd-image-remove
Mykola Golub [Wed, 21 Jun 2017 20:41:33 +0000 (23:41 +0300)]
Merge pull request #15734 from dillaman/wip-librbd-image-remove

librbd: fix issues with image removal state machine

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator
Gregory Farnum [Wed, 21 Jun 2017 20:05:40 +0000 (16:05 -0400)]
Merge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator

osd, messages/MOSDPing: bunch of fixes related to ping inflation

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15723 from badone/wip-ceph-mon-startup-error-logging
Yuri Weinstein [Wed, 21 Jun 2017 20:01:35 +0000 (13:01 -0700)]
Merge pull request #15723 from badone/wip-ceph-mon-startup-error-logging

mon: Log errors at startup

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15784 from liewegas/wip-thrash-cleanup
Sage Weil [Wed, 21 Jun 2017 19:31:34 +0000 (14:31 -0500)]
Merge pull request #15784 from liewegas/wip-thrash-cleanup

qa/tasks/ceph_manager: get osds all in after thrashing

8 years agoMerge pull request #15787 from liewegas/wip-19943-fix
Sage Weil [Wed, 21 Jun 2017 19:31:02 +0000 (14:31 -0500)]
Merge pull request #15787 from liewegas/wip-19943-fix

ceph-objectstore-tool: do not populate snapmapper with missing clones

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15813 from tchaikov/wip-cmake
Kefu Chai [Wed, 21 Jun 2017 16:57:17 +0000 (00:57 +0800)]
Merge pull request #15813 from tchaikov/wip-cmake

cmake: do not add dependencies to INTERFACE library on cmake < 3.3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agopybind/mgr/restful: remove default path names for the cert
Sage Weil [Wed, 21 Jun 2017 16:30:07 +0000 (12:30 -0400)]
pybind/mgr/restful: remove default path names for the cert

I don't think these are useful.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: do not start if no certificate is configured
Sage Weil [Wed, 21 Jun 2017 16:29:45 +0000 (12:29 -0400)]
pybind/mgr/restful: do not start if no certificate is configured

This removes the default filename, by the way.  We also work around a
problem with make_server where it sets up the socket to listen before
checking for the cert, thereby making it problematic to rebind to the
port shortly thereafter when we do have a socket.  (SO_REUSEADDR would
be appropriate but there doesn't seem to be an easy way to make
make_server use it.)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorestful: Introduce create-self-signed-cert command
Boris Ranto [Tue, 20 Jun 2017 22:09:46 +0000 (18:09 -0400)]
restful: Introduce create-self-signed-cert command

This implements a create-self-signed-cert command for the ceph-mgr
restful interface.

It is designed so that it will try to restart the module once the cert
is created.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #15060 from shashalu/fix-slo-dlo-range
Casey Bodley [Wed, 21 Jun 2017 16:12:38 +0000 (12:12 -0400)]
Merge pull request #15060 from shashalu/fix-slo-dlo-range

rgw: fix SLO/DLO range requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15791 from liewegas/wip-20360
Sage Weil [Wed, 21 Jun 2017 15:55:53 +0000 (10:55 -0500)]
Merge pull request #15791 from liewegas/wip-20360

Revert "qa: do not restrict valgrind runs to centos"

8 years agocmake: do not add dependencies to INTERFACE library on cmake < 3.3 15813/head
Kefu Chai [Wed, 21 Jun 2017 15:34:49 +0000 (23:34 +0800)]
cmake: do not add dependencies to INTERFACE library on cmake < 3.3

otherwise we will have

add_dependencies Cannot add target-level dependencies to INTERFACE
library

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13683 from liewegas/wip-crush-rulesets
Sage Weil [Wed, 21 Jun 2017 13:45:42 +0000 (08:45 -0500)]
Merge pull request #13683 from liewegas/wip-crush-rulesets

crush: detect and (usually) fix ruleset != rule id

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15789 from linuxbox2/wip-nfs-doc
Matt Benjamin [Wed, 21 Jun 2017 13:20:40 +0000 (09:20 -0400)]
Merge pull request #15789 from linuxbox2/wip-nfs-doc

RGW NFS: add nfs.rst to doc/radosgw
(override because make check fail [missing selinux policy help file] unrelated)

8 years agoRGW NFS: add nfs.rst to doc/radosgw 15789/head
Matt Benjamin [Tue, 20 Jun 2017 19:46:42 +0000 (15:46 -0400)]
RGW NFS: add nfs.rst to doc/radosgw

This document contains sections by John Wilkins <jowilkin@redhat.com>.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15255 from david-z/wip-mgr-fsstatus
John Spray [Wed, 21 Jun 2017 11:46:02 +0000 (07:46 -0400)]
Merge pull request #15255 from david-z/wip-mgr-fsstatus

pybind/mgr/fsstatus: use mds_mem.dn as dentry counter

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15621 from mingshuaiwang/master
John Spray [Wed, 21 Jun 2017 11:32:09 +0000 (07:32 -0400)]
Merge pull request #15621 from mingshuaiwang/master

mds: mds perf item 'l_mdl_expos' always behind journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15662 from renhwztetecs/renhw-wip-client-trim_cache
John Spray [Wed, 21 Jun 2017 11:31:27 +0000 (07:31 -0400)]
Merge pull request #15662 from renhwztetecs/renhw-wip-client-trim_cache

client: call the lru_remove() twice,when trim cache

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15715 from jcsp/wip-jt-rmapply
John Spray [Wed, 21 Jun 2017 11:30:53 +0000 (07:30 -0400)]
Merge pull request #15715 from jcsp/wip-jt-rmapply

tools/cephfs: remove `apply` mode of cephfs-journal-tool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15779 from renhwztetecs/renhw-wip-client-dentry
John Spray [Wed, 21 Jun 2017 11:30:34 +0000 (07:30 -0400)]
Merge pull request #15779 from renhwztetecs/renhw-wip-client-dentry

client: fix Dentry::dump

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agorgw: fix SLO/DLO range requests 15060/head
lu.shasha [Fri, 12 May 2017 02:03:02 +0000 (10:03 +0800)]
rgw: fix SLO/DLO range requests

Sending any SLO/DLO range requests will retrun InvalidRange error. SLO/DLO should call range_to_ofs after got object size instead of read_op.prepare() to deal with negative offsets.

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoMerge pull request #15728 from majianpeng/bluefs-remove-memcopy-for-continue-memory
Sage Weil [Tue, 20 Jun 2017 21:53:45 +0000 (16:53 -0500)]
Merge pull request #15728 from majianpeng/bluefs-remove-memcopy-for-continue-memory

os/bluestore/BlueFS: Rebuild memcopy for bufferlist::page_aligned_app…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agounittest_bufferlist: test page_aligned_appender 15728/head
Sage Weil [Tue, 20 Jun 2017 03:24:36 +0000 (23:24 -0400)]
unittest_bufferlist: test page_aligned_appender

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueFS: replace claim_append with claim_append_piecewise to reduce memor...
Jianpeng Ma [Tue, 20 Jun 2017 20:42:02 +0000 (04:42 +0800)]
os/bluestore/BlueFS: replace claim_append with claim_append_piecewise to reduce memory copy.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agocommon/buffer: add function bufferlist::claim_append_piecewise(list& bl).
Jianpeng Ma [Tue, 20 Jun 2017 23:04:51 +0000 (07:04 +0800)]
common/buffer: add function  bufferlist::claim_append_piecewise(list&  bl).

This only useful for bl is bufferlist::page_aligned_appender. Using
this function can remove memcopy for continue ptrs.
Because page_aligned_appender::flush will split a ptr into two or
more ptrs. For this case, rebuild_aligned_size_and_memory can't handle,
it  will rebuild.

For example
a=bl.get_page_aligned_appender(1);
a.append(3K)
a.flush();
t.claim_append(bl);
a.append(1K);
a.flush();
t.claim_append(bl);

dst.claim_append(t);
//3K and 1K ptr are continue in memory. But they are two ptrs..
dst.is_aligned_size_and_memory(4096,4096) is false.

We add new function claim_append_piecewise() to specially
handle this case.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoosd: replicated_ruleset -> replicated_rule 13683/head
Sage Weil [Tue, 20 Jun 2017 21:45:59 +0000 (17:45 -0400)]
osd: replicated_ruleset -> replicated_rule

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: remove default of 127.0.0.1
Sage Weil [Fri, 9 Jun 2017 15:52:30 +0000 (11:52 -0400)]
pybind/mgr/restful: remove default of 127.0.0.1

i.e., disabled until explicitly enabled by an admin

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/dashboard: remove default of 127.0.0.1
Sage Weil [Fri, 9 Jun 2017 15:51:59 +0000 (11:51 -0400)]
pybind/mgr/dashboard: remove default of 127.0.0.1

i.e., disabled until explicitly enabled by an admin.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.spec,debian: remove auto-generated self-signed mgr restful cert
Sage Weil [Fri, 9 Jun 2017 15:24:37 +0000 (11:24 -0400)]
ceph.spec,debian: remove auto-generated self-signed mgr restful cert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoRevert "qa: do not restrict valgrind runs to centos" 15791/head
Sage Weil [Tue, 20 Jun 2017 21:14:52 +0000 (17:14 -0400)]
Revert "qa: do not restrict valgrind runs to centos"

This reverts commit 5923961465e1efd3cc6bc072fef293dda3d975d0.

See http://tracker.ceph.com/issues/20360

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15260 from shashalu/fix-secondary-zonegroup-cors
Casey Bodley [Tue, 20 Jun 2017 20:54:08 +0000 (16:54 -0400)]
Merge pull request #15260 from shashalu/fix-secondary-zonegroup-cors

rgw: update bucket cors in secondary zonegroup should forward to master

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15709 from jcsp/wip-dashboard-loglast
Sage Weil [Tue, 20 Jun 2017 20:25:30 +0000 (15:25 -0500)]
Merge pull request #15709 from jcsp/wip-dashboard-loglast

mgr/dashboard: load log lines on startup, split out audit log

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15750 from xiexingguo/wip-bluestore-20170619
Sage Weil [Tue, 20 Jun 2017 20:25:03 +0000 (15:25 -0500)]
Merge pull request #15750 from xiexingguo/wip-bluestore-20170619

os/bluestore: refactor BlueStore::_do_write;  kill dead ExtentMap::find_lextent() method

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15766 from liewegas/wip-20227-fix
Sage Weil [Tue, 20 Jun 2017 20:24:30 +0000 (15:24 -0500)]
Merge pull request #15766 from liewegas/wip-20227-fix

os/bluestore: fix unsharing blob dirty_range args

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15014 from zhangsw/fix-rgw-versionIdMarker-bug
Casey Bodley [Tue, 20 Jun 2017 20:07:46 +0000 (16:07 -0400)]
Merge pull request #15014 from zhangsw/fix-rgw-versionIdMarker-bug

rgw: VersionIdMarker and NextVersionIdMarker should be returned when listing object versions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug
Yehuda Sadeh [Tue, 20 Jun 2017 19:44:37 +0000 (12:44 -0700)]
Merge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug

rgw: fix the bug that part's index can't be removed after completing multipart upload

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoos/bluestore: debug OmapIteratorImpl 15787/head
Sage Weil [Tue, 20 Jun 2017 18:29:55 +0000 (14:29 -0400)]
os/bluestore: debug OmapIteratorImpl

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/SnapMapper: debug keys inserted, removed, and iterated
Sage Weil [Tue, 13 Jun 2017 20:46:41 +0000 (16:46 -0400)]
osd/SnapMapper: debug keys inserted, removed, and iterated

Hunting bug http://tracker.ceph.com/issues/19943

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-objectstore-tool: do not populate snapmapper with missing clones
Sage Weil [Tue, 20 Jun 2017 18:25:28 +0000 (14:25 -0400)]
ceph-objectstore-tool: do not populate snapmapper with missing clones

Cache pools may have clones represented in SnapSet that are not stored
locally.  This is fine as long as ceph-objectstore-tool doesn't go and
add them when it shouldn't.

Fixes: http://tracker.ceph.com/issues/19943
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin
Casey Bodley [Tue, 20 Jun 2017 18:16:10 +0000 (14:16 -0400)]
Merge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin

rgw: cleanup unused codes in rgw_admin.cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15768 from ukernel/wip-objecter-inflight-ops
John Spray [Tue, 20 Jun 2017 18:13:40 +0000 (14:13 -0400)]
Merge pull request #15768 from ukernel/wip-objecter-inflight-ops

osdc/Objecter: fix inflight_ops update

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string
Casey Bodley [Tue, 20 Jun 2017 18:02:49 +0000 (14:02 -0400)]
Merge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string

rgw/rgw_string.h: FreeBSD would like errno.h included

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15782 from cbodley/wip-rgw-vstart-s3tests
Yehuda Sadeh [Tue, 20 Jun 2017 18:02:28 +0000 (11:02 -0700)]
Merge pull request #15782 from cbodley/wip-rgw-vstart-s3tests

vstart: add rgw configuration needed to pass all s3tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agovstart: add rgw configuration needed to pass all s3tests 15782/head
Casey Bodley [Tue, 20 Jun 2017 15:36:42 +0000 (11:36 -0400)]
vstart: add rgw configuration needed to pass all s3tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/objectstore/bluestore*: fsck on mount 15785/head
Sage Weil [Tue, 20 Jun 2017 16:17:48 +0000 (12:17 -0400)]
qa/objectstore/bluestore*: fsck on mount

This will catch more bugs!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15751 from xiexingguo/wip-add-state-name
Sage Weil [Tue, 20 Jun 2017 16:16:29 +0000 (11:16 -0500)]
Merge pull request #15751 from xiexingguo/wip-add-state-name

src/common/ceph_string: stringify new osd states

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks/ceph_manager: get osds all in after thrashing 15784/head
Sage Weil [Tue, 20 Jun 2017 16:07:25 +0000 (12:07 -0400)]
qa/tasks/ceph_manager: get osds all in after thrashing

Otherwise we might end up with some PGs remapped, which means they won't
get scrubbed.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: move sharedblob to new collection in same shard 15783/head
Sage Weil [Tue, 20 Jun 2017 15:56:08 +0000 (11:56 -0400)]
os/bluestore: move sharedblob to new collection in same shard

We have to move the SharedBlob to the new collection even if
the new collection is part of the same cache shard.  It's only the buffers
that need to be conditioned on the shard.

Fixes: http://tracker.ceph.com/issues/20358
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14703 from zhangsw/feature-lifecycle-deletemarker
Casey Bodley [Tue, 20 Jun 2017 15:30:38 +0000 (11:30 -0400)]
Merge pull request #14703 from zhangsw/feature-lifecycle-deletemarker

rgw: add support for delete marker expiration in s3 lifecycle.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #15540 from joscollin/wip-cleanup-test-commented-code-2
Sage Weil [Tue, 20 Jun 2017 15:22:37 +0000 (10:22 -0500)]
Merge pull request #15540 from joscollin/wip-cleanup-test-commented-code-2

test/osd: Removed Commented Code - 2

8 years agoMerge pull request #15770 from tchaikov/wip-test-test_mon_crush
Kefu Chai [Tue, 20 Jun 2017 15:01:16 +0000 (23:01 +0800)]
Merge pull request #15770 from tchaikov/wip-test-test_mon_crush

qa/workunits/cephtool/test.sh: only include last line for epoch

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15733 from wjwithagen/wip-wjw-freebsd-ceph-disk-service
Kefu Chai [Tue, 20 Jun 2017 14:44:18 +0000 (22:44 +0800)]
Merge pull request #15733 from wjwithagen/wip-wjw-freebsd-ceph-disk-service

ceph-disk: command invocation needs all fields separate

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest/osd: Removed Commented Code - 2 15540/head
Jos Collin [Wed, 7 Jun 2017 05:54:59 +0000 (11:24 +0530)]
test/osd: Removed Commented Code - 2

Removed commented code found in test/osd/.

Fixes: http://tracker.ceph.com/issues/20207 (Partially)
Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoceph-disk: command invocation needs all fields separate 15733/head
Willem Jan Withagen [Fri, 16 Jun 2017 15:59:12 +0000 (17:59 +0200)]
ceph-disk: command invocation needs all fields separate

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agolibrbd: removed synchronous watcher check from remove image state machine 15734/head
Jason Dillaman [Fri, 16 Jun 2017 17:28:01 +0000 (13:28 -0400)]
librbd: removed synchronous watcher check from remove image state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: clean up remove request state machine
Jason Dillaman [Fri, 16 Jun 2017 16:45:46 +0000 (12:45 -0400)]
librbd: clean up remove request state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: remove state machine should ignore group not supported errors
Jason Dillaman [Fri, 16 Jun 2017 15:10:08 +0000 (11:10 -0400)]
librbd: remove state machine should ignore group not supported errors

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15592 from david-z/wip-fix-dump-cache
John Spray [Tue, 20 Jun 2017 10:47:13 +0000 (06:47 -0400)]
Merge pull request #15592 from david-z/wip-fix-dump-cache

mds: explicitly output error msg for dump cache asok command

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agomsg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf 15755/head
Daniel Bar-On [Thu, 11 May 2017 14:20:22 +0000 (14:20 +0000)]
msg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf

Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agoqa/workunits/cephtool/test.sh: only include last line for epoch 15770/head
Kefu Chai [Tue, 20 Jun 2017 08:07:52 +0000 (16:07 +0800)]
qa/workunits/cephtool/test.sh: only include last line for epoch

/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1606: test_mon_crush:  epoch='2017-06-20 04:44:52.862459 ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1607: test_mon_crush:  '[' '2017-06-20 04:44:52.862459 ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12' -gt 1 ']'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh: line 1607: [: 2017-06-20 04:44:52.862459 ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12: integer expression expected

Signed-off-by: Kefu Chai <kchai@redhat.com>
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 #15742 from wjwithagen/wip-wjw-freebsd-host-errno-3
Kefu Chai [Tue, 20 Jun 2017 07:36:54 +0000 (15:36 +0800)]
Merge pull request #15742 from wjwithagen/wip-wjw-freebsd-host-errno-3

common/freebsd_errno.cc: fixed again a stupid typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest/cli-integration/rbd: verify formatting for image create timestamp 15757/head
runsisi [Mon, 19 Jun 2017 05:31:22 +0000 (13:31 +0800)]
test/cli-integration/rbd: verify formatting for image create timestamp

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agotest/unittest_rbd: add unit tests for image create timestamp
runsisi [Mon, 19 Jun 2017 03:29:31 +0000 (11:29 +0800)]
test/unittest_rbd: add unit tests for image create timestamp

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agopybind/rbd: add support for image create timestamp
runsisi [Fri, 21 Apr 2017 08:59:21 +0000 (16:59 +0800)]
pybind/rbd: add support for image create timestamp

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agorbd: include create timestamp for info command
runsisi [Fri, 21 Apr 2017 08:54:34 +0000 (16:54 +0800)]
rbd: include create timestamp for info command

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agolibrbd: add create timestamp metadata for image
runsisi [Fri, 21 Apr 2017 08:32:33 +0000 (16:32 +0800)]
librbd: add create timestamp metadata for image

Signed-off-by: runsisi <runsisi@zte.com.cn>
8 years agoosdc/Objecter: fix inflight_ops update 15768/head
Yan, Zheng [Tue, 20 Jun 2017 03:55:03 +0000 (11:55 +0800)]
osdc/Objecter: fix inflight_ops update

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agoMerge pull request #15651 from zealoussnow/wip-0613
Sage Weil [Tue, 20 Jun 2017 03:39:55 +0000 (22:39 -0500)]
Merge pull request #15651 from zealoussnow/wip-0613

config_opt: use bool instead of int for the default value of filestore_debug_omap_check

8 years agoMerge pull request #15676 from Linbing/wip-mon-delete-unused-config
Sage Weil [Tue, 20 Jun 2017 03:37:59 +0000 (22:37 -0500)]
Merge pull request #15676 from Linbing/wip-mon-delete-unused-config

mon: delete unused config opts of mon_sync_fs_threshold

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
Sage Weil [Tue, 20 Jun 2017 03:34:35 +0000 (22:34 -0500)]
Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296

mgr: print a more helpful error message for when users lack mgr ceph caps

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15744 from badone/wip-CID-1412579
Sage Weil [Tue, 20 Jun 2017 03:11:56 +0000 (22:11 -0500)]
Merge pull request #15744 from badone/wip-CID-1412579

ceph-dencoder: Silence coverity CID 1412579

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15637 from liewegas/wip-point-to-point
Sage Weil [Tue, 20 Jun 2017 02:59:30 +0000 (21:59 -0500)]
Merge pull request #15637 from liewegas/wip-point-to-point

qa/upgrade/jewel-x/point-to-point: add a mgr during final upgrade

8 years agoos/bluestore: fix unsharing blob dirty_range args 15766/head
Sage Weil [Tue, 20 Jun 2017 02:57:43 +0000 (22:57 -0400)]
os/bluestore: fix unsharing blob dirty_range args

Fixes: http://tracker.ceph.com/issues/20227
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush/CrushWrapper: add_simple_ruleset[_at] -> add_simple_rule[_at]
Sage Weil [Wed, 14 Jun 2017 19:55:25 +0000 (15:55 -0400)]
crush/CrushWrapper: add_simple_ruleset[_at] -> add_simple_rule[_at]

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: some cosmetic cleanup (ruleset -> rule)
Sage Weil [Wed, 14 Jun 2017 19:19:12 +0000 (15:19 -0400)]
osd/OSDMap: some cosmetic cleanup (ruleset -> rule)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush: simplify osd_pool_default_crush_rule config
Sage Weil [Fri, 28 Apr 2017 22:33:49 +0000 (18:33 -0400)]
crush: simplify osd_pool_default_crush_rule config

Make an incompat change here with a release note since
this only affects pool creation, a rare event, and folks
who have customized their configs (also rare).

Keep it simple: a config sets the default rule, or else we pick
the first TYPE_REPLICATED pool in the crush map.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: rename functions and variables, ruleset -> rule
Sage Weil [Wed, 1 Mar 2017 16:35:55 +0000 (10:35 -0600)]
mon/OSDMonitor: rename functions and variables, ruleset -> rule

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: scrub 'ruleset' from user-visible output
Sage Weil [Tue, 28 Feb 2017 21:25:54 +0000 (15:25 -0600)]
mon: scrub 'ruleset' from user-visible output

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: remove 'crush_ruleset' property
Sage Weil [Tue, 28 Feb 2017 21:24:07 +0000 (15:24 -0600)]
mon: remove 'crush_ruleset' property

The 'crush_rule' name has been present since before hammer; users should
use that instead

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/osd_types: pg_pool_t: rename crush_ruleset -> crush_rule
Sage Weil [Tue, 28 Feb 2017 20:24:54 +0000 (14:24 -0600)]
osd/osd_types: pg_pool_t: rename crush_ruleset -> crush_rule

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: rename 'osd pool create' argument field name
Sage Weil [Tue, 28 Feb 2017 19:42:16 +0000 (13:42 -0600)]
mon/OSDMonitor: rename 'osd pool create' argument field name

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush/CrushWrapper: optimize find_rule when rules are uniform
Sage Weil [Tue, 28 Feb 2017 19:37:04 +0000 (13:37 -0600)]
crush/CrushWrapper: optimize find_rule when rules are uniform

On finalize, set a flag indicating whether our rules are uniform.  If so,
find_rule() is trivial--it just verifies the rule exists.

Signed-off-by: Sage Weil <sage@redhat.com>