[Kimchi-devel] [PATCH V2 0/5] Fix 'disk full' issue

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Thu Mar 27 16:08:39 UTC 2014


V2:
Address Aline's comments:
- Change error message
- Aggregate 'if's

V1:
If the disk where objectstore (Kimchi database) is full, then a lot of
errors will be raised without any special treatment. This can lead the
system to an unexpected state.
This patchset modifies kimchi in order to give the right treatment to
exceptions, showing the error to the user or hidding when possible.

Rodrigo Trujillo (5):
  Fix 'disk full' issue: Change objectstore exception handling
  Fix 'disk full' issue: Fix Templates db store/delete error handling
  Fix 'disk full' issue: Fix storage volume error handling
  Fix 'disk full' issue: Fix storagepool and asynctasks error handling
  Fix 'disk full' issue: Fix vms/screenshot db store/delete error
    handling

 src/kimchi/asynctask.py            |  7 ++--
 src/kimchi/i18n.py                 |  5 +++
 src/kimchi/model/storagepools.py   |  8 +++--
 src/kimchi/model/storagevolumes.py | 49 ++++++++++++++++----------
 src/kimchi/model/templates.py      | 22 ++++++++----
 src/kimchi/model/vms.py            | 70 +++++++++++++++++++++++++++-----------
 src/kimchi/objectstore.py          |  7 ++++
 7 files changed, 118 insertions(+), 50 deletions(-)

-- 
1.8.5.3




More information about the Kimchi-devel mailing list