Ask Your Question

Playbook for swift with ceph backend.

asked 2016-12-22 00:44:37 -0500

seitan gravatar image

Hello, I've installed OpenStack via openstack-ansible. Everything woks fine. I'm using ceph storage as secondary storage for VMs. I wonder, is there a playbook to install swift object storage and configure it to use ceph as storage backend? Thank you.

edit retag flag offensive close merge delete



Swift doesn't have any backends. It stores data on disks (similarly to Ceph). You can install Ceph's RADOS gateway, which gives you a Swift-compatible interface to Ceph. Unfortunately I can't answer the question about playbooks.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-22 04:58:43 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-22 05:31:37 -0500

seitan gravatar image

Thank you for reply. So I was doing this the wrong way then. I just have to configure radosGW and add it into keystone then?

edit flag offensive delete link more



Yes, install RadosGW, create swift endpoint pointing to radosgw address and allow auth from ceph to keystone. Playbooks for that, you have ceph-ansible project, kolla have support to deploy radosgw and do all integration. Don't know if OSA have support for that.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-12-22 14:36:27 -0500 )edit

Thank you. Managed to get object storage up and running. Sharing a small howto on this: (

seitan gravatar imageseitan ( 2016-12-23 02:20:24 -0500 )edit

I followed your link to setup object store, but im facing errors while setting up RADOS Gateway. " ceph-deploy rgw create control " [control][ERROR ] InvalidArgumentError does not -- as it takes 'ceph' as default cluster name.

cshivash gravatar imagecshivash ( 2018-08-07 10:30:39 -0500 )edit

"ceph-deploy --cluster rgwcluster rgw create control" [ceph_deploy][ERROR ] RuntimeError: bootstrap-rgw keyring not found; run 'gatherkeys'

Please let me know if u had resolved these issues, i already have ceph installed through ansible, but without RADOS GW

cshivash gravatar imagecshivash ( 2018-08-07 10:31:31 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-22 00:44:37 -0500

Seen: 800 times

Last updated: Dec 22 '16