Comment 8 for bug 1756179

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

Reviewed: https://review.openstack.org/554920
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=589c495c1ae62129e20ab5e2641e330541eee01f
Submitter: Zuul
Branch: master

commit 589c495c1ae62129e20ab5e2641e330541eee01f
Author: Surya Seetharaman <email address hidden>
Date: Wed Mar 21 14:16:24 2018 +0100

    Cleanup RP and HM records while deleting a compute service.

    Currently when deleting a nova-compute service via the API, we will
    (soft) delete the service and compute_node records in the DB, but the
    placement resource provider and host mapping records will be orphaned.
    This patch deletes the resource provider and host_mapping records
    before deleting the service/compute node.

    Change-Id: I7b8622b178d5043ed1556d7bdceaf60f47e5ac80
    Closes-Bug: #1756179