]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agolibrbd: random unit test failures due to shut down race 14166/head
Jason Dillaman [Mon, 27 Mar 2017 14:20:24 +0000 (10:20 -0400)]
librbd: random unit test failures due to shut down race

Fixes: http://tracker.ceph.com/issues/19389
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10412 from stiopaa1/mon_monitorh_addConstToGetLeader
Kefu Chai [Mon, 27 Mar 2017 03:33:36 +0000 (11:33 +0800)]
Merge pull request #10412 from stiopaa1/mon_monitorh_addConstToGetLeader

mon/Monitor.h: add const to member function

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14146 from liupan1111/wip-fix-comment
Jason Dillaman [Mon, 27 Mar 2017 02:37:45 +0000 (22:37 -0400)]
Merge pull request #14146 from liupan1111/wip-fix-comment

rbd-nbd: clean up the doc and help information

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12893 from rzarzynski/wip-rgw-auth-rework-cont-2
Matt Benjamin [Sun, 26 Mar 2017 17:37:14 +0000 (13:37 -0400)]
Merge pull request #12893 from rzarzynski/wip-rgw-auth-rework-cont-2

rgw: continuation of the auth rework

8 years agomon/Monitor.h: add const to member functions 10412/head
Michal Jarzabek [Sat, 23 Jul 2016 12:57:50 +0000 (13:57 +0100)]
mon/Monitor.h: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #10121 from theanalyst/wip-16357
Orit Wasserman [Sun, 26 Mar 2017 07:33:28 +0000 (10:33 +0300)]
Merge pull request #10121 from theanalyst/wip-16357

rgw: cls_user don't clobber existing bucket stats when creating bucket
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agorbd-nbd: polish the doc and help information. 14146/head
Pan Liu [Sun, 26 Mar 2017 06:12:28 +0000 (14:12 +0800)]
rbd-nbd: polish the doc and help information.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #14134 from wangzhengyong/doc
Mykola Golub [Sat, 25 Mar 2017 20:26:23 +0000 (22:26 +0200)]
Merge pull request #14134 from wangzhengyong/doc

doc: add some undocumented options to rbd-nbd

Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14091 from trociny/wip-prepare_async_request
Jason Dillaman [Sat, 25 Mar 2017 20:21:00 +0000 (16:21 -0400)]
Merge pull request #14091 from trociny/wip-prepare_async_request

librbd: potential use of uninitialised value in ImageWatcher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13740 from Adirl/forksafe
Haomai Wang [Sat, 25 Mar 2017 19:38:35 +0000 (03:38 +0800)]
Merge pull request #13740 from Adirl/forksafe

msg/async/rdma: Add fork safe on RDMA

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13965 from liewegas/wip-bluestore-pc
Sage Weil [Sat, 25 Mar 2017 18:08:33 +0000 (13:08 -0500)]
Merge pull request #13965 from liewegas/wip-bluestore-pc

os/bluestore: fix perf counters

8 years agoMerge pull request #13962 from Liuchang0812/wip-add-override-in-osd-headers
Sage Weil [Sat, 25 Mar 2017 18:07:37 +0000 (13:07 -0500)]
Merge pull request #13962 from Liuchang0812/wip-add-override-in-osd-headers

osd: add override in headers files

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc: add some undocumented options to rbd-nbd 14134/head
wangzhengyong [Sat, 25 Mar 2017 07:09:01 +0000 (15:09 +0800)]
doc: add some undocumented options to rbd-nbd

Signed-off-by: wangzhengyong@cmss.chinamobile.com
8 years agoosd: add override in headers files 13962/head
liuchang0812 [Wed, 22 Feb 2017 11:43:11 +0000 (19:43 +0800)]
osd: add override in headers files

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #14114 from dmick/wip-boost-j
Kefu Chai [Sat, 25 Mar 2017 04:13:17 +0000 (12:13 +0800)]
Merge pull request #14114 from dmick/wip-boost-j

debian/rules, ceph.spec.in: invoke cmake with -DBOOST_J

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: implement the dynamic reconfiguration of auth strategies. 12893/head
Radoslaw Zarzynski [Mon, 20 Mar 2017 03:35:42 +0000 (04:35 +0100)]
rgw: implement the dynamic reconfiguration of auth strategies.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: the S3's local v2 auth engine becomes a fallback conditionally.
Radoslaw Zarzynski [Sat, 18 Mar 2017 15:16:02 +0000 (16:16 +0100)]
rgw: the S3's local v2 auth engine becomes a fallback conditionally.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement SwiftAnonymousEngine.
Radoslaw Zarzynski [Fri, 17 Mar 2017 22:29:54 +0000 (23:29 +0100)]
rgw: implement SwiftAnonymousEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: parametrize the implicit tenancy of rgw::auth::RemoteApplier.
Radoslaw Zarzynski [Tue, 7 Feb 2017 18:10:18 +0000 (19:10 +0100)]
rgw: parametrize the implicit tenancy of rgw::auth::RemoteApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: RGWPostObj_ObjStore_S3 doesn't instantiate auth strategy for each request anymore.
Radoslaw Zarzynski [Tue, 7 Feb 2017 14:11:19 +0000 (15:11 +0100)]
rgw: RGWPostObj_ObjStore_S3 doesn't instantiate auth strategy for each request anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: fix appending '\0' in the rgw::auth::LocalApplier::to_str().
Radoslaw Zarzynski [Tue, 7 Feb 2017 13:28:40 +0000 (14:28 +0100)]
rgw: fix appending '\0' in the rgw::auth::LocalApplier::to_str().

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13889 from liewegas/wip-denc-nullptr
Sage Weil [Fri, 24 Mar 2017 21:41:37 +0000 (16:41 -0500)]
Merge pull request #13889 from liewegas/wip-denc-nullptr

include/denc: remove nullptr runtime magic boundedness check

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14096 from baiyanchun/remove_useless_parameter
Sage Weil [Fri, 24 Mar 2017 21:41:18 +0000 (16:41 -0500)]
Merge pull request #14096 from baiyanchun/remove_useless_parameter

common: remove useless parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #14131 from liewegas/wip-crush-encode
Sage Weil [Fri, 24 Mar 2017 20:28:27 +0000 (15:28 -0500)]
Merge pull request #14131 from liewegas/wip-crush-encode

crush: only encode class info if SERVER_LUMINOUS

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13960 from wangzhengyong/kstore
Sage Weil [Fri, 24 Mar 2017 18:17:39 +0000 (13:17 -0500)]
Merge pull request #13960 from wangzhengyong/kstore

os/kstore: some error handling

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13973 from shinobu-x/wp-sk-primarylogpg-null-nullptr
Sage Weil [Fri, 24 Mar 2017 18:16:58 +0000 (13:16 -0500)]
Merge pull request #13973 from shinobu-x/wp-sk-primarylogpg-null-nullptr

osd/PrimaryLogPG: nullptr not NULL

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13995 from liuhongtong/wip-config
Sage Weil [Fri, 24 Mar 2017 18:13:39 +0000 (13:13 -0500)]
Merge pull request #13995 from liuhongtong/wip-config

common/config: set rocksdb_cache_size to OPT_U64

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14013 from ShiqiCooperation/newshiqi
Sage Weil [Fri, 24 Mar 2017 18:12:16 +0000 (13:12 -0500)]
Merge pull request #14013 from ShiqiCooperation/newshiqi

test/unittest_bluefs: check whether add_block_device success

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agocrush: only encode class info if SERVER_LUMINOUS 14131/head
Sage Weil [Fri, 24 Mar 2017 17:59:34 +0000 (13:59 -0400)]
crush: only encode class info if SERVER_LUMINOUS

This fixes OSDMap reencode crc mismatches on jewel to
luminous upgrades.

Fixes: http://tracker.ceph.com/issues/19361
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.spec.in: derive _smp_ncpus and use it for -DBOOST_J 14114/head
Dan Mick [Fri, 24 Mar 2017 02:35:08 +0000 (19:35 -0700)]
ceph.spec.in: derive _smp_ncpus and use it for -DBOOST_J

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoceph.spec.in: move lowmem_build setting of _smp_mflags
Dan Mick [Fri, 24 Mar 2017 02:34:28 +0000 (19:34 -0700)]
ceph.spec.in: move lowmem_build setting of _smp_mflags

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agodebian/rules: invoke cmake with -DBOOST_J
Dan Mick [Thu, 23 Mar 2017 23:36:53 +0000 (16:36 -0700)]
debian/rules: invoke cmake with -DBOOST_J

Allow boost build during toplevel cmake from Debian package build
to benefit from multiple processors.  Should speed build a lot
on many-proc machines (say, arm64).  Use argument passed to
debhelper.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agorgw: improve logs in the RGWAccessControlPolicy class.
Radoslaw Zarzynski [Tue, 7 Feb 2017 13:27:10 +0000 (14:27 +0100)]
rgw: improve logs in the RGWAccessControlPolicy class.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: improve logs in rgw::auth::Strategy.
Radoslaw Zarzynski [Tue, 7 Feb 2017 13:25:43 +0000 (14:25 +0100)]
rgw: improve logs in rgw::auth::Strategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: RGWOp is responsible now for the authentication process.
Radoslaw Zarzynski [Sat, 4 Feb 2017 14:49:26 +0000 (15:49 +0100)]
rgw: RGWOp is responsible now for the authentication process.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: refactor error handling in rgw::auth::keystone.
Radoslaw Zarzynski [Mon, 23 Jan 2017 16:37:49 +0000 (17:37 +0100)]
rgw: refactor error handling in rgw::auth::keystone.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement descriptive authentication failure reasons.
Radoslaw Zarzynski [Wed, 18 Jan 2017 19:08:08 +0000 (20:08 +0100)]
rgw: implement descriptive authentication failure reasons.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: unify handling S3's ::authorize_v2 and ::get_policy methods.
Radoslaw Zarzynski [Thu, 12 Jan 2017 00:25:15 +0000 (01:25 +0100)]
rgw: unify handling S3's ::authorize_v2 and ::get_policy methods.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: remove the parts of auth framework that aren't necessary anymore.
Radoslaw Zarzynski [Wed, 11 Jan 2017 17:34:26 +0000 (18:34 +0100)]
rgw: remove the parts of auth framework that aren't necessary anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: move ACL Strategies to the newer auth framework.
Radoslaw Zarzynski [Wed, 11 Jan 2017 17:32:32 +0000 (18:32 +0100)]
rgw: move ACL Strategies to the newer auth framework.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: switch from req_state::auth_identity to req_state::auth::identity.
Radoslaw Zarzynski [Wed, 11 Jan 2017 16:04:24 +0000 (17:04 +0100)]
rgw: switch from req_state::auth_identity to req_state::auth::identity.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: remove rgw/rgw_auth_decoimpl.h as it isn't necessary anymore.
Radoslaw Zarzynski [Wed, 11 Jan 2017 16:01:17 +0000 (17:01 +0100)]
rgw: remove rgw/rgw_auth_decoimpl.h as it isn't necessary anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: add rgw::auth::s3::AWSv2AuthStrategy and switch the S3 auth to it.
Radoslaw Zarzynski [Wed, 11 Jan 2017 15:26:53 +0000 (16:26 +0100)]
rgw: add rgw::auth::s3::AWSv2AuthStrategy and switch the S3 auth to it.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: replace RGWDummyIdentityApplier with rgw::auth::DummyIdentityApplier.
Radoslaw Zarzynski [Wed, 11 Jan 2017 15:14:11 +0000 (16:14 +0100)]
rgw: replace RGWDummyIdentityApplier with rgw::auth::DummyIdentityApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: apply the new filters over appliers in the Swift's auth strategy.
Radoslaw Zarzynski [Wed, 11 Jan 2017 18:31:26 +0000 (19:31 +0100)]
rgw: apply the new filters over appliers in the Swift's auth strategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement the rgw::auth::SysReqApplier over IdentityApplier.
Radoslaw Zarzynski [Wed, 11 Jan 2017 15:08:39 +0000 (16:08 +0100)]
rgw: implement the rgw::auth::SysReqApplier over IdentityApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement rgw::auth::ThirdPartyAccountApplier.
Radoslaw Zarzynski [Thu, 22 Dec 2016 12:32:52 +0000 (13:32 +0100)]
rgw: implement rgw::auth::ThirdPartyAccountApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: add Control::FALLBACK mode to rgw::auth::AuthStrategy.
Radoslaw Zarzynski [Wed, 11 Jan 2017 14:57:40 +0000 (15:57 +0100)]
rgw: add Control::FALLBACK mode to rgw::auth::AuthStrategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: aggregate S3's external auth engine as the ExternalAuthStrategy.
Radoslaw Zarzynski [Fri, 6 Jan 2017 15:59:49 +0000 (16:59 +0100)]
rgw: aggregate S3's external auth engine as the ExternalAuthStrategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: make rgw::keystone::TokenEnvelope::expired() to be const-correct.
Radoslaw Zarzynski [Fri, 6 Jan 2017 13:15:54 +0000 (14:15 +0100)]
rgw: make rgw::keystone::TokenEnvelope::expired() to be const-correct.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: switch S3-specific auth engines to the new infra.
Radoslaw Zarzynski [Fri, 6 Jan 2017 12:59:37 +0000 (13:59 +0100)]
rgw: switch S3-specific auth engines to the new infra.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: integrate the new EC2Engine with current S3 auth code.
Radoslaw Zarzynski [Fri, 6 Jan 2017 11:35:11 +0000 (12:35 +0100)]
rgw: integrate the new EC2Engine with current S3 auth code.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: introduce basement for all S3 auth engines.
Radoslaw Zarzynski [Thu, 5 Jan 2017 18:00:27 +0000 (19:00 +0100)]
rgw: introduce basement for all S3 auth engines.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: fix indentation in RGWPostObj_ObjStore_S3::get_policy().
Radoslaw Zarzynski [Thu, 5 Jan 2017 13:51:08 +0000 (14:51 +0100)]
rgw: fix indentation in RGWPostObj_ObjStore_S3::get_policy().

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: improve const-correctness and refactor S3 canonized string crafting.
Radoslaw Zarzynski [Wed, 4 Jan 2017 19:24:09 +0000 (20:24 +0100)]
rgw: improve const-correctness and refactor S3 canonized string crafting.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: add rgw::auth::keystone::EC2Engine.
Radoslaw Zarzynski [Wed, 4 Jan 2017 19:22:13 +0000 (20:22 +0100)]
rgw: add rgw::auth::keystone::EC2Engine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: the authorize() method of Swift's handler operates on auth strategy now.
Radoslaw Zarzynski [Thu, 26 Jan 2017 17:50:57 +0000 (18:50 +0100)]
rgw: the authorize() method of Swift's handler operates on auth strategy now.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: the Swift's auth strategy is instantiated and injected from rgw_main.cc.
Radoslaw Zarzynski [Thu, 26 Jan 2017 17:49:00 +0000 (18:49 +0100)]
rgw: the Swift's auth strategy is instantiated and injected from rgw_main.cc.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: settle rgw::auth::{IdentityApplier,Completer} in req_state.
Radoslaw Zarzynski [Thu, 26 Jan 2017 17:18:53 +0000 (18:18 +0100)]
rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: port the TempURL auth engine to the new auth infrastructure.
Radoslaw Zarzynski [Thu, 26 Jan 2017 17:15:21 +0000 (18:15 +0100)]
rgw: port the TempURL auth engine to the new auth infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: port Swift's Signed and External auth engines.
Radoslaw Zarzynski [Thu, 22 Dec 2016 12:48:18 +0000 (13:48 +0100)]
rgw: port Swift's Signed and External auth engines.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement rgw::auth::DecoratedApplier.
Radoslaw Zarzynski [Wed, 14 Dec 2016 17:15:33 +0000 (18:15 +0100)]
rgw: implement rgw::auth::DecoratedApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement rgw::auth::swift::DefaultStrategy.
Radoslaw Zarzynski [Tue, 13 Dec 2016 14:28:10 +0000 (15:28 +0100)]
rgw: implement rgw::auth::swift::DefaultStrategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement rgw::auth::AnonymousEngine.
Radoslaw Zarzynski [Tue, 13 Dec 2016 14:27:31 +0000 (15:27 +0100)]
rgw: implement rgw::auth::AnonymousEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement rgw::auth::LocalApplier.
Radoslaw Zarzynski [Mon, 12 Dec 2016 11:25:06 +0000 (12:25 +0100)]
rgw: implement rgw::auth::LocalApplier.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: inject token cache as a dependency in rgw::auth::keystone::TokenEngine.
Radoslaw Zarzynski [Fri, 28 Oct 2016 12:34:19 +0000 (14:34 +0200)]
rgw: inject token cache as a dependency in rgw::auth::keystone::TokenEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement the rgw::auth::KeystoneEngine.
Radoslaw Zarzynski [Wed, 26 Oct 2016 16:10:15 +0000 (18:10 +0200)]
rgw: implement the rgw::auth::KeystoneEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: Keystone implementation can support multiple instances now.
Radoslaw Zarzynski [Mon, 7 Nov 2016 11:09:45 +0000 (12:09 +0100)]
rgw: Keystone implementation can support multiple instances now.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: only move Keystone-related things into rgw::keystone namespace.
Radoslaw Zarzynski [Thu, 27 Oct 2016 15:42:06 +0000 (17:42 +0200)]
rgw: only move Keystone-related things into rgw::keystone namespace.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw: add the rgw::auth::TokenExtractor interface.
Radoslaw Zarzynski [Thu, 27 Oct 2016 13:32:20 +0000 (15:32 +0200)]
rgw: add the rgw::auth::TokenExtractor interface.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: introduce the rgw::auth::RemoteApplier interface.
Radoslaw Zarzynski [Wed, 26 Oct 2016 16:09:07 +0000 (18:09 +0200)]
rgw: introduce the rgw::auth::RemoteApplier interface.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #14082 from idealguo/update-bucket-acl
Casey Bodley [Fri, 24 Mar 2017 15:15:05 +0000 (11:15 -0400)]
Merge pull request #14082 from idealguo/update-bucket-acl

rgw: enable to update acl of bucket created in slave zonegroup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14043 from zhangsw/fix-rgw-deletebucket
Casey Bodley [Fri, 24 Mar 2017 15:11:50 +0000 (11:11 -0400)]
Merge pull request #14043 from zhangsw/fix-rgw-deletebucket

rgw: delete non-empty buckets in slave zonegroup works not well

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13991 from Liuchang0812/wip-rgw-optimization
Casey Bodley [Fri, 24 Mar 2017 15:10:28 +0000 (11:10 -0400)]
Merge pull request #13991 from Liuchang0812/wip-rgw-optimization

rgw: avoid listing user buckets for rgw_delete_user

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13504 from rzarzynski/wip-rgw-chunkingfilter-cleanup
Casey Bodley [Fri, 24 Mar 2017 15:08:18 +0000 (11:08 -0400)]
Merge pull request #13504 from rzarzynski/wip-rgw-chunkingfilter-cleanup

rgw: clean up the unneeded rgw::io::ChunkingFilter::has_content_length.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: introduce the rgw::auth::Applier interface.
Radoslaw Zarzynski [Mon, 7 Nov 2016 12:47:09 +0000 (13:47 +0100)]
rgw: introduce the rgw::auth::Applier interface.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: implement the rgw::auth::Strategy.
Radoslaw Zarzynski [Fri, 21 Oct 2016 15:14:47 +0000 (17:14 +0200)]
rgw: implement the rgw::auth::Strategy.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agorgw: introduce and document new interfaces to the auth subsystem.
Radoslaw Zarzynski [Tue, 18 Oct 2016 14:10:07 +0000 (16:10 +0200)]
rgw: introduce and document new interfaces to the auth subsystem.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13847 from wjwithagen/wip-wjw-ceph-disk-tests-2
Kefu Chai [Fri, 24 Mar 2017 14:44:15 +0000 (22:44 +0800)]
Merge pull request #13847 from wjwithagen/wip-wjw-ceph-disk-tests-2

ceph-disk/tests/test_main.py: FreeBSD does not do multipath

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13974 from tchaikov/wip-vstart-start-mgr
Kefu Chai [Fri, 24 Mar 2017 13:44:56 +0000 (21:44 +0800)]
Merge pull request #13974 from tchaikov/wip-vstart-start-mgr

vstart: do not start mgr if not start_all

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13197 from asheplyakov/master-18740
Kefu Chai [Fri, 24 Mar 2017 07:53:17 +0000 (15:53 +0800)]
Merge pull request #13197 from asheplyakov/master-18740

systemd/ceph-disk: make it possible to customize timeout

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14103 from tchaikov/wip-https-github
Kefu Chai [Fri, 24 Mar 2017 06:43:48 +0000 (14:43 +0800)]
Merge pull request #14103 from tchaikov/wip-https-github

script: ceph-release-notes: use https instead of http

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #14085 from wjwithagen/wip-wjw-bluestore-fixture
Sage Weil [Fri, 24 Mar 2017 01:47:45 +0000 (20:47 -0500)]
Merge pull request #14085 from wjwithagen/wip-wjw-bluestore-fixture

test/objectstore/store_test_fixture.cc: Exclude bluestore code if required.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13931 from wangzhengyong/extent
Sage Weil [Fri, 24 Mar 2017 01:47:12 +0000 (20:47 -0500)]
Merge pull request #13931 from wangzhengyong/extent

os/bluestore: fix bug for calc extent_avg in reshard function

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #14073 from liewegas/wip-bluestore-nullptr
Sage Weil [Fri, 24 Mar 2017 01:44:59 +0000 (20:44 -0500)]
Merge pull request #14073 from liewegas/wip-bluestore-nullptr

os/bluestore: avoid nullptr in bluestore_extent_ref_map_t::bound_encode

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13577 from yonghengdexin735/wip-zzz-openalloc
Sage Weil [Fri, 24 Mar 2017 01:44:35 +0000 (20:44 -0500)]
Merge pull request #13577 from yonghengdexin735/wip-zzz-openalloc

os/bluestore: fix bug in _open_alloc()

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14110 from dachary/wip-crush-cleanup
Loic Dachary [Thu, 23 Mar 2017 20:48:00 +0000 (21:48 +0100)]
Merge pull request #14110 from dachary/wip-crush-cleanup

crush: builder: clean the arguments of crush_reweight* methods

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agovstart.sh: do not init fsmap if "$new == 0" 13974/head
Kefu Chai [Wed, 22 Mar 2017 05:04:06 +0000 (13:04 +0800)]
vstart.sh: do not init fsmap if "$new == 0"

we cannot create a new cephfs using a non-empty pool without '--force'
option now, so the "ceph fs new" command fails with "vstart.sh -k".

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotests: remove mds,osd,mon args passed to vstart.sh
Kefu Chai [Wed, 22 Mar 2017 15:33:30 +0000 (23:33 +0800)]
tests: remove mds,osd,mon args passed to vstart.sh

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocrush: builder: clean the arguments of crush_reweight* methods 14110/head
Sahid Orentino Ferdjaoui [Mon, 13 Mar 2017 16:36:16 +0000 (12:36 -0400)]
crush: builder: clean the arguments of crush_reweight* methods

This commit is just a cleanup to make the arguments of the method
around crush_reweight all coherent.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
8 years agovstart.sh: remove start_*
Kefu Chai [Wed, 22 Mar 2017 03:48:40 +0000 (11:48 +0800)]
vstart.sh: remove start_*

so there are only two ways to override the number of daemons to start
- using the env var CEPH_NUM_{MON|OSD|MGR|MDS} or {MON|OSD|MGR|MDS}
- command line options: --{mon,osd,mds}_num

do prevent a daemon from running, set the corrresponding env var to 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14050 from ovh/bp-dump-ops-by-duration
Yuri Weinstein [Thu, 23 Mar 2017 15:47:55 +0000 (08:47 -0700)]
Merge pull request #14050 from ovh/bp-dump-ops-by-duration

common/TrackedOp: allow dumping historic ops sorted by duration

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14060 from LiumxNL/wip-170321
Yuri Weinstein [Thu, 23 Mar 2017 15:46:36 +0000 (08:46 -0700)]
Merge pull request #14060 from LiumxNL/wip-170321

osd: combine unstable stats with info.stats when publish stats to osd

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13293 from Liuchang0812/cleanup-coverity
Yuri Weinstein [Thu, 23 Mar 2017 15:45:58 +0000 (08:45 -0700)]
Merge pull request #13293 from Liuchang0812/cleanup-coverity

test, osd: fix some coverity issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14014 from Liuchang0812/wip-fix-seg-fault
Casey Bodley [Thu, 23 Mar 2017 13:54:47 +0000 (09:54 -0400)]
Merge pull request #14014 from Liuchang0812/wip-fix-seg-fault

rgw: fix memory leak in RGWGetObjLayout

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoos/bluestore: avoid nullptr in bluestore_extent_ref_map_t::bound_encode 14073/head
Sage Weil [Thu, 23 Mar 2017 13:21:39 +0000 (08:21 -0500)]
os/bluestore: avoid nullptr in bluestore_extent_ref_map_t::bound_encode

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14094 from optimistyzy/322
Haomai Wang [Thu, 23 Mar 2017 11:23:34 +0000 (19:23 +0800)]
Merge pull request #14094 from optimistyzy/322

bluestore, NVMeDevice: use task' own lock for (random) read

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoscript: ceph-release-notes: use https instead of http 14103/head
Kefu Chai [Thu, 23 Mar 2017 11:13:41 +0000 (19:13 +0800)]
script: ceph-release-notes: use https instead of http

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14004 from liewegas/wip-osd-full-failsafe
Kefu Chai [Thu, 23 Mar 2017 08:09:34 +0000 (16:09 +0800)]
Merge pull request #14004 from liewegas/wip-osd-full-failsafe

osd: fall back to failsafe threshold if osdmap doesn't set [near]full

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13903 from wjwithagen/wip-wjw-run-classes-sed
Kefu Chai [Thu, 23 Mar 2017 08:08:22 +0000 (16:08 +0800)]
Merge pull request #13903 from wjwithagen/wip-wjw-run-classes-sed

test: sed on FreeBSD requires "-i extension", so use gsed

Reviewed-by: Kefu Chai <kchai@redhat.com>