Comment 8 for bug 1812969

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/637391
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4a7575bf1445fc111ab7d55d9fb9a11176b2dd9d
Submitter: Zuul
Branch: stable/queens

commit 4a7575bf1445fc111ab7d55d9fb9a11176b2dd9d
Author: yenai <email address hidden>
Date: Wed Jan 23 13:54:47 2019 +0800

    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)