[Kimchi-devel] [PATCH V4 0/5] Storagepool SCSI/FC
Rodrigo Trujillo
rodrigo.trujillo at linux.vnet.ibm.com
Wed Feb 12 06:16:33 UTC 2014
Fixed
On 02/10/2014 11:36 AM, Aline Manera wrote:
>
> I am not able to delete an VM created with SCSI pool.
>
> From log, I got:
>
> Request Headers:
> COOKIE: kimchi=b5bde7b2dba4e0423c9e529b36c0b6f941eb589e; userid=alinefm
> HOST: localhost:8000
> CONNECTION: keep-alive
> Remote-Addr: 127.0.0.1
> ACCEPT: application/json, text/javascript, */*; q=0.01
> USER-AGENT: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0)
> Gecko/20100101 Firefox/26.0
> X-REQUESTED-WITH: XMLHttpRequest
> ACCEPT-LANGUAGE: en-us,en;q=0.7,pt-br;q=0.3
> Content-Type: application/json
> REFERER: http://localhost:8000/
> ACCEPT-ENCODING: gzip, deflate
> [10/Feb/2014:11:35:34] HTTP Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line
> 656, in respond
> response.body = self.handler()
> File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py",
> line 188, in __call__
> self.body = self.oldhandler(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py",
> line 34, in __call__
> return self.callable(*self.args, **self.kwargs)
> File "/home/alinefm/kimchi/src/kimchi/control/base.py", line 124, in
> index
> return self.delete()
> File "/home/alinefm/kimchi/src/kimchi/control/base.py", line 100, in
> delete
> fn(*self.model_args)
> File "/home/alinefm/kimchi/src/kimchi/mockmodel.py", line 119, in
> vm_delete
> self.storagevolume_delete(disk['pool'], disk['volume'])
> TypeError: string indices must be integers, not str
>
>
> On 02/05/2014 12:18 PM, Rodrigo Trujillo wrote:
>> V4:
>> - Implements mockmodel and tests
>> - Fix UI
>> - Fix other minor issues
>>
>>
>> V3:
>> - Changed API to only receive the scsi host name when creating new pool
>> - Changed API to require LUN when creating new VM on SCSI pool
>> - Created feature test and removed libvirt test function
>> - Rebased with new model structure
>> - Added error function handlers to UIs
>> - Fixed LUN selection window
>>
>>
>> V2:
>>
>> - Implements Fibre Channel devices discover in the host
>> - Allow vms_create receive a volume to create the disk (if pool is SCSI)
>> - Create basic UI to select SCSI Host when creating SCSI FC pool
>> - Draft of UI to select LUN to create new VM when template has a SCSI
>> pool configured. (Need help of UI guys here!)
>>
>> Rodrigo Trujillo (5):
>> Storagepool SCSI/FC: Implement node devices API backend
>> Storagepool SCSI/FC: Backend implementation
>> Storagepool SCSI/FC: Implement UI for FC scsi_host pool
>> Storagepool SCSI/FC: Modifies UI flow to select a LUN to new VM
>> Storagepool SCSI/FC: Modifies mockmodel and implements tests for FC
>> pool
>>
>> docs/API.md | 5 ++-
>> src/kimchi/API.json | 14 +++++-
>> src/kimchi/control/host.py | 16 +++++++
>> src/kimchi/featuretests.py | 27 ++++++++++++
>> src/kimchi/mockmodel.py | 53 ++++++++++++++++++++---
>> src/kimchi/model/config.py | 5 ++-
>> src/kimchi/model/host.py | 54 +++++++++++++++++++++++
>> src/kimchi/model/libvirtstoragepool.py | 48 ++++++++++++++++++++-
>> src/kimchi/model/storagepools.py | 22 ++++++++--
>> src/kimchi/model/templates.py | 5 +++
>> src/kimchi/model/vms.py | 25 ++++++++++-
>> src/kimchi/vmtemplate.py | 31 +++++++++++++-
>> tests/test_rest.py | 47 ++++++++++++++++++++
>> tests/test_storagepool.py | 21 +++++++++
>> ui/js/src/kimchi.api.js | 24 +++++++++++
>> ui/js/src/kimchi.guest_add_main.js | 73
>> ++++++++++++++++++++++++++++++--
>> ui/js/src/kimchi.storagepool_add_main.js | 46 +++++++++++++++++++-
>> ui/pages/i18n.html.tmpl | 5 +++
>> ui/pages/storagepool-add.html.tmpl | 12 ++++++
>> 19 files changed, 510 insertions(+), 23 deletions(-)
>>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
More information about the Kimchi-devel
mailing list