Comment 60 for bug 1813147

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.opendev.org/697301
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=945d662d4f0a0b1b14f32ab92aaf3f0f35e0be4b
Submitter: Zuul
Branch: master

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.

    Change-Id: If0336001fbe39922a199756db0803121cbe560af
    Related-Bug: #1813147