commit 08f0f71a83ff75c5439e72f0913c5feabe2972ed
Author: Matt Riedemann <email address hidden>
Date: Thu Feb 15 16:01:14 2018 -0500
Add functional recreate test of deleting a BFV server pre-scheduling
This is another wrinkle for bug 1404867 where we create a
volume-backed server, create an attachment on the volume which
puts the volume in 'attaching' status, and then delete the server
before it's actually created in a cell.
In this case, the _delete_while_booting code in the compute API
finds and deletes the BuildRequest before the instance was ever
created in a cell.
The bug is that _delete_while_booting in the API doesn't also
process block device mappings and unreserve/delete attachments
on the volume, which orphans the volume and can only be fixed
with admin intervention in the block storage service.
Reviewed: https:/ /review. openstack. org/545123 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=08f0f71a83f f75c5439e72f091 3c5feabe2972ed
Committed: https:/
Submitter: Zuul
Branch: master
commit 08f0f71a83ff75c 5439e72f0913c5f eabe2972ed
Author: Matt Riedemann <email address hidden>
Date: Thu Feb 15 16:01:14 2018 -0500
Add functional recreate test of deleting a BFV server pre-scheduling
This is another wrinkle for bug 1404867 where we create a
volume-backed server, create an attachment on the volume which
puts the volume in 'attaching' status, and then delete the server
before it's actually created in a cell.
In this case, the _delete_ while_booting code in the compute API
finds and deletes the BuildRequest before the instance was ever
created in a cell.
The bug is that _delete_ while_booting in the API doesn't also
process block device mappings and unreserve/delete attachments
on the volume, which orphans the volume and can only be fixed
with admin intervention in the block storage service.
Change-Id: Ib65acc671711ea e7aee65df9cd5c6 b2ccb559f5c
Related-Bug: #1404867