mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 07:35:50 +03:00
[GH-ISSUE #314] Migration issue #245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @romu70 on GitHub (May 21, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/314
Hi,
I run webvirtmgr to manage 2 VMs hosts, and it is installed on one of the 2 hosts.
1- When I try to move a VM from one host to the other one -> Error 500.
Here is the stack trace:
2- I've tried to move both the img and the xml files from one host to the other one. It works almost, except I don't see the snapshots. Any way to manually move the whole configuration including the snapshots?
Thanks.
@retspen commented on GitHub (May 21, 2014):
Can you change line 70 in file /var/www/webvirtmgr/vrtManager/instance.py:
dom.migrate(self.wvm, 0, name, None, 0)TO
self.wvm.migrate(dom, 0, name, None, 0)and try to migrate again
@romu70 commented on GitHub (May 22, 2014):
Here is my moveTo function:
So it is already the good one.
@romu70 commented on GitHub (May 22, 2014):
Anatoly, I wrote the code is already the good one, but the migration doesn't work. Sorry if I wasn't clear enough. Please, don't close this issue.
@retspen commented on GitHub (May 22, 2014):
What's error now?
@romu70 commented on GitHub (May 22, 2014):
Same, I didn't change anything, the code was already "self.wvm.migrate...".
@retspen commented on GitHub (May 22, 2014):
Did you restart supervisor service?
@romu70 commented on GitHub (May 22, 2014):
Yes several times, at least between debug and release modes.
On Thu, May 22, 2014 at 3:30 PM, Anatoliy Guskov
notifications@github.comwrote:
@retspen commented on GitHub (May 22, 2014):
I am understand (my English is not very good). You need update WebVirtMgr to latest version. In line 70 must be
dom.migrate(self.wvm, 0, name, None, 0)@romu70 commented on GitHub (May 22, 2014):
Ok, updated WebVirtMgr. Now it says "Requested operation is not valid: domain is not running". This means the VM must run to be moved?
@retspen commented on GitHub (May 22, 2014):
Yes, need up VM for move memory state to other host.
@romu70 commented on GitHub (May 22, 2014):
Ok, now: "Requested operation is not valid: cannot migrate domain with 5 snapshots". So Ican't move because of the snapshots?
Related to my second question: How can I move manually, including the snapshots?
@retspen commented on GitHub (May 22, 2014):
Libvirt doesn't support this function yet.