[Kimchi-devel] [PATCH] Issue #526 (partial)

Crístian Viana vianac at linux.vnet.ibm.com
Tue Jan 13 20:07:36 UTC 2015


This patch partially fixes the issue #526. There's still a known bug which
happens when the user reverts a VM to a snapshot when the VM's name has been
changed since the snapshot was taken. In other words, the following behavior
will still cause a bug:

- Create a VM named "foo".
- Create a snapshot of VM "foo" named "snap1".
- Rename VM "foo" to "bar".
- Revert VM "bar" to snapshot "snap1".

The last step works correctly under the hood (i.e. the VM is reverted to that
snapshot) but Kimchi cannot return from its REST request because the VM
changed its name during the revert action.

Zongmei Gou will send another patch which fixes the bug described above as the
patch is already done.

Crístian Viana (1):
  issue #526: Support updating name for VMs with snapshots

 src/kimchi/model/vms.py | 56 +++++++++++++++++++++++++++++++++++++++++++++++--
 tests/test_model.py     |  3 +++
 2 files changed, 57 insertions(+), 2 deletions(-)

-- 
2.1.0




More information about the Kimchi-devel mailing list