nova/nova/tests
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
..
functional Merge "Add negative test for prep_snapshot_based_resize_at_source failing" 2019-11-30 22:30:07 +00:00
unit Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
__init__.py
fixtures.py Merge "test cleanup: Use oslotest's CaptureOutput fixture" 2019-11-22 23:17:28 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00