A service should use a service specific control exchange for rpc

Bug #1953050 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Low
Unassigned
OpenStack Shared File Systems Service (Manila)
Invalid
Medium
Unassigned
oslo.messaging
Confirmed
Undecided
Unassigned

Bug Description

The RPC code from Oslo registers the control_exchange option
as a generic for openstack, but provides an API for changing it.

The generic 'openstack' value may conflict with other services
that configure the same default exchange with for its own use,
like enabling amqp_durable_queues. It would be also wise to reduce the failure domain by splitting off the service-specific exchanges.

Allow Cinder/Manila (at least) to configure the control exchange for its specific use without conflicts.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/820189

Changed in cinder:
status: New → In Progress
Changed in cinder:
assignee: nobody → Bogdan Dobrelya (bogdando)
summary: - Cinder should use a service specific control exchange for rpc
+ A service should use a service specific control exchange for rpc
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/820197

Changed in manila:
status: New → In Progress
Changed in manila:
assignee: nobody → Bogdan Dobrelya (bogdando)
description: updated
Changed in manila:
milestone: none → yoga-2
importance: Undecided → Medium
Changed in cinder:
importance: Undecided → Low
tags: added: control exchange rpc service
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on manila (master)

Change abandoned by "Bogdan Dobrelya <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/manila/+/820197

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

There is upgrade impact associated with the change, if "newer" services have to pick up and process messages from "older" services - with this change, they will be on a different exchange, so they won't see any messages.

To avoid this, olso.m should provide a fallback mechanism to cover cases when that "old" default exchange disappears. For example, some dispatcher there could introduce by default twice shared control exchanges, one durable by default and the other not, and a switch to decide to publish on one or the other (a dispatcher).

Changed in manila:
assignee: Bogdan Dobrelya (bogdando) → nobody
status: In Progress → Confirmed
Changed in cinder:
status: In Progress → Confirmed
assignee: Bogdan Dobrelya (bogdando) → nobody
Changed in oslo.messaging:
status: New → Confirmed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by "Bogdan Dobrelya <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/820189
Reason: This should be addressed in https://bugs.launchpad.net/oslo.messaging/+bug/1953351

Changed in manila:
status: Confirmed → Invalid
milestone: yoga-2 → none
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.