Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 45C1120049E for ; Thu, 10 Aug 2017 13:24:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 443FE16A037; Thu, 10 Aug 2017 11:24:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 64EC716A02F for ; Thu, 10 Aug 2017 13:24:10 +0200 (CEST) Received: (qmail 26252 invoked by uid 500); 10 Aug 2017 11:24:04 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 26197 invoked by uid 500); 10 Aug 2017 11:24:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 26172 invoked by uid 99); 10 Aug 2017 11:24:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 11:24:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 243B8C0566 for ; Thu, 10 Aug 2017 11:24:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EJZDVHwqfUFJ for ; Thu, 10 Aug 2017 11:24:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 548925FE64 for ; Thu, 10 Aug 2017 11:24:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8C64EE0E0B for ; Thu, 10 Aug 2017 11:24:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0845224171 for ; Thu, 10 Aug 2017 11:24:01 +0000 (UTC) Date: Thu, 10 Aug 2017 11:24:01 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-8209) VM migration fails across KVM hosts if hosts have same hostname even if different libvirt uuid or IPs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 10 Aug 2017 11:24:11 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8209?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav reassigned CLOUDSTACK-8209: --------------------------------------- Assignee: (was: Rohit Yadav) > VM migration fails across KVM hosts if hosts have same hostname even if d= ifferent libvirt uuid or IPs > -------------------------------------------------------------------------= ---------------------------- > > Key: CLOUDSTACK-8209 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-820= 9 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Affects Versions: 4.5.0 > Reporter: Rohit Yadav > Priority: Minor > Fix For: Future > > > In case KVM hosts have same hostname but different libvirtd host uuid or = IPs, VM migration fails with: > 2015-02-04 15:22:18,042 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Execu= tor-13:ctx-ae4c1ba1 job-37/job-38) Unable to complete AsyncJobVO {id:38, us= erId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud= .vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRd= xQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABm= hvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b= 25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRK= AAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAA= AAAACAAAAAAAAAAIAAAAAAAAAA3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAX= NyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlc= oaslR0LlOCLAgAAeHAAAAAAAAAAAXNxAH4ABwAAAAAAAAACcQB-AAlwcQB-AAk, cmdVersion:= 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, ini= tMsid: 5071960016, completeMsid: null, lastUpdated: null, lastPolled: null,= created: Wed Feb 04 15:22:15 IST 2015}, job origin:37 > com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtExcep= tion: internal error: Attempt to migrate guest to the same host kvm-test = =20 > >---at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManag= erImpl.java:1956) > >---at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualM= achineManagerImpl.java:1854) > >---at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualM= achineManagerImpl.java:4501) > >---at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) = =20 > >---at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm= pl.java:57) > >---at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc= cessorImpl.java:43) > >---at java.lang.reflect.Method.invoke(Method.java:606) = =20 > >---at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandle= rProxy.java:107) > >---at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMach= ineManagerImpl.java:4633) > >---at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:1= 03) =20 > >---at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.ru= nInContext(AsyncJobManagerImpl.java:536) > >---at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run= (ManagedContextRunnable.java:49) > >---at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1= .call(DefaultManagedContext.java:56) > >---at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.c= allWithContext(DefaultManagedContext.java:103) > >---at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.r= unWithContext(DefaultManagedContext.java:53) > >---at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(M= anagedContextRunnable.java:46) > >---at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.ru= n(AsyncJobManagerImpl.java:493) > >---at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java= :471) =20 > >---at java.util.concurrent.FutureTask.run(FutureTask.java:262) = =20 > >---at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut= or.java:1145) > >---at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu= tor.java:615) > >---at java.lang.Thread.run(Thread.java:745) = =20 -- This message was sent by Atlassian JIRA (v6.4.14#64029)