Category Archives: ceph

faster debugging of a teuthology workunit

The Ceph integration tests run via teuthology rely on workunits found in the Ceph repository. For instance: the /cephtool/test.sh workunit is modified it is pushed to a wip- in the official Ceph git repository the gitbuilder will automatically build packages … Continue reading

Posted in ceph | Leave a comment

Scaling out the Ceph community lab

Ceph integration tests are vital and expensive. Contrary to unit tests that can be run on a laptop, they require multiple machines to deploy an actual Ceph cluster. As the community of Ceph developers expands, the community lab needs to … Continue reading

Posted in ceph | Leave a comment

Sorting Ceph backport branches

When there are many backports in flight, they are more likely to overlap and conflict with each other. When a conflict can be trivially resolved because it comes from the context of a hunk, it’s often enough to just swap … Continue reading

Posted in ceph | Leave a comment

Ceph integration tests made simple with OpenStack

If an OpenStack tenant (account in the OpenStack parlance) is available, the Ceph integration tests can be run with the teuthology-openstack command , which will create the necessary virtual machines automatically (see the detailed instructions to get started). To do … Continue reading

Posted in ceph, openstack | 2 Comments

HOWTO setup a postgresql server on Ubuntu 14.04

In the context of the teuthology (the integration test framework for Ceph, there needs to be a PostgreSQL available, locally only, with a single user dedicated to teuthology. It can be setup from a new Ubuntu 14.04 install with: sudo … Continue reading

Posted in PostegreSQL, ceph | Leave a comment

oneliner to deploy teuthology on OpenStack

Note: this is obsoleted by Ceph integration tests made simple with OpenStack The teuthology can be installed as a dedicated OpenStack instance on OVH using the OpenStack backend with: nova boot \ –image ‘Ubuntu 14.04′ \ –flavor ‘vps-ssd-1′ \ –key-name … Continue reading

Posted in ceph, openstack | Leave a comment

Running your own Ceph integration tests with OpenStack

Note: this is obsoleted by Ceph integration tests made simple with OpenStack The Ceph lab has hundreds of machines continuously running integration and upgrade tests. For instance, when a pull request modifies the Ceph core, it goes through a run … Continue reading

Posted in ceph, openstack | 1 Comment

configuring ansible for teuthology

As of July 8th, 2015, teuthology (the Ceph integration test software) switched from using Chef to using Ansible. To keep it working, two files must be created. The /etc/ansible/hosts/group_vars/all.yml file with: modify_fstab: false The modify_fstab is necessary for OpenStack provisioned … Continue reading

Posted in ceph | Leave a comment

Teuthology docker targets hack (5/5)

The teuthology container hack is improved to run teuthology-suite. For instance: ./virtualenv/bin/teuthology-suite \ –distro ubuntu \ –suite-dir $HOME/software/ceph/ceph-qa-suite \ –config-file docker-integration/teuthology.yaml \ –machine-type container \ –owner loic@dachary.org \ –filter ‘rados:basic/{clusters/fixed-2.yaml fs/btrfs.yaml \ msgr-failures/few.yaml tasks/rados_cls_all.yaml}’ \ –suite rados/basic –ceph ANY \ … Continue reading

Posted in ceph, docker | Leave a comment

Ceph Jerasure and ISA plugins benchmarks

In Ceph, a pool can be configured to use erasure coding instead of replication to save space. When used with Intel processors, the default Jerasure plugin that computes erasure code can be replaced by the ISA plugin for better write … Continue reading

Posted in ceph, jerasure | Leave a comment