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)
Reviewed: https:/ /review. openstack. org/650931 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d773e3b1469 a76f129d2f7a4ed ab68d007f3f928
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit d773e3b1469a76f 129d2f7a4edab68 d007f3f928
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)
Closes-Bug: #1812945
(cherry picked from commit 79bcb4e21b7909f