You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ugo Vasi <ug...@procne.it> on 2016/04/04 15:01:07 UTC

Re: Migration was unsuccessful. (resolved)

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 
> the logs, the ones I sent were those who showed me the web interface.
>
>
> Il 04/04/2016 14:45, Rafael Weingärtner 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 
>> “/etc/libvirt/qemu/i-2-28-VM.xml” 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 
>> might be
>> a hidden exception there.
>>
>> On Mon, Apr 4, 2016 at 9:40 AM, Ugo Vasi <ug...@procne.it> wrote:
>>
>>> Yes, the two hosts are in the same cluster and have identical hardware.
>>>
>>>
>>>
>>>
>>> Il 04/04/2016 14:28, Rafael Weingärtner ha scritto:
>>>
>>>> are migrating between hosts of the same clusters or across clusters?
>>>>
>>>> On Mon, Apr 4, 2016 at 9:25 AM, Ugo Vasi <ug...@procne.it> 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ärtner 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 <ug...@procne.it> wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>>> I've added a new host agent to a cluster (cloudstack 4.5.2 on 
>>>>>>> Ubuntu
>>>>>>> 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":"org.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
>>>>>>> "<uuid>23feaae3-d709-45a9-b9dd-a295f87d815c</uuid>".
>>>>>>>
>>>>>>> Where can I search for the problem?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Ugo
>>>>>>>
>>>>>>> -- 
>>>>>>>
>>>>>>>      U g o   V a s i    <ug...@procne.it>
>>>>>>>      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 è vietata la diffusione in qualunque modo 
>>>>>>> eseguita.
>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>> 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    <ug...@procne.it>
>>>>>     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 è vietata la diffusione in qualunque modo eseguita.
>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>> 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    <ug...@procne.it>
>>>    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 è vietata la diffusione in qualunque modo eseguita.
>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>> 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    <ug...@procne.it>
   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 è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
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


Re: Migration was unsuccessful. (resolved)

Posted by Rafael Weingärtner <ra...@gmail.com>.
No problem, I just asked to make it clear to someone else that may have the
same problem in the future.

On Mon, Apr 4, 2016 at 10:17 AM, Ugo Vasi <ug...@procne.it> wrote:

> I restarted libvirtd service (sorry for my english...)
>
>
> Il 04/04/2016 15:06, Rafael Weingärtner ha scritto:
>
>> you said you did not restart libvirtd. What service have you restarted
>> then?
>>
>>
>> On Mon, Apr 4, 2016 at 10:01 AM, Ugo Vasi <ug...@procne.it> 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 the
>>>> logs, the ones I sent were those who showed me the web interface.
>>>>
>>>>
>>>> Il 04/04/2016 14:45, Rafael Weingärtner 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 “/etc/libvirt/qemu/i-2-28-VM.xml”
>>>>> 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
>>>>> might
>>>>> be
>>>>> a hidden exception there.
>>>>>
>>>>> On Mon, Apr 4, 2016 at 9:40 AM, Ugo Vasi <ug...@procne.it> wrote:
>>>>>
>>>>> Yes, the two hosts are in the same cluster and have identical hardware.
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Il 04/04/2016 14:28, Rafael Weingärtner ha scritto:
>>>>>>
>>>>>> are migrating between hosts of the same clusters or across clusters?
>>>>>>
>>>>>>> On Mon, Apr 4, 2016 at 9:25 AM, Ugo Vasi <ug...@procne.it> 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ärtner 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 <ug...@procne.it>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've added a new host agent to a cluster (cloudstack 4.5.2 on
>>>>>>>>> Ubuntu
>>>>>>>>>
>>>>>>>>>> 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":"org.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
>>>>>>>>>> "<uuid>23feaae3-d709-45a9-b9dd-a295f87d815c</uuid>".
>>>>>>>>>>
>>>>>>>>>> Where can I search for the problem?
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Ugo
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>       U g o   V a s i    <ug...@procne.it>
>>>>>>>>>>       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 è vietata la diffusione in qualunque modo
>>>>>>>>>> eseguita.
>>>>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>>>>> 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    <ug...@procne.it>
>>>>>>>>>
>>>>>>>>      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 è vietata la diffusione in qualunque modo eseguita.
>>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>>> 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    <ug...@procne.it>
>>>>>>     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 è vietata la diffusione in qualunque modo eseguita.
>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>> 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    <ug...@procne.it>
>>>    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 è vietata la diffusione in qualunque modo eseguita.
>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>> 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    <ug...@procne.it>
>   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 è vietata la diffusione in qualunque modo eseguita.
> Qualora Lei non fosse la persona a cui il presente messaggio è
> 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
>
>


-- 
Rafael Weingärtner

Re: Migration was unsuccessful. (resolved)

Posted by Ugo Vasi <ug...@procne.it>.
I restarted libvirtd service (sorry for my english...)

Il 04/04/2016 15:06, Rafael Weingärtner ha scritto:
> you said you did not restart libvirtd. What service have you restarted then?
>
>
> On Mon, Apr 4, 2016 at 10:01 AM, Ugo Vasi <ug...@procne.it> 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 the
>>> logs, the ones I sent were those who showed me the web interface.
>>>
>>>
>>> Il 04/04/2016 14:45, Rafael Weingärtner 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 “/etc/libvirt/qemu/i-2-28-VM.xml”
>>>> 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 might
>>>> be
>>>> a hidden exception there.
>>>>
>>>> On Mon, Apr 4, 2016 at 9:40 AM, Ugo Vasi <ug...@procne.it> wrote:
>>>>
>>>> Yes, the two hosts are in the same cluster and have identical hardware.
>>>>>
>>>>>
>>>>>
>>>>> Il 04/04/2016 14:28, Rafael Weingärtner ha scritto:
>>>>>
>>>>> are migrating between hosts of the same clusters or across clusters?
>>>>>> On Mon, Apr 4, 2016 at 9:25 AM, Ugo Vasi <ug...@procne.it> 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ärtner 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 <ug...@procne.it> wrote:
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I've added a new host agent to a cluster (cloudstack 4.5.2 on Ubuntu
>>>>>>>>> 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":"org.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
>>>>>>>>> "<uuid>23feaae3-d709-45a9-b9dd-a295f87d815c</uuid>".
>>>>>>>>>
>>>>>>>>> Where can I search for the problem?
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Ugo
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>       U g o   V a s i    <ug...@procne.it>
>>>>>>>>>       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 è vietata la diffusione in qualunque modo eseguita.
>>>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>>>> 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    <ug...@procne.it>
>>>>>>>      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 è vietata la diffusione in qualunque modo eseguita.
>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>> 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    <ug...@procne.it>
>>>>>     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 è vietata la diffusione in qualunque modo eseguita.
>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>> 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    <ug...@procne.it>
>>    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 è vietata la diffusione in qualunque modo eseguita.
>> Qualora Lei non fosse la persona a cui il presente messaggio è
>> 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    <ug...@procne.it>
   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 è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
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


Re: Migration was unsuccessful. (resolved)

Posted by Rafael Weingärtner <ra...@gmail.com>.
you said you did not restart libvirtd. What service have you restarted then?


On Mon, Apr 4, 2016 at 10:01 AM, Ugo Vasi <ug...@procne.it> 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 the
>> logs, the ones I sent were those who showed me the web interface.
>>
>>
>> Il 04/04/2016 14:45, Rafael Weingärtner 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 “/etc/libvirt/qemu/i-2-28-VM.xml”
>>> 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 might
>>> be
>>> a hidden exception there.
>>>
>>> On Mon, Apr 4, 2016 at 9:40 AM, Ugo Vasi <ug...@procne.it> wrote:
>>>
>>> Yes, the two hosts are in the same cluster and have identical hardware.
>>>>
>>>>
>>>>
>>>>
>>>> Il 04/04/2016 14:28, Rafael Weingärtner ha scritto:
>>>>
>>>> are migrating between hosts of the same clusters or across clusters?
>>>>>
>>>>> On Mon, Apr 4, 2016 at 9:25 AM, Ugo Vasi <ug...@procne.it> 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ärtner 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 <ug...@procne.it> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've added a new host agent to a cluster (cloudstack 4.5.2 on Ubuntu
>>>>>>>> 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":"org.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
>>>>>>>> "<uuid>23feaae3-d709-45a9-b9dd-a295f87d815c</uuid>".
>>>>>>>>
>>>>>>>> Where can I search for the problem?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Ugo
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>      U g o   V a s i    <ug...@procne.it>
>>>>>>>>      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 è vietata la diffusione in qualunque modo eseguita.
>>>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>>>> 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    <ug...@procne.it>
>>>>>>     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 è vietata la diffusione in qualunque modo eseguita.
>>>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>>>> 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    <ug...@procne.it>
>>>>    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 è vietata la diffusione in qualunque modo eseguita.
>>>> Qualora Lei non fosse la persona a cui il presente messaggio è
>>>> 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    <ug...@procne.it>
>   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 è vietata la diffusione in qualunque modo eseguita.
> Qualora Lei non fosse la persona a cui il presente messaggio è
> 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
>
>


-- 
Rafael Weingärtner