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.
Reviewed: https:/ /review. openstack. org/632657 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=595866eb62d b56fbd4f9656190 31ac902f99441a
Committed: https:/
Submitter: Zuul
Branch: master
commit 595866eb62db56f bd4f965619031ac 902f99441a
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.
Change-Id: I939c09e5b0efb3 b17a9855af227e6 d60c64d23e2
Closes-Bug: #1812969