Comment 11 for bug 1944043

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/866084
Committed: https://opendev.org/openstack/nova/commit/7168314dd125fca8d1cecac035477ea0314ab828
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 7168314dd125fca8d1cecac035477ea0314ab828
Author: Takashi Kajinami <email address hidden>
Date: Sun Sep 19 00:06:56 2021 +0900

    Fix the wrong exception used to retry detach API calls

    When cinderclient receives an error response from API, it raises one
    of the exceptions from the cinderclient.exceptions module instead of
    the cinderclient.apiclient.exceptions module.

    This change fixes the wrong exception used to detect 500 error from
    cinder API, so that API calls to detach volumes are properly retried.

    Closes-Bug: #1944043
    Change-Id: I741cb6b29a67da8c60708c6251c441d778ca74d0
    (cherry picked from commit f6206269b71d9bcaf65aa0313c21cc6b75a54fb3)
    (cherry picked from commit 513241a7e4f3f3246c75e66a910db6c864c3981e)