[one-users] Can't live migrate VM

Duverne, Cyrille cyrille.duverne at euranova.eu
Wed Nov 14 07:41:14 PST 2012


Hello,

Here is the last records of vm-214 :

Wed Nov 14 15:22:01 2012 [LCM][I]: New VM state is MIGRATE
Wed Nov 14 15:22:01 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:22:01 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Nov 14 15:22:04 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/migrate one-214 inferno.local orthanc.local 214
orthanc.local
Wed Nov 14 15:22:04 2012 [VMM][E]: migrate: Command "virsh --connect
qemu:///system migrate --live one-214 qemu+ssh://inferno.local/system"
failed: error: internal error cannot getpwuid_r(107): Success
Wed Nov 14 15:22:04 2012 [VMM][E]: Could not migrate one-214 to
inferno.local
Wed Nov 14 15:22:04 2012 [VMM][I]: ExitCode: 1
Wed Nov 14 15:22:04 2012 [VMM][I]: Failed to execute virtualization
driver operation: migrate.
Wed Nov 14 15:22:04 2012 [VMM][E]: Error live migrating VM: Could not
migrate one-214 to inferno.local
Wed Nov 14 15:22:05 2012 [LCM][I]: Fail to live migrate VM. Assuming
that the VM is still RUNNING (will poll VM).
Wed Nov 14 15:22:06 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:22:06 2012 [VMM][D]: Monitor Information:
        CPU   : 0
        Memory: 535148
        Net_TX: 4970
        Net_RX: 548861
Wed Nov 14 15:29:38 2012 [LCM][I]: New VM state is SAVE_SUSPEND
Wed Nov 14 15:30:00 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:00 2012 [VMM][I]: Successfully execute virtualization
driver operation: save.
Wed Nov 14 15:30:01 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:01 2012 [VMM][I]: Successfully execute network driver
operation: clean.
Wed Nov 14 15:30:01 2012 [DiM][I]: New VM state is SUSPENDED
Wed Nov 14 15:30:54 2012 [DiM][I]: New VM state is ACTIVE.
Wed Nov 14 15:30:54 2012 [LCM][I]: Restoring VM
Wed Nov 14 15:30:54 2012 [LCM][I]: New state is BOOT
Wed Nov 14 15:30:54 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:54 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Nov 14 15:31:02 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:31:02 2012 [VMM][I]: Successfully execute virtualization
driver operation: restore.
Wed Nov 14 15:31:02 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:31:02 2012 [VMM][I]: Successfully execute network driver
operation: post.
Wed Nov 14 15:31:02 2012 [LCM][I]: New VM state is RUNNING

This akward situation happend after I changed the uid of oneadmin
users account to be in the same situation in all hosts.

Thanks in advance
Cyrille
Mercredi 14/11/2012 à 16:32 Olivier Sallou a écrit:

Le 11/14/12 4:14 PM, Duverne, Cyrille a écrit :

 Hello,

I had to restart one and after I get the following history for several
VM for which a live migrate failed :

 SEQ HOST            REASON          
START            TIME     PROLOG_TIME
   0 inferno.local   user    11/09 10:52:06    5d
04h01m00s    0d 00h01m21s
   1 orthanc.local   none    11/14 14:53:04    0d
01h20m50s    0d 00h00m00s
   2 inferno.local   user    11/14 14:53:06    0d
00h00m51s    0d 00h00m00s
   3 orthanc.local   user    11/14 14:53:33    0d
00h21m00s    0d 00h00m00s
   4 inferno.local   none    11/14 15:14:27    0d
00h59m27s    0d 00h00m00s
   5 orthanc.local   user    11/14 15:14:33    0d
00h07m31s    0d 00h00m00s
   6 inferno.local   none    11/14 15:22:01    0d
00h51m53s    0d 00h00m00s
   7 orthanc.local   none    11/14 15:22:04    0d
00h51m50s    0d 00h00m00s

Then I can't live migrate those VMs anymore.
i found some old post saying to update the history table etc... but
withour giving clear commands.

Could you help by providing the good steps and commands ?

 Don't you have the VM log for the migrate command and/or oned.log ?
(vmid.log)

Kind regards
Cyrille

PS : I'm running 3.6 and won't upgrade before solving this if
possible.

_______________________________________________ Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org  

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121114/fe2093ec/attachment-0002.htm>


More information about the Users mailing list