Configure OpenStack Glance for RBD mirroring

Configure OpenStack Glance for RBD mirroring

Since Ceph Jewel, we have the RBD mirroring functionality and people have been starting using it for multi-site and disaster recovery use cases. The tool is not perfect but is rock solid, expect many enhancements in the future release such as support for multiple peer and daemons. From a pure OpenStack perspective, to enable this feature we don’t really want to add any code into Glance Store. The reason is simple, glance’s store code looks up for specific Ceph features into the Ceph configuration file itself. So there is no point of adding a new configuration flag into Glance that says something like enable_image_journaling. The operator will only have to configure Ceph, that’s it.

Read On...

Devstack Ceph supports containerized Ceph

Devstack Ceph supports containerized Ceph

Yes people, I’m still alive :). As you might noticed, I’ve been having a hard time to keep up the pace with blogging. It’s mainly due to me traveling a lot these days and preparing conferences. It’s a really busy end of the year for me :).

Fortunately, I’m still finding the time to work on some new features to projects I like. As you might know, I’ve been busy working on ceph-ansible and ceph-docker, trying conciliate both and making sure they work well together. In ceph-docker, we have an interesting container image, that I already presented here. I was recently thinking we could use it to simplify the Ceph bootstrapping process in DevStack. The patch I recently merge doesn’t get ride of the “old” way to bootstrap, the path is just a new addition, a new deployment method.

In practice, this doesn’t change anything for me, but at some point it allows us to validate that a containerized Ceph doesn’t have any problem and bring the same functionality as a non-containerized Ceph. Without further ado, let’s jump into this!

Read On...

Ceph ansible now supports dmcrypt

Ceph ansible now supports dmcrypt

I recently worked on a new feature that ceph-ansible was laking of: support for dmcrypt. This dmcrypt scenario basically allows you to deploy encrypted OSD data directories. The encrypted key is stored on the monitor’s key/value store. Until recently ceph-ansible wasn’t capable of deploying such configuration. Let’s see how this can be configured.

Read On...