[RFE] Start using oslo messaging namespaces

Bug #2047849 reported by Miro Tomaska
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Medium
Rodolfo Alonso

Bug Description

Currently, neutron does not utilize oslo.messaging namespaces for RPC layers. All namespaces are set to None [1]. This can cause issues as more methods are added and can start clashing with each other. For example, in this patch[2] we wanted to add a get_ports method to the dhcp agent but that method already exists in the metadata agent RPC layer[3]

This RFE is to cover the work needed to introduce unique namespaces in the RPC layer. Special consideration has to be taken for upgrade scenarios and SLURP releases. One way how to implement this RFE was discussed in the neutron meeting[4]. That is,
1. Give unique names to all RPC namespaces and test it with grenade jobs to see how it works
2. If that works fine we can go with this approach, if there will be problem with upgrades, we will need to: 3(migration path)
3. The migration path would be to setup two listeners on the server side, one in None namespace and the other with the new namespace name. This would have to happen over 4 releases due to SLURP. Start in release C(Caracal) until release E. See more info here [5]

[1] https://opendev.org/openstack/neutron-lib/src/commit/9e3a3a608670d2d7bc0ae98fd39551920e563efe/neutron_lib/constants.py#L566-L581
[2] https://review.opendev.org/c/openstack/neutron/+/903572
[3] https://opendev.org/openstack/neutron/src/commit/de58c1b99523104a471420ef0468147f13c9e98d/neutron/agent/metadata/agent.py#L70
[4] https://meetings.opendev.org/meetings/networking/2024/networking.2024-01-02-14.00.log.html#l-89
[5] https://meetings.opendev.org/meetings/networking/2024/networking.2024-01-02-14.00.log.html#l-130

Miro Tomaska (mtomaska)
tags: added: rfe
tags: added: oslo
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
tags: added: rfe-triaged
tags: added: rfe-confirmed
removed: rfe-triaged
tags: added: rfe-approved
removed: rfe-confirmed
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Slawek Kaplonski <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/905309
Reason: This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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.