Comment 10 for bug 1944043

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/829049
Committed: https://opendev.org/openstack/nova/commit/513241a7e4f3f3246c75e66a910db6c864c3981e
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 513241a7e4f3f3246c75e66a910db6c864c3981e
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)