commit cc697d676c14a4abbf82b063910736897bddbdac
Author: Chris Friesen <email address hidden>
Date: Wed Mar 6 14:19:01 2019 -0600
Add missing libvirt exception during device detach
It turns out that when detaching a device libvirt can raise a
libvirt.VIR_ERR_INTERNAL_ERROR exception with an error log of
"unable to execute QEMU command 'device_del': Device <foo> not found".
Add this exception to the existing "not found" case which currently
handles only libvirt.VIR_ERR_OPERATION_FAILED.
Change-Id: I3055cd7641de92ab188de73733ca9288a9ca730a
Closes-Bug: #1815949
Signed-off-by: Chris Friesen <email address hidden>
(cherry picked from commit 2a8ee40fccc65b177275d6fe80c10fdb83b86e1f)
(cherry picked from commit 6a7e45c750f2759c6b813042413afb9aaa8d1ca4)
(cherry picked from commit 5433dc6a7525a5c356b4b5cd400bbea4e8edd0b0)
Reviewed: https:/ /review. opendev. org/651642 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cc697d676c1 4a4abbf82b06391 0736897bddbdac
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit cc697d676c14a4a bbf82b063910736 897bddbdac
Author: Chris Friesen <email address hidden>
Date: Wed Mar 6 14:19:01 2019 -0600
Add missing libvirt exception during device detach
It turns out that when detaching a device libvirt can raise a VIR_ERR_ INTERNAL_ ERROR exception with an error log of
libvirt.
"unable to execute QEMU command 'device_del': Device <foo> not found".
Add this exception to the existing "not found" case which currently VIR_ERR_ OPERATION_ FAILED.
handles only libvirt.
Change-Id: I3055cd7641de92 ab188de73733ca9 288a9ca730a 77275d6fe80c10f db83b86e1f) c6b813042413afb 9aaa8d1ca4) 356b4b5cd400bbe a4e8edd0b0)
Closes-Bug: #1815949
Signed-off-by: Chris Friesen <email address hidden>
(cherry picked from commit 2a8ee40fccc65b1
(cherry picked from commit 6a7e45c750f2759
(cherry picked from commit 5433dc6a7525a5c