Alejandro Cabrera 142c7ae0d6 feat: shards storage controller interface
Adds the storage interface for the shards storage controller. This
controller is meant to be used with the shard management queues admin
API interface.

The idea mirrors that used in writing the proxy's partition manager.

This patch also introduces the distinction between data and control
storage drivers. Data storage drivers are those that control core
functionality: messages, queues, claims. Control storage drivers are
used to manage system functionality from the point of view of an admin
- in this case, the registry of shards.

The next patch will provide an implementation for mongodb + unit tests.

Change-Id: I4f24e84c99689968e60360383b190ce168055e74
Partially-implements: blueprint storage-sharding
Partially-Closes: 1241686
2013-10-28 10:48:59 -04:00
2013-08-14 16:10:08 -05:00
2012-11-01 09:52:20 +01:00

Marconi

Message queuing service for OpenStack

Running a local Marconi server with MongoDB

  1. Install MongoDB

  2. Start a MongoDB instance:

    mongod
  3. Clone the Marconi repo:

    git clone https://github.com/openstack/marconi.git
  4. cd to your local copy of the repo

  5. Copy the Marconi config files to the directory ~/.marconi:

    cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
  6. Find the [drivers:storage:mongodb] section in ~/.marconi/marconi-queues.conf and modify the URI to point to your local mongod instance:

    uri = mongodb://localhost
  7. Run the following so you can see the results of any changes you make to the code, without having to reinstall the package each time:

    pip install -e .
  8. Start the marconi server:

    marconi-server
Description
OpenStack Messaging (Zaqar)
Readme 46 MiB
Languages
Python 96.2%
PHP 1.5%
Shell 1.2%
HTML 0.8%
Lua 0.2%