Commit Graph

14 Commits

Author SHA1 Message Date
Marcus Watts
3ba7be8d1a rgw: making implicit_tenants backwards compatible.
In jewel, "rgw keystone implicit tenants" only applied to swift. As of
luminous), this option applies to s3 also.
Sites that used this feature with jewel now have outstanding data that
depends on the old behavior.

The fix here is to expand "rgw keystone implicit tenants" so that it
can be set to any of "none", "all", "s3" or "swift" (also 0=false=none,
1=true=all).  When set to "s3" or "swift", the actual id lookup
is also partitioned.

Formerly "rgw keystone implicit tenants" was a legacy opt.
This change converts it to the new style of option,
including support for dynamically changing it.

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

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2019-07-30 13:49:20 +05:30
Radoslaw Zarzynski
16f25060b3 doc: drop the information about PKI tokens.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-26 22:18:39 +02:00
Pritha Srivastava
2fec58130b rgw: Improving doc for Cross Project(Tenant) access with Openstack Keystone.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2019-04-11 12:20:09 +05:30
James McClune
6a24d0e80e doc: removed OpenStack Kilo references in Keystone docs
Removed Kilo references in Keystone docs. Updated documentation
to align with Ocata & later releases.

Fixes: https://tracker.ceph.com/issues/38721
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-03-26 17:08:18 -04:00
Florian Haas
d730820a48 Improve OpenStack integration and multitenancy docs for radosgw
Add explanatory information on:

* "rgw swift account in url" (including the Swift account in the Swift
  API url and Keystone endpoint)
* "rgw swift versioning enabled" (enabling Swift object versioning)
* "rgw s3 auth use keystone" (enabling S3 authentication against
  Keystone)
* "rgw keystone implicit tenants" (multi-tenancy via Keystone, including
  its implications for the Swift and S3 APIs)

Fixes: http://tracker.ceph.com/issues/36765
Signed-off-by: Florian Haas <florian@citynetwork.eu>
2018-12-19 17:46:56 +01:00
Matt Benjamin
e636a56c50 rgw: move keystone secrets from ceph.conf to files
Permits setting restrictive permissions on these secrets.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2018-11-05 16:49:06 -05:00
hrchu
70a7ef99bb doc: Update keystone.rst
Make it clear that project/domain options accept name instead of id.

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-01-03 09:27:13 +00:00
Proskurin Kirill
d869df59e9 Update keystone doc about v3 options
Signed-off-by: Proskurin Kirill <kproskurin@mirantis.com>
2016-10-11 09:12:44 +00:00
SirishaGuduru
bd9695d50c doc: Radosgw multitenancy config paramater change
Radosgw multitenancy configuration parameter
"rgw keystone make new tenants" never works even
applied. When gone through the code, itseems this
parameter is not used. But "rgw keystone implicit
tenants" works as the code looks for this.

Modified the configuration parameter in two files
mentioned below from "rgw keystone make new tenants"
to "rgw keystone implicit tenants"

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

Signed-off-by: SirishaGuduru <SGuduru@walmartlabs.com>
2016-09-19 12:06:36 +05:30
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
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
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
John Wilkins
75606e98bb doc: Created standalone doc for Keystone Integration.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-04-14 09:18:50 -07:00