cinderlib/cinderlib
Gorka Eguileor ead327c9ea Raise ProcessExecutionError on execute's OSError
In OS-Brick there are many places where calls are made to OS-Brick's
execute method, but they mostly only catch ProcessExecutionError
exceptions and ignore that it can also raise OSError exceptions.

When we replaced the privsep methods we used existing custom_execute
method, which doesn't translate OSError exceptions into
ProcessExecutionError, so many exceptions are uncaught.

This patch adds a new execute method that will do the translation of
OSError exceptions raised by custom_execute.
2019-01-15 12:30:03 +01:00
..
persistence Update cinderlib 2019-01-14 16:25:18 +01:00
tests Update cinderlib 2019-01-14 16:25:18 +01:00
__init__.py Bump version: 0.2.2 → 0.3.0 2019-01-14 17:15:12 +01:00
cinderlib.py Update cinderlib 2019-01-14 16:25:18 +01:00
exception.py Update cinderlib 2019-01-14 16:25:18 +01:00
nos_brick.py Raise ProcessExecutionError on execute's OSError 2019-01-15 12:30:03 +01:00
objects.py Update cinderlib 2019-01-14 16:25:18 +01:00
serialization.py Update cinderlib 2019-01-14 16:25:18 +01:00
workarounds.py Update cinderlib 2019-01-14 16:25:18 +01:00