Author Archives: Loic Dachary

Teuthology docker targets hack (2/2)

The teuthology container hack is improved to snapshot the container after Ceph and its dependencies have been installed. It helps quickly testing ceph-qa-suite tasks. A job doing nothing but install the Firefly version of Ceph takes 14 seconds after the … Continue reading

Posted in ceph, docker | Leave a comment

Running make check on Ceph pull requests

Each Ceph contribution is expected to successfully run make check and pass all the unit tests it contains. The developer runs make check locally before submitting his changes but the result may be influenced by the development environment. A draft … Continue reading

Posted in ceph | Leave a comment

make -j150 ceph

A power8 machine was recently donated to the GCC compile farm and /proc/cpuinfo shows 160 processors. Compiling Ceph from sources with make -j150 makes for a nice htop display. The result of the compilation passes most of the unit tests, … Continue reading

Posted in FSF, ceph | Leave a comment

Teuthology docker targets hack (1/2)

teuthology runs jobs testing the Ceph integration on targets that can either be virtual machines or bare metal. The container hack adds support for docker containers as a replacement. … Running task exec… Executing custom commands… Running commands on role … Continue reading

Posted in ceph, docker | Leave a comment

Ceph make -j8 check in less than 3mn

The Ceph sources contain tests that can be run with make check. As of v0.85 then can only be run sequentially because some tests bind the same ports and use the same files. It takes around 18 minutes on a … Continue reading

Posted in ceph | Leave a comment

Using git bisect with Ceph

When investingating a a problem using the latest Ceph sources, it was discovered that the problem only shows in the master branch and appeared after the v0.85 tag. The following script reproduces the problem and logs the result: $ cat … Continue reading

Posted in ceph, git | Leave a comment

Manual bootstrap of a Ceph MON on Ubuntu 14.04

A Ceph MON can be created and run manually for test purposes on Ubuntu-14.04 with: $ sudo apt-get install ceph $ cat > /etc/ceph/ceph.conf <<EOF [global] fsid = $(uuidgen) mon_host = 127.0.0.1 auth_cluster_required = none auth_service_required = none auth_client_required = … Continue reading

Posted in ceph | Leave a comment

Manual bootstrap of a Ceph MON on RHEL7

A Ceph MON can be created and run manually for test purposes on RHEL7 with: $ sudo yum install ceph $ cat > /etc/ceph/ceph.conf <<EOF [global] fsid = $(uuidgen) mon_host = 127.0.0.1 auth_cluster_required = none auth_service_required = none auth_client_required = … Continue reading

Posted in ceph, rhel | Leave a comment

Testing ceph-disk with block devices in docker

The Ceph command to setup a block device ( ceph-disk) needs to call partprobe after zapping a disk. The patch adding the partprobe call needs a block device to test that it works as expected. The body of the test … Continue reading

Posted in ceph, docker | Leave a comment

Ceph make check in docker

After Ceph is built from sources, unit and functional tests can be run with make check. Delegating the execution to a container makes it possible to: keep working on the sources without disrupting the run run functional tests that require … Continue reading

Posted in ceph, docker | Leave a comment