mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 23:19:40 +00:00
fix instance compute node after migration
This commit is contained in:
@@ -549,6 +549,8 @@ def instance(request, compute_id, vname):
|
||||
new_compute.type)
|
||||
conn_migrate.moveto(conn, vname, live, unsafe, xml_del)
|
||||
conn_migrate.define_move(vname)
|
||||
instance.compute = new_compute
|
||||
instance.save()
|
||||
conn_migrate.close()
|
||||
msg = _("Migrate")
|
||||
addlogmsg(request.user.username, instance.name, msg)
|
||||
|
||||
Reference in New Issue
Block a user