Monthly Archives: September 2014

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 | 2 Comments

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

List the versions of OSDs in a Ceph cluster

List the versions that each OSD in a Ceph cluster is running. It is handy to find out how mixed the cluster is. # ceph tell osd.* version osd.0: { “version”: “ceph version 0.67.4 (ad85ba8b6e8252fa0c7)”} osd.1: { “version”: “ceph version … Continue reading

Posted in ceph | Leave a comment

HOWTO extract a stack trace from teuthology (take 1)

When a teuthology test suite fails on Ceph, it shows in pulpito. For instance there is one failure in the monthrash test suite with details and a link to the logs. By removing the teuthology.log part of the link a … Continue reading

Posted in ceph | Leave a comment

Running python rados tests in Ceph

When Ceph is built from sources, make check will not run the test_rados.py tests. A minimal cluster is required and can be run from the src directory with: CEPH_NUM_MON=1 CEPH_NUM_OSD=3 ./vstart.sh -d -n -X -l mon osd The test can … Continue reading

Posted in ceph | Leave a comment

t540p touchpad disable mouse, keep buttons

To use the touchpad to click (but not to move the mouse) and keep using the trackpad for mouse movement: synclient AreaBottomEdge=1

Posted in Uncategorized | 2 Comments

Ceph placement group memory footprint, in debug mode

A Ceph cluster is run from sources with CEPH_NUM_MON=1 CEPH_NUM_OSD=5 ./vstart.sh -d -n -X -l mon osd and each ceph-osd uses approximately 50MB of resident memory USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND loic 7489 1.7 … Continue reading

Posted in ceph | Leave a comment

Running node-rados from sources

The nodejs rados module comes with an example that requires a Ceph cluster. If Ceph was compiled from source, a cluster can be run from the source tree with rm -fr dev out ; mkdir -p dev CEPH_NUM_MON=1 CEPH_NUM_OSD=3 \ … Continue reading

Posted in ceph | Leave a comment

HOWTO test a Ceph crush rule

The crushtool utility can be used to test Ceph crush rules before applying them to a cluster. $ crushtool –outfn crushmap –build –num_osds 10 \ host straw 2 rack straw 2 default straw 0 # id weight type name reweight … Continue reading

Posted in ceph | Leave a comment

HOWTO test teuthology tasks

The Ceph integration tests run by teuthology are described with YAML files in the ceph-qa-suite repository. The actual work is carried out on machines provisioned by teuthology via tasks. For instance, the workunit task runs a script found in the … Continue reading

Posted in ceph | Leave a comment