Comment 7 for bug 1826523

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

Reviewed: https://review.opendev.org/657110
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=786083c91fa69ba9ff90bafe80d3b83b9f9bbc69
Submitter: Zuul
Branch: stable/rocky

commit 786083c91fa69ba9ff90bafe80d3b83b9f9bbc69
Author: Lee Yarwood <email address hidden>
Date: Thu Apr 25 15:34:41 2019 +0100

    libvirt: Always disconnect volumes after libvirtError exceptions

    Building on Ib440f4f2e484312af5f393722363846f6c95b760 we should always
    attempt to disconnect volumes from the host when exceptions are thrown
    while attempting to attach a volume to a domain. This was previously
    done for generic exceptions but not for libvirtError exceptions.

    Closes-Bug: #1826523
    Change-Id: If21230869826c992e7d0398434b9a4b255940213
    (cherry picked from commit 091a910576d9b580678f1881fffa425ab4632f48)
    (cherry picked from commit 048d5b790f3da2756a0a1bf2bc015812cb24d53a)