Can Ceph RADOSGW be used as a Swift backend?
Environment
- Red Hat OpenStack Platform 10.0
Issue
- Can ceph be used as a swift back-end?
- Is there official documentation on setting up ceph to be the object storage gateway for swift?
- How to configure ceph as swift backend?
- Is there Ceph radosgw support for swift object storage?
Resolution
-
This functionality was recently added to Red Hat OpenStack Platform 10. Director provides a heat template that can be used during deployment to setup Ceph deployed by director as the swift storage backend. Further details are in the release notes for Red Hat OpenStack Platform 10.. Also, these details are in the Ceph Storage for the Overcloud guide.
-
Please include this line in your deploy command:
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-radosgw.yaml -
This functionality was recently added in this This content is not included.Bugzilla RFE 1309460:
BZ#1309460 You can now use the director to deploy Ceph RadosGW as your object storage gateway. To do so, include /usr/share/openstack-tripleo-heat-templates/environments/ceph-radosgw.yaml in your overcloud deployment. When you use this heat template, the default Object Storage service (swift) will not be deployed. -
Further detail on how this is accomplished, from This content is not included.Bugzilla 1309528:
Swift and RGW cannot be deployed together in the same overcloud by OSPd; when RGW is chosen, it will be deployed as a drop-in replacement for Swift. Clients will continue to use the standard Swift client to operate against an RGW server.
Diagnostic Steps
-
This document touches on multiple available Swift storage configurations:
-
Upstream documentation:
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.