nova/nova/tests/unit/servicegroup
Matt Riedemann 945d662d4f Handle ServiceNotFound in DbDriver._report_state
If a service record is gone from the DB the _report_state method
will log a generic traceback every time the report interval runs,
which is every 10 seconds by default. This gets pretty noisy and
the error logged isn't very useful. One could get into this state
by deleting the service record in the API before stopping the actual
process that is running.

This simply handles the ServiceNotFound error and logs a more useful
error message without the noisy traceback.

Change-Id: If0336001fbe39922a199756db0803121cbe560af
Related-Bug: #1813147
2019-12-04 09:50:17 -05:00
..
__init__.py
test_api.py Fix the display of updated_at time when using memcache driver. 2017-05-26 16:48:07 +08:00
test_db_servicegroup.py Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
test_mc_servicegroup.py Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00