]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #24453 from cbodley/wip-rgw-putobjprocessor
Matt Benjamin [Thu, 18 Oct 2018 17:09:00 +0000 (13:09 -0400)]
Merge pull request #24453 from cbodley/wip-rgw-putobjprocessor

rgw: refactor PutObjProcessor stack

6 years agoMerge pull request #23304 from smithfarm/wip-23776
Gregory Farnum [Thu, 18 Oct 2018 16:10:16 +0000 (09:10 -0700)]
Merge pull request #23304 from smithfarm/wip-23776

 tools: ceph-authtool: report correct number of caps when creating keyring

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #19571 from Fusl/patch-1
Casey Bodley [Thu, 18 Oct 2018 15:30:12 +0000 (11:30 -0400)]
Merge pull request #19571 from Fusl/patch-1

doc: doc/radosgw/s3.rst: Adding AWS S3 `Storage Class` as `Not Supported`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24660 from tchaikov/wip-crimson-cleanup
Kefu Chai [Thu, 18 Oct 2018 13:57:56 +0000 (21:57 +0800)]
Merge pull request #24660 from tchaikov/wip-crimson-cleanup

crimson: crimson/mon: remove timeout support from mon::Client::authenticate()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24626 from jtlayton/wip-mgr-urlparse
jtlayton [Thu, 18 Oct 2018 12:32:17 +0000 (08:32 -0400)]
Merge pull request #24626 from jtlayton/wip-mgr-urlparse

mgr/rook: fix urljoin import

6 years agoMerge pull request #24604 from yangdongsheng/token_fix
Jason Dillaman [Thu, 18 Oct 2018 11:30:02 +0000 (07:30 -0400)]
Merge pull request #24604 from yangdongsheng/token_fix

common/Throttle: TokenBucketThrottle: use reference to m_blockers.front()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24653 from mynaramana/claydoc
Kefu Chai [Thu, 18 Oct 2018 04:37:56 +0000 (12:37 +0800)]
Merge pull request #24653 from mynaramana/claydoc

doc: erasure-code-clay fixes typos

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #22162 from liuzhanhao/master
Kefu Chai [Thu, 18 Oct 2018 04:29:07 +0000 (12:29 +0800)]
Merge pull request #22162 from liuzhanhao/master

doc: Update cpp.rst to accommodate the new APIs in libs3

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: erasure-code-clay fixes typos 24653/head
Myna V [Wed, 17 Oct 2018 15:23:07 +0000 (20:53 +0530)]
doc: erasure-code-clay fixes typos

Signed-off-by: Myna <mynaramana@gmail.com>
6 years agotests/ceph-authtool: add reproducer for "with 0 caps" issue 23304/head
Nathan Cutler [Sun, 29 Jul 2018 20:20:11 +0000 (22:20 +0200)]
tests/ceph-authtool: add reproducer for "with 0 caps" issue

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agotools: ceph-authtool: report correct number of caps when creating
Nathan Cutler [Sun, 29 Jul 2018 17:32:20 +0000 (19:32 +0200)]
tools: ceph-authtool: report correct number of caps when creating

Fixes: https://tracker.ceph.com/issues/23776
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge PR #24503 into master
Patrick Donnelly [Wed, 17 Oct 2018 17:18:50 +0000 (10:18 -0700)]
Merge PR #24503 into master

* refs/pull/24503/head:
qa: increase timeout for cleanup

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge PR #24455 into master
Patrick Donnelly [Wed, 17 Oct 2018 17:17:29 +0000 (10:17 -0700)]
Merge PR #24455 into master

* refs/pull/24455/head:
qa: use timeout for fs asok operations

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge PR #24615 into master
Sage Weil [Wed, 17 Oct 2018 16:08:31 +0000 (11:08 -0500)]
Merge PR #24615 into master

* refs/pull/24615/head:
cmake: mark gcc 7 as minimum C++ compiler (due to std++17)

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24617 from p-na/fix-python3-issue
Lenz Grimmer [Wed, 17 Oct 2018 16:06:58 +0000 (18:06 +0200)]
Merge pull request #24617 from p-na/fix-python3-issue

mgr/dashboard: Fix Python3 issue

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agocrimson/mon: remove timeout support from mon::Client::authenticate() 24660/head
Kefu Chai [Wed, 17 Oct 2018 11:38:30 +0000 (19:38 +0800)]
crimson/mon: remove timeout support from mon::Client::authenticate()

as the timeout parameter is not used by OSD.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: reuse common_mountcephfs_objs in crimson-common
Kefu Chai [Wed, 17 Oct 2018 02:54:55 +0000 (10:54 +0800)]
cmake: reuse common_mountcephfs_objs in crimson-common

so we won't built them twice.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24102 into master
Sage Weil [Wed, 17 Oct 2018 15:07:15 +0000 (10:07 -0500)]
Merge PR #24102 into master

* refs/pull/24102/head:
global: fix err_to_stderr can't work when it was configured to false
osd: replace cout/derr with dout(0) to avoid writing trivial logs to syslog file

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24236 into master
Sage Weil [Wed, 17 Oct 2018 15:06:57 +0000 (10:06 -0500)]
Merge PR #24236 into master

* refs/pull/24236/head:
osd: Log error and abort if fails to pick address

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24359 into master
Sage Weil [Wed, 17 Oct 2018 15:06:42 +0000 (10:06 -0500)]
Merge PR #24359 into master

* refs/pull/24359/head:
qa/tests: update ansible version to 2.6 for master branch testing.
qa/tests: use lvm as default for ceph-ansible testing, this should also work with raw devices

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #24603 into master
Sage Weil [Wed, 17 Oct 2018 15:06:26 +0000 (10:06 -0500)]
Merge PR #24603 into master

* refs/pull/24603/head:
crush: get "ceph osd crush class create/rm" back

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24613 into master
Sage Weil [Wed, 17 Oct 2018 15:05:39 +0000 (10:05 -0500)]
Merge PR #24613 into master

* refs/pull/24613/head:
OSD: fix a typo err when increase recvoery bytes statistics

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24586 from mynaramana/claydoc
Kefu Chai [Wed, 17 Oct 2018 14:55:38 +0000 (22:55 +0800)]
Merge pull request #24586 from mynaramana/claydoc

erasure-code: fixes alignment issue when clay code is used with jerasure, cauchy_orig

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/rook: fix urljoin import 24626/head
Jeff Layton [Tue, 16 Oct 2018 22:53:32 +0000 (18:53 -0400)]
mgr/rook: fix urljoin import

This is the correct syntax to ensure that we get urljoin, no matter
the python version.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge pull request #24608 from cyx1231st/wip-seastar-msgr-accepting
Kefu Chai [Wed, 17 Oct 2018 13:51:22 +0000 (21:51 +0800)]
Merge pull request #24608 from cyx1231st/wip-seastar-msgr-accepting

crimson/net: implement accepting/connecting states

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: implement accepting/connecting states 24608/head
Yingxin [Mon, 15 Oct 2018 20:54:23 +0000 (04:54 +0800)]
crimson/net: implement accepting/connecting states

- introduce the new accepting/connecting connection states.
- return ConnectionRef immediately when connect().
- manage the ownership of the accepting connections.
- manage the ownership of the registered connections.
- encapsulate a Socket class because it is not created when constructing
  a SocketConnection, and allow it to be replaced in the future.
- refactor related interfaces.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge PR #24624 into master
Patrick Donnelly [Wed, 17 Oct 2018 13:42:49 +0000 (06:42 -0700)]
Merge PR #24624 into master

* refs/pull/24624/head:
client: Mutex::Locker -> std::lock_guard
mds: Mutex::Locker -> std::lock_guard

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoerasure-code: fixing bugs in clay-code plugin 24586/head
Myna V [Wed, 17 Oct 2018 04:31:22 +0000 (10:01 +0530)]
erasure-code: fixing bugs in clay-code plugin

* Fixes alignment issue while using clay code with jerasure, cauchy_orig
* Fixes ceph_erasure_code_non_regression to adapt to new decode

Signed-off-by: Myna <mynaramana@gmail.com>
6 years agomgr/dashboard: Fix Python3 issue 24617/head
Patrick Nawracay [Tue, 16 Oct 2018 14:28:24 +0000 (16:28 +0200)]
mgr/dashboard: Fix Python3 issue

Which results in a 500 error when trying to access the `Performance
Counter` tab on the OSD list.

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge pull request #24629 from cyx1231st/wip-seastar-fix
Kefu Chai [Wed, 17 Oct 2018 11:22:03 +0000 (19:22 +0800)]
Merge pull request #24629 from cyx1231st/wip-seastar-fix

crimson/net: fix compile errors in test_alien_echo.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: fix compile errors 24629/head
Yingxin [Wed, 17 Oct 2018 15:12:45 +0000 (23:12 +0800)]
crimson/net: fix compile errors

test_alien_echo.cc is using common_init_finish, but it is not available
if defined WITH_SEASTAR.

Dispatcher::ms_verify_authorizer() is removed by PR#24095.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge pull request #24607 from p-na/fix-osd-list-status-labels
Lenz Grimmer [Wed, 17 Oct 2018 10:59:07 +0000 (12:59 +0200)]
Merge pull request #24607 from p-na/fix-osd-list-status-labels

mgr/dashboard: Fix spaces around status labels on OSD list

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24614 from s0nea/wip-dashboard-configs-textarea-vertical-resize
Lenz Grimmer [Wed, 17 Oct 2018 10:57:55 +0000 (12:57 +0200)]
Merge pull request #24614 from s0nea/wip-dashboard-configs-textarea-vertical-resize

mgr/dashboard: configs textarea disallow horizontal resize

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24631 from Devp00l/wip-issue-36466
Lenz Grimmer [Wed, 17 Oct 2018 10:56:21 +0000 (12:56 +0200)]
Merge pull request #24631 from Devp00l/wip-issue-36466

mgr/dashboard: Add left padding to helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add left padding to helper icon 24631/head
Stephan Müller [Mon, 8 Oct 2018 15:07:11 +0000 (17:07 +0200)]
mgr/dashboard: Add left padding to helper icon

Fixes: https://tracker.ceph.com/issues/36466
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agodoc: erasure-code cleanup of clay plugin documentation
Myna V [Wed, 17 Oct 2018 04:29:39 +0000 (09:59 +0530)]
doc: erasure-code cleanup of clay plugin documentation

Signed-off-by: Myna <mynaramana@gmail.com>
6 years agoTokenBucketThrottle: use reference to m_blockers.front() and then update it 24604/head
Dongsheng Yang [Mon, 15 Oct 2018 05:06:29 +0000 (01:06 -0400)]
TokenBucketThrottle: use reference to m_blockers.front() and then update it

As we need to update the blocker below, then we need to use reference to front object,
rather than a new object of blocker.

Fixes: http://tracker.ceph.com/issues/36475
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
6 years agoMerge PR #24578 into master
Sage Weil [Tue, 16 Oct 2018 22:57:24 +0000 (17:57 -0500)]
Merge PR #24578 into master

* refs/pull/24578/head:
pybind/ceph_argparse.py: do not create file for validating CephFilepath

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #24565 into master
Sage Weil [Tue, 16 Oct 2018 22:56:59 +0000 (17:56 -0500)]
Merge PR #24565 into master

* refs/pull/24565/head:
mgr: python 3 compat fixes

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge PR #24558 into master
Sage Weil [Tue, 16 Oct 2018 22:56:43 +0000 (17:56 -0500)]
Merge PR #24558 into master

* refs/pull/24558/head:
pybind/mgr: Fix Python 3 imports in diskprediction & insights

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
6 years agoMerge PR #24528 into master
Sage Weil [Tue, 16 Oct 2018 22:55:59 +0000 (17:55 -0500)]
Merge PR #24528 into master

* refs/pull/24528/head:
common/condition_variable_debug: fix wait hooks
common/mutex_debug: remove no-op before/after hooks
common/mutex_debug: do lockdep post-lock step in caller
os/bluestore: {Mutex,Cond} -> ceph::{mutex,condition_variable}
os/bluestore: std::recursive_mutex -> ceph::recursive_mutex
os/bluestore: re-add is_locked assert
os/bluestore: std::{mutex,condition_variable} -> ceph::{mutex,condition_variable}
os/bluestore: use deduction for lock_guard<>, unique_lock<>

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
6 years agoMerge PR #24151 into master
Sage Weil [Tue, 16 Oct 2018 22:43:02 +0000 (17:43 -0500)]
Merge PR #24151 into master

* refs/pull/24151/head:
mgr/devicehealth: use is_valid_daemon_name helper
mgr/devicehealth: generalize to mon and osd daemons
mon: implement 'smart [devid]' tell command
mgr: parse mon metadata properly
mon: report device id used by mon
common/blkdev: add get_device_by_path
common/blkdev: migrate block_device_run_smartctl from OSD.cc

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge PR #24566 into master
Sage Weil [Tue, 16 Oct 2018 19:34:19 +0000 (14:34 -0500)]
Merge PR #24566 into master

* refs/pull/24566/head:
osd,mon: keep last_epoch_started along with last_epoch_clean premerge

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoclient: Mutex::Locker -> std::lock_guard 24624/head
Sage Weil [Tue, 16 Oct 2018 19:08:20 +0000 (14:08 -0500)]
client: Mutex::Locker -> std::lock_guard

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomds: Mutex::Locker -> std::lock_guard
Sage Weil [Tue, 16 Oct 2018 19:07:33 +0000 (14:07 -0500)]
mds: Mutex::Locker -> std::lock_guard

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24598 into master
Sage Weil [Tue, 16 Oct 2018 18:41:28 +0000 (13:41 -0500)]
Merge PR #24598 into master

* refs/pull/24598/head:
.github/stale.yml: configure probot/stale to automatically close stale issues

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #24619 from tchaikov/wip-crimson-mon-client-better-encapsulation
Kefu Chai [Tue, 16 Oct 2018 16:45:19 +0000 (00:45 +0800)]
Merge pull request #24619 from tchaikov/wip-crimson-mon-client-better-encapsulation

crimson/mon: move mon::Connection into .cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agocrimson/mon: move mon::Connection into .cc 24619/head
Kefu Chai [Tue, 16 Oct 2018 15:24:05 +0000 (23:24 +0800)]
crimson/mon: move mon::Connection into .cc

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23849 from tchaikov/wip-crimson-monc
Neha Ojha [Tue, 16 Oct 2018 15:10:36 +0000 (08:10 -0700)]
Merge pull request #23849 from tchaikov/wip-crimson-monc

crimson: add MonClient

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: remove old PutObjProcessor stack 24453/head
Casey Bodley [Wed, 10 Oct 2018 19:54:41 +0000 (15:54 -0400)]
rgw: remove old PutObjProcessor stack

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: copy_obj uses AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:54:37 +0000 (15:54 -0400)]
rgw: copy_obj uses AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: remove RGWPutObj::select_processor
Casey Bodley [Wed, 10 Oct 2018 19:54:34 +0000 (15:54 -0400)]
rgw: remove RGWPutObj::select_processor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: RGWBulkUploadOp uses AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:54:32 +0000 (15:54 -0400)]
rgw: RGWBulkUploadOp uses AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: PostObj uses AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:54:30 +0000 (15:54 -0400)]
rgw: PostObj uses AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: fetch_remote_obj() uses AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:54:28 +0000 (15:54 -0400)]
rgw: fetch_remote_obj() uses AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: prepare RGWRadosPutObj for fetch_remote_obj
Casey Bodley [Wed, 10 Oct 2018 19:54:26 +0000 (15:54 -0400)]
rgw: prepare RGWRadosPutObj for fetch_remote_obj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: RGWObjectCtxImpl::invalidate takes const ref
Casey Bodley [Wed, 10 Oct 2018 19:54:25 +0000 (15:54 -0400)]
rgw: RGWObjectCtxImpl::invalidate takes const ref

also removes the default implementation, which is duplicated in the
specialization for rgw_obj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: rgw_file uses AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:54:22 +0000 (15:54 -0400)]
rgw: rgw_file uses AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: PutObj::execute() uses new ObjectProcessors
Casey Bodley [Wed, 10 Oct 2018 19:54:18 +0000 (15:54 -0400)]
rgw: PutObj::execute() uses new ObjectProcessors

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: compression filter uses rgw::putobj::Pipe
Casey Bodley [Wed, 10 Oct 2018 19:54:15 +0000 (15:54 -0400)]
rgw: compression filter uses rgw::putobj::Pipe

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: encryption filter uses rgw::putobj::Pipe
Casey Bodley [Wed, 10 Oct 2018 19:54:13 +0000 (15:54 -0400)]
rgw: encryption filter uses rgw::putobj::Pipe

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: temporarily disable putobj filters
Casey Bodley [Wed, 10 Oct 2018 19:54:11 +0000 (15:54 -0400)]
rgw: temporarily disable putobj filters

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: read multipart params in RGWPutObj_ObjStore_S3::get_params
Casey Bodley [Wed, 10 Oct 2018 19:54:09 +0000 (15:54 -0400)]
rgw: read multipart params in RGWPutObj_ObjStore_S3::get_params

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: PutObj avoids some static_casts to RGWObjectCtx
Casey Bodley [Wed, 10 Oct 2018 19:54:07 +0000 (15:54 -0400)]
rgw: PutObj avoids some static_casts to RGWObjectCtx

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: remove gotos from PutObj
Casey Bodley [Wed, 10 Oct 2018 19:12:13 +0000 (15:12 -0400)]
rgw: remove gotos from PutObj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: PutObj uses unique_ptr to manage PutObjProcessor
Casey Bodley [Wed, 10 Oct 2018 19:12:11 +0000 (15:12 -0400)]
rgw: PutObj uses unique_ptr to manage PutObjProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: PutObj uses scope_guard to update perf counter on return
Casey Bodley [Wed, 10 Oct 2018 19:12:09 +0000 (15:12 -0400)]
rgw: PutObj uses scope_guard to update perf counter on return

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add rgw::putobj::MultipartObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:12:07 +0000 (15:12 -0400)]
rgw: add rgw::putobj::MultipartObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add rgw::putobj::AtomicObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:12:05 +0000 (15:12 -0400)]
rgw: add rgw::putobj::AtomicObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add const to some RGWBucketInfo helpers
Casey Bodley [Wed, 10 Oct 2018 19:12:03 +0000 (15:12 -0400)]
rgw: add const to some RGWBucketInfo helpers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add rgw::putobj::ManifestObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:12:02 +0000 (15:12 -0400)]
rgw: add rgw::putobj::ManifestObjectProcessor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add const to some manifest generator functions
Casey Bodley [Wed, 10 Oct 2018 19:12:00 +0000 (15:12 -0400)]
rgw: add const to some manifest generator functions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add rgw::putobj::RadosWriter adapter
Casey Bodley [Wed, 10 Oct 2018 19:11:58 +0000 (15:11 -0400)]
rgw: add rgw::putobj::RadosWriter adapter

implements the DataProcessor interface by writing its buffers with Aio,
and tracks the set of successful writes so they can be deleted on
failure/cancelation

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #24505 into master
Patrick Donnelly [Tue, 16 Oct 2018 14:52:54 +0000 (07:52 -0700)]
Merge PR #24505 into master

* refs/pull/24505/head:
mds: wait shorter intervals if beacon not sent

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agocmake: mark gcc 7 as minimum C++ compiler (due to std++17) 24615/head
Marcin Juszkiewicz [Tue, 16 Oct 2018 11:18:08 +0000 (13:18 +0200)]
cmake: mark gcc 7 as minimum C++ compiler (due to std++17)

Ceph requires C++17 support from compiler. This means gcc 7.x being
minimal version supported.

This also allows to fail quick on Debian 'stretch' with it's gcc 6.3
compiler.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
6 years agoMerge pull request #24373 from mogeb/build-cls-rbd
Kefu Chai [Tue, 16 Oct 2018 14:12:53 +0000 (22:12 +0800)]
Merge pull request #24373 from mogeb/build-cls-rbd

osd: add required cls_* libraries as dependencies of osd

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agomds: wait shorter intervals if beacon not sent 24505/head
Patrick Donnelly [Tue, 9 Oct 2018 22:50:22 +0000 (15:50 -0700)]
mds: wait shorter intervals if beacon not sent

MDS beacon upkeep always waits mds_beacon_interval seconds even when laggy.
Check more frequently for when we stop being laggy to reduce likelihood that
the MDS is removed.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoglobal: fix err_to_stderr can't work when it was configured to false 24102/head
Yan Jun [Tue, 25 Sep 2018 08:29:13 +0000 (16:29 +0800)]
global: fix err_to_stderr can't work when it was configured to false

function `set_stderr_level(-1, -1)` set m_stderr_log and m_stderr_crash to -1,
regardless of whether `err_to_stderr` is set to false or not, so logs will be
 always written to stderr. fix it as the same way as handle_conf_change does.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agoosd: replace cout/derr with dout(0) to avoid writing trivial logs to syslog file
Yan Jun [Fri, 14 Sep 2018 06:48:52 +0000 (14:48 +0800)]
osd: replace cout/derr with dout(0) to avoid writing trivial logs to syslog file

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agoMerge PR #24095 into master
Sage Weil [Tue, 16 Oct 2018 12:20:17 +0000 (07:20 -0500)]
Merge PR #24095 into master

* refs/pull/24095/head:
osd: do not authenticate heartbeat connections until nautilus
msg,osd: enable unauthenticated Dispatcher for pre-nautilus OSD compat
osd: add missing space in heartbeat debug output
mgr/DaemonServer: add missing return
msg/async: drop verify_authorizer wrapper
osd: authenticate ping sessions
msg/simple: remove verify_authorizer wrapper
msg: remove unused ms_verify_authorizer
msg/async: remove get_authorizer wrapper
msg/simple: remove get_authorizer wrapper
msg/Messenger: pull authenticator validation into Messenger
msg/Messenger: uninline ms_deliver_verify_authorizer
mgr/DaemonServer: expose keyring for authenticator verification
mon: expose keyring for msgr1 authentication
mds: expose keyring for authenticater verification
osd: expose keyring for authenticater verification
msg/Dispatcher: add ms_get_auth1_authorizer_keystore
mon: fix ref cycle breakage in handle_forward
mon: use MonOpRequest get_session() instead of PaxosServiceMessage's
mon: get session from MonOpRequest in handle_command
messages/MForward: drop unused ctor
mon: use ms_handle_authentication to parse caps
mon: kill Session::global_id and use Connection member instead
mgr/DaemonServer: move session setup into ms_handle_authentication
mds: move session setup into ms_handle_authentication
osd: move session setup into ms_handle_authentication
msg: new ms_handle_authentication, add fields to Connection

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #24579 into master
Sage Weil [Tue, 16 Oct 2018 12:17:59 +0000 (07:17 -0500)]
Merge PR #24579 into master

* refs/pull/24579/head:
qa/osd: fixup osd-rep-recov-eio.sh fails to parse pg dump

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24597 from batrick/i36450
John Spray [Tue, 16 Oct 2018 12:09:08 +0000 (13:09 +0100)]
Merge pull request #24597 from batrick/i36450

qa: fix run call args

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #23983 from theanalyst/vstart-rgw-asok
Kefu Chai [Tue, 16 Oct 2018 11:15:35 +0000 (19:15 +0800)]
Merge pull request #23983 from theanalyst/vstart-rgw-asok

vstart: set admin socket for RGW in conf

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr/dashboard: configs textarea disallow horizontal resize 24614/head
Tatjana Dehler [Tue, 16 Oct 2018 10:28:16 +0000 (12:28 +0200)]
mgr/dashboard: configs textarea disallow horizontal resize

The textarea allows horizontal and vertical resize by default. Only the
vertical resize is appropriate for this form.

Fixes: http://tracker.ceph.com/issues/36452
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Fix spaces around status labels on OSD list 24607/head
Patrick Nawracay [Tue, 16 Oct 2018 10:03:48 +0000 (12:03 +0200)]
mgr/dashboard: Fix spaces around status labels on OSD list

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoOSD: fix a typo err when increase recvoery bytes statistics 24613/head
kungf [Tue, 16 Oct 2018 09:22:42 +0000 (17:22 +0800)]
OSD: fix a typo err when increase recvoery bytes statistics

Signed-off-by: kungf <yang.wang@easystack.cn>
6 years agoMerge pull request #24576 from cyx1231st/wip-seastar-msgr-refactor
Kefu Chai [Tue, 16 Oct 2018 08:44:16 +0000 (16:44 +0800)]
Merge pull request #24576 from cyx1231st/wip-seastar-msgr-refactor

crimson/net: seastar-msgr refactoring

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24255 from gregsfortytwo/wip-crush-doc
Kefu Chai [Tue, 16 Oct 2018 05:49:19 +0000 (13:49 +0800)]
Merge pull request #24255 from gregsfortytwo/wip-crush-doc

doc: explain 'firstn v indep' in the CRUSH docs

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge PR #24286 into master
Patrick Donnelly [Tue, 16 Oct 2018 04:34:31 +0000 (21:34 -0700)]
Merge PR #24286 into master

* refs/pull/24286/head:
client: fix fuse client can't read or write data due its caps is invalid

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24292 into master
Patrick Donnelly [Tue, 16 Oct 2018 04:31:04 +0000 (21:31 -0700)]
Merge PR #24292 into master

* refs/pull/24292/head:
qa: add test for rctime on root inode
mds: set rctime on new system inode
mds: small refactor

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24486 into master
Patrick Donnelly [Tue, 16 Oct 2018 04:23:19 +0000 (21:23 -0700)]
Merge PR #24486 into master

* refs/pull/24486/head:
client: explicitly show blacklisted state via asok status command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24508 into master
Patrick Donnelly [Tue, 16 Oct 2018 04:12:56 +0000 (21:12 -0700)]
Merge PR #24508 into master

* refs/pull/24508/head:
cephfs-shell: fixup 'str' object has no attribute 'decode'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocrush: get "ceph osd crush class create/rm" back 24603/head
xie xingguo [Mon, 15 Oct 2018 12:34:56 +0000 (20:34 +0800)]
crush: get "ceph osd crush class create/rm" back

This reverts a27fd9d25cb2819e25cc48b790c40afac0250464 and
b863883ca783487401fde4f4480ed1d9b093363e.

Quote form Sébastien Han:
> IIRC at some point, we were able to create a device class from the CLI.
Now it seems that the device class gets created when at least one OSD
of a particular class starts.
In ceph-ansible, we create pools after the initial monitors are up and
we want to assign a device crush class on some of them.
That's not possible at the moment since there no device class available yet.
Also, someone might want to create its own device class.
Something as crazy as running Filestore with a tmpfs osd store and
might want to isolate them.
I know it's a very limited use case, but still, it could be desired.

See also https://www.spinics.net/lists/ceph-devel/msg41152.html

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #24596 into master
Sage Weil [Mon, 15 Oct 2018 23:41:53 +0000 (18:41 -0500)]
Merge PR #24596 into master

* refs/pull/24596/head:
ptl-tool.py: move githubmap update into merge commit

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years ago.github/stale.yml: configure probot/stale to automatically close stale issues 24598/head
Sage Weil [Mon, 15 Oct 2018 22:36:43 +0000 (17:36 -0500)]
.github/stale.yml: configure probot/stale to automatically close stale issues

Initially only warn about closing issues, but do not close them.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa: fix run call args 24597/head
Patrick Donnelly [Mon, 15 Oct 2018 21:44:45 +0000 (14:44 -0700)]
qa: fix run call args

Fixes: http://tracker.ceph.com/issues/36450
Introduced-by: 95746ecce9215c8428a02f1745d03e10536a4129
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24562 into master
Patrick Donnelly [Mon, 15 Oct 2018 21:34:21 +0000 (14:34 -0700)]
Merge PR #24562 into master

* refs/pull/24562/head:
removed warning for resolved errata

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #24186 from libingyang-zte/master
Gregory Farnum [Mon, 15 Oct 2018 21:17:36 +0000 (14:17 -0700)]
Merge pull request #24186 from libingyang-zte/master

doc: fix typos in doc/releases

6 years agoMerge pull request #24238 from LenzGr/doc-leads-update
Gregory Farnum [Mon, 15 Oct 2018 21:15:43 +0000 (14:15 -0700)]
Merge pull request #24238 from LenzGr/doc-leads-update

doc/dev: Updated component leads table

6 years agorgw: add rgw::putobj::HeadObjectProcessor
Casey Bodley [Wed, 10 Oct 2018 19:11:57 +0000 (15:11 -0400)]
rgw: add rgw::putobj::HeadObjectProcessor

a striped object processor with special handling for the first chunk of
data

Signed-off-by: Casey Bodley <cbodley@redhat.com>