Go to file
Rodolfo Alonso Hernandez 99bd0c9331 Move the RPC initialization to the `Service.start` phase
The RPC L3 agent clients and servers should be instantiated and
initalizated during the ``Service`` start phase, not during the
class initalization. The L3 agent main class is handled by the
``oslo_service.Service`` class as the manager class. When the
process (L3 agent) is started, the service class forks the process
during the ``service.launch`` call [1]. That could lead to issues
with the created RPC client/servers before the fork [2].

This patch moves all the RPC instantiation and initialization to
the ``Service.start`` method, that first calls the manager
``init_host`` method.

This patch must work both with the current ``oslo.service`` backend
(eventlet) and the future implementation (threading) [3].

[1]a2af9b8baa/neutron/agent/l3_agent.py (L61)
[2]510688d8dd/oslo_messaging/_drivers/impl_rabbit.py (L1081-L1086)
[3]https://review.opendev.org/c/openstack/oslo.service/+/945720

Partial-Bug: #2087943
Change-Id: Ic8561f5b971a04b95c381daa05a071582ab4b3b5
2025-05-21 09:20:22 +00:00
2016-06-28 22:46:19 +02:00
2024-06-06 11:13:54 +05:30
2025-03-03 21:37:54 +09:00
2025-01-20 09:45:43 -05:00
2025-01-20 09:45:43 -05:00
2019-04-19 19:38:27 +00:00
2014-05-16 13:40:04 -04:00
2024-11-15 11:44:27 -05:00
2025-01-16 06:08:39 +00:00
2024-11-27 11:32:09 +09:00
2025-01-09 18:10:18 -05:00
2025-03-25 10:04:05 +00:00
2024-01-12 17:44:09 +09:00
2024-10-01 11:18:46 -04:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%