commit a6106ac2bd4ab38a0e3a5e80e44da6f02d5322ce
Author: Jakub Libosvar <email address hidden>
Date: Wed Mar 18 14:27:17 2020 +0000
[ovn]: Create neutron_pg_drop Port Group on init
The patch adds a short living connection in pre-fork routine that
creates neutron_pg_drop Port Group. Later after workers are spawned,
each worker also creates a short living connection and waits for an
event that the Port Group was created.
The short living IDLs limit its tables only for relevant tables so it
doesn't fetch the whole OVS DB to the local copy.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/802528 /opendev. org/openstack/ neutron/ commit/ a6106ac2bd4ab38 a0e3a5e80e44da6 f02d5322ce
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit a6106ac2bd4ab38 a0e3a5e80e44da6 f02d5322ce
Author: Jakub Libosvar <email address hidden>
Date: Wed Mar 18 14:27:17 2020 +0000
[ovn]: Create neutron_pg_drop Port Group on init
The patch adds a short living connection in pre-fork routine that
creates neutron_pg_drop Port Group. Later after workers are spawned,
each worker also creates a short living connection and waits for an
event that the Port Group was created.
The short living IDLs limit its tables only for relevant tables so it
doesn't fetch the whole OVS DB to the local copy.
Closes-bug: #1866068
Conflicts:
neutron/ plugins/ ml2/drivers/ ovn/mech_ driver/ mech_driver. py
neutron/ plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/ovsdb_ monitor. py
neutron/ tests/functiona l/plugins/ ml2/drivers/ ovn/mech_ driver/ test_mech_ driver. py
Change-Id: I1f5af36b8c3d56 50f890edfed3c33 dc206869824 b5fd74e42ea95d4 46e4e7566d)
Signed-off-by: Jakub Libosvar <email address hidden>
(cherry picked from commit d7c23431ad3959e