Planet Ceph

Aggregated news from external sources

  • December 9, 2014
    How many PGs in each OSD of a Ceph cluster ?

    To display how many PGs in each OSD of a Ceph cluster: $ ceph –format xml pg dump | \ xmlstarlet sel -t -m “//pg_stats/pg_stat/acting” -v osd -n | \ sort -n | uniq -c 332 0 312 1 299 … Continue reading

  • November 29, 2014
    Ceph read-only mirror on gitlab

    The gitlab-mirrors scripts are installed to setup a a read-only Ceph mirror, updated hourly. It is used for permalinks such as src/osd/ClassHandler.cc#L170. The gitlab-mirrors config.sh is as follows: #Environment file # # gitlab-mirrors settings # #The user git-mirrors will run … Continue reading

  • November 25, 2014
    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

  • November 17, 2014
    Teuthology docker targets hack (2/4)

    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

  • November 10, 2014
    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

  • November 6, 2014
    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

  • October 29, 2014
    Teuthology docker targets hack (1/3)

    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

  • October 28, 2014
    Ceph Developer Summit 2014 – Hammer

    The Ceph Developer Summit (CDS) for the next major Ceph release called Hammer started today some hours ago (2014/10/28). It’s again a virtual summit via video conference calls.I’ve submitted three blueprints:Ceph Security hardening [pad]How t…

  • October 19, 2014
    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

  • October 16, 2014
    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

  • October 14, 2014
    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

  • October 11, 2014
    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

Careers