3.4.7. RE-WORKER-JUICER

Release Engine Worker Plugin to run Juicer commands

What’s Juicer?

The Juicer worker allows you to upload and promote batches of RPMs into Yum repositories. In juicer terminology, these batches of RPMs are referred to as release carts.

3.4.7.1. About & Setup

A juicer worker allows you to upload/promote RPMs as just another step in your release process. Note however that the juicer plugin requires that additional information is passed to it when the release is started. See Dynamic Variables for more information on this topic.

To run the worker the normal MQ configuration must be defined and used.

{
  "server": "127.0.0.1",
  "port": 5672,
  "vhost": "/",
  "user": "guest",
  "password": "guest"
}
  • Set the MQ config file parameters to sane values (see also: Setting Up The Bus)
  • Run the worker
    • From source: python ./replugin/juicerworker/__init__.py $YOUR_MQ_CONF.json
    • From install: re-worker-juicer $YOUR_MQ_CONF.json

We should see output similar to the following if everything well:

[user@frober re-worker-juicerworker]$ re-worker-juicer mq_conf.json
2014-05-19 14:39:47,080 - JuicerWorker - WARNING - No app logger passed in. Defaulting to Streamandler with level INFO.
2014-05-19 14:39:47,083 - JuicerWorker - INFO - Attempting connection with amqp://inceptadmin:***@messagebus.example.com:5672/
2014-05-19 14:39:47,412 - JuicerWorker - INFO - Connection and channel open.
2014-05-19 14:39:47,413 - JuicerWorker - INFO - Consuming on queue worker.juicer

3.4.7.1.1. Juicer Client Configuration

See the upstream juicer configuration documentation for instructions on how to setup a system accounts juicer configuration file.

3.4.7.1.2. Dependencies

Use of the juicer worker requires a configured and running Pulp Server installation. Setup and maintenance of pulp servers is out of scope for this documentation. However, they provide detailed setup instructions to help get you started.

3.4.7.2. Commands

The Juicer Worker steps are documented in Worker Steps: Juicer.