Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / amqp_puka.py @ c11dc0ce

History | View | Annotate | Download (14.8 kB)

# Date Author Comment
a8858945 11/22/2012 01:24 pm Christos Stavrakakis

Make amqp_puka get logger as argument

fdfd8c6d 11/08/2012 01:21 pm Christos Stavrakakis

Fix dispatcher logging

147c3d12 10/19/2012 04:55 pm Christos Stavrakakis

Add support for dead-letter-exchange to amqp_puka

Also add support for custom headers when publishing messages.

257b694d 10/19/2012 04:52 pm Christos Stavrakakis

Implement basic_nack and basic_reject AMQP methods

Basic_nack method is not support by puka. We are implementing
basic_nack as basic_ack since they have the same effect when
multiple and requeue options are not used.

b1bb9251 10/18/2012 06:24 pm Christos Stavrakakis

Reconnect to different Broker if idle for too long

Modify snf-dispatcher and add a timeout option to basic_wait method. If
timeout is reached, the connection to the current RabbitMQ broker is
closed and dispatcher tries to connect to a different one.

This commit is supplementary of 6d27ead, which detects connection...

6d27eadd 10/18/2012 05:16 pm Christos Stavrakakis

Detect and handle connection problems in amqp_puka

Use the TCP keepalive feature in amqp_puka in order to detect connection
errors to the RabbitMQ broker, and retry to a different one. Also setup
the keepalive parameters to relative small values, to detect failures...

d01cd522 10/10/2012 03:19 pm Christos Stavrakakis

Various fixes about logging

Fix logging from snf-manage commands. Modify snf-manage implementation
in order to setup the loggers for all snf-manage commands. Configuration
is based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or on
basicConfig if that setting is missing....

2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

Change eventd and dispatcher AMQP retries

Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,
since death of snf-ganeti-eventd results in loss of events.
Also increase retries of snf-dispatcher.

b537ac01 10/08/2012 11:19 am Christos Stavrakakis

Fix bug in amqp_puka

Make AMQPConnectionError an exception

e0b68525 07/10/2012 12:05 pm Christos Stavrakakis

Fix bug in puka client

25649e21 07/02/2012 05:55 pm Christos Stavrakakis

Redeclare exchanges when reconnecting

db400d82 06/29/2012 01:38 pm Christos Stavrakakis

Refactor AMQP client