[one-users] Error in VM migration - wrong state to perform action

Shantanu Pavgi pavgi at uab.edu
Wed Aug 1 08:59:54 PDT 2012


I am getting following error while trying to migrate a VM:  

{{{
$ onevm livemigrate 30 kvm-04
[VirtualMachineMigrate] Wrong state to perform action

}}}

The VM is not really in wrong 'state', but it failed to migrate during first migration attempt because of connection (name resolution) issue. So it is reporting an error as show below:

{{{
$ onevm show 30
VIRTUAL MACHINE 30 INFORMATION                                                  
ID                  : 30                  
NAME                : one-30              
USER                : oneadmin            
GROUP               : oneadmin            
STATE               : ACTIVE              
LCM_STATE           : RUNNING             
HOSTNAME            : kvm-03            
START TIME          : 02/27 10:57:50      
END TIME            : -                   
DEPLOY ID           : one-30              

VIRTUAL MACHINE MONITORING                                                      
USED MEMORY         : 1070528             
USED CPU            : 1                   
NET_RX              : 2139556799          
NET_TX              : 1687949043          

PERMISSIONS                                                                     
OWNER               : um-                 
GROUP               : ---                 
OTHER               : ---                 

…
…
…

ERROR=[
  MESSAGE="Error live migrating VM: Error connecting to kvm-04",
  TIMESTAMP="Tue Jul 31 12:33:13 2012" ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  KEYMAP=en-us,
  LISTEN=0.0.0.0,
  PORT=5930,
  TYPE=vnc ]
MEMORY=1024
NAME=one-30
NIC=[
  BRIDGE=br1 ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
TEMPLATE_ID=13
VCPU=1
VMID=30

VIRTUAL MACHINE HISTORY                                                         
 SEQ        HOSTNAME REASON           START        TIME       PTIME
   0        kvm-03   user  02/27 10:57:56 09 06:18:21 00 00:08:30
   1        kvm-04   user  03/07 17:16:11 00 00:03:14 00 00:00:00
   2        kvm-03   user  03/07 17:19:20 145 18:13:5 00 00:00:00
   3        kvm-04   none  07/31 12:33:13 00 21:40:10 00 00:00:00
   4        kvm-03   none  07/31 12:33:13 00 21:40:10 00 00:00:00

}}}

Is there any way to migrate this VM again? Can be it recovered from this error?

I am using OpenNebula 3.2 version.

--
Thanks,
Shantanu





More information about the Users mailing list