Comment 18 for bug 1374508

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

Reviewed: https://review.openstack.org/259685
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9701921f1e921885d7c65bfde9b3cc384389fe74
Submitter: Jenkins
Branch: stable/liberty

commit 9701921f1e921885d7c65bfde9b3cc384389fe74
Author: Ryan McNair <email address hidden>
Date: Thu Sep 24 22:20:23 2015 +0000

    Add retry logic for detaching device using LibVirt

    Add retry logic for removing a disk device from the LibVirt
    guest domain XML. This is needed because immediately after a guest
    reboot, libvirtmod.virDomainDetachDeviceFlags() will silently fail
    to remove the mapping from the guest domain. The async retry
    behavior is done in Guest and is generic so it can be re-used by any other
    detaches which hit this same race condition.

    Change-Id: I983f80822a5c210929f33e1aa348a0fef91e890b
    Closes-Bug: #1374508
    (cherry picked from commit 3a3fb3cfb2c41ad182545e47649ff12a4f3a743e)