[Kimchi-devel] [PATCH] Issue #526 (partial)
Aline Manera
alinefm at linux.vnet.ibm.com
Wed Jan 14 15:59:40 UTC 2015
I need to apply the framework patch prior to apply this one.
So once Zongmei Gou's patch get accepted I will apply it too.
On 13/01/2015 18:07, Crístian Viana wrote:
> 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(-)
>
More information about the Kimchi-devel
mailing list