Comment 8 for bug 1834659

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

Reviewed: https://review.opendev.org/722142
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=118ee682571a4bd41c8009dbe2e47fdd1f85a630
Submitter: Zuul
Branch: stable/train

commit 118ee682571a4bd41c8009dbe2e47fdd1f85a630
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
    (cherry picked from commit 01c334cbdd859f4e486ac2c369a4bdb3ec7709cc)