Page tree
Skip to end of metadata
Go to start of metadata

StorPerf Building and Packaging

StorPerf is available as a Docker container from

Building StorPerf from Master

Note this will build from the latest code merged to git.

StorPerf is built using the job configured under the Releng project:

This job is automatically triggered whenever new code is merged into the storperf git repository.

To manually build the StorPerf docker image, simply:

  cd docker
  docker build -t opnfv/storperf .


Building StorPerf from Local Clone

For development, you may want to build the docker container from your local repo, including changes which have not been committed. A helper script has been created for this:

Running that script will create a container called opnfv/storperf:dev which will be staged using your local repository. You can then enter the container with

  docker run -t -i opnfv/storperf:dev /bin/bash

And you will find your repository in /home/opnfv/repos/storperf. You must also start the supervisord program manually in order for graphite and carbon to be available:

  supervisord &

Quick Developer Docker Run

This is my cheat sheet to running the container, but having it run the StorPerf software right from the host so I can make changes without having to rebuild the container.

git clone ~/storperf
docker run -t --env-file admin-rc -p 5000:5000 -p 8000:8000 -v ~/storperf:/home/opnfv/repos/storperf -v ~/carbon:/opt/graphite/storage/whisper --name storperf opnfv/storperf
docker exec -it storperf bash 
  • No labels