murano-agent/muranoagent
Stan Lagun 7ef2eee2c3 RabbitMQ heartbeats for consumer threads
Sometimes network connection between agent and RabbitMQ
becomes corrupted without agent being aware. Usually
it happen due to some networking reconfiguration. For example
changes to iptables. Because consumer connection only reads from
the socket it cannot detect broken connection and will wait
for the message forever.

This commit enables periodic heartbeats that agent sends to the
server. If RabbitMQ doesn't receive heartbeats for some time it
disconnects the client. On the other hand because heartbeat
is a write operation it lets the client to detect broken connection
as well.

Change-Id: Id326f8d3b6dce04d83472837e11342efa8eb32fe
Closes-Bug: #1583007
Partially-Implements: blueprint rabbitmq-heartbeats
2016-05-20 21:01:37 +00:00
..
cmd RabbitMQ heartbeats for consumer threads 2016-05-20 21:01:37 +00:00
common RabbitMQ heartbeats for consumer threads 2016-05-20 21:01:37 +00:00
executors Restores SIGPIPE on script processes 2016-03-22 13:50:51 +00:00
tests Fix Mutable defalut argument 2016-01-24 23:28:13 +08:00
__init__.py Extract main python client to the top 2014-05-29 20:02:50 +04:00
app.py RabbitMQ heartbeats for consumer threads 2016-05-20 21:01:37 +00:00
bunch.py Drop bunch dependency 2015-11-27 20:23:31 +03:00
exceptions.py Increment max FormatVersion 2015-04-20 17:37:24 +03:00
execution_plan_queue.py Drop bunch dependency 2015-11-27 20:23:31 +03:00
execution_plan_runner.py Drop bunch dependency 2015-11-27 20:23:31 +03:00
execution_result.py Replace unicode with six.text_type 2015-12-29 04:15:46 -08:00
files_manager.py Remove hardcoded destinations for puppet/chef processing engine 2015-11-19 13:39:14 +00:00
opts.py Switch to the oslo.log library 2015-08-05 15:44:00 +03:00
script_runner.py Remove hardcoded destinations for puppet/chef processing engine 2015-11-19 13:39:14 +00:00
version.py Fix murano agent component name 2014-09-24 15:08:52 +04:00
win32.py Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00