Update git submodules
* Update neutron-lib from branch 'master' to 64c693721616f804a56db89678764e5ae9d3c50a - Merge "Add the "cancellable" flag to the ``CallbacksManager`` events" - Add the "cancellable" flag to the ``CallbacksManager`` events The ``CallbacksManager`` class considers, by default, that the events starting with "before_" and "precommit_" can raise an Exception (``CallbackFailure``) in case that the callbacks associated to these methods exit with an error. However there are some other events (those started with "after_") that won't generate an exception in case of error. The error will be logged but the process will continue. This new functionality adds the possibility of adding any kind of event and mark is as "cancellable". The ``CallbacksManager`` instance will check the errors returned by the callback methods and if any of them is marked as "cancellable", the manager will raise a ``CallbackFailure`` exception, terminating the process. In case of being a Neutron worker, for example, the ``oslo_service.service.Services`` class will restart the process again. Related-Bug: #2036607 Change-Id: Ie1e7be6d70cca957c1b1b6c15b402e8bc6523865
This commit is contained in:
parent
cc0420e4ec
commit
188045729d
|
@ -1 +1 @@
|
|||
Subproject commit 490b78f7ba641786eaa06fedeafcd1a767744d6c
|
||||
Subproject commit 64c693721616f804a56db89678764e5ae9d3c50a
|
Loading…
Reference in New Issue