Commit Graph

234 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
cbd610537a doc: update keystone admin options in config-ref
Adding the short descriptions of the keystone admin tenant, user and
password options to the config reference as well. Also adding a note
that this applies to only v2 of Openstack Identity API

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-25 17:53:59 +02:00
Abhishek Lekshmanan
d0eeb62480 doc:explain service tenant config for rgw keystone
Explain the configuration of `rgw keystone admin user`, tenant and
password which avoids the need for setting the keystone admin token
shared secret in ceph configuration, since this token is recommended to
be disabled in production environments.

Fixes: #13066, #13519
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-25 17:48:33 +02:00
Casey Bodley
2dd8942c71 Merge pull request #8664 from theanalyst/doc/rgw/fix-multisite-zone
doc: multisite: fix json output for zone create
2016-04-20 10:33:05 -04:00
Abhishek Lekshmanan
ec6ff4d5e8 doc: mutlisite: fix json output for zone create
creation of ``us-west`` was wrongly showing ``us-east-2`` output

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-20 12:53:55 +02:00
Abhishek Lekshmanan
88369e298b doc: rgw multisite, add pools section & minor cosmetic improvements
`Pool Configuration` was mentioned previously but didn't contain any
info, adding this section and minor cosmetic changes to a few headings
after looking at the html view.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-19 11:02:22 +02:00
Abhishek Lekshmanan
f78af6f38c doc: add multisite to index
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2016-04-15 22:27:10 +02:00
Abhishek Lekshmanan
c2e4106bbf doc: rgw multisite documentation
Adding basic documentation for new multisite features, with an example
showing 3 zones in a zonegroup.

Fixes: http://tracker.ceph.com/issues/15247
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-15 22:25:55 +02:00
Kris Jurka
0a622e6054 doc: rgw admin uses "region list" not "regions list" 2016-04-08 21:47:28 -07:00
Vikhyat Umrao
418d9bebda doc: rgw_region_root_pool option should be in [global]
add new option rgw_zonegroup_root_pool from Jewel.

Fixes: #15244

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-03-23 17:34:13 +05:30
Pete Zaitcev
e9259486de rgw: Allow an implicit tenant in case of Keystone
This, unfortunately, introduces possible double lookups, but
they should be cached. Also, the logic appears somewhat convoluted,
although the intent is quite simple: if you're an OpenStack user
with a Keystone authentication, we allow an implicit tenant of
the same name as the user.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>

Conflicts:
	src/rgw/rgw_swift.cc
2016-03-15 16:48:00 -07:00
Abhishek Lekshmanan
ea9cb4fffa doc: rgw explain keystone's verify ssl switch
Adding info about `rgw keystone verify ssl` to configuration reference,
also adding a note in rgw keystone to explain the usage.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-03-01 12:49:51 +01:00
Sage Weil
1d2948fdcc Merge pull request #7027 from mathslinux/fix-s3-csharp-doc
doc: fix S3 C# example
2016-01-29 08:46:47 -05:00
Sage Weil
428805adf9 Merge pull request #6930 from wido/rgw-key-docs
doc: use 'ceph auth get-or-create' for creating RGW keyring

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:45:16 -05:00
Dunrong Huang
41fcd877c1 doc: s/InvalidCap/InvalidCapability
InvalidCapability is more readable

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-24 20:37:19 +08:00
Dunrong Huang
29f9d10ea9 doc: add missing semicolon
Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-23 15:57:22 +08:00
Dunrong Huang
be55a275de doc: s/Bucket/BucketName
from amazon s3 documentaion, the name shoule be BucketName rather than Bucket.

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-23 15:35:12 +08:00
Dunrong Huang
dd065d890b doc: update SetACL API
Since v2 and later version, SetACLRequest() and SetACL() were removed,
and replaced by PutACLRequest() and PutACL()

Reference:
http://docs.aws.amazon.com/sdkfornet/latest/apidocs/items/MS3_S3PutACL_PutACLRequestNET4_5.html
http://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/S3/MS3_S3PutACL_PutACLRequest.html

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-23 15:24:03 +08:00
Dunrong Huang
d46297e7d8 doc: s/ListBucketResponse/ListBucketsResponse
From following documentation:
  - http://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/S3/MS3ListBucketsResponsector_.html
  - http://docs.aws.amazon.com/sdkfornet/latest/apidocs/items/TS3ListBucketsResponse_NET4_5.html
the correct class name is ListBucketsResponse.

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-23 15:15:43 +08:00
Dunrong Huang
fd6fca7f28 doc: `Amazon.AWSClientFactory' is obsolete
From http://blogs.aws.amazon.com/net/post/Tx2JT7AYCL2F6CB/ , Amazon.AWSClientFactory was removed

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-23 12:09:53 +08:00
Orit Wasserman
cacc38e9cc Merge pull request #7005 from YankunLi/patch-4
delete default zone
2015-12-22 16:26:13 +01:00
YankunLi
4dd86ca93e correct radosgw-admin command
the command to disable users quota should be 'radosgw-admin quota disable --quota-scope=<user | bucket> --uid=<uid>'
2015-12-22 13:56:50 +08:00
YankunLi
b1df12c000 delete default zone
if the default zone exist, delete the default zone from both the east and west pools.
2015-12-22 13:46:13 +08:00
Wido den Hollander
f4a077c72d doc: Use 'ceph auth get-or-create' for creating RGW keyring
This saves us a lot of steps which the old documentation took. The
result is however the same.
2015-12-15 13:35:28 +01:00
Yehuda Sadeh
54a6222501 Merge pull request #6829 from LenzGr/master
doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-07 11:09:41 -08:00
Lenz Grimmer
3e23e45dd7 doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity
Fixed incorrect name of a "List Multipart Upload Parts" Response Entity:
"InitiatedMultipartUploadsResult" -> "ListPartsResult"

Fixes: #14003

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
2015-12-07 15:54:49 +01:00
Pete Zaitcev
f7ca00a6e9 rgw: make APIs to work with tenants
Previous commits introduced the tenant infrastructure such as
rgw_user, but did not allow anyone to access it productively.

Done:
 - radosgw-admin
 - bucket creation, listing, deletion with non-empty tenant
 - COPY
 - ACLs
 - Using colon for S3 with URL addressing

TODO:
 - Fix S3 remapping of DNS so that period turns into colon in buckets,
   possibly using typed endpoint domains, some assuming tenants
 - Have Swift authentication to set tenant into URL, then pick it there
 - Resolve leftover XXX

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2015-11-25 11:16:06 -08:00
Yehuda Sadeh
0507cff4eb Merge pull request #5969 from rzarzynski/wip-conf-md-add
rgw: extend rgw_extended_http_attrs to affect Swift accounts and containers as well

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-06 13:58:05 -08:00
Sage Weil
3eccde9d9c Merge tag 'v9.2.0'
v9.2.0
2015-11-04 19:40:17 -05:00
Loic Dachary
912a06830b Merge pull request #6248 from rzarzynski/wip-rgw-swift-acctmd-doc-infernalis
rgw, doc: remove remark for lack of custom account metadata of Swift API

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-10-17 00:48:55 +02:00
YankunLi
2cf8d20aee update radosgw-admin command
the command "radosgw-admin caps remove" should be "radosgw-admin caps rm" 
radosgw-admin:
commands
caps rm                    remove user capabilities
2015-10-14 10:54:52 +08:00
Radoslaw Zarzynski
fca97db93a rgw, doc: remove remark for lack of custom account metadata of Swift.
Backport: infernalis
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-10-13 16:47:32 +02:00
Radoslaw Zarzynski
8f28913b41 rgw, doc: mention that Swift objexp is supported now.
Backport: infernalis
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-10-09 10:18:20 +02:00
Radoslaw Zarzynski
c6e681a92f rgw: improve documentation for rgw_extended_http_attrs config opt.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-09-17 18:32:39 +02:00
Javier M. Mellid
71909b64b8 doc: rgw: update x-amz-request-id status
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-09-10 11:25:17 +02:00
Sage Weil
7d781f7a09 doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-04 15:59:34 -04:00
Loic Dachary
539acac876 Merge pull request #5702 from Sandy4999/wip-doc-sandy
doc:radosgw: correct typos of the command removing a subuser

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-09-01 23:57:53 +02:00
Kefu Chai
cbe85ec126 doc: fix the code-block in ruby.rst
* and add the link to library homepage in the section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 02:51:05 +08:00
Kadu Ribeiro
d05e531dc0 doc: update ruby doc with the aws-sdk gem usage
Since I'm using ceph with the `aws-sdk` gem (https://github.com/aws/aws-sdk-ruby) instead `aws-s3` (https://github.com/marcel/aws-s3) because the aws-s3 have a trouble with the new active support (https://github.com/marcel/aws-s3/issues/98) (and the downgrade active-support wasn't a option), I proposed change the doc to receive the usage instructions with the aws-sdk gem.

I used ceph with aws-sdk gem with this commands.

Thanks so much

Signed-off-by: Carlos E Ribeiro <mail@carlosribeiro.me>
2015-08-31 11:28:05 -03:00
Sangdi Xu
c901e855a5 doc:radosgw: correct typos of the command removing a subuser
Fix typos in the example command removing a subuser, and delete the 'The Ceph Object Gateway' tag as it should not appear there.

Signed-off-by: Sangdi Xu <xu.sangdi@h3c.com>
2015-08-28 18:19:23 +08:00
Yuan Zhou
7e6f819009 doc: update rgw configuration on multiple rgw rados handlers feature
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-08-12 09:09:07 +08:00
Kefu Chai
e04f324b3c Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
doc: update rgw configuration doc on bucket index sharing feature

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:27:51 +08:00
Brian Andrus
e67539e370 Fix location of --access=full in SWIFT user creation
--access=full was incorrectly placed in the output of the command, while it was supposed to have been a flag run with the command.
2015-08-05 16:25:48 -07:00
Yehuda Sadeh
d621d9878c Merge pull request #5414 from cxwshawn/master
doc: add bucket object version description.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-30 13:52:06 -04:00
shawn
5c395ff856 doc: add bucket object version description.
bucket object version has been supported, but do not have description in the docs,
so add this part.

Signed-off-by: shawn chen <cxwshawn@gmail.com>
2015-07-30 10:09:16 +08:00
Yuan Zhou
b62c3b9537 rgw: doc: Mark S3 object version API as supported
S3 object version is already in since Hammer.
Ref: http://marc.info/?l=ceph-devel&m=143715290627682

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-20 15:37:09 +08:00
Yuan Zhou
6256c10512 rgw: doc: adding S3/Swift API link
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-17 14:12:47 +08:00
Yuan Zhou
8cee73255b rgw: doc: Fix radosgw stripe size config ref
s/rgw object stripe size/rgw obj stripe size
https://github.com/ceph/ceph/blob/master/src/common/config_opts.h#L1024

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-14 23:53:20 +08:00
Pete Zaitcev
d8a728ec15 rgw: Document the layout of pools and objects
This has to be kept in sync as the layout changes. Like any other
document, really.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2015-07-08 22:31:31 -06:00
Sébastien Han
d38cd63d26 doc: update openstack and rgw keystone
Update the OpenStack doc with more options, recommendations and best
practices.
Update the Keystone configuration for the Kilo release with Rados
Gateway.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-16 11:22:14 +02:00
Yuan Zhou
93d920e6fb doc: update rgw configuration doc on bucket index sharding feature
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-06-11 14:15:23 +08:00