kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

Not able to save corrected img path after editing img based template which has incorrect img path due to the img is not available. #1059

Closed archu-s closed 8 years ago

archu-s commented 8 years ago

Step to reproduce: 1) Create img based template. 2) Move the img to another location. 3) Go and edit the above created template. 4) It shows read cross mark for "Image File" textbox, as image is not at the mention path/location. 5) Change the path to correct image path. 6) Click on save. 7) Below error message: KCHAPI0001E: Unknown parameter {u'memory': {u'current': 2048, u'maxmemory': 2048}, u'console': u'virtio', u'name': u'0ef43388-e833-48e7-a9f1-2c5d5dd55128',
u'vm-image': u'/var/lib/libvirt/images/33650b84-fee3-48cb-9c87-6c2e70263363-1.img', u'interfaces': [], u'disks': [{u'index': 0, u'format': u'qcow2', u'size': 10,
u'base': u'/var/lib/libvirt/images/33650b84-fee3-48cb-9c87-6c2e70263363-1.img', u'path': u'/var/lib/libvirt/images/'}], u'cpu_info': {u'maxvcpus': 1, u'vcpus': 1,
u'topology': {}}, u'graphics': {u'type': u'vnc'}, u'networks': []}

I will be working on this issue.

archu-s commented 8 years ago

I have sent patch.