Commit Graph

253 Commits

Author SHA1 Message Date
Yan Jun 32de201aee doc/rgw: correct radosgw-admin command name
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-06-06 19:46:53 +08:00
Yehuda Sadeh 9661bbbbd7 Merge pull request #9060 from mikulely/fix-rgw-multiste-doc
doc: fix rgw multiste config

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-06-02 08:52:42 +03:00
Vikhyat Umrao 62eec902c7 rgw: support size suffixes for --max-size in
radosgw-admin command

Fixes: http://tracker.ceph.com/issues/16004

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-26 23:01:26 +05:30
Vikhyat Umrao 949f917af8 rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b0

Fixes: http://tracker.ceph.com/issues/16023

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-26 15:43:41 +05:30
Orit Wasserman 02e84e8964 Merge pull request #8533 from theanalyst/rgw/rest-user-get
rgw_rest_admin: return -EINVAL for improper user info requests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-24 20:18:03 +02:00
Orit Wasserman 8b5bbe9ed4 Merge pull request #8093 from zaitcev/swift-root-prefix
rgw: Allow to serve Swift off the URL root
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-24 20:11:57 +02:00
Matt Benjamin 1535cd4096 Merge pull request #8741 from rzarzynski/wip-rgw-keystonev3-doc
rgw, doc: improve documentation of Keystone v3 config options
2016-05-24 07:31:30 -04:00
Jiaying Ren c1be48dd14 doc: improve rgw multiste config
1. fix typos
2. fix wrong indent
3. misc cosmetic improvements

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-05-23 12:15:08 +08:00
Javier M. Mellid 4003c2fe57 rgw: doc: bucket request payment update
S3 doc update.

The bucket request payment feature is available in Jewel

commits:

899d7754fe
461bd7fa08

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-05-19 11:22:40 +02:00
Kefu Chai ba5b40c0ce Merge pull request #8955 from xiexingguo/xxg-wip-docrgw
doc/rgw: fix typo, abbreviation error etc.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-11 20:09:58 +08:00
Kefu Chai 80b6660abd Merge pull request #8962 from beess/doc-fix1
doc: Fixes three hyphen errors and a syntax error.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-06 22:03:11 +08:00
xie xingguo 4c58365ca3 doc/rgw: fix hyperlinks which can't work
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-06 13:44:19 +02:00
xie xingguo 0210745309 doc/rgw: hyperlink of "Ceph Object Gateway" doesn't work
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-06 13:44:19 +02:00
zhuangxc89 c792bceed3 doc: Fixes three hyphen errors and a syntax error.
Signed-off-by: Zhuang Xiaochun <zhuangxc89@163.com>
2016-05-06 17:20:40 +08:00
xie xingguo 1633c7d36d doc/rgw: fix typo, abbreviation error etc.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-06 09:31:03 +08:00
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
Radoslaw Zarzynski 7dbdddee80 rgw, doc: extend the documentation of rgw_keystone_admin_token.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-04-25 15:30:09 +02:00
Radoslaw Zarzynski 3351a8ce36 rgw, doc: document config options related to Keystone v3.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-04-25 15:29:32 +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
Abhishek Lekshmanan a803f0e3be doc: rgw_adminops uid is required for UserInfo requests
Specify that uid is a required param for GET /admin/user requests

Fixes: http://tracker.ceph.com/issues/15455
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-11 15:17:28 +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
Pete Zaitcev bb9f5ab1b4 rgw: Allow to serve Swift off the URL root
In most public clouds OpenStack Swift URL is based on the tree
root, like:
  https://swift.domain.com/v1/AUTH_tenant

Our convention is to have a path, like:
  https://domain.com/swift/v1/AUTH_tenant

The path is configurable, but even if someone manages to set
an empty prefix, we print headers with %s/%s/v1 where the extra
slash is baked in. In addition, the empty prefix means "use the
/swift default".

To provide compatibility, this patch uses a trick. The empty
prefix remains to mean "/swift", but then we use "/" (one slash)
to create the needed empty prefix.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2016-03-14 09:29:44 -06: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