[one-users] Cannot live-migrate a VM.

Evan Fraser evan.fraser at trademe.co.nz
Sun Jul 29 19:45:19 PDT 2012


Hmm,

Never mind, the other VMs  I was looking at were old and destroyed ones.

Evan Fraser
Trade Me | Storage Engineer
P
+64 4 803 2756
M
+64 22 087 4032
E   
evan.fraser at trademe.co.nz



-----Original Message-----
From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Evan Fraser
Sent: Monday, 30 July 2012 2:41 p.m.
To: users at lists.opennebula.org
Subject: Re: [one-users] Cannot live-migrate a VM.

Hello again,

I still have this issue with the VM that cannot migrate.  I've been investigating the vm_pool table in the sqlite database and I can see that for this VM the state and lcm_state fields are set to "3".

On other VM's the state is set to "6" and lcm_state is "0".

Is there any documentation on what these fields mean?  Would manually changing these values fix/break anything?

Regards,


Evan.

Evan Fraser
Trade Me | Storage Engineer
P
+64 4 803 2756
M
+64 22 087 4032
E
evan.fraser at trademe.co.nz


-----Original Message-----
From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Evan Fraser
Sent: Wednesday, 25 July 2012 10:40 a.m.
To: users at lists.opennebula.org
Subject: Re: [one-users] Cannot live-migrate a VM.

Hi Mark,
Thanks for the response, here's the output from onevm show:

VIRTUAL MACHINE 97 INFORMATION                                                  
ID                  : 97                  
NAME                : consumer3           
USER                : consumer            
GROUP               : consumer            
STATE               : ACTIVE              
LCM_STATE           : RUNNING             
RESCHED             : No                  
HOST                : tmkvmserv03         
START TIME          : 07/02 11:25:57      
END TIME            : -                   
DEPLOY ID           : one-97              

VIRTUAL MACHINE MONITORING                                                      
NET_TX              : 2G                  
NET_RX              : 2G                  
USED MEMORY         : 7.8G                
USED CPU            : 14                  

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

VIRTUAL MACHINE TEMPLATE                                                        
DISK=[
  BUS="virtio",
  CLONE="NO",
  DATASTORE="default",
  DATASTORE_ID="1",
  DISK_ID="0",
  DRIVER="qcow2",
  IMAGE="consumer3",
  IMAGE_ID="13",
  IMAGE_UNAME="oneadmin",
  PERSISTENT="YES",
  READONLY="NO",
  SAVE="YES",
  SOURCE="/var/lib/one/datastores/1/68bf2a87fa6b400adc534c438860e02c",
  TARGET="hda",
  TM_MAD="shared",
  TYPE="DISK" ]
ERROR=[
  MESSAGE="Error live migrating VM: Could not migrate one-97 to tmkvmserv05",
  TIMESTAMP="Mon Jul  9 16:39:28 2012" ] GRAPHICS=[
  LISTEN="0.0.0.0",
  PORT="5997",
  TYPE="vnc" ]
MEMORY="8000"
NAME="consumer3"
NIC=[
  BRIDGE="ovsbr1",
  IP="202.21.128.23",
  MAC="02:00:ca:15:80:17",
  MODEL="virtio",
  NETWORK="public",
  NETWORK_ID="6",
  NETWORK_UNAME="oneadmin",
  VLAN="YES",
  VLAN_ID="11" ]
NIC=[
  BRIDGE="ovsbr1",
  IP="172.16.50.23",
  MAC="02:00:ac:10:32:17",
  MODEL="virtio",
  NETWORK="consumerpriv",
  NETWORK_ID="8",
  NETWORK_UNAME="consumer",
  VLAN="YES",
  VLAN_ID="1001" ]
OS=[
  ARCH="x86_64",
  BOOT="hd" ]
RAW=[
  TYPE="kvm" ]
TEMPLATE_ID="18"
VCPU="2"
VMID="97"

VIRTUAL MACHINE HISTORY                                                         
 SEQ HOST            REASON           START            TIME     PROLOG_TIME
   0 tmkvmserv03     user    07/02 11:26:00    7d 05h13m28s    0d 00h00m00s
   1 tmkvmserv05     none    07/09 16:36:12   15d 17h59m58s    0d 00h00m00s
   2 tmkvmserv03     none    07/09 16:39:28   15d 17h56m42s    0d 00h00m00s

Evan Fraser
Trade Me | Storage Engineer
P
+64 4 803 2756
M
+64 22 087 4032
E
evan.fraser at trademe.co.nz



-----Original Message-----
From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Mark Wagner
Sent: Wednesday, 25 July 2012 10:29 a.m.
To: users at lists.opennebula.org
Subject: Re: [one-users] Cannot live-migrate a VM.


On 07/24/2012 02:16 PM, Evan Fraser wrote:
>
> Oops, I forgot to add that the VM in question is most definitely in 
> state RUNNING.
>
>

Can you post a "onevm show" of the VM?

If I have the correct place in the code the VM state needs to be (1) ACTIVE, the VM LCM state needs to be (2) RUNNING and (3) if there is reason why it migrated in the previous host it cannot be NONE where that means "normal termination in host." (The (3) part is confusing to me.) The onevm show should list all these.

--
Mark Wagner | mwagner at intelius.com
System Administrator | Intelius Inc.

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



More information about the Users mailing list