nova/nova/virt/libvirt
Lee Yarwood 34b4220448 libvirt: Stop ignoring unknown libvirtError exceptions during volume attach
Id346bce6e47431988cce7001abcf29a9faf2936a attempted to introduce a
simple breadcrumb in the logs to highlight a known Libvirt issue.
Unfortunately this change resulted in libvirtError exceptions that
didn't match the known issue being silently ignored.

This change corrects this by using excutils.save_and_reraise_exception
to ensure all libvirtError exceptions are logged and raised regardless
of being linked to the known issue.

Change-Id: Ib440f4f2e484312af5f393722363846f6c95b760
Closes-Bug: #1825882
(cherry picked from commit bc57ae5073)
(cherry picked from commit b3dedefcc5)
2019-05-03 15:10:55 -06:00
..
storage Merge "Revert "Re-using the code of os brick cinder"" 2018-06-19 02:08:35 +00:00
volume libvirt: set device address tag only if setting disk unit 2019-04-18 15:56:28 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
compat.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
config.py Implement discard for file backed memory 2018-06-21 11:45:31 -05:00
designer.py add mtu to libvirt xml for ethernet and bridge types 2018-06-06 09:39:40 -04:00
driver.py libvirt: Stop ignoring unknown libvirtError exceptions during volume attach 2019-05-03 15:10:55 -06:00
firewall.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-25 10:45:03 +05:30
guest.py Add missing libvirt exception during device detach 2019-04-10 14:31:16 -06:00
host.py libvirt: Don't react to VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED events 2018-08-23 14:44:22 -04:00
imagebackend.py libvirt: set device address tag only if setting disk unit 2019-04-18 15:56:28 +00:00
imagecache.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py libvirt: Avoid setting MTU during live migration if unset 2018-10-29 22:46:06 +01:00
utils.py Add method to get cpu traits 2018-07-24 12:37:46 +00:00
vif.py libvirt: skip setting rx/tx queue sizes for not virto interfaces 2018-09-04 07:09:27 +00:00