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)
Reviewed: https:/ /review. opendev. org/748559 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4130ef8af03 31bd1ec363b85c3 c5cd827e6ea6c7
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 4130ef8af0331bd 1ec363b85c3c5cd 827e6ea6c7
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) 4ad805dddccac80 2928a180b6) 5ff0702cd91773a d16d7b3998)
Closes-Bug: #1489304
(cherry picked from commit 10e9a9b9fc62a3c
(cherry picked from commit bcbeae2c605f4ab
(cherry picked from commit 683005df39cbb82