Change-Id: I286a32fab7ad54b12e5a43ed0ee6b72c8935548c
(cherry picked from commit d8345c0e0003b4324309ccb42548d241b6da2096)
316c839...
by
OpenDev Sysadmins <email address hidden>
OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
The SDN journal thread can raise exceptions if requests to NEO fail, but
currently the logic used in the exception handler is not correct, and
does not catch the exception. This results in an error such as the
following:
Error on run_sync_thread: SDNConnectionError: Failed to send request 404
Client Error: NOT FOUND for url: http://1.2.3.4/neo/cloudx/Port
The result of this is that the object remains in the 'processing' state,
and the retry count is never incremented.
This change fixes the exception handling.
Change-Id: Ia15a34628905d039ee8abbeb571e71c8b83992a4
Closes-Bug: #1797105
(cherry picked from commit b9ffdc3d1e6127b19a17d8c03acf7921eccfdf29)