rpc call leads to unnecerry exchange declaration

Bug #1437951 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Confirmed
Wishlist
Unassigned

Bug Description

https://www.rabbitmq.com/amqp-0-9-1-reference.html#constant.not-found
"Default Exchange

The default exchange is a direct exchange with no name (empty string) pre-declared by the broker. It has one special property that makes it very useful for simple applications: every queue that is created is automatically bound to it with a routing key which is the same as the queue name. "

http://www.amqp.org/specification/0-9-1/amqp-org-download
"One of the standard message properties is Reply-To, which is designed specifically for carrying the name
of reply queues."

Normally for an rpc response do not need to declare a new exchange, the default exchange is for helping this very simple situation.

Based on my captured nova traffic currently the exchange_name == bind_key == queue_name,
so changing the code to just use the default exchange should be simple,

For example: 'reply_50bb0f9278e94d3eb7125c90d9ecb878'

Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Mehdi Abaakouk (sileht)
milestone: none → next-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/179388

Changed in oslo.messaging:
status: Confirmed → In Progress
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
milestone: next-liberty → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.messaging (master)

Change abandoned by Victor Sergeyev (<email address hidden>) on branch: master
Review: https://review.openstack.org/179388
Reason: This doesn't maintain for a long time, so should be abandoned. Mehdi, please restore this path if you plan to continue your work on it.

Changed in oslo.messaging:
status: In Progress → Fix Committed
Mehdi Abaakouk (sileht)
Changed in oslo.messaging:
status: Fix Committed → Confirmed
assignee: Mehdi Abaakouk (sileht) → nobody
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.