nova/nova/privsep
Stephen Finucane ecfcf86538 privsep: Handle ENOENT when checking for direct IO support
We've seen a recent issue that suggest direct IO support checks can fail
in other valid ways than EINVAL, namely, failures with ENOENT or the
FileNotFoundError exception, which is a Python 3-only exception type,
can occur. While we can't test for this without breaking Python 2.7
support, we can mimic this by looking for checking for the errno
attribute of the OSError exception. Do this.

Change-Id: I8aab86bb62cbc8ad538c706af037a30437c7964d
Closes-Bug: #1788922
2018-08-27 17:03:46 +01:00
..
__init__.py Squash dacnet_admin privsep context. 2017-09-18 23:17:35 +10:00
fs.py Revert "Re-using the code of os brick cinder" 2018-06-18 13:23:14 +00:00
idmapshift.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
libvirt.py remove IVS plug/unplug as they're moved to separate plugin 2018-05-09 06:02:51 -07:00
path.py Move last_bytes into the path module 2017-11-06 10:30:21 +02:00
qemu.py Move image conversion to privsep. 2018-05-15 10:09:01 -04:00
utils.py privsep: Handle ENOENT when checking for direct IO support 2018-08-27 17:03:46 +01:00
xenapi.py Move xenapi partition copies to privsep. 2018-04-13 07:19:39 +10:00