Comment 11 for bug 1489304

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

Reviewed: https://review.opendev.org/748559
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4130ef8af0331bd1ec363b85c3c5cd827e6ea6c7
Submitter: Zuul
Branch: stable/stein

commit 4130ef8af0331bd1ec363b85c3c5cd827e6ea6c7
Author: sunhao <suha9102@163.com>
Date: Wed Jun 10 10:26:49 2020 +0800

    Add checks for volume status when rebuilding

    When rebuilding, we should only allow detaching
    the volume with 'in-use' status, volume in status
    such as 'retyping' should not allowed.

    Change-Id: I7f93cfd18f948134c9cb429dea55740d2cf97994
    Closes-Bug: #1489304
    (cherry picked from commit 10e9a9b9fc62a3cf72c3717e3621ed95d3cf5519)
    (cherry picked from commit bcbeae2c605f4ab4ad805dddccac802928a180b6)
    (cherry picked from commit 683005df39cbb825ff0702cd91773ad16d7b3998)