← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2036607] [NEW] [OVN] The API worker fails during "post_fork_initialize" call

 

Public bug reported:

Bugzilla reference: https://bugzilla.redhat.com/show_bug.cgi?id=2233797

This issue has been reproduced using the Tobiko framework. The test,
that is executed several times, is rebooting the controllers and thus
the Neutron API. Randomly, one Neutron API worker fails during the event
method execution "post_fork_initialize", during the "_setup_hash_ring"
call [1].

Regardless of the result of the method "post_fork_initialize", the API
worker starts. But in this case there are some methods (mainly related
to the OVN agents) that are not patched and thus the result of the API
calls ("agent show", "agent list", etc) is wrong.

This bug proposes:
* To properly handle any possible error in the "_setup_hash_ring" call.
* To log a message at the end of the "post_fork_initialize" method to check that this event method has finished properly.
* To catch any possible error during the "post_fork_initialize" execution and if this error is not retried, fail and exit.

[1]https://paste.opendev.org/show/bqzDPR5TukLq9d1GIcnz/

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2036607

Title:
  [OVN] The API worker fails during "post_fork_initialize" call

Status in neutron:
  New

Bug description:
  Bugzilla reference:
  https://bugzilla.redhat.com/show_bug.cgi?id=2233797

  This issue has been reproduced using the Tobiko framework. The test,
  that is executed several times, is rebooting the controllers and thus
  the Neutron API. Randomly, one Neutron API worker fails during the
  event method execution "post_fork_initialize", during the
  "_setup_hash_ring" call [1].

  Regardless of the result of the method "post_fork_initialize", the API
  worker starts. But in this case there are some methods (mainly related
  to the OVN agents) that are not patched and thus the result of the API
  calls ("agent show", "agent list", etc) is wrong.

  This bug proposes:
  * To properly handle any possible error in the "_setup_hash_ring" call.
  * To log a message at the end of the "post_fork_initialize" method to check that this event method has finished properly.
  * To catch any possible error during the "post_fork_initialize" execution and if this error is not retried, fail and exit.

  [1]https://paste.opendev.org/show/bqzDPR5TukLq9d1GIcnz/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2036607/+subscriptions



Follow ups