commit 1a20e307302670049b8aec7c5c4201c098fbe18e
Author: Mohammed Naser <email address hidden>
Date: Wed Feb 14 16:26:38 2018 -0500
Add functional tests to ensure BDM removal on delete
In certain cases, such as when an instance fails to be scheduled,
the volume may already have an attachment created (or the volume
has been reserved in the old flows).
This patch adds a test to check that these volume attachments
are deleted and removed once the instance has been deleted. It
also adds some functionality to allow checking when an volume
has been reserved in the Cinder fixtures.
Change-Id: I85cc3998fbcde30eefa5429913ca287246d51255
Related-Bug: #1404867
(cherry picked from commit 20edeb362327ea9448d38b6e2bcb03e0a71060d0)
Reviewed: https:/ /review. openstack. org/546202 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1a20e307302 670049b8aec7c5c 4201c098fbe18e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 1a20e3073026700 49b8aec7c5c4201 c098fbe18e
Author: Mohammed Naser <email address hidden>
Date: Wed Feb 14 16:26:38 2018 -0500
Add functional tests to ensure BDM removal on delete
In certain cases, such as when an instance fails to be scheduled,
the volume may already have an attachment created (or the volume
has been reserved in the old flows).
This patch adds a test to check that these volume attachments
are deleted and removed once the instance has been deleted. It
also adds some functionality to allow checking when an volume
has been reserved in the Cinder fixtures.
Change-Id: I85cc3998fbcde3 0eefa5429913ca2 87246d51255 448d38b6e2bcb03 e0a71060d0)
Related-Bug: #1404867
(cherry picked from commit 20edeb362327ea9