commit 945d662d4f0a0b1b14f32ab92aaf3f0f35e0be4b
Author: Matt Riedemann <email address hidden>
Date: Wed Dec 4 09:50:17 2019 -0500
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.
Reviewed: https:/ /review. opendev. org/697301 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=945d662d4f0 a0b1b14f32ab92a af3f0f35e0be4b
Committed: https:/
Submitter: Zuul
Branch: master
commit 945d662d4f0a0b1 b14f32ab92aaf3f 0f35e0be4b
Author: Matt Riedemann <email address hidden>
Date: Wed Dec 4 09:50:17 2019 -0500
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: If0336001fbe399 22a199756db0803 121cbe560af
Related-Bug: #1813147