cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Vasi <ugo.v...@procne.it>
Subject Re: Migration was unsuccessful. (resolved)
Date Mon, 04 Apr 2016 13:01:07 GMT
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 <ugo.vasi@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 <ugo.vasi@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 <ugo.vasi@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    <ugo.vasi@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    <ugo.vasi@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    <ugo.vasi@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    <ugo.vasi@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


Mime
View raw message