openstack-ansible/releasenotes/notes/ceph-rgw-swift-account-93350d92f0f33b20.yaml
Florian Haas 9dbdf71de0 Include Swift AUTH_%(tenant_id)s suffix in rgw Keystone endpoint
In order to make rgw a better drop-in replacement for Swift, this
patch does two things:

* Configure rgw to include the Swift account in its URL
* Update the Keystone catalog entry so that the rgw endpoints
  include the AUTH_%(tenant_id)s suffix (just like the os_swift
  role does)

Both of the above are necessary to make both public read ACLs
and temp URLs work with rgw, the way they do with native Swift.

In addition, the patch also:

* Removes the rgw_s3_auth_use_keystone config override, which
  is useless in the default configuration that does not enable
  the S3 API.
* Enables rgw_keystone_implicit_tenants to properly enable Swift
  multi-tenancy in rgw. Reference:
  http://docs.ceph.com/docs/mimic/radosgw/multitenancy/
* Enables rgw_swift_versioning_enabled to support Swift's object
  versioning feature (and the default for the os_swift role's
  swift_allow_versions variable). A limitation applies here,
  which is that radosgw currently does support setting the
  X-Versions-Location header on a container, but does not
  understand X-History-Location.
* Adds documentation to the users guide, about using rgw as a
  Swift replacement.
* Adds a release note detailing possible upgrade issues,
  and the object versioning limitation.

Closes-Bug: #1800637

Change-Id: Iacd8f32f100f283ff590e063854d06b2c7c98cc2
2018-11-28 22:27:09 +00:00

30 lines
1.4 KiB
YAML

---
upgrade:
- >
The ``ceph-rgw`` playbooks now set ``rgw_swift_account_in_url =
true`` and update the corresponding Keystone service catalog entry
accordingly. Applications (such as monitoring scripts) that do
*not* rely on service catalog lookup must be updated with the new
endpoint URL that includes ``AUTH_%(tenant_id)s`` just like native
Swift does --- or, alternatively, should be updated to honor the
service catalog after all.
- >
The ``ceph-rgw`` playbooks now set ``rgw_swift_versioning_enabled =
true``, adding support for object versioning for the ``object-store``
service.
fixes:
- >
The ``ceph-rgw`` playbooks now include the ``AUTH_%(tenant_id)s``
suffix in the Keystone ``object-store`` endpoint. This aligns
radosgw's behavior with that of native Swift. It also enables
radosgw to support public read ACLs on containers, and temporary
URLs on objects, in the same way that Swift does
(`bug 1800637 <https://bugs.launchpad.net/openstack-ansible/+bug/1800637>`_).
issues:
- >
Although the ``ceph-rgw`` playbooks do enable Swift object
versioning, support in radosgw is currently limited to setting
``X-Versions-Location`` on a container. ``X-History-Location``,
understood by native Swift, is currently not supported by radosgw
(although the feature is `pending
<https://github.com/ceph/ceph/pull/15020>`_ upstream).