Reviewed: https://review.opendev.org/747122 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bcbeae2c605f4ab4ad805dddccac802928a180b6 Submitter: Zuul Branch: stable/ussuri
commit bcbeae2c605f4ab4ad805dddccac802928a180b6 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)
Reviewed: https:/ /review. opendev. org/747122 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=bcbeae2c605 f4ab4ad805dddcc ac802928a180b6
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit bcbeae2c605f4ab 4ad805dddccac80 2928a180b6
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: I7f93cfd18f9481 34c9cb429dea557 40d2cf97994 f72c3717e3621ed 95d3cf5519)
Closes-Bug: #1489304
(cherry picked from commit 10e9a9b9fc62a3c