53abad42ab
Murano uses 1 RMQ queue per agent + 1 queue for agent listener. Listener queue is declared upon listener startup which happens when the first agent command sent. The agent queues were created by explicit call to Agent.prepare() which was done from Instance.deploy() method. This creates a problem if RabbitMQ server is restarted after deployment, all non-persistent queues disappear and then an action get called. If that action is not calling Instance.deploy() (because it assumes instance to be deployed by that time) and sends a command to an agent it will never be received. This commit removes explicit prepare() method. Now the queues are going to be created on demand, similar to listener queues do. Change-Id: I21ae1efd483f32bb7c8e3dc1849af656b3bed56f Closes-Bug: #1645419 |
||
---|---|---|
.. | ||
meta | ||
system | ||
__init__.py | ||
test_mock_context_manager.py | ||
test_package_loader.py |