diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-20 12:42:26 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-26 13:32:48 +0100 |
commit | 57787dab5499a38915b5e2f702844553abd2ea2a (patch) | |
tree | 72d10e60579f38bdf94046d81fd3c311f5a90152 /src/utils/cache.py | |
parent | 16dcc9b25b305c81efc975df24cf13a04a30bf47 (diff) |
live: improve lzop and partclone error handling
Control non 0 returncode of the lzop and partclone subprocess
in image creation and restoration because this means that either
lzop or partclone has failed.
The implementation must cover cases such as not enough storage
space and log errors into /tmp/command.log and the log file of
the client handling the request.
Check the returncode of lzop and partclone subprocesses and
log the stderr of the process reporting non zero returncode.
Diffstat (limited to 'src/utils/cache.py')
0 files changed, 0 insertions, 0 deletions