Hi,<div><br></div><div>I've seen another error like this one in the list for OpenNebula 3.2. So it is clear that is not related to the bug solved in 3.4.1.</div><div><br></div><div>The problem is this record:</div><div>
<br></div><div> 1 tmkvmserv05 none 07/09 16:36:12 15d 17h59m58s 0d 00h00m00s</div><div><br></div><div>There is no migration reason (none) so OpenNebula thinks that the VM is still migrating. Did the migration fail? Could you send us the vm.log file for this VM (97) and oned.log?</div>
<div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><br></div><div><br></div><div><div class="gmail_quote">On Mon, Jul 30, 2012 at 4:41 AM, Evan Fraser <span dir="ltr"><<a href="mailto:evan.fraser@trademe.co.nz" target="_blank">evan.fraser@trademe.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello again,<br>
<br>
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".<br>
<br>
On other VM's the state is set to "6" and lcm_state is "0".<br>
<br>
Is there any documentation on what these fields mean? Would manually changing these values fix/break anything?<br>
<br>
Regards,<br>
<br>
<br>
Evan.<br>
<div class="im HOEnZb"><br>
Evan Fraser<br>
Trade Me | Storage Engineer<br>
P<br>
<a href="tel:%2B64%204%20803%202756" value="+6448032756">+64 4 803 2756</a><br>
M<br>
<a href="tel:%2B64%2022%20087%204032" value="+64220874032">+64 22 087 4032</a><br>
E <br>
<a href="mailto:evan.fraser@trademe.co.nz">evan.fraser@trademe.co.nz</a><br>
<br>
<br>
-----Original Message-----<br>
</div><div class="HOEnZb"><div class="h5">From: <a href="mailto:users-bounces@lists.opennebula.org">users-bounces@lists.opennebula.org</a> [mailto:<a href="mailto:users-bounces@lists.opennebula.org">users-bounces@lists.opennebula.org</a>] On Behalf Of Evan Fraser<br>
Sent: Wednesday, 25 July 2012 10:40 a.m.<br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] Cannot live-migrate a VM.<br>
<br>
Hi Mark,<br>
Thanks for the response, here's the output from onevm show:<br>
<br>
VIRTUAL MACHINE 97 INFORMATION<br>
ID : 97<br>
NAME : consumer3<br>
USER : consumer<br>
GROUP : consumer<br>
STATE : ACTIVE<br>
LCM_STATE : RUNNING<br>
RESCHED : No<br>
HOST : tmkvmserv03<br>
START TIME : 07/02 11:25:57<br>
END TIME : -<br>
DEPLOY ID : one-97<br>
<br>
VIRTUAL MACHINE MONITORING<br>
NET_TX : 2G<br>
NET_RX : 2G<br>
USED MEMORY : 7.8G<br>
USED CPU : 14<br>
<br>
PERMISSIONS<br>
OWNER : um-<br>
GROUP : ---<br>
OTHER : ---<br>
<br>
VIRTUAL MACHINE TEMPLATE<br>
DISK=[<br>
BUS="virtio",<br>
CLONE="NO",<br>
DATASTORE="default",<br>
DATASTORE_ID="1",<br>
DISK_ID="0",<br>
DRIVER="qcow2",<br>
IMAGE="consumer3",<br>
IMAGE_ID="13",<br>
IMAGE_UNAME="oneadmin",<br>
PERSISTENT="YES",<br>
READONLY="NO",<br>
SAVE="YES",<br>
SOURCE="/var/lib/one/datastores/1/68bf2a87fa6b400adc534c438860e02c",<br>
TARGET="hda",<br>
TM_MAD="shared",<br>
TYPE="DISK" ]<br>
ERROR=[<br>
MESSAGE="Error live migrating VM: Could not migrate one-97 to tmkvmserv05",<br>
TIMESTAMP="Mon Jul 9 16:39:28 2012" ] GRAPHICS=[<br>
LISTEN="0.0.0.0",<br>
PORT="5997",<br>
TYPE="vnc" ]<br>
MEMORY="8000"<br>
NAME="consumer3"<br>
NIC=[<br>
BRIDGE="ovsbr1",<br>
IP="202.21.128.23",<br>
MAC="02:00:ca:15:80:17",<br>
MODEL="virtio",<br>
NETWORK="public",<br>
NETWORK_ID="6",<br>
NETWORK_UNAME="oneadmin",<br>
VLAN="YES",<br>
VLAN_ID="11" ]<br>
NIC=[<br>
BRIDGE="ovsbr1",<br>
IP="172.16.50.23",<br>
MAC="02:00:ac:10:32:17",<br>
MODEL="virtio",<br>
NETWORK="consumerpriv",<br>
NETWORK_ID="8",<br>
NETWORK_UNAME="consumer",<br>
VLAN="YES",<br>
VLAN_ID="1001" ]<br>
OS=[<br>
ARCH="x86_64",<br>
BOOT="hd" ]<br>
RAW=[<br>
TYPE="kvm" ]<br>
TEMPLATE_ID="18"<br>
VCPU="2"<br>
VMID="97"<br>
<br>
VIRTUAL MACHINE HISTORY<br>
SEQ HOST REASON START TIME PROLOG_TIME<br>
0 tmkvmserv03 user 07/02 11:26:00 7d 05h13m28s 0d 00h00m00s<br>
1 tmkvmserv05 none 07/09 16:36:12 15d 17h59m58s 0d 00h00m00s<br>
2 tmkvmserv03 none 07/09 16:39:28 15d 17h56m42s 0d 00h00m00s<br>
<br>
Evan Fraser<br>
Trade Me | Storage Engineer<br>
P<br>
+64 4 803 2756<br>
M<br>
+64 22 087 4032<br>
E<br>
<a href="mailto:evan.fraser@trademe.co.nz">evan.fraser@trademe.co.nz</a><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.opennebula.org">users-bounces@lists.opennebula.org</a> [mailto:<a href="mailto:users-bounces@lists.opennebula.org">users-bounces@lists.opennebula.org</a>] On Behalf Of Mark Wagner<br>
Sent: Wednesday, 25 July 2012 10:29 a.m.<br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] Cannot live-migrate a VM.<br>
<br>
<br>
On 07/24/2012 02:16 PM, Evan Fraser wrote:<br>
><br>
> Oops, I forgot to add that the VM in question is most definitely in<br>
> state RUNNING.<br>
><br>
><br>
<br>
Can you post a "onevm show" of the VM?<br>
<br>
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.<br>
<br>
--<br>
Mark Wagner | <a href="mailto:mwagner@intelius.com">mwagner@intelius.com</a><br>
System Administrator | Intelius Inc.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>
</div>