0d8c4270c0
To avoid any confusion, commands passed to exec_sudo() should be a list of "str"s. Log a message if we see unicode issues. This also adds a debug trace of all output. stderr is captured. This is modified to raise CalledProcessError on failure, like check_call(). Calls that are ok to fail will need to explicitly catch and ignore this. The two calls that we expect to fail are wrapped We wish to try rolling back if one of these command raises an exception. Modify the create handler to initiate rollback on all exceptions. Change-Id: Iee4fa41ffaf243e4728bf3a5eeec5c8fa8d2dadc |
||
---|---|---|
.. | ||
level0 | ||
level1 | ||
tests | ||
__init__.py | ||
blockdevice.py | ||
blockdevicesetupexception.py | ||
plugin_base.py | ||
tree_config.py | ||
utils.py |