[one-users] cold migration error with open-nebula 3.8.1
Ruben S. Montero
rsmontero at opennebula.org
Wed Jun 12 05:32:12 PDT 2013
Hi
This may be a misconfiguration in KVM (checkpoint files, with wrong
ownership/permissions) or a problem with your datastores.
1.- Check your KVM setup, specially dynamic_ownership, user and group as
described in the KVM guide
2.- Check with a running VM:
virsh --connect qemu:///system save one-<id>
/var/lib/one/datastores/0/<vmid>/checkpoint
The path is for the defaults location, you may need to fix it. Check that
the checkpoint is properly generated
3.- There should be a transfer.0.migrate (the number could be 1,2...
depending on the number of hosts the VM has been running in). In that file
there should be MV commands.
Check that the MV commands make sense in your case and TM configuration
(e.g. if you are using a shared system datastore, it should be mounted on
both hosts...)
Cheers
Ruben
On Wed, Jun 12, 2013 at 12:04 PM, Valerio Schiavoni <
valerio.schiavoni at gmail.com> wrote:
> The same happens with a freshly installed 4.0.1 :
>
> Wed Jun 12 11:57:19 2013 [DiM][D]: Migrating VM 1500
> Wed Jun 12 11:57:19 2013 [ReM][D]: Req:6880 UID:0 VirtualMachineMigrate
> result SUCCESS, 1500
> Wed Jun 12 11:57:19 2013 [ReM][D]: Req:0 UID:0 VirtualMachineInfo invoked,
> 1500
> Wed Jun 12 11:57:20 2013 [ReM][D]: Req:0 UID:0 VirtualMachineInfo result
> SUCCESS, "<VM><ID>1500</ID><UI..."
> Wed Jun 12 11:57:30 2013 [ReM][D]: Req:1952 UID:0 GroupPoolInfo invoked
> Wed Jun 12 11:57:30 2013 [ReM][D]: Req:1952 UID:0 GroupPoolInfo result
> SUCCESS, "<GROUP_POOL><GROUP><..."
> Wed Jun 12 11:57:35 2013 [ReM][D]: Req:7152 UID:0 ImagePoolInfo invoked,
> -2, -1, -1
> Wed Jun 12 11:57:35 2013 [ReM][D]: Req:7152 UID:0 ImagePoolInfo result
> SUCCESS, "<IMAGE_POOL><IMAGE><..."
> Wed Jun 12 11:57:36 2013 [VMM][D]: Message received: LOG I 1500 ExitCode: 0
>
> Wed Jun 12 11:57:36 2013 [VMM][D]: Message received: LOG I 1500
> Successfully execute virtualization driver operation: save.
>
> Wed Jun 12 11:57:36 2013 [VMM][D]: Message received: LOG I 1500 ExitCode: 0
>
> Wed Jun 12 11:57:36 2013 [VMM][D]: Message received: LOG I 1500
> Successfully execute network driver operation: clean.
>
> Wed Jun 12 11:57:36 2013 [VMM][D]: Message received: SAVE SUCCESS 1500 -
>
> Wed Jun 12 11:57:37 2013 [TM][D]: Message received: LOG I 1500 ExitCode: 0
>
> Wed Jun 12 11:57:37 2013 [TM][D]: Message received: LOG I 1500 ExitCode: 0
>
> Wed Jun 12 11:57:37 2013 [TM][D]: Message received: TRANSFER SUCCESS 1500 -
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 pre:
> Executed "sudo /sbin/brctl addbr onebr13".
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 pre:
> Executed "sudo /sbin/ip link set onebr13 up".
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 Device
> "eth0.2000" does not exist.
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 pre:
> Executed "sudo /sbin/vconfig add eth0 2000".
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 pre:
> Executed "sudo /sbin/ip link set eth0.2000 up".
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 pre:
> Executed "sudo /sbin/brctl addif onebr13 eth0.2000".
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 ExitCode: 0
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500
> Successfully execute network driver operation: pre.
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 Command
> execution fail: /var/tmp/one/vmm/kvm/restore
> /var/lib/one//datastores/0/1500/checkpoint newcluster-0 1500 newcluster-0
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG E 1500 restore:
> Command "virsh --connect qemu:///system restore
> /var/lib/one//datastores/0/1500/checkpoint" failed: error: Failed to
> restore domain from /var/lib/one//datastores/0/1500/checkpoint
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 error:
> Failed to create file '/var/lib/one//datastores/0/1500/checkpoint': No such
> file or directory
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG E 1500 Could not
> restore from /var/lib/one//datastores/0/1500/checkpoint
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 ExitCode: 1
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: LOG I 1500 Failed to
> execute virtualization driver operation: restore.
>
> Wed Jun 12 11:57:38 2013 [VMM][D]: Message received: RESTORE FAILURE 1500
> Could not restore from /var/lib/one//datastores/0/1500/checkpoint
>
>
>
> On Tue, Jun 11, 2013 at 4:21 PM, Valerio Schiavoni <
> valerio.schiavoni at gmail.com> wrote:
>
>> Hello everyone,
>> when I attempt a cold-migration of one my VMs, this is the log I get.
>> Suggestions?
>>
>>
>> Tue Jun 11 15:11:01 2013 [VMM][D]: Message received: LOG I 1491
>> Successfully execute virtualization driver operation: save.
>>
>> Tue Jun 11 15:11:01 2013 [VMM][D]: Message received: LOG I 1491 ExitCode:
>> 0
>>
>> Tue Jun 11 15:11:01 2013 [VMM][D]: Message received: LOG I 1491
>> Successfully execute network driver operation: clean.
>>
>> Tue Jun 11 15:11:01 2013 [VMM][D]: Message received: SAVE SUCCESS 1491 -
>>
>> Tue Jun 11 15:11:02 2013 [TM][D]: Message received: LOG I 1491 ExitCode: 0
>>
>> Tue Jun 11 15:11:02 2013 [TM][D]: Message received: LOG I 1491 ExitCode: 0
>>
>> Tue Jun 11 15:11:02 2013 [TM][D]: Message received: TRANSFER SUCCESS 1491
>> -
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 pre:
>> Executed "sudo /sbin/brctl addbr onebr22".
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 pre:
>> Executed "sudo /sbin/ip link set onebr22 up".
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 Device
>> "eth0.2079" does not exist.
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 pre:
>> Executed "sudo /sbin/vconfig add eth0 2079".
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 pre:
>> Executed "sudo /sbin/ip link set eth0.2079 up".
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 pre:
>> Executed "sudo /sbin/brctl addif onebr22 eth0.2079".
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 ExitCode:
>> 0
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491
>> Successfully execute network driver operation: pre.
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 Command
>> execution fail: /var/tmp/one/vmm/kvm/restore
>> /var/lib/one//datastores/0/1491/checkpoint newcluster-2 1491 newcluster-2
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG E 1491 restore:
>> Command "virsh --connect qemu:///system restore
>> /var/lib/one//datastores/0/1491/checkpoint" failed: error: Failed to
>> restore domain from /var/lib/one//datastores/0/1491/checkpoint
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 error:
>> Failed to create file '/var/lib/one//datastores/0/1491/checkpoint': No such
>> file or directory
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG E 1491 Could not
>> restore from /var/lib/one//datastores/0/1491/checkpoint
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 ExitCode:
>> 1
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: LOG I 1491 Failed to
>> execute virtualization driver operation: restore.
>>
>> Tue Jun 11 15:11:03 2013 [VMM][D]: Message received: RESTORE FAILURE 1491
>> Could not restore from /var/lib/one//datastores/0/1491/checkpoint
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130612/368464dc/attachment-0002.htm>
More information about the Users
mailing list