]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc: add v10.2.8 changelog 16274/head
Nathan Cutler [Thu, 13 Jul 2017 10:18:17 +0000 (12:18 +0200)]
doc: add v10.2.8 changelog

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agodoc: release notes: note MDS regression in 10.2.8
Nathan Cutler [Wed, 12 Jul 2017 07:05:12 +0000 (09:05 +0200)]
doc: release notes: note MDS regression in 10.2.8

See the discussion in https://github.com/ceph/ceph/pull/16192

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agodoc: Jewel v10.2.8 release notes
Nathan Cutler [Tue, 11 Jul 2017 20:43:42 +0000 (22:43 +0200)]
doc: Jewel v10.2.8 release notes

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #15989 from linuxbox2/wip-nfs-compress
Matt Benjamin [Tue, 11 Jul 2017 13:24:16 +0000 (09:24 -0400)]
Merge pull request #15989 from linuxbox2/wip-nfs-compress

rgw_file: add compression interop to RGW NFS

8 years agorgw_file: add large(ish) write test 15989/head
Matt Benjamin [Tue, 2 May 2017 20:06:47 +0000 (16:06 -0400)]
rgw_file: add large(ish) write test

allows for read-after-write verify

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: compression fix and cleanup from review
Matt Benjamin [Thu, 6 Jul 2017 15:59:05 +0000 (11:59 -0400)]
rgw_file:  compression fix and cleanup from review

A fix and a cleanup from Adam Kupczyk <akupczyk@redhat.com> review.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: enable compression filter (stores)
Matt Benjamin [Thu, 4 May 2017 19:47:39 +0000 (15:47 -0400)]
rgw_file:  enable compression filter (stores)

Previously NFS clients could access compressed data, but the
RGWWriteDataRequest lacked glue to attach an inbound
compression filter.

Fixes: http://tracker.ceph.com/issues/20462
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #16241 from liewegas/wip-dashboard-default
John Spray [Tue, 11 Jul 2017 09:13:45 +0000 (10:13 +0100)]
Merge pull request #16241 from liewegas/wip-dashboard-default

doc/mgr/dashboard: update dashboard docs to reflect new defaults

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #16034 from guihecheng/rgw_file-policy-read
Matt Benjamin [Tue, 11 Jul 2017 09:04:33 +0000 (05:04 -0400)]
Merge pull request #16034 from guihecheng/rgw_file-policy-read

rgw: rgw_file skip policy read for virtual components

8 years agoMerge pull request #16229 from Liuchang0812/wip-misc-cleanup
Sage Weil [Mon, 10 Jul 2017 21:50:40 +0000 (16:50 -0500)]
Merge pull request #16229 from Liuchang0812/wip-misc-cleanup

ceph.in, mgr: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16230 from jecluis/wip-20443
Sage Weil [Mon, 10 Jul 2017 21:50:08 +0000 (16:50 -0500)]
Merge pull request #16230 from jecluis/wip-20443

mon/Monitor: recreate mon session if features changed

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16233 from liewegas/wip-osd-create
Sage Weil [Mon, 10 Jul 2017 21:49:32 +0000 (16:49 -0500)]
Merge pull request #16233 from liewegas/wip-osd-create

qa/tasks/ceph.py: no osd id to 'osd create' command

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16235 from tchaikov/wip-timer
Sage Weil [Mon, 10 Jul 2017 21:49:01 +0000 (16:49 -0500)]
Merge pull request #16235 from tchaikov/wip-timer

os/filestore: do not free event if not added

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #16237 from YankunLi/dev-bluestore0710
Sage Weil [Mon, 10 Jul 2017 21:48:44 +0000 (16:48 -0500)]
Merge pull request #16237 from YankunLi/dev-bluestore0710

os/blueStore: Failure retry for opening file

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16246 from gregsfortytwo/wip-fix-mgr-cephx-link
Sage Weil [Mon, 10 Jul 2017 18:16:48 +0000 (13:16 -0500)]
Merge pull request #16246 from gregsfortytwo/wip-fix-mgr-cephx-link

doc: fix link for ceph-mgr cephx authorization

8 years agodoc: fix link for ceph-mgr cephx authorization 16246/head
Greg Farnum [Mon, 10 Jul 2017 17:56:53 +0000 (10:56 -0700)]
doc: fix link for ceph-mgr cephx authorization

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #16177 from Synesis-LLC/fix_rgw_crash_ec_data_pool
Yehuda Sadeh [Mon, 10 Jul 2017 16:53:18 +0000 (09:53 -0700)]
Merge pull request #16177 from Synesis-LLC/fix_rgw_crash_ec_data_pool

rgw: fix not initialized vars which cause rgw crash with ec data pool

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15467 from joke-lee/fix-aws-v2-signature-X-Amz-Date-priority
Yuri Weinstein [Mon, 10 Jul 2017 16:39:37 +0000 (09:39 -0700)]
Merge pull request #15467 from joke-lee/fix-aws-v2-signature-X-Amz-Date-priority

rgw:fix s3 aws v2 signature priority between header['X-Amz-Date'] and header['Date']

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16033 from zhaochao/rgw-add-a-new-errcode-for-non-existed-user
Yuri Weinstein [Mon, 10 Jul 2017 16:34:44 +0000 (09:34 -0700)]
Merge pull request #16033 from zhaochao/rgw-add-a-new-errcode-for-non-existed-user

rgw: add a new error code for non-existed user.

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16185 from smithfarm/wip-lease-stack-spawn
Yuri Weinstein [Mon, 10 Jul 2017 16:31:08 +0000 (09:31 -0700)]
Merge pull request #16185 from smithfarm/wip-lease-stack-spawn

rgw: lease_stack: use reset method instead of assignment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16204 from jimifm/wip-rgw_frontend
Yuri Weinstein [Mon, 10 Jul 2017 16:30:33 +0000 (09:30 -0700)]
Merge pull request #16204 from jimifm/wip-rgw_frontend

rgw/rgw_frontend.h: Return negative value for empty uid in RGWLoadGenFrontend::init()

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16016 from liewegas/wip-osd-df
Sage Weil [Mon, 10 Jul 2017 15:39:43 +0000 (10:39 -0500)]
Merge pull request #16016 from liewegas/wip-osd-df

mon: include device class in tree view; hide shadow hierarchy

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks/ceph.py: no osd id to 'osd create' command 16233/head
Sage Weil [Sun, 9 Jul 2017 19:03:21 +0000 (15:03 -0400)]
qa/tasks/ceph.py: no osd id to 'osd create' command

This isn't recognized by hammer, and we don't need it for jewel.

Fixes: http://tracker.ceph.com/issues/20548
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15858 from liewegas/wip-mgr-servicemap
John Spray [Mon, 10 Jul 2017 14:03:07 +0000 (15:03 +0100)]
Merge pull request #15858 from liewegas/wip-mgr-servicemap

mgr,librados: service map

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agodoc/mgr/dashboard: update dashboard docs to reflect new defaults 16241/head
Sage Weil [Mon, 10 Jul 2017 13:48:50 +0000 (09:48 -0400)]
doc/mgr/dashboard: update dashboard docs to reflect new defaults

Also add not about load balancer.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/mon/osd-crush-tree.rng: fix expected xml schema for osd tree 16016/head
Sage Weil [Mon, 10 Jul 2017 13:31:54 +0000 (09:31 -0400)]
test/mon/osd-crush-tree.rng: fix expected xml schema for osd tree

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/cli/osdmaptool/tree.t: fix
Sage Weil [Mon, 10 Jul 2017 13:25:09 +0000 (09:25 -0400)]
test/cli/osdmaptool/tree.t: fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16049 from fullerdj/wip-djf-key-timeout
Alfredo Deza [Mon, 10 Jul 2017 11:52:24 +0000 (07:52 -0400)]
Merge pull request #16049 from fullerdj/wip-djf-key-timeout

ceph-create-keys: add an argument to override default 10-minute timeout

Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #16236 from shashalu/clean-up-RGWRemoteDataLog-unused-function
Jos Collin [Mon, 10 Jul 2017 11:23:24 +0000 (11:23 +0000)]
Merge pull request #16236 from shashalu/clean-up-RGWRemoteDataLog-unused-function

rgw: drop unused function RGWRemoteDataLog::get_shard_info()

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoBlueStore:Failure retry for opening file 16237/head
YankunLi [Mon, 10 Jul 2017 08:39:58 +0000 (16:39 +0800)]
BlueStore:Failure retry for opening file

Failure retry to open file

Signed-off-by: Yankun Li <lioveni99@gmail.com>
8 years agorgw:multisite: clean up RGWRemoteDataLog unused function 16236/head
lu.shasha [Mon, 10 Jul 2017 08:14:55 +0000 (16:14 +0800)]
rgw:multisite: clean up RGWRemoteDataLog unused function

'RGWRemoteDataLog::get_shard_info' function not used, drop it

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoos/filestore: do not free event not added 16235/head
Kefu Chai [Mon, 10 Jul 2017 07:31:43 +0000 (15:31 +0800)]
os/filestore: do not free event not added

if an event fails to be added, it's freed by the callee. so we should
not try to free it again. that address could be re-used by the
allocator, to we might be freeing an irrelevent event.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/Timer: return false if event not added
Kefu Chai [Mon, 10 Jul 2017 07:31:16 +0000 (15:31 +0800)]
common/Timer: return false if event not added

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16160 from xiexingguo/wip-misc2
Sage Weil [Mon, 10 Jul 2017 01:23:13 +0000 (20:23 -0500)]
Merge pull request #16160 from xiexingguo/wip-misc2

mon, osd: misc fixes and cleanups

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #16220 from dzafman/wip-20544
Sage Weil [Mon, 10 Jul 2017 01:22:46 +0000 (20:22 -0500)]
Merge pull request #16220 from dzafman/wip-20544

mon: Fix status output warning for mon_warn_osd_usage_min_max_delta

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16223 from liewegas/wip-dashboard-default
Sage Weil [Mon, 10 Jul 2017 01:20:52 +0000 (20:20 -0500)]
Merge pull request #16223 from liewegas/wip-dashboard-default

pybind/mgr/dashboard: bind to :: by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: register as a service 15858/head
Yehuda Sadeh [Fri, 30 Jun 2017 16:04:05 +0000 (12:04 -0400)]
rgw: register as a service

support dynamic reload, and also add frontend info

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agomon: make service summary string customizable; simple default
Sage Weil [Tue, 27 Jun 2017 13:32:44 +0000 (09:32 -0400)]
mon: make service summary string customizable; simple default

Eventually the mgr can populate this field with something tailored to the
service.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: set hostname propery on ServiceMap services
John Spray [Mon, 26 Jun 2017 23:42:34 +0000 (19:42 -0400)]
mgr: set hostname propery on ServiceMap services

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agolibrados: include common daemon metadata in service_daemon_register
John Spray [Mon, 26 Jun 2017 23:10:24 +0000 (19:10 -0400)]
librados: include common daemon metadata in service_daemon_register

Aside from being generally useful, this uniformity enables ceph-mgr
to have some common information about all the hosts
it knows about; otherwise we would sometimes learn
about a host without e.g. knowing about the cpu/ram/kernel.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: expose daemon status to modules
Sage Weil [Mon, 26 Jun 2017 19:55:19 +0000 (15:55 -0400)]
mgr: expose daemon status to modules

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/PyModules: expose service_map to modules
Sage Weil [Mon, 26 Jun 2017 19:54:59 +0000 (15:54 -0400)]
mgr/PyModules: expose service_map to modules

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: allow service registrations
Sage Weil [Mon, 26 Jun 2017 17:22:57 +0000 (13:22 -0400)]
librados: allow service registrations

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: remove useless headers in MgrStandby.h 16229/head
liuchang0812 [Sat, 8 Jul 2017 14:53:07 +0000 (22:53 +0800)]
mgr: remove useless headers in MgrStandby.h

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agotool/ceph: print timeout tips iff verbose
liuchang0812 [Sat, 8 Jul 2017 04:50:38 +0000 (12:50 +0800)]
tool/ceph: print timeout tips iff verbose

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomon/Monitor: recreate mon session if features changed 16230/head
Joao Eduardo Luis [Sun, 9 Jul 2017 10:28:34 +0000 (11:28 +0100)]
mon/Monitor: recreate mon session if features changed

Fixes: http://tracker.ceph.com/issues/20433
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agoMerge pull request #16079 from smithfarm/wip-doc-make-check 15972/head
Nathan Cutler [Sun, 9 Jul 2017 11:14:42 +0000 (13:14 +0200)]
Merge pull request #16079 from smithfarm/wip-doc-make-check

doc: dev: add notes on PR make check validation test

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon/Monitor: list sessions via admin socket
Joao Eduardo Luis [Sun, 9 Jul 2017 10:27:35 +0000 (11:27 +0100)]
mon/Monitor: list sessions via admin socket

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agomon/Paxos: fix annoying formatting spacing
Joao Eduardo Luis [Sun, 9 Jul 2017 10:25:40 +0000 (11:25 +0100)]
mon/Paxos: fix annoying formatting spacing

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agomon/Session: fix some annoying spacing
Joao Eduardo Luis [Sun, 9 Jul 2017 10:25:12 +0000 (11:25 +0100)]
mon/Session: fix some annoying spacing

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agomon: shorten 'PRIMARY-AFFINITY' -> 'PRI-AFF' column header
Sage Weil [Thu, 29 Jun 2017 16:48:53 +0000 (12:48 -0400)]
mon: shorten 'PRIMARY-AFFINITY' -> 'PRI-AFF' column header

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: include device class in 'osd tree' output
Sage Weil [Thu, 29 Jun 2017 14:01:45 +0000 (10:01 -0400)]
mon: include device class in 'osd tree' output

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: include class in 'osd df [tree]' output
Sage Weil [Thu, 29 Jun 2017 13:53:51 +0000 (09:53 -0400)]
mon: include class in 'osd df [tree]' output

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocrush: hide device class shadow roots from tree dumper
Sage Weil [Thu, 29 Jun 2017 13:45:13 +0000 (09:45 -0400)]
crush: hide device class shadow roots from tree dumper

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16027 from liewegas/wip-crush-rule-class
Sage Weil [Sun, 9 Jul 2017 02:34:13 +0000 (21:34 -0500)]
Merge pull request #16027 from liewegas/wip-crush-rule-class

mon,crush: create crush rules using device classes for replicated and ec pools via cli

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #16228 from smithfarm/wip-rados-upgrade-2
Sage Weil [Sun, 9 Jul 2017 02:32:36 +0000 (21:32 -0500)]
Merge pull request #16228 from smithfarm/wip-rados-upgrade-2

tests: fix rados/upgrade/jewel-x-singleton and make workunit task handle repo URLs not ending in ".git"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomgr: implement 'service dump' and 'service status'
Sage Weil [Mon, 26 Jun 2017 17:22:30 +0000 (13:22 -0400)]
mgr: implement 'service dump' and 'service status'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: allow/track service registrations
Sage Weil [Mon, 26 Jun 2017 17:22:17 +0000 (13:22 -0400)]
mgr: allow/track service registrations

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: include services in 'ceph -s'
Sage Weil [Mon, 26 Jun 2017 17:21:35 +0000 (13:21 -0400)]
mon: include services in 'ceph -s'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: persist ServiceMap
Sage Weil [Mon, 26 Jun 2017 17:20:58 +0000 (13:20 -0400)]
mon: persist ServiceMap

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: add ServiceMap
Sage Weil [Mon, 26 Jun 2017 17:19:56 +0000 (13:19 -0400)]
mgr: add ServiceMap

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: give rgw daemons letter names
Sage Weil [Mon, 26 Jun 2017 17:19:07 +0000 (13:19 -0400)]
vstart.sh: give rgw daemons letter names

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: index daemon state by string service type
Sage Weil [Thu, 22 Jun 2017 18:19:17 +0000 (14:19 -0400)]
mgr: index daemon state by string service type

If we use a string we can allow for other service names like
'rgw' and 'rbd-mirror' and 'iscsigw' and so on.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15973 from majianpeng/bluefs-async-compact-log
Sage Weil [Sun, 9 Jul 2017 02:29:59 +0000 (21:29 -0500)]
Merge pull request #15973 from majianpeng/bluefs-async-compact-log

os/bluestore/BlueFS: clear current log entrys before dump all fnode,

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16214 from liupan1111/wip-fix-mutex
Jos Collin [Sun, 9 Jul 2017 01:02:04 +0000 (01:02 +0000)]
Merge pull request #16214 from liupan1111/wip-fix-mutex

common/Mutex.cc: fixed the error in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoqa: workunit: handle repo ending in "/ceph-ci" 16228/head
Nathan Cutler [Sat, 8 Jul 2017 08:48:49 +0000 (10:48 +0200)]
qa: workunit: handle repo ending in "/ceph-ci"

If the repo ends in "/ceph-ci" it's the same as if it ended in "/ceph-ci.git"

Before this change, the following command was broken if the workunit specified,
e.g., "branch: jewel":

teuthology-suite --ceph-repo https://github.com/ceph/ceph --ceph master
--suite-repo https://github.com/ceph/ceph-ci --suite-branch wip-foo . . .

Fixes: http://tracker.ceph.com/issues/20554
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoqa/suites/rados/upgrade: upgrade client.0 node too
Sage Weil [Fri, 7 Jul 2017 18:55:53 +0000 (14:55 -0400)]
qa/suites/rados/upgrade: upgrade client.0 node too

Fixes: http://tracker.ceph.com/issues/20368
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #16017 from liewegas/wip-20454
Sage Weil [Sat, 8 Jul 2017 16:24:07 +0000 (11:24 -0500)]
Merge pull request #16017 from liewegas/wip-20454

os/bluestore/BlueFS: clean up log_writer aios from compaction

8 years agoMerge pull request #16025 from liewegas/wip-19964
Sage Weil [Sat, 8 Jul 2017 14:01:10 +0000 (09:01 -0500)]
Merge pull request #16025 from liewegas/wip-19964

mon: do crushtool test with fork and timeout, but w/o exec of crushtool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #16121 from shashalu/fix-kerneldevice-size
Sage Weil [Sat, 8 Jul 2017 14:00:47 +0000 (09:00 -0500)]
Merge pull request #16121 from shashalu/fix-kerneldevice-size

os/bluestore: clear up redundant size assignment in KerenelDevice

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #16205 from javacruft/build-ec-isa-as-module
Sage Weil [Sat, 8 Jul 2017 13:54:34 +0000 (08:54 -0500)]
Merge pull request #16205 from javacruft/build-ec-isa-as-module

build: build erasure-code isa lib without versions

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16212 from dillaman/wip-qa-ceph-task
Sage Weil [Sat, 8 Jul 2017 13:54:18 +0000 (08:54 -0500)]
Merge pull request #16212 from dillaman/wip-qa-ceph-task

qa/tasks/ceph: don't hard-code cluster name when copying fsid

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16213 from liewegas/wip-radosbench-timeout
Sage Weil [Sat, 8 Jul 2017 13:53:55 +0000 (08:53 -0500)]
Merge pull request #16213 from liewegas/wip-radosbench-timeout

qa/tasks/radosbench: longer timeout

8 years agocommon/Mutex.cc: fixed the error in comment 16214/head
Pan Liu [Sat, 8 Jul 2017 05:49:28 +0000 (13:49 +0800)]
common/Mutex.cc: fixed the error in comment

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
8 years agopybind/mgr/dashboard: bind to :: by default 16223/head
Sage Weil [Sat, 8 Jul 2017 02:41:19 +0000 (22:41 -0400)]
pybind/mgr/dashboard: bind to :: by default

This is all available v4 and v6 addrs on the host.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16198 from tchaikov/wip-doc-fixes
Sage Weil [Sat, 8 Jul 2017 02:39:19 +0000 (21:39 -0500)]
Merge pull request #16198 from tchaikov/wip-doc-fixes

doc: kill sphinx warnings

8 years agotest/cli/crushtool: fix rules.t 16027/head
Sage Weil [Sat, 8 Jul 2017 02:34:58 +0000 (22:34 -0400)]
test/cli/crushtool: fix rules.t

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16225 from liewegas/wip-mon-auth-caps
Kefu Chai [Sat, 8 Jul 2017 01:58:21 +0000 (09:58 +0800)]
Merge pull request #16225 from liewegas/wip-mon-auth-caps

qa/suites/rados/singleton/all/mon-auth-caps: more osds so we can go clean

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16216 from ceph/wip-mgr-cd-updates
vasukulkarni [Fri, 7 Jul 2017 22:45:01 +0000 (15:45 -0700)]
Merge pull request #16216 from ceph/wip-mgr-cd-updates

[qa/ceph-deploy]:  run create mgr nodes as well

8 years agoMerge pull request #15689 from jdurgin/wip-filestore-rand-split
Josh Durgin [Fri, 7 Jul 2017 22:18:49 +0000 (15:18 -0700)]
Merge pull request #15689 from jdurgin/wip-filestore-rand-split

os/filestore/HashIndex: randomize split threshold by a configurable amount

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16078 from xiexingguo/wip-misc
Yuri Weinstein [Fri, 7 Jul 2017 22:15:58 +0000 (15:15 -0700)]
Merge pull request #16078 from xiexingguo/wip-misc

mon, osd: misc fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16218 from javacruft/ubuntu-fix-systemd-enable
Sage Weil [Fri, 7 Jul 2017 21:48:14 +0000 (16:48 -0500)]
Merge pull request #16218 from javacruft/ubuntu-fix-systemd-enable

build: execute dh_systemd_{enable,start} after dh_install

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15944 from xiexingguo/wip-bluestore-20170627
Sage Weil [Fri, 7 Jul 2017 21:47:38 +0000 (16:47 -0500)]
Merge pull request #15944 from xiexingguo/wip-bluestore-20170627

os/bluestore: reduce some overhead for _do_clone_range() and _do_remove()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16052 from dzafman/wip-20471
Sage Weil [Fri, 7 Jul 2017 21:43:47 +0000 (16:43 -0500)]
Merge pull request #16052 from dzafman/wip-20471

osd: Check for and automatically repair object info soid during scrub

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoceph-create-keys: add an argument to override default 10-minute timeout 16049/head
Douglas Fuller [Fri, 30 Jun 2017 17:46:26 +0000 (17:46 +0000)]
ceph-create-keys: add an argument to override default 10-minute timeout

ceph-create-keys waits 10 minutes for mon quorum by default. Add an
option, -t, to override the timeout with a custom value in seconds.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
8 years agoMerge pull request #16147 from Yan-waller/wip-waller-0703radostool
Sage Weil [Fri, 7 Jul 2017 21:43:26 +0000 (16:43 -0500)]
Merge pull request #16147 from Yan-waller/wip-waller-0703radostool

tools/rados: some cleanups

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #16217 from liewegas/wip-class-luminous
Sage Weil [Fri, 7 Jul 2017 21:43:08 +0000 (16:43 -0500)]
Merge pull request #16217 from liewegas/wip-class-luminous

mon/OSDMonitor: guard 'osd crush set-device-class'

8 years agoqa/suites/rados/singleton/all/mon-auth-caps: more osds so we can go clean 16225/head
Sage Weil [Fri, 7 Jul 2017 21:39:22 +0000 (17:39 -0400)]
qa/suites/rados/singleton/all/mon-auth-caps: more osds so we can go clean

and scrub

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: Check for and automatically repair object info soid during scrub 16052/head
David Zafman [Fri, 30 Jun 2017 23:04:02 +0000 (16:04 -0700)]
osd: Check for and automatically repair object info soid during scrub

Fixes: http://tracker.ceph.com/issues/20471
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge remote-tracking branch 'gh/luminous'
Sage Weil [Fri, 7 Jul 2017 18:19:47 +0000 (14:19 -0400)]
Merge remote-tracking branch 'gh/luminous'

8 years agomon: Fix status output warning for mon_warn_osd_usage_min_max_delta 16220/head
David Zafman [Fri, 7 Jul 2017 17:53:41 +0000 (10:53 -0700)]
mon: Fix status output warning for mon_warn_osd_usage_min_max_delta

Fixes: http://tracker.ceph.com/issues/20544
Caued by: 489e810c37ed6fb9d32d1015634041a577501ee4

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agomon/OSDMonitor: clean up error messages 16217/head
Sage Weil [Fri, 7 Jul 2017 16:52:53 +0000 (12:52 -0400)]
mon/OSDMonitor: clean up error messages

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15997 from pritha-srivastava/wip-rgw-assert-correction
Casey Bodley [Fri, 7 Jul 2017 16:45:58 +0000 (12:45 -0400)]
Merge pull request #15997 from pritha-srivastava/wip-rgw-assert-correction

rgw: Correcting the condition in ceph_assert while parsing an AWS Principal

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: add a new error code for non-existed user. 16033/head
Zhao Chao [Fri, 30 Jun 2017 02:35:41 +0000 (10:35 +0800)]
rgw: add a new error code for non-existed user.

From http://docs.ceph.com/docs/master/radosgw/adminops/, There should be
a "NoSuchUser" response for user actions rather than "NoSuchKey".

Fixes: http://tracker.ceph.com/issues/20468
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
8 years agorgw: fix not initialized pointer which cause rgw crash with ec data pool 16177/head
Aleksei Gutikov [Thu, 6 Jul 2017 08:27:42 +0000 (11:27 +0300)]
rgw: fix not initialized pointer which cause rgw crash with ec data pool

In RGWPutObjProcessor_Atomic::complete_writing_data()
with pending_data_bl.length() > 0 and next_part_ofs==data_ofs
not initialized void *handle leads to invalid pointer librados::AioCompletion::pc
which leads to rgw crash.

Fixes: http://tracker.ceph.com/issues/20542
Signed-off-by: Aleksei Gutikov <aleksey.gutikov@synesis.ru>
8 years agoMerge pull request #15703 from DHB-liuhong/website-lh
Yuri Weinstein [Fri, 7 Jul 2017 16:38:37 +0000 (09:38 -0700)]
Merge pull request #15703 from DHB-liuhong/website-lh

 rgw: fix the subdir without slash of s3 website url

Reviewed-by: Robin H. Johnson <robbat2@gentoo.org>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15916 from oritwas/wip-rgw-fix-prefix-list
Yuri Weinstein [Fri, 7 Jul 2017 16:35:52 +0000 (09:35 -0700)]
Merge pull request #15916 from oritwas/wip-rgw-fix-prefix-list

Wip rgw fix prefix list

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15996 from mikulely/rgw-rest-complain
Yuri Weinstein [Fri, 7 Jul 2017 16:33:37 +0000 (09:33 -0700)]
Merge pull request #15996 from mikulely/rgw-rest-complain

rgw: silence compile warning from -Wmaybe-uninitialized

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16062 from YangFanlinux/myceph1
Casey Bodley [Fri, 7 Jul 2017 16:29:14 +0000 (12:29 -0400)]
Merge pull request #16062 from YangFanlinux/myceph1

rgw: Replace get_zonegroup().is_master_zonegroup() with is_meta_master() in RGWBulkDelete::Deleter::delete_single()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15998 from mdw-at-linuxbox/fixmarker
Yuri Weinstein [Fri, 7 Jul 2017 16:26:58 +0000 (09:26 -0700)]
Merge pull request #15998 from mdw-at-linuxbox/fixmarker

rgw: fix marker encoding problem.

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>