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
Marconi
Message queuing service for OpenStack
Running a local Marconi server with MongoDB
Install MongoDB
Start a MongoDB instance:
mongod
Clone the Marconi repo:
git clone https://github.com/openstack/marconi.git
cd to your local copy of the repo
Copy the Marconi config files to the directory ~/.marconi:
cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
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
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 .
Start the marconi server:
marconi-server
Description
Languages
Python
96.2%
PHP
1.5%
Shell
1.2%
HTML
0.8%
Lua
0.2%