Planet Ceph

Aggregated news from external sources

  • December 13, 2014
    Why are by-partuuid symlinks missing or outdated ?

    The ceph-disk script manages Ceph devices and rely on the content of the /dev/disk/by-partuuid directory which is updated by udev rules. For instance: a new partition is created with /sbin/sgdisk –largest-new=1 –change-name=1:ceph data –partition-guid=1:83c14a9b-0493-4ccf-83ff-e3e07adae202 –typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be — /dev/loop4 the kernel is … Continue reading

  • 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/ The gitlab-mirrors 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, a teuthology target is locked with: $ ./virtualenv/bin/teuthology-lock –lock-many 1 –owner $ ./virtualenv/bin/teuthology-lock –list-targets –owner > 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 = auth_cluster_required = none auth_service_required = none auth_client_required = … Continue reading