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.v...@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.v...@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 supp...@procne.it . > Rif. D.L. 196/2003 > > -- Rafael Weingärtner