Introducing Ceph Ansible profile library

Introducing Ceph Ansible profile library

A couple of releases ago, in order to minimize changes within the ceph.conf.j2 Jinja template, we introduced a new module that we took from the OpenStack Ansible guy. This module is called config_template and allows us to declare Ceph configuration options as variables in your group_vars files. This is extremely useful for us

Based on that work and as part of the big ceph-ansible 3.0 release we added a profile directory that guides users on how to properly inject new configuration options. All of that is based on use cases. For instance, we currently have profile examples for configuring Ceph Rados Gateway with OpenStack Keystone.

Here is the current list of profiles:

  • rgw-keystone-v2
  • rgw-keystone-v3
  • rgw-radosgw-static-website
  • rgw-usage-log

More are coming and we expect to get more during the lifetime of the project. One particular profile that we might create is a performance oriented one when running Bluestore on NVMe drives.

Read On...

The new Ceph container demo is super dope!

Title

I have been recently working on refactoring our Ceph container images. We used to have two separate images for daemon and demo. Recently, for Luminous, I decided to merge the demo container into daemon. It makes everything easier, code is in a single place, we only have a single image to test with the CI and users have a single image to play with.

Read On...

Disabling scenarios in ceph-docker

Title

I recently completed a full resync from Kraken to Jewel in ceph-docker in which I introduced a new feature to disable scenarios. Running an application on bleeding edge technology can be tough and challenging for individuals and also for companies. Even me, as a developer and for bleeding edge testers I’m tempted to release unstable features (understand not recommended for production). So sometimes it’s handy to have the ability to restrict the use of a software by disabling some of its functionality. This is exactly what I did for ceph-docker, in this article I’ll explain how that works.

Read On...

Test Ceph Luminous pre-release with ceph-docker

Title

/!\ DISCLAIMER /!\

/!\ DO NOT GET TOO EXCITED, AT THE TIME OF THE WRITTING LUMINOUS IS NOT OFFICIALLY RELEASE IN STABLE YET /!\

/!\ USE AT YOUR OWN RISK, DO NOT PUT PRODUCTION DATA ON THIS /!\

Luminous is just around the corner but we have been having packages available for a couple of weeks already. That’s why I recently thought: “how come don’t we have any Ceph container image for Luminous then?”. And I know a lot of you are eager to test the latest developments of Bluestore (the new method to store objects, directly on a raw device).

Now it’s done, you can fetch the ceph/daemon image using one of these two tags:

  • tag-build-master-luminous-centos-7
  • tag-build-master-luminous-ubuntu-16.04

And you will get a running Ceph cluster on Luminous.

Read On...

Ceph manager support in ceph-ansible and ceph-docker

Ceph manager support in ceph-ansible and ceph-docker

Thanks to this recent pull request, you can now bootstrap the Ceph Manager daemon. This new daemon was added during the Kraken development cycle, its main goal is to act as a hook for existing system to get monitoring information from the Ceph cluster. It normally runs alongside monitor daemons but can be deployed to any particular node. Using your preferred method, you can deploy it in a non-containerized or containerized fashion with ceph-ansible.

Also, we just released a new tag for ceph-ansible, 2.2.0, we will go through heavy testing during the next couple of weeks. This will result in a new stable version branched on stable-2.2. I will a new blog post for stable-2.2 once it’s out to highlight some of the best features and functionality we added.

Read On...

No more privileged containers for Ceph OSDs

Title

I’m really sorry for being so quiet lately, I know I promised to release articles more regularly and I clearly failed… Many things are going on and where motivation is key to write articles, I’ve been having a hard time to find the right motivation to write :/

However, I am not giving up and I finally found the time to write a little bit on the things we improved in ceph-docker, our Ceph in container project.

Read On...