The compute node has left the attachment information after the
encryption fails. This patch fixes this by ensuring the volume is
disconnected when an exception occurs.
Change-Id: I9d652f182d83a2557ff6ed0b21c69a735c3f9840
Closes-Bug: #1812945
(cherry picked from commit 79bcb4e21b7909f3e989d4fbcf68ac268680b865)
(cherry picked from commit d773e3b1469a76f129d2f7a4edab68d007f3f928)
Reviewed: https:/ /review. openstack. org/651796 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2cde44659c4 2ebab25259e2b05 cd5c2ffe38c131
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 2cde44659c42eba b25259e2b05cd5c 2ffe38c131
Author: yenai <email address hidden>
Date: Wed Jan 23 11:02:33 2019 +0800
libvirt: disconnect volume when encryption fails
The compute node has left the attachment information after the
encryption fails. This patch fixes this by ensuring the volume is
disconnected when an exception occurs.
Change-Id: I9d652f182d83a2 557ff6ed0b21c69 a735c3f9840 3e989d4fbcf68ac 268680b865) 129d2f7a4edab68 d007f3f928)
Closes-Bug: #1812945
(cherry picked from commit 79bcb4e21b7909f
(cherry picked from commit d773e3b1469a76f