summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rgw: mongoose prototypewip-mongooseYehuda Sadeh2012-11-1613-44/+5817
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: fix warningYehuda Sadeh2012-11-131-3/+3
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* Merge branch 'wip-min-size'Sage Weil2012-11-134-4/+14
|\ | | | | | | Reviewed-by: Sam Just <sam.just@inktank.com>
| * osd: default pool min_size to 0 (which gives us size-size/2)Sage Weil2012-11-131-1/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * mon: default min_size to size-size/2 if min_size default is 0Sage Weil2012-11-131-2/+5
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * osd: default min_size to size - size/2Sage Weil2012-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | size -> min_size: 5 -> 3 4 -> 2 3 -> 2 2 -> 1 Basically, default to tolerating minority down. Signed-off-by: Sage Weil <sage@inktank.com>
| * mon: helpful warning in 'health detail' output about incomplete pgsSage Weil2012-11-131-0/+7
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | vstart.sh: support -X by adding 'auth required = none' entriesDan Mick2012-11-131-1/+9
|/ | | | Signed-off-by: Dan Mick <dan.mick@inktank.com>
* osd: start_boot() after init()Sage Weil2012-11-131-0/+1
| | | | | | | The previous trigger for start_boot() was racy, depending on whether we got our rotating keys quickly. Signed-off-by: Sage Weil <sage@inktank.com>
* Merge remote-tracking branch 'gh/wip-rgw-integration'Sage Weil2012-11-1337-220/+3587
|\ | | | | | | | | Conflicts: src/common/config_opts.h
| * Merge remote-tracking branch 'origin/wip-swift-token' into wip-rgw-integrationYehuda Sadeh2012-11-082-1/+2
| |\
| | * rgw: configurable swift token ttlYehuda Sadeh2012-11-052-1/+2
| | | | | | | | | | | | | | | | | | Bump up ttl to 24h, and make it configurable. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | Merge branch 'wip-keystone' into wip-rgw-integrationYehuda Sadeh2012-11-0823-88/+1339
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/control Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | docs: add keystone documentationYehuda Sadeh2012-11-081-0/+43
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: change configurableYehuda Sadeh2012-11-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | rgw keystone accepted roles Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: fix buildYehuda Sadeh2012-11-088-41/+54
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: use a different boost thread libraryYehuda Sadeh2012-11-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: keystone tokens revocation threadYehuda Sadeh2012-11-084-97/+196
| | | | | | | | | | | | | | | | | | | | | | | | Use a thread to invalidate revoked tokens. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | json_spirit: thread safeYehuda Sadeh2012-11-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | apparently the library is not thread safe by default. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: decode pki tokensYehuda Sadeh2012-11-081-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we can decode pki tokens then we don't need to send them to the Keystone server for verification. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: invalidate revoked tokensYehuda Sadeh2012-11-081-4/+18
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: keep pki tokens by hashYehuda Sadeh2012-11-081-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and also fix the token parsing (needed after the json parser fix). Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: decode revocation messageYehuda Sadeh2012-11-084-30/+181
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | crypto: add cms utility functionYehuda Sadeh2012-11-027-6/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from a libnss tool (cmsutil), stripped code so that we only get the decode functionality that we need. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: parse keystone token expirationYehuda Sadeh2012-10-311-3/+16
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: cache keystone tokensYehuda Sadeh2012-10-316-48/+194
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: map keystone tenant id to rgw userYehuda Sadeh2012-10-312-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Instead of mapping the tenant name. Keep the name as the display_name. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle keystone rolesYehuda Sadeh2012-10-302-0/+41
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: auto create rgw user for new keystone usersYehuda Sadeh2012-10-301-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We now also read the user info when authenticating the keystone user. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle keystone tokensYehuda Sadeh2012-10-306-23/+196
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: extend rgw json parser apiYehuda Sadeh2012-10-302-9/+36
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: refactor curl functionalityYehuda Sadeh2012-10-305-20/+74
| | | | | | | | | | | | | | | | | | | | | | | | Move curl stuff into its own class, use it in swift token validation. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: configurable swift auth urlYehuda Sadeh2012-10-302-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is relevant when using external swift v1 authentication. The url was hard coded, now it's configurable. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | | Merge branch 'wip-post-cleaned' into wip-rgw-integrationYehuda Sadeh2012-11-0817-38/+2020
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/rgw/rgw_common.cc src/rgw/rgw_op.cc Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: better error responses, logging for specific error casesYehuda Sadeh2012-10-234-45/+192
| | | | | | | | | | | | | | | | | | | | | | | | Also, adjusting return values Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: POST fixes, policy range, policy expirationYehuda Sadeh2012-10-239-95/+119
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle expiration and content length policy conditions.caleb miles2012-10-236-9/+85
| | | | | | | | | | | | | | | | | | | | Signed-off-by: caleb miles <caleb.miles@inktank.com> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: implement POST key can use ${filename}Yehuda Sadeh2012-10-232-8/+31
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: return correct responses with POSTYehuda Sadeh2012-10-235-37/+117
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle success_action_redirectYehuda Sadeh2012-10-236-12/+16
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle policy as case insensitive where requiredYehuda Sadeh2012-10-236-21/+42
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle missing content length in POSTYehuda Sadeh2012-10-231-5/+6
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle x-ignore- in POST requestYehuda Sadeh2012-10-231-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: verify that request variables are in policyYehuda Sadeh2012-10-233-7/+40
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | json_spirit: update grammarYehuda Sadeh2012-10-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Support a more relaxed grammar, where last entity in an array or an object can have a comma trailing. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: add policy decoding codeYehuda Sadeh2012-10-232-6/+112
| | | | | | | | | | | | | | | | | | | | | | | | merge in changes from commit 57668c14 by caleb Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: basic policy functionalityYehuda Sadeh2012-10-233-0/+213
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: add a test tool for json parserYehuda Sadeh2012-10-232-0/+85
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: adjustments for 100-continueYehuda Sadeh2012-10-231-9/+14
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| | * | rgw: handle content_type, metaYehuda Sadeh2012-10-235-11/+34
| | | | | | | | | | | | | | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>