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

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Mon Mar 24 20:53:33 UTC 2014


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 | 45 +++++++++++++++----------
 src/kimchi/model/templates.py      | 22 ++++++++----
 src/kimchi/model/vms.py            | 68 +++++++++++++++++++++++++++-----------
 src/kimchi/objectstore.py          |  8 +++++
 7 files changed, 113 insertions(+), 50 deletions(-)

-- 
1.8.5.3




More information about the Kimchi-devel mailing list