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
Metadata
Release files for lava-celery 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lava-celery-0.4.1.tar.gz | 7.4 kB | Without provenance | Details for lava-celery-0.4.1.tar.gz |
Release files / lava-celery-0.4.1.tar.gz
| Download URL | lava-celery-0.4.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e4915b3f51835625a2eabf4cc0502a3c81dfe916a7faaa90d1d0d73f881d060
|
|
BLAKE2b-256 checksum How to use checksums |
8087da5ef4e11a29c0716339f5e8c58b21c6999c61081dbad12a6c7d24839379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lava-celery 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.