This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Celery integration for LAVA Server

Project Description

LAVA celery sets up a celery environment in which LAVA can execute celery tasks on remote systems.

Terminology:

control node
This is node set up by lava-deployment-tool. Its running the web app, database, and important to this the RabbitMQ server.
worker node
A node (remote or local) that will handle celery job requests from the control node.

Setting Up The Worker Node

lava-deployment-tool currently does not have support for configuring a celery instance. For now it can be configured using virtualenv and pip:

$ virtualenv workernode ; cd workernode
$ . ./bin/activate
$ pip install lava-tool
$ bzr branch lp:lava-celery
$ cd lava-celery ; ./setup.py install ; cd ..

You’ll probably also want something like the dispatcher set up in your worker node:

$ pip install lava-dispatcher

You can then run your worker in the virtualenv with:

$ lava celryd [--url <broker url>]

Testing the Setup

You can test that your worker node responds to job requests by running the following from your control node:

$ . /srv/lava/<INSTANCE>/bin/activate
$ lava celery run-remote hello-world
Release History

Release History

This version
History Node

0.4.1

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1.1

History Node

0.1

History Node

0.1b1

History Node

0.1.dev6

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
lava-celery-0.4.1.tar.gz (7.4 kB) Copy SHA256 Checksum SHA256 Source Sep 25, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting