OpenStack Messaging (Zaqar)
4a806d57f5
This patch just adds a couple log entries, one when the first attempt to post messages fails due to a race condition, and the other when the post finally succeeds. Adding transaction IDs will improve traceability, but that's another bp. :D Change-Id: I188dae91f425e1effb6a12551e9d9f35c9549f71 Implements: blueprint bp/production-logging |
||
---|---|---|
etc | ||
marconi | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
AUTHORS.rst | ||
HACKING.rst | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
tox.ini |
Marconi - Queue and Notification service for OpenStack
Steps to run Marconi server locally with MongoDB
Install mongodb locally
Start your local MongoDB instance:
mongod
Clone the Marconi repo:
git clone https://github.com/stackforge/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
Update the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf
6a. Comment out the uri pointing to replicaset:
;uri = mongodb://db1.example.net,db2.example.net:2500/?replicaSet=test&ssl=true&w=majority
6b. Add a new line with uri pointing to the local mongoDB instance:
uri = mongodb://localhost
Run the following command:
python setup.py develop
Start the marconi server:
marconi-server