]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #15045 from shashalu/fix-slo
Casey Bodley [Fri, 19 May 2017 18:56:53 +0000 (14:56 -0400)]
Merge pull request #15045 from shashalu/fix-slo

rgw: fix X-Object-Meta-Static-Large-Object in SLO download

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14800 from theanalyst/doc/release-notes/sse-c-correction
Sage Weil [Fri, 19 May 2017 18:54:09 +0000 (13:54 -0500)]
Merge pull request #14800 from theanalyst/doc/release-notes/sse-c-correction

doc: release-notes clarify about rgw encryption

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14922 from ukernel/wip-kcephfs-whitelist
Sage Weil [Fri, 19 May 2017 18:41:20 +0000 (13:41 -0500)]
Merge pull request #14922 from ukernel/wip-kcephfs-whitelist

qa: update log whitelists for kcephfs suite

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14941 from wjwithagen/wip-wjw-freebsd-doc-manual-install
Sage Weil [Fri, 19 May 2017 18:40:10 +0000 (13:40 -0500)]
Merge pull request #14941 from wjwithagen/wip-wjw-freebsd-doc-manual-install

doc: add FreeBSD manual install

8 years agoMerge pull request #14988 from ShiqiCooperation/master
Sage Weil [Fri, 19 May 2017 18:33:49 +0000 (13:33 -0500)]
Merge pull request #14988 from ShiqiCooperation/master

test/unittest_bluefs: check whether mounted success

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14688 from cbodley/wip-rgw-multi-suite
Casey Bodley [Fri, 19 May 2017 18:30:57 +0000 (14:30 -0400)]
Merge pull request #14688 from cbodley/wip-rgw-multi-suite

qa/rgw: add multisite suite to configure and run multisite tests

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15071 from cbodley/wip-qa-dnsmasq
Sage Weil [Fri, 19 May 2017 18:25:12 +0000 (13:25 -0500)]
Merge pull request #15071 from cbodley/wip-qa-dnsmasq

qa: add task for dnsmasq configuration

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
8 years agoMerge pull request #15090 from theanalyst/release/v12.0.3/notes
Sage Weil [Fri, 19 May 2017 18:21:58 +0000 (13:21 -0500)]
Merge pull request #15090 from theanalyst/release/v12.0.3/notes

doc: release notes for v12.0.3 (dev)

8 years agoMerge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi
Sage Weil [Fri, 19 May 2017 18:13:24 +0000 (13:13 -0500)]
Merge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi

doc/rgw: remove fastcgi page and sample configs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15144 from drunkard/master
Sage Weil [Fri, 19 May 2017 18:03:45 +0000 (13:03 -0500)]
Merge pull request #15144 from drunkard/master

doc: typo fixes on hyperlink/words

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15161 from dzafman/wip-test-fix
Sage Weil [Fri, 19 May 2017 18:00:20 +0000 (13:00 -0500)]
Merge pull request #15161 from dzafman/wip-test-fix

test: Test fix for SnapSet change

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15147 from bassam/pr-speedup-ccache
Yuri Weinstein [Fri, 19 May 2017 16:33:24 +0000 (09:33 -0700)]
Merge pull request #15147 from bassam/pr-speedup-ccache

cmake: improved build speed by 5x when using ccache

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15158 from liewegas/wip-mgr-dump
Yuri Weinstein [Fri, 19 May 2017 16:33:03 +0000 (09:33 -0700)]
Merge pull request #15158 from liewegas/wip-mgr-dump

mon/MgrMonitor: add 'mgr dump [epoch]' command

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15159 from LiumxNL/fix-ping-monitor
Yuri Weinstein [Fri, 19 May 2017 16:32:19 +0000 (09:32 -0700)]
Merge pull request #15159 from LiumxNL/fix-ping-monitor

pybind/rados: avoid call free() on invalid pointer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15164 from tchaikov/wip-check-gperf-before-using-it
Kefu Chai [Fri, 19 May 2017 15:57:08 +0000 (23:57 +0800)]
Merge pull request #15164 from tchaikov/wip-check-gperf-before-using-it

cmake: check the existence of gperf before using it

Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #15089 from zhsj/add-mirror
Kefu Chai [Fri, 19 May 2017 14:32:45 +0000 (22:32 +0800)]
Merge pull request #15089 from zhsj/add-mirror

doc: add new cn ceph mirror to doc and mirroring

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15173 from joscollin/wip-test-crush-warning
Jos Collin [Fri, 19 May 2017 14:18:38 +0000 (19:48 +0530)]
Merge pull request #15173 from joscollin/wip-test-crush-warning

test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=

8 years agoMerge pull request #15171 from ztczll/master
Jos Collin [Fri, 19 May 2017 14:10:31 +0000 (19:40 +0530)]
Merge pull request #15171 from ztczll/master

test/objectstore: Check apply_transaction() return values

8 years agoMerge pull request #15034 from liewegas/wip-bluestore-sync-write
Sage Weil [Fri, 19 May 2017 13:21:48 +0000 (08:21 -0500)]
Merge pull request #15034 from liewegas/wip-bluestore-sync-write

os/bluestore/KernelDevice: fix sync write vs flush

Reviewed-by: Varada Kari <varada.kari@gmail.com>
8 years agoos/bluestore/KernelDevice: fix flush() vs sync write() 15034/head
Sage Weil [Fri, 12 May 2017 20:06:51 +0000 (16:06 -0400)]
os/bluestore/KernelDevice: fix flush() vs sync write()

We need to set the atomic flag so that a flush will actually flush.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow= 15173/head
Jos Collin [Fri, 19 May 2017 11:12:03 +0000 (16:42 +0530)]
test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=

The following warnings appear during make:

/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc: In member function ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’:
/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1057:20: warning: argument 1 value ‘18446744073709550912’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   crush_choose_arg choose_args[c.get_max_buckets()];
                    ^~~~~~~~~~~

In function ‘void* memset(void*, int, size_t)’,
    inlined from ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’ at /home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1058:9:
/usr/include/bits/string3.h:90:70: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709550912 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoCheck apply_transaction return values 15171/head
zhanglei [Fri, 19 May 2017 09:40:02 +0000 (05:40 -0400)]
Check apply_transaction return values

Signed-off-by: zhanglei <243290414@qq.com>
8 years agodoc: v12.0.3 release notes 15090/head
Abhishek Lekshmanan [Mon, 15 May 2017 15:49:35 +0000 (17:49 +0200)]
doc: v12.0.3 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agodoc: PendingReleaseNotes move the 12.0.2 section of release notes
Abhishek Lekshmanan [Thu, 18 May 2017 11:36:54 +0000 (13:36 +0200)]
doc: PendingReleaseNotes move the 12.0.2 section of release notes

So that we can track whatever diff goes in after

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15148 from zealoussnow/wip-spec
Kefu Chai [Fri, 19 May 2017 04:53:57 +0000 (12:53 +0800)]
Merge pull request #15148 from zealoussnow/wip-spec

build: move bash_completion.d/ceph to ceph-common

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: check the existence of gperf before using it 15164/head
Kefu Chai [Fri, 19 May 2017 04:46:46 +0000 (12:46 +0800)]
cmake: check the existence of gperf before using it

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15160 from bassam/pr-system-boost
Kefu Chai [Fri, 19 May 2017 02:56:12 +0000 (10:56 +0800)]
Merge pull request #15160 from bassam/pr-system-boost

cmake: fix boost components for WITH_SYSTEM_BOOST

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15107 from guihecheng/rgw_file-cleanup
Jos Collin [Fri, 19 May 2017 02:35:29 +0000 (08:05 +0530)]
Merge pull request #15107 from guihecheng/rgw_file-cleanup

rgw: use pre-defined calls to replace raw flag operation

8 years agodoc: hyperlink fixes 15144/head
Drunkard Zhang [Fri, 19 May 2017 01:41:33 +0000 (09:41 +0800)]
doc: hyperlink fixes

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: typo fixes
Drunkard Zhang [Fri, 19 May 2017 01:34:48 +0000 (09:34 +0800)]
doc: typo fixes

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agorgw_file: use pre-defined calls to replace raw flag operation 15107/head
Gui Hecheng [Tue, 16 May 2017 01:43:08 +0000 (09:43 +0800)]
rgw_file: use pre-defined calls to replace raw flag operation

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agodoc: remove duplicated section in doc/radosgw/adminops
Drunkard Zhang [Thu, 18 May 2017 04:07:23 +0000 (12:07 +0800)]
doc: remove duplicated section in doc/radosgw/adminops

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agoMerge pull request #15053 from dillaman/wip-librbd-blkin
Jason Dillaman [Fri, 19 May 2017 00:28:57 +0000 (20:28 -0400)]
Merge pull request #15053 from dillaman/wip-librbd-blkin

blkin: librbd trace hooks

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoblkin: rbd object map update traces 15053/head
Jason Dillaman [Sat, 13 May 2017 02:34:33 +0000 (22:34 -0400)]
blkin: rbd object map update traces

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: initial trace hooks for IO path
Jason Dillaman [Thu, 11 May 2017 15:30:51 +0000 (11:30 -0400)]
blkin: initial trace hooks for IO path

To collect blkin traced for RBD, set the "rbd blkin trace all"
configuration parameter to true.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: add config variable rbd_blkin_trace_all
Jason Dillaman [Thu, 11 May 2017 00:55:04 +0000 (20:55 -0400)]
blkin: add config variable rbd_blkin_trace_all

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: improved objecter trace events
Jason Dillaman [Fri, 12 May 2017 23:50:51 +0000 (19:50 -0400)]
blkin: improved objecter trace events

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: librados should start new child trace
Jason Dillaman [Fri, 12 May 2017 20:43:44 +0000 (16:43 -0400)]
blkin: librados should start new child trace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: improve trace visibility into object cacher
Jason Dillaman [Fri, 12 May 2017 18:37:39 +0000 (14:37 -0400)]
blkin: improve trace visibility into object cacher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoblkin: pass trace information to object cacher
Victor Araujo [Sun, 4 Sep 2016 22:48:33 +0000 (00:48 +0200)]
blkin: pass trace information to object cacher

Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agocommon/zipkin_trace: added missing include for encoding
Jason Dillaman [Fri, 12 May 2017 20:09:16 +0000 (16:09 -0400)]
common/zipkin_trace: added missing include for encoding

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest/librados_test_stub: add new aio_operate overloads for tracing
Jason Dillaman [Thu, 11 May 2017 00:40:19 +0000 (20:40 -0400)]
test/librados_test_stub: add new aio_operate overloads for tracing

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest: Test fix for SnapSet change 15161/head
David Zafman [Thu, 18 May 2017 17:27:09 +0000 (10:27 -0700)]
test: Test fix for SnapSet change

Caused by: a7b59221691954aedfac88695df8c89e36e10739

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #10736 from oliveiradan/SebastienHan_config_diff_get_fr
Yuri Weinstein [Thu, 18 May 2017 20:15:54 +0000 (13:15 -0700)]
Merge pull request #10736 from oliveiradan/SebastienHan_config_diff_get_fr

common/ceph_context: 'config diff get' option added

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #14914 from neha-ojha/wip-mon-crushtype-health-warn
Yuri Weinstein [Thu, 18 May 2017 20:12:45 +0000 (13:12 -0700)]
Merge pull request #14914 from neha-ojha/wip-mon-crushtype-health-warn

mon: add crush type down health warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15086 from joscollin/wip-cleanup-redundant-headers-1
Sage Weil [Thu, 18 May 2017 18:29:40 +0000 (13:29 -0500)]
Merge pull request #15086 from joscollin/wip-cleanup-redundant-headers-1

common: Remove redundant includes

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #15109 from tchaikov/wip-mgrmon-send-digests-using-ticks
Sage Weil [Thu, 18 May 2017 18:29:26 +0000 (13:29 -0500)]
Merge pull request #15109 from tchaikov/wip-mgrmon-send-digests-using-ticks

mon/MgrMonitor: send digests only if is_active()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15116 from liewegas/wip-bluestore-aio-warning
Sage Weil [Thu, 18 May 2017 18:28:30 +0000 (13:28 -0500)]
Merge pull request #15116 from liewegas/wip-bluestore-aio-warning

os/bluestore/KernelDevice: helpful warning when aio limit exhausted

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15117 from liewegas/wip-luminous-legacy-check
Sage Weil [Thu, 18 May 2017 18:28:14 +0000 (13:28 -0500)]
Merge pull request #15117 from liewegas/wip-luminous-legacy-check

qa/suites/rados/thrash: make sure osds have map before legacy scrub

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15120 from liewegas/wip-ec-buffer
Sage Weil [Thu, 18 May 2017 18:28:02 +0000 (13:28 -0500)]
Merge pull request #15120 from liewegas/wip-ec-buffer

osd: reduce buffer pinning from EC entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15121 from ivancich/wip-remove-an-unnecessary-loop
Sage Weil [Thu, 18 May 2017 18:27:50 +0000 (13:27 -0500)]
Merge pull request #15121 from ivancich/wip-remove-an-unnecessary-loop

osd/pglog: remove loop through empty collection

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15124 from cbodley/wip-osd-swap
Sage Weil [Thu, 18 May 2017 18:27:25 +0000 (13:27 -0500)]
Merge pull request #15124 from cbodley/wip-osd-swap

osd: fix argument-dependent lookup of swap()

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15138 from liewegas/wip-list-objects-more
Sage Weil [Thu, 18 May 2017 18:26:57 +0000 (13:26 -0500)]
Merge pull request #15138 from liewegas/wip-list-objects-more

ceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/rgw: add test config to rgw_multisite_tests task 14688/head
Casey Bodley [Tue, 16 May 2017 14:36:06 +0000 (10:36 -0400)]
qa/rgw: add test config to rgw_multisite_tests task

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add timing config options to test_multi.py
Casey Bodley [Tue, 16 May 2017 14:22:24 +0000 (10:22 -0400)]
test/rgw: add timing config options to test_multi.py

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add timing configuration
Casey Bodley [Tue, 16 May 2017 14:21:47 +0000 (10:21 -0400)]
test/rgw: add timing configuration

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: add log_level argument to rgwadmin()
Casey Bodley [Wed, 10 May 2017 20:29:02 +0000 (16:29 -0400)]
qa/rgw: add log_level argument to rgwadmin()

changes default level from info to debug

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: dont assume zone1 and zone2 are on different clusters
Casey Bodley [Tue, 9 May 2017 23:00:18 +0000 (19:00 -0400)]
test/rgw: dont assume zone1 and zone2 are on different clusters

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add 5min timeouts to sync checkpoints
Casey Bodley [Tue, 25 Apr 2017 20:30:05 +0000 (20:30 +0000)]
test/rgw: add 5min timeouts to sync checkpoints

if multisite tests are going to run in teuthology, they can't loop forever

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: add multisite suite
Casey Bodley [Sun, 23 Apr 2017 23:37:49 +0000 (23:37 +0000)]
qa/rgw: add multisite suite

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agocmake: fix boost components for WITH_SYSTEM_BOOST 15160/head
Bassam Tabbara [Thu, 18 May 2017 07:32:59 +0000 (00:32 -0700)]
cmake: fix boost components for WITH_SYSTEM_BOOST

when using WITH_SYSTEM_BOOST dont set header-only packages
for BOOST_COMPONENTS. On some distros these packages dont
exist.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agopybind/rados: avoid call free() on invalid pointer 15159/head
Mingxin Liu [Thu, 18 May 2017 16:23:11 +0000 (00:23 +0800)]
pybind/rados: avoid call free() on invalid pointer

Signed-off-by: Mingxin Liu <mingxin@xsky.com>
8 years agoMerge pull request #15126 from batrick/i19934
Kefu Chai [Thu, 18 May 2017 16:06:35 +0000 (00:06 +0800)]
Merge pull request #15126 from batrick/i19934

qa: silence upgrade test failure

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon/MgrMonitor: add 'mgr dump [epoch]' command 15158/head
Sage Weil [Thu, 18 May 2017 16:05:13 +0000 (12:05 -0400)]
mon/MgrMonitor: add 'mgr dump [epoch]' command

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15037 from trociny/wip-19875
Jason Dillaman [Thu, 18 May 2017 15:51:23 +0000 (11:51 -0400)]
Merge pull request #15037 from trociny/wip-19875

librbd: optimize copy-up to add hints only once to object op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15085 from runsisi/wip-fix-trashlist
Jason Dillaman [Thu, 18 May 2017 15:50:44 +0000 (11:50 -0400)]
Merge pull request #15085 from runsisi/wip-fix-trashlist

librbd: do not raise an error if trash list returns -ENOENT

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15134 from runsisi/wip-fix-trashpy
Jason Dillaman [Thu, 18 May 2017 15:50:27 +0000 (11:50 -0400)]
Merge pull request #15134 from runsisi/wip-fix-trashpy

pybind/rbd: fix crash if more than 1024 images in trash bin

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge branch pull request #13551 from pritha-srivastava/wip-rgw-role-tenant
Adam C. Emerson [Thu, 18 May 2017 14:20:31 +0000 (10:20 -0400)]
Merge branch pull request #13551 from pritha-srivastava/wip-rgw-role-tenant

rgw: Replaced rgw userid with tenant in ARN for Roles.
rgw: Adding roles under the scope of tenants.
rgw: Added code for Role input validation.
rgw: Added code to fetch a role by its id.
rgw: Added code to allow tenant name as part of role name also.
rgw: Better reporting of missing input values in case of radosgw-admin
     commands for Roles.

Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #15152 from guihecheng/rgw_file-extra-rele
Jos Collin [Thu, 18 May 2017 13:48:00 +0000 (19:18 +0530)]
Merge pull request #15152 from guihecheng/rgw_file-extra-rele

rgw_file: removed extra rele() on fs in rgw_umount()

8 years agoMerge pull request #15142 from bassam/pr-ccache-s-files
Kefu Chai [Thu, 18 May 2017 10:38:12 +0000 (18:38 +0800)]
Merge pull request #15142 from bassam/pr-ccache-s-files

cmake: workaound ccache issue with .S assembly files

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw_file: fix extra rele on fs in close 15152/head
Gui Hecheng [Tue, 16 May 2017 08:05:35 +0000 (16:05 +0800)]
rgw_file: fix extra rele on fs in close

We got exactly a refcnt=0 after rele in close,
no need to rele twice.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agoMerge pull request #15137 from theanalyst/rgw/cleanup/header-drop
Kefu Chai [Thu, 18 May 2017 10:18:41 +0000 (18:18 +0800)]
Merge pull request #15137 from theanalyst/rgw/cleanup/header-drop

rgw: drop using std ns in header files and other cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15145 from zealoussnow/wip-0518
Loic Dachary [Thu, 18 May 2017 10:06:50 +0000 (12:06 +0200)]
Merge pull request #15145 from zealoussnow/wip-0518

mailmap: Leo Zhang infomation and affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agobuild: move bash_completion.d/ceph from debian/ceph-base.install to debian/ceph-commo... 15148/head
Leo Zhang [Thu, 18 May 2017 09:22:11 +0000 (17:22 +0800)]
build: move bash_completion.d/ceph from debian/ceph-base.install to debian/ceph-common.install

when only ceph-common is installed, can also use ceph completion

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agoMerge pull request #15143 from minshenglin/fix_broken_link
Kefu Chai [Thu, 18 May 2017 07:40:26 +0000 (15:40 +0800)]
Merge pull request #15143 from minshenglin/fix_broken_link

doc: fix broken link in erasure-code.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: remove "-Wp" compile option to speedup ccache 15147/head
Bassam Tabbara [Thu, 18 May 2017 06:08:31 +0000 (23:08 -0700)]
cmake: remove "-Wp" compile option to speedup ccache

"-Wp" in not needed and when building with ccache the "cache hits"
only happen afer preproccessing which is slower than a direct hit.
this change removes the "-Wp" option

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agobuild: move bash_completion.d/ceph to ceph-common
Leo Zhang [Thu, 18 May 2017 06:17:17 +0000 (14:17 +0800)]
build: move bash_completion.d/ceph to ceph-common

When only ceph-common is installed, can also use ceph completion

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agomailmap: Leo Zhang infomation and affiliation 15145/head
Leo Zhang [Thu, 18 May 2017 04:19:14 +0000 (12:19 +0800)]
mailmap: Leo Zhang infomation and affiliation

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agodoc: fix broken link in erasure-code.rst 15143/head
MinSheng Lin [Wed, 17 May 2017 09:46:08 +0000 (17:46 +0800)]
doc: fix broken link in erasure-code.rst

Fixes: http://tracker.ceph.com/issues/19972
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
8 years agocmake: workaound ccache issue with .S assembly files 15142/head
Bassam Tabbara [Thu, 18 May 2017 00:41:16 +0000 (17:41 -0700)]
cmake: workaound ccache issue with .S assembly files

when building with -DWITH_CCACHE=ON recent versions of ccache
(for example 3.3.3) seem to mangle object files from the cache
for source files that have a .S extension. This seems similar
but unrelated to PR #14633. The workaround here is to rename .S
files to .s (lower case).

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoMerge branch 'wip-sts-authorization'
Adam C. Emerson [Wed, 17 May 2017 20:06:23 +0000 (16:06 -0400)]
Merge branch 'wip-sts-authorization'

Merge pull request #14307 from adamemerson/wip-sts-authorization

common: Add make_unique
submodule: Tencent's RapidJSON library
common: Add ISO-8601 Date Support
rgw: Add is_identity to AuthApplier class
rgw: Move globbing flags to header
buffer: Make the use of static areas more convenient
rgw: Add basic support for IAM policies
rgw: Build bucket permission and environment in req_state
rgw: Verify policies as WELL as ACLs
rgw: RESTful bucket policy ops
rgw: Write documentation for bucket policies

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
8 years agoqa/rgw: add rgw_multisite_tests task to run tests
Casey Bodley [Fri, 21 Apr 2017 18:47:00 +0000 (14:47 -0400)]
qa/rgw: add rgw_multisite_tests task to run tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: add rgw_multisite task based on rgw_multi
Casey Bodley [Wed, 12 Apr 2017 20:14:16 +0000 (16:14 -0400)]
qa/rgw: add rgw_multisite task based on rgw_multi

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: add symlink to qa/tasks/rgw_multi
Casey Bodley [Wed, 12 Apr 2017 18:05:21 +0000 (14:05 -0400)]
qa/rgw: add symlink to qa/tasks/rgw_multi

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: move startup polling logic to util/rgw.py
Casey Bodley [Mon, 17 Apr 2017 19:39:37 +0000 (15:39 -0400)]
qa/rgw: move startup polling logic to util/rgw.py

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: fixes for cluster name on cleanup
Casey Bodley [Sat, 22 Apr 2017 15:33:44 +0000 (15:33 +0000)]
qa/rgw: fixes for cluster name on cleanup

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/rgw: move compression type out of ceph.conf
Casey Bodley [Tue, 18 Apr 2017 19:34:59 +0000 (19:34 +0000)]
qa/rgw: move compression type out of ceph.conf

this makes the 'compression type' setting global to all gateways, and
makes the setting visible to other tasks in ctx.rgw.compression_type

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add import for StringIO
Casey Bodley [Wed, 19 Apr 2017 02:48:17 +0000 (02:48 +0000)]
test/rgw: add import for StringIO

also removes unnecessary tuple parens

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: Write documentation for bucket policies 14307/head
Adam C. Emerson [Mon, 3 Apr 2017 22:03:00 +0000 (18:03 -0400)]
rgw: Write documentation for bucket policies

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: RESTful bucket policy ops
Adam C. Emerson [Wed, 8 Mar 2017 21:31:18 +0000 (16:31 -0500)]
rgw: RESTful bucket policy ops

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: Verify policies as WELL as ACLs
Adam C. Emerson [Thu, 6 Apr 2017 23:11:30 +0000 (19:11 -0400)]
rgw: Verify policies as WELL as ACLs

Only hook into object/bucket checks for now. Once we have STS (giving
us Roles) or User/Group policies it will make sense to hook into
those, too.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: Build bucket permission and environment in req_state
Adam C. Emerson [Wed, 25 Jan 2017 15:19:43 +0000 (10:19 -0500)]
rgw: Build bucket permission and environment in req_state

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: Add basic support for IAM policies
Adam C. Emerson [Tue, 9 Aug 2016 16:28:07 +0000 (12:28 -0400)]
rgw: Add basic support for IAM policies

This support is currently incomplete but should provide a starting
point.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agobuffer: Make the use of static areas more convenient
Adam C. Emerson [Mon, 1 May 2017 20:59:36 +0000 (16:59 -0400)]
buffer: Make the use of static areas more convenient

Make three wrapper functions to tidy up the process of making a
bufferlist holding a single static buffer.

The lack of any decent handling of const in buffer::list makes me wax
wroth, but it's a bit much to fix right now.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: Move globbing flags to header
Adam C. Emerson [Mon, 27 Feb 2017 19:00:56 +0000 (14:00 -0500)]
rgw: Move globbing flags to header

So they can be used when calling the function

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agorgw: Add is_identity to AuthApplier class
Adam C. Emerson [Mon, 13 Feb 2017 21:53:18 +0000 (16:53 -0500)]
rgw: Add is_identity to AuthApplier class

Eventually this will allow us to match all authentication information
against all specified principals in a policy.

Right now it handles users and wildcards.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agocommon: Add ISO-8601 Date Support
Adam C. Emerson [Wed, 5 Oct 2016 22:02:48 +0000 (18:02 -0400)]
common: Add ISO-8601 Date Support

For parsing and unparsing from ceph::real_time.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agosubmodule: Tencent's RapidJSON library
Adam C. Emerson [Thu, 28 Jul 2016 17:35:08 +0000 (13:35 -0400)]
submodule: Tencent's RapidJSON library

This is a high performance, MIT licensed JSON parsing library. It
provides a SAX interface so that I can compile an S3 policy without
building up a JSONObject tree in the middle that gets thrown away.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agocommon: Add make_unique
Adam C. Emerson [Tue, 3 May 2016 22:11:55 +0000 (18:11 -0400)]
common: Add make_unique

There are parts of C++14 that are both useful and easy to
implement. This is one of them.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agoceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError 15138/head
Sage Weil [Wed, 17 May 2017 15:55:42 +0000 (11:55 -0400)]
ceph_test_rados_api_list: more fix LibRadosListNP.ListObjectsError

Follow-on to d7e6e8d60309e4800389b36f786b633d0ca2ec07; we need to
make sure the client gets the updated osdmap.

Fixes: http://tracker.ceph.com/issues/19963
Signed-off-by: Sage Weil <sage@redhat.com>