Author Archives: Loic Dachary

HOWTO debug a teuthology task

To debug a modification to a ceph-qa-suite task ( for instance repair_test.py), a teuthology target is locked with: $ ./virtualenv/bin/teuthology-lock –lock-many 1 –owner loic@dachary.org $ ./virtualenv/bin/teuthology-lock –list-targets –owner loic@dachary.org > targets.yaml and used to run the test with: ./virtualenv/bin/teuthology \ … Continue reading

Posted in ceph | Leave a comment

Gitlab workbench

Gitlab is installed on http://workbench.dachary.org using docker images. redis is installed first, as an independant container: docker pull sameersbn/redis:latest docker run –name=redis -d sameersbn/redis:latest then MySQL docker pull sameersbn/mysql:latest docker run –name=mysql -d \ -e ‘DB_NAME=gitlabhq_production’ \ -e ‘DB_USER=gitlab’ \ … Continue reading

Posted in gitlab | Leave a comment

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