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)
Reviewed: https:/ /review. openstack. org/650309 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1b6f48354b7 eacecd7a146fc05 a12537b4f22e18
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 1b6f48354b7eace cd7a146fc05a125 37b4f22e18
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: Idfe52d3c2f987b 9aac551f013a099 0423d87fad3 3de54ed8c85d9fb 69c43e7432) 3bdaa0e06664143 685050312d)
Closes-Bug: #1786298
(cherry picked from commit 8a6b57cf741e17d
(cherry picked from commit 6186996c8093e72