OpenStack Messaging (Zaqar)
ed40dfd17c
Adds a unit test that reproduces this error and applies the fix. The fix is subtle. When messages are unclaimed, their claim expiration time and claim ID are set to 0 and None respectively. The cause for the bug is that claim expiration time is set to 0, rather than a valid datetime object. As a result, the comparison silently fails. The fix: fast-forward the expiration time of a claim to now. Change-Id: I7781795c394b2a471012e072a522ee228d56a894 Closes-Bug: #1210633 |
||
---|---|---|
etc | ||
marconi | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
AUTHORS.rst | ||
HACKING.rst | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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/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/marconi.conf
Find the
[drivers:storage:mongodb]
section in ~/.marconi/marconi.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:
python setup.py develop
Start the marconi server:
marconi-server