From users-return-25181-apmail-cloudstack-users-archive=cloudstack.apache.org@cloudstack.apache.org Mon Apr 4 13:06:50 2016 Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE4241908B for ; Mon, 4 Apr 2016 13:06:50 +0000 (UTC) Received: (qmail 12530 invoked by uid 500); 4 Apr 2016 13:06:49 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 12475 invoked by uid 500); 4 Apr 2016 13:06:49 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 12462 invoked by uid 99); 4 Apr 2016 13:06:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2016 13:06:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BAA511A0C70 for ; Mon, 4 Apr 2016 13:06:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JeekhzG4dUPg for ; Mon, 4 Apr 2016 13:06:46 +0000 (UTC) Received: from mail-yw0-f169.google.com (mail-yw0-f169.google.com [209.85.161.169]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 1648F5F2C3 for ; Mon, 4 Apr 2016 13:06:46 +0000 (UTC) Received: by mail-yw0-f169.google.com with SMTP id g127so249842990ywf.2 for ; Mon, 04 Apr 2016 06:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=AZ4Uwaoh1k+oZsUyUAbFRTxMfZgjchukEib7YgrQO0s=; b=Cndi2Mfq7GkJyrMMfqyx5axoJJ+qJUFbPq8EHSDtah3mmYnuQLhtbS4+6uj6sU26l3 CkDxHpZmF7HKpuDKOgVn605If4cZJDyvOPIIAewG6oMFDBT/WqJ23MZdk7ob1gp3kQYZ RLqSPTrJnKPrkYMan3+c6q9fXZn2FSt+isLhJ2YSzEc47v0kqjhZBwz2Bf3weyEgEBoL hBNvZ9FCrYMU8dMqsjlbSG02M6oGHTnE2aTbq4Oewwz5vpCkXbBHmZu/rws9IDNT9Zly 4AA12p3eWkbXN+zfe49AHQ8WB02hgdFJBQhhSMXDHZnVbvzaOvVLPQnqXAGxvNRXNQLn mx0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=AZ4Uwaoh1k+oZsUyUAbFRTxMfZgjchukEib7YgrQO0s=; b=IX3TIUoMGiz/c6Lnu+SINlMen6r0q3L1mIzYGP0MFGY+nyIk/3xkBpja5chScuTvUc 47vmxyYK0mVxPA+wPZOAoDd2YlL20ivL9m/tleVNynq2P1mkyrgI9gdqrp3EKMXCbyXC JT5+GNBcXRnR9qWm2TDIrnkLMCRTfziaUg7bGqGg9YVB1ZGuYB7QvVLfiaTJMIwrv3xn oy+n/zcFnPAMsZ7k7uCZGai3GEdx0u/xxPaAe/fmpWFzojVZVwmFr6S8UMtYIOZ6gRHN 8LlrdYOqwY0uAd7rT8q+mfgkq7PZziAAyzSAyieOKtrja7KIY+iWEZoNlo1gUn7eHTjE +5Vg== X-Gm-Message-State: AD7BkJJYh+9YsPPLbe/HsdNGB3GcSOtf0uK6PBGts1hgn0ptVDoeVokWoMjjk6v/sIMdNArjxpHUX8gsYT5YnQ== MIME-Version: 1.0 X-Received: by 10.13.254.2 with SMTP id o2mr18351609ywf.259.1459775205006; Mon, 04 Apr 2016 06:06:45 -0700 (PDT) Received: by 10.129.136.133 with HTTP; Mon, 4 Apr 2016 06:06:44 -0700 (PDT) In-Reply-To: <57026593.9020305@procne.it> References: <57023C09.1070805@procne.it> <57025D24.8090306@procne.it> <570260D8.30904@procne.it> <5702633D.4010502@procne.it> <57026593.9020305@procne.it> Date: Mon, 4 Apr 2016 10:06:44 -0300 Message-ID: Subject: Re: Migration was unsuccessful. (resolved) From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=94eb2c0807c68be1b6052fa866f5 --94eb2c0807c68be1b6052fa866f5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable you said you did not restart libvirtd. What service have you restarted then= ? On Mon, Apr 4, 2016 at 10:01 AM, Ugo Vasi wrote: > After deleted the filei-2-28-VM.xml, I had not restarted libvirtd. > Now, restarting that service, the VM is migrated without problems. > > Thanks for the attention > > Il 04/04/2016 14:51, Ugo Vasi ha scritto: > >> I confirm that hosts are KVM hypervisor. I will try other messages in th= e >> logs, the ones I sent were those who showed me the web interface. >> >> >> Il 04/04/2016 14:45, Rafael Weing=C3=A4rtner ha scritto: >> >>> I am assuming you are using either LXC or KVM, right? >>> I do not use those hypervisors, have you executed all of the required >>> configurations to enable live migrations? >>> >>> If you have already deleted the file =E2=80=9C/etc/libvirt/qemu/i-2-28-= VM.xml=E2=80=9D >>> and >>> tried the migration again, and it did not work. How is your Java >>> debugging >>> skills? I would suggest you to debug the migration workflow, there migh= t >>> be >>> a hidden exception there. >>> >>> On Mon, Apr 4, 2016 at 9:40 AM, Ugo Vasi wrote: >>> >>> Yes, the two hosts are in the same cluster and have identical hardware. >>>> >>>> >>>> >>>> >>>> Il 04/04/2016 14:28, Rafael Weing=C3=A4rtner ha scritto: >>>> >>>> are migrating between hosts of the same clusters or across clusters? >>>>> >>>>> On Mon, Apr 4, 2016 at 9:25 AM, Ugo Vasi wrote: >>>>> >>>>> Yes, I added a new hypervisor to a cluster. Note that this host is >>>>> from an >>>>> >>>>>> old CloudStack 3.2 installation that I reset the configuration and >>>>>> software. >>>>>> >>>>>> I tried deleting the file but keeps giving me the same erroreven if = I >>>>>> can >>>>>> not find references in other system files. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Il 04/04/2016 12:48, Rafael Weing=C3=A4rtner ha scritto: >>>>>> >>>>>> by adding a new host agent, do you mean adding a new host >>>>>> (hypervisor) to >>>>>> >>>>>>> a >>>>>>> cluster? >>>>>>> Have you tried deleting the file "/etc/libvirt/qemu/i-2-28-VM.xml" >>>>>>> and >>>>>>> trying to migrate the vm again? >>>>>>> >>>>>>> On Mon, Apr 4, 2016 at 7:03 AM, Ugo Vasi wrote= : >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I've added a new host agent to a cluster (cloudstack 4.5.2 on Ubunt= u >>>>>>>> 14.04). >>>>>>>> >>>>>>>> Today, try migrating a VM from another host to the new one, the >>>>>>>> migration >>>>>>>> fails with these messages: >>>>>>>> >>>>>>>> 2016-04-04 11:12:13,725 DEBUG [c.c.a.t.Request] >>>>>>>> (AgentManager-Handler-7:null) Seq 12-5945595933059225023: >>>>>>>> Processing: >>>>>>>> { >>>>>>>> Ans: , MgmtId: 113359592708, via: 12, Ver: v1, Flags: 10, >>>>>>>> >>>>>>>> >>>>>>>> [{"com.cloud.agent.api.MigrateAnswer":{"result":false,"details":"o= rg.libvirt.LibvirtException: >>>>>>>> >>>>>>>> operation failed: domain 'i-2-28-VM' already exists with uuid >>>>>>>> 23feaae3-d709-45a9-b9dd-a295f87d815c","wait":0}}] } >>>>>>>> 2016-04-04 11:12:13,725 DEBUG [c.c.a.t.Request] >>>>>>>> (Work-Job-Executor-45:ctx-dc665cdb job-1388/job-1389 ctx-c61ce7b1) >>>>>>>> Seq >>>>>>>> 12-5945595933059225023: Received: { Ans: , MgmtId: 113359592708, >>>>>>>> via: >>>>>>>> 12, >>>>>>>> Ver: v1, Flags: 10, { MigrateAnswer } } >>>>>>>> 2016-04-04 11:12:13,725 INFO [c.c.v.VirtualMachineManagerImpl] >>>>>>>> (Work-Job-Executor-45:ctx-dc665cdb job-1388/job-1389 ctx-c61ce7b1) >>>>>>>> Migration was unsuccessful. Cleaning up: VM[User|i-2-28-VM] >>>>>>>> >>>>>>>> In the new host I found a file called >>>>>>>> "/etc/libvirt/qemu/i-2-28-VM.xml" >>>>>>>> which contains the reference ID >>>>>>>> "23feaae3-d709-45a9-b9dd-a295f87d815c". >>>>>>>> >>>>>>>> Where can I search for the problem? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Ugo >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> U g o V a s i >>>>>>>> P r o c n e s.r.l >) >>>>>>>> via Cotonificio 45 33010 Tavagnacco IT >>>>>>>> phone: +390432486523 fax: +390432486523 >>>>>>>> >>>>>>>> Le informazioni contenute in questo messaggio sono riservate e >>>>>>>> confidenziali ed =C3=A8 vietata la diffusione in qualunque modo es= eguita. >>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio =C3= =A8 >>>>>>>> destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene >>>>>>>> gentilmente comunicazione. >>>>>>>> Per qualsiasi informazione si prega di contattare support@procne.i= t >>>>>>>> . >>>>>>>> Rif. D.L. 196/2003 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>> U g o V a s i >>>>>> P r o c n e s.r.l >) >>>>>> via Cotonificio 45 33010 Tavagnacco IT >>>>>> phone: +390432486523 fax: +390432486523 >>>>>> >>>>>> Le informazioni contenute in questo messaggio sono riservate e >>>>>> confidenziali ed =C3=A8 vietata la diffusione in qualunque modo eseg= uita. >>>>>> Qualora Lei non fosse la persona a cui il presente messaggio =C3=A8 >>>>>> destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene >>>>>> gentilmente comunicazione. >>>>>> Per qualsiasi informazione si prega di contattare support@procne.it = . >>>>>> Rif. D.L. 196/2003 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>> >>>> U g o V a s i >>>> P r o c n e s.r.l >) >>>> via Cotonificio 45 33010 Tavagnacco IT >>>> phone: +390432486523 fax: +390432486523 >>>> >>>> Le informazioni contenute in questo messaggio sono riservate e >>>> confidenziali ed =C3=A8 vietata la diffusione in qualunque modo esegui= ta. >>>> Qualora Lei non fosse la persona a cui il presente messaggio =C3=A8 >>>> destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene >>>> gentilmente comunicazione. >>>> Per qualsiasi informazione si prega di contattare support@procne.it . >>>> Rif. D.L. 196/2003 >>>> >>>> >>>> >>> >> >> > > -- > > U g o V a s i > P r o c n e s.r.l >) > via Cotonificio 45 33010 Tavagnacco IT > phone: +390432486523 fax: +390432486523 > > Le informazioni contenute in questo messaggio sono riservate e > confidenziali ed =C3=A8 vietata la diffusione in qualunque modo eseguita. > Qualora Lei non fosse la persona a cui il presente messaggio =C3=A8 > destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene > gentilmente comunicazione. > Per qualsiasi informazione si prega di contattare support@procne.it . > Rif. D.L. 196/2003 > > --=20 Rafael Weing=C3=A4rtner --94eb2c0807c68be1b6052fa866f5--