Mistral tries to connect to RabbitMQ even when starting with option "--server all"

Bug #1324397 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Invalid
High
Winson Chan

Bug Description

When I start Mistral as

mistral-server --server all --config-file etc/mistral-poc-demo.conf

and open RabbitMQ dashboard (usually http://localhost:15672/#/connections) I see active connections created on behalf of py-amqp. This is a bug because when we start all three components (engine, api, executor) the process must not use RabbitMQ at all but rather use an in-memory transport.

Revision history for this message
Winson Chan (winson-c-chan) wrote :

The conf file needs to set rpc_backend to fake. The default rpc_backend is set to rabbit @ https://github.com/openstack/oslo.messaging/blob/master/oslo/messaging/transport.py#L43. The launch script doesn't change the rpc_backend automatically to fake when all servers are launched together because I think that should be a choice that the operator makes. Conceptually, one can run all three processes together and still uses other transports (i.e. rabbitMQ) for their non-functional requirements.

Changed in mistral:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.