Author Archives: Loic Dachary

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

Lowering Ceph scrub I/O priority

Note: the following does not currently work in Firefly because of http://tracker.ceph.com/issues/9677 . It has been backported to Firefly and will likely be in 0.80.8. The disk I/O of a Ceph OSD thread scrubbing is the same as all other … Continue reading

Posted in ceph | 3 Comments

Running Ceph with the tcmalloc heap profiler

When running a Ceph cluster from sources, the tcmalloc heap profiler can be started for all daemons with: CEPH_HEAP_PROFILER_INIT=true \ CEPH_NUM_MON=1 CEPH_NUM_OSD=3 \ ./vstart.sh -n -X -l mon osd The osd.0 stats can be displayed with $ ceph tell osd.0 … Continue reading

Posted in ceph | Leave a comment

Ceph development environment in Docker

The Docker package is installed with sudo apt-get install docker.io and the loic user is made part of the docker group to allow it to run containers. $ grep docker /etc/group docker:x:142:loic The most popular ubuntu image collection reported by … Continue reading

Posted in ceph | 1 Comment

OpenStack Upstream Training challenges

The OpenStack Upstream Training scheduled november 1st, 2014 in Paris will have a unprecedented number of participants and for the first time there is a shortage of Lego. In addition to the 80 pounds of spare parts (picture fourground), six … Continue reading

Posted in Upstream University, openstack | Leave a comment