Reviewed: https://review.openstack.org/632598 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=79bcb4e21b7909f3e989d4fbcf68ac268680b865 Submitter: Zuul Branch: master
commit 79bcb4e21b7909f3e989d4fbcf68ac268680b865 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: I9d652f182d83a2557ff6ed0b21c69a735c3f9840 Closes-Bug: #1812945
Reviewed: https:/ /review. openstack. org/632598 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=79bcb4e21b7 909f3e989d4fbcf 68ac268680b865
Committed: https:/
Submitter: Zuul
Branch: master
commit 79bcb4e21b7909f 3e989d4fbcf68ac 268680b865
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
Closes-Bug: #1812945