Commit 1e2f2aae authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

gtools: Make eventd tolerate unhandled exceptions

Make 'snf-ganeti-eventd' daemon tolerate exceptions while processing
events, in order to avoid losing many Ganeti events because of a failure
to process a message of specific type.
parent c677ddae
......@@ -157,6 +157,9 @@ Cyclades
* Store basic information about images that have been used to create servers,
in order to preserve this information even if images are deleted from
* Make 'snf-ganeti-eventd' tolerate failures when processing Ganeti jobs. The
daemon will not crash but continue to run in order to process jobs that can
be processed.
* Update 'backend-list' command to not count the free IPs from networks that
are drained.
* Fix the'network-inspect' command to not contain externally reserved IPs
......@@ -530,7 +530,10 @@ def main():
while True: # loop forever
# process the queue of events as explained above
except StandardError:
logger.exception("Unhandled exception")
if notifier.check_events():
# read notified events and enqeue them
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment