[Kimchi-devel] [PATCHv3 0/3]Fix validation on readonly pool type
lvroyce at linux.vnet.ibm.com
lvroyce at linux.vnet.ibm.com
Thu Feb 27 08:25:18 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 (3):
Fix vm creation storage rollback clean
Prevent volume create and delete for certain pool types
Clear pep8 failure in make check
src/kimchi/config.py.in | 3 +++
src/kimchi/control/base.py | 2 ++
src/kimchi/i18n.py | 1 +
src/kimchi/isoinfo.py | 4 ++--
src/kimchi/model/storageservers.py | 4 ++--
src/kimchi/model/storagevolumes.py | 18 +++++++++++++++---
src/kimchi/model/vms.py | 16 +++++++++++-----
tests/test_model.py | 6 +++---
8 files changed, 39 insertions(+), 15 deletions(-)
--
1.8.1.2
More information about the Kimchi-devel
mailing list