[Kimchi-devel] [PATCH 0/2] Fix vm creation on readonly pool type

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Mon Feb 24 10:24:01 UTC 2014


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

Some pool types (scsi, iscsi, mpath) do not allow create/delete
storage volume, so it is wrong to delete these volumes when vm delete.
Fix it by just delete non read only pool types.
Royce Lv (2):
  Fix vm creation storage rollback clean
  Prevent volume create and delete for certain pool types

 src/kimchi/control/base.py         |  2 ++
 src/kimchi/i18n.py                 |  1 +
 src/kimchi/model/constant.py       | 24 ++++++++++++++++++++++++
 src/kimchi/model/storagevolumes.py | 18 +++++++++++++++---
 src/kimchi/model/vms.py            | 14 ++++++--------
 5 files changed, 48 insertions(+), 11 deletions(-)
 create mode 100644 src/kimchi/model/constant.py

-- 
1.8.1.2




More information about the Kimchi-devel mailing list