Browse Source
In patch [1] there was added threads for the object change handlers and
this patch also added cleanup method which was registered to be linked
with the SIGINT, SIGTERM and run "atexit" to clean all object change
handler threads. But that cleanup was linked with those signals always
when neutron.plugins.ml2.ovo_rpc module was imported and that can cause
e.g. some errors in the functional tests (we saw them only in the
stable/train branch so far but maybe it can happen also in other
branches).
To avoid that, this patch links cleanup with those signals only when
object change handler threads are really started.
Related-Bug: #1926417
[1] https://review.opendev.org/c/openstack/neutron/+/788510
Change-Id: I40b72316bd0f4281484d3cf07542177297028e34
(cherry picked from commit bbc5af1166
)
changes/74/824874/1
1 changed files with 7 additions and 5 deletions
Loading…
Reference in new issue