Comment 2 for bug 1739253

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This appears to be fixed upstream as of Newton via bug https://bugs.launchpad.net/nova/+bug/1646255 for which the following patch was provided:

commit f0d44c5b09f3f3c84038d40b621bb629a1f8110e
Author: Matt Riedemann <email address hidden>
Date: Sun Dec 4 15:08:04 2016 -0500

    Handle ComputeHostNotFound when listing hypervisors

    Compute node resources must currently be deleted manually
    in the database, and as such they can reference service
    records which have been deleted via the services delete API.
    Because of this when listing hypervisors (compute nodes), we
    may get a ComputeHostNotFound error when trying to lookup a
    service record for a compute node where the service was
    deleted. This causes the API to fail with a 500 since it's not
    handled.

    This change handles the ComputeHostNotFound when looping over
    compute nodes in the hypervisors index and detail methods and
    simply ignores them.

    Change-Id: I2717274bb1bd370870acbf58c03dc59cee30cc5e
    Closes-Bug: #1646255