This regression test asserts the behaviour of Nova when Cinder raises a
404 during a DELETE request against an attachment.
In the context of bug 1937084 this could happen if a caller attempted to
DELETE a volume attachment through Nova's os-volume_attachments API and
then made a separate DELETE request against the underlying volume in
Cinder when it was marked as available.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /812126 /opendev. org/openstack/ nova/commit/ 10c7e718488a6da ad5bcea97e00aec e24179168e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 10c7e718488a6da ad5bcea97e00aec e24179168e
Author: Lee Yarwood <email address hidden>
Date: Fri Oct 1 12:05:15 2021 +0100
Add regression test for bug #1937084
This regression test asserts the behaviour of Nova when Cinder raises a
404 during a DELETE request against an attachment.
In the context of bug 1937084 this could happen if a caller attempted to attachments API and
DELETE a volume attachment through Nova's os-volume_
then made a separate DELETE request against the underlying volume in
Cinder when it was marked as available.
Related-Bug: #1937084 793c4cddad0caa3 65a641ea4fd
Change-Id: I56106d16ed1d24