Comment 6 for bug 1834659

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

Reviewed: https://review.opendev.org/669674
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=01c334cbdd859f4e486ac2c369a4bdb3ec7709cc
Submitter: Zuul
Branch: master

commit 01c334cbdd859f4e486ac2c369a4bdb3ec7709cc
Author: Francois Palin <email address hidden>
Date: Mon Jul 8 10:12:25 2019 -0400

    Add retry to cinder API calls related to volume detach

    When shutting down an instance for which volume needs to be
    deleted, if cinder RPC timeout expires before cinder volume
    driver terminates connection, then an unknown cinder exception
    is received and the volume is not removed.

    This fix adds a retry mechanism directly in cinder API calls
    attachment_delete, terminate_connection, and detach.

    Change-Id: I3c9ae47d0ceb64fa3082a01cb7df27faa4f5a00d
    Closes-Bug: #1834659