[one-users] Cannot live-migrate a VM.
Ruben S. Montero
rsmontero at opennebula.org
Thu Aug 2 10:44:14 PDT 2012
Hi,
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.
The problem is this record:
1 tmkvmserv05 none 07/09 16:36:12 15d 17h59m58s 0d 00h00m00s
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?
Cheers
Ruben
On Mon, Jul 30, 2012 at 4:41 AM, Evan Fraser <evan.fraser at trademe.co.nz>wrote:
> 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
>
--
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/20120802/30719b88/attachment-0002.htm>
More information about the Users
mailing list