Comment 13 for bug 1786298

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

Reviewed: https://review.openstack.org/650309
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1b6f48354b7eacecd7a146fc05a12537b4f22e18
Submitter: Zuul
Branch: stable/queens

commit 1b6f48354b7eacecd7a146fc05a12537b4f22e18
Author: Matt Riedemann <email address hidden>
Date: Tue Aug 14 11:05:06 2018 +0800

    Delete instance_id_mappings record in instance_destroy

    The instance_create DB API creates an instance_id_mappings record
    but instance_destroy was not cleaning it up when the instance is
    deleted; this adds that delete code. Otherwise those records
    never get moved to shadow tables so you can't archive and purge them.

    Change-Id: Idfe52d3c2f987b9aac551f013a0990423d87fad3
    Closes-Bug: #1786298
    (cherry picked from commit 8a6b57cf741e17d3de54ed8c85d9fb69c43e7432)
    (cherry picked from commit 6186996c8093e723bdaa0e06664143685050312d)