Commit Graph

72341 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
f498aa5954 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>
2017-05-19 10:58:50 +02:00
Kefu Chai
e40a381093 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>
2017-05-18 18:38:12 +08:00
Kefu Chai
b4648bf6e3 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>
2017-05-18 18:18:41 +08:00
Loic Dachary
b7e65938ab 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>
2017-05-18 12:06:50 +02:00
Kefu Chai
6f7b339d27 Merge pull request #15143 from minshenglin/fix_broken_link
doc: fix broken link in erasure-code.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 15:40:26 +08:00
Leo Zhang
518f516d2e mailmap: Leo Zhang infomation and affiliation
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2017-05-18 12:19:14 +08:00
MinSheng Lin
e86cef3134 doc: fix broken link in erasure-code.rst
Fixes: http://tracker.ceph.com/issues/19972
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
2017-05-18 09:48:07 +08:00
Bassam Tabbara
e1c3985148 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>
2017-05-17 17:51:06 -07:00
Adam C. Emerson
dcd1bfb3c6 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>
2017-05-17 16:06:23 -04:00
Adam C. Emerson
80b285d329 rgw: Write documentation for bucket policies
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
b7d0b740c0 rgw: RESTful bucket policy ops
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
266103fa22 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>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
908d9e46d2 rgw: Build bucket permission and environment in req_state
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
69a5eebd8a 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>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
8416f1c569 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>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
9e8172b840 rgw: Move globbing flags to header
So they can be used when calling the function

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
56167d19f8 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>
2017-05-17 14:22:18 -04:00
Adam C. Emerson
7cd1ccf422 common: Add ISO-8601 Date Support
For parsing and unparsing from ceph::real_time.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-05-17 14:22:15 -04:00
Adam C. Emerson
c3f2447c80 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>
2017-05-17 12:26:39 -04:00
Adam C. Emerson
64acb16354 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>
2017-05-17 12:26:39 -04:00
Sage Weil
752b8389da Merge pull request #13731 from liewegas/wip-19119
PendingReleaseNotes: warning about 'osd rm ...' and #19119
2017-05-17 10:43:18 -05:00
Sage Weil
3c6755e036 PendingReleaseNotes: warning about 'osd rm ...' and #19119
See http://tracker.ceph.com/issues/19119

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-17 11:42:55 -04:00
Sage Weil
c94645567b Merge pull request #14873 from liewegas/wip-bluefs-position
os/bluestore: put bluefs in the middle of the shared device

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-17 10:29:52 -05:00
Sage Weil
55c47ef6e1 Merge pull request #14902 from liewegas/wip-upmap
osd/OSDMap: improve upmap calculation

Reviewed-by: Loic Dachary <loic@dachary.org>
2017-05-17 10:29:28 -05:00
Sage Weil
35834a308e Merge pull request #14933 from liewegas/wip-asok-schema
common/perf_counters: make schema more friendly and update docs

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-17 10:29:09 -05:00
Sage Weil
16cce5a56b Merge pull request #14967 from tchaikov/wip-faster-cull
mgr: optimize DaemonStateIndex::cull() a little bit

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-17 10:28:49 -05:00
Sage Weil
81bd3025d1 Merge pull request #15002 from dachary/wip-19836-crush-pre-luminous
crush: encode can override weights with weight set

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-17 10:26:06 -05:00
Sage Weil
9a06fdbffe Merge pull request #15031 from tchaikov/wip-drop-unused-opts
config_opts: drop unused opts

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-17 10:25:25 -05:00
Sage Weil
570f576468 Merge pull request #15043 from tchaikov/wip-19884
ceph-detect-init: detect init system by poking the system

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-05-17 10:24:50 -05:00
Sage Weil
0260a52631 Merge pull request #15059 from liewegas/wip-mon-kvtype
mon: fix mon_keyvaluedb application

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-17 10:24:19 -05:00
John Wilkins
3b943b49e8 Merge pull request #15032 from tchaikov/wip-doc-opts
doc: add descriptions for mon/mgr options

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2017-05-17 08:04:29 -07:00
Abhishek Lekshmanan
9db24d5577 rgw: drop expat header in a couple of files
Since it is already a part of rgw_xml
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-17 16:16:36 +02:00
Abhishek Lekshmanan
b4a4416e1f rgw: drop using namespace std in header files
We're still having the include in include/type.h, so just sweeping
things under the rug for now

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-17 16:13:54 +02:00
John Spray
618b9b3f3f Merge pull request #15127 from tchaikov/wip-vstart-mgr-debug-ms
vstart: "debug_ms=1" for mgr by default

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-17 12:18:15 +01:00
Kefu Chai
fab6fc15e1 Merge pull request #15103 from drunkard/master
doc: minor fixes in radosgw/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-17 17:00:56 +08:00
Kefu Chai
ae8eee2fde Merge pull request #15080 from hikycool/master
doc: update the usage of 'ceph-deploy purge'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-17 16:54:42 +08:00
Kefu Chai
a6daa84d1a vstart: "debug_ms=1" for mgr by default
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-17 10:31:46 +08:00
Yuri Weinstein
26df056e34 Merge pull request #15087 from liewegas/wip-thrash-ec
qa/suites/rados: fix ec thrashing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-16 13:20:34 -07:00
Yuri Weinstein
07ac91d4b9 Merge pull request #15072 from liewegas/wip-crush-swap-bucket
mon,crush: add 'osd crush swap-bucket' command

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-16 13:19:59 -07:00
Yuri Weinstein
9187156b55 Merge pull request #15069 from tchaikov/wip-inttypes-cleanup
int_types.h: remove hacks to workaround old systems

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-16 13:18:23 -07:00
Yuri Weinstein
98827f4490 Merge pull request #15057 from liewegas/wip-osd-choose-cleanup
osd/PG: drop pre-firefly compat_mode for choose_*_acting

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2017-05-16 13:17:37 -07:00
Yuri Weinstein
a49d9c5637 Merge pull request #15042 from badone/wip-redundant-headers-3
common: Remove redundant includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-16 13:16:43 -07:00
Yuri Weinstein
0e03291cf6 Merge pull request #14989 from liewegas/wip-19877
osd: fix past_intervals base case by adding epoch_pool_created to pg_history_t

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-16 13:13:36 -07:00
Jason Dillaman
38ba53d076 Merge pull request #15113 from trociny/wip-unittest_librbd-cleanup
test/librbd: unit tests cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-16 14:05:38 -04:00
Mykola Golub
dbde7af146 Merge pull request #15093 from dillaman/wip-19929
librbd: reacquire lock should update lock owner client id

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-16 19:40:38 +03:00
Casey Bodley
978f1d3abb Merge pull request #10690 from ceph/wip-rgw-polymorphic-errors
rgw: polymorphic error codes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-16 11:54:27 -04:00
John Spray
60f904615f Merge pull request #15096 from jcsp/wip-journalrepair-test
qa: simplify TestJournalRepair

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-16 16:11:57 +01:00
Sage Weil
225bc60092 Merge pull request #15110 from tchaikov/wip-build-using-cmake
doc: use do_cmake.sh instead of `cmake ..`

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-16 09:20:50 -05:00
Kefu Chai
e7d1d877dd Merge pull request #15023 from tchaikov/wip-cmdparse-constness
cmdparse: more constness

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-16 22:19:40 +08:00
Sage Weil
035c398487 Merge pull request #15112 from jcsp/wip-19940
ceph-create-keys: update client.admin if it already exists

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-16 08:43:18 -05:00