Ask Your Question
0

Playbook for swift with ceph backend.

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

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

Comments

1

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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

Comments

1
1

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 -0600 )edit

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

http://www.neblogas.lt/2016/12/23/openstack-object-storage-ceph/ (http://www.neblogas.lt/2016/12/23/ope...)

seitan gravatar imageseitan ( 2016-12-23 02:20:24 -0600 )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 -0600 )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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 538 times

Last updated: Dec 22 '16