Ignore VolumeAttachmentNotFound exception in compute.manager
DriverVolumeBlockDevice will delete volume attachment when attach
fails, codes link: https://github.com/openstack/nova/blob/907c7d2cf/nova/virt/block_device.py#L561-L568
However, nova.compute.manager will delete it again and it will raise
VolumeAttachmentNotFound exception. This outputs an incorrect error
log and this exception should be ignored.
NOTE(mriedem): There are a couple of Queens-only changes to the
unit test due to I4436f5c1cc819c55ca9186bda0362bb74555c95a and
Id587967ea4f9980c292492e2f659bf55fb037b28 not being in stable/queens.
Change-Id: I939c09e5b0efb3b17a9855af227e6d60c64d23e2
Closes-Bug: #1812969
(cherry picked from commit 595866eb62db56fbd4f965619031ac902f99441a)
(cherry picked from commit 1a684f6fbef941de88556ec023860ab532938d88)
Reviewed: https:/ /review. openstack. org/637391 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4a7575bf144 5fc111ab7d55d9f b9a11176b2dd9d
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 4a7575bf1445fc1 11ab7d55d9fb9a1 1176b2dd9d
Author: yenai <email address hidden>
Date: Wed Jan 23 13:54:47 2019 +0800
Ignore VolumeAttachmen tNotFound exception in compute.manager
DriverVolum eBlockDevice will delete volume attachment when attach /github. com/openstack/ nova/blob/ 907c7d2cf/ nova/virt/ block_device. py#L561- L568 manager will delete it again and it will raise hmentNotFound exception. This outputs an incorrect error
fails, codes link:
https:/
However, nova.compute.
VolumeAttac
log and this exception should be ignored.
NOTE(mriedem): There are a couple of Queens-only changes to the 55ca9186bda0362 bb74555c95a and f9980c292492e2f 659bf55fb037b28 not being in stable/queens.
unit test due to I4436f5c1cc819c
Id587967ea4
Change-Id: I939c09e5b0efb3 b17a9855af227e6 d60c64d23e2 bd4f965619031ac 902f99441a) e88556ec023860a b532938d88)
Closes-Bug: #1812969
(cherry picked from commit 595866eb62db56f
(cherry picked from commit 1a684f6fbef941d