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 E3912115C0 for ; Wed, 27 Aug 2014 11:38:21 +0000 (UTC) Received: (qmail 25693 invoked by uid 500); 27 Aug 2014 11:38:20 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 25649 invoked by uid 500); 27 Aug 2014 11:38:20 -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 25633 invoked by uid 99); 27 Aug 2014 11:38:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 11:38:19 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harikrishna.patnala@citrix.com designates 103.14.252.240 as permitted sender) Received: from [103.14.252.240] (HELO SMTP.CITRIX.COM.AU) (103.14.252.240) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 11:38:15 +0000 X-IronPort-AV: E=Sophos;i="5.04,409,1406592000"; d="scan'208";a="9286660" From: Harikrishna Patnala To: "users@cloudstack.apache.org" Subject: Re: error restarting virtual router after upgrading Thread-Topic: error restarting virtual router after upgrading Thread-Index: AQHPwdm64XbktZcMNk2rsvaPqkohmZvjzNQA Date: Wed, 27 Aug 2014 11:37:51 +0000 Message-ID: <59D98DB2-AC97-4D78-82FC-C954D950DB6D@citrix.com> References: <53FDA0F8.5010405@procne.it> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="Windows-1252" Content-ID: <51E44BF38206B744B10C84F9CB036E9B@citrix.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Can you check the value of =93cache_mode" column in disk_offering table for= the disk_offering used by router. As per the fix =93cache_mode" value should be in upper case. -Harikrishna On 27-Aug-2014, at 3:00 pm, Erik Weber wrote: > Most likely this: https://issues.apache.org/jira/browse/CLOUDSTACK-6893 >=20 > I'm not aware of a manual workaround, perhaps someone else is. >=20 > --=20 > Erik >=20 >=20 > On Wed, Aug 27, 2014 at 11:12 AM, Ugo Vasi wrote: >=20 >> Hi all, >> we are trying to upgrade a cloustack 4.3 installation to a 4.4 version. >> Manager and agents (and ssvm and cpvm) runs in a new version and seems t= o >> be OK but virtual routers are still 4.3.0. >>=20 >> I tried to reboot a router but this does not restart it gives me these >> error messages: >>=20 >> ... >> 2014-08-27 10:50:01,328 DEBUG [c.c.a.t.Request] >> (AgentManager-Handler-5:null) Seq 1-7961519716260912076: Processing: { >> Ans: , MgmtId: 240206110326297, via: 1, Ver: v1, Flags: 10, >> [{"com.cloud.agent.api.Answer":{"result":false,"details":"No enum >> constant com.cloud.hypervisor.kvm.resource.LibvirtVMDef.DiskDef. >> diskCacheMode.none","wait":0}},{"com.cloud.agent.api.Answer" >> :{"result":false,"details":"Stopped by previous failure","wait":0}},{"co= m. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}},{"com.cloud.agent.api.Answer":{" >> result":false,"details":"Stopped by previous failure","wait":0}},{"com. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}},{"com.cloud.agent.api.Answer":{" >> result":false,"details":"Stopped by previous failure","wait":0}},{"com. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}},{"com.cloud.agent.api.Answer":{" >> result":false,"details":"Stopped by previous failure","wait":0}},{"com. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}},{"com.cloud.agent.api.Answer":{" >> result":false,"details":"Stopped by previous failure","wait":0}},{"com. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}},{"com.cloud.agent.api.Answer":{" >> result":false,"details":"Stopped by previous failure","wait":0}},{"com. >> cloud.agent.api.Answer":{"result":false,"details":"Stopped by previous >> failure","wait":0}}] } >> 2014-08-27 10:50:01,328 DEBUG [c.c.a.t.Request] (Work-Job-Executor-13:ct= x-3a10ee96 >> job-120/job-121 ctx-2cd18d35) Seq 1-7961519716260912076: Received: { Ans= : , >> MgmtId: 240206110326297, via: 1, Ver: v1, Flags: 10, { Answer, Answer, >> Answer, Answer, Answer, Answer, Answer, Answer, Answer, Answer, Answer, >> Answer, Answer } } >> 2014-08-27 10:50:01,367 ERROR [c.c.v.VirtualMachineManagerImpl] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121 ctx-2cd18d35) Failed >> to start instance VM[DomainRouter|r-12-VM] >> com.cloud.utils.exception.CloudRuntimeException: Unable to get answer >> that is of class com.cloud.agent.api.StartAnswer >> at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80) >> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart( >> VirtualMachineManagerImpl.java:1019) >> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart( >> VirtualMachineManagerImpl.java:5190) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> ... >>=20 >> 2014-08-27 10:50:01,829 DEBUG [c.c.c.CapacityManagerImpl] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121 ctx-2cd18d35) release >> mem from host: 1, old used: 2952790016,reserved: 0, total: 50640633856; = new >> used: 2818572288,reserved:0; movedfromreserved: false,moveToReserveredfa= lse >> 2014-08-27 10:50:01,865 ERROR [c.c.v.VmWorkJobHandlerProxy] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121 ctx-2cd18d35) >> Invocation exception, caused by: com.cloud.exception.AgentUnavailableExc= eption: >> Resource [Host:1] is unreachable: Host 1: Unable to start instance due t= o >> Unable to get answer that is of class com.cloud.agent.api.StartAnswer >> 2014-08-27 10:50:01,866 INFO [c.c.v.VmWorkJobHandlerProxy] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121 ctx-2cd18d35) Rethrow >> exception com.cloud.exception.AgentUnavailableException: Resource >> [Host:1] is unreachable: Host 1: Unable to start instance due to Unable = to >> get answer that is of class com.cloud.agent.api.StartAnswer >> 2014-08-27 10:50:01,866 DEBUG [c.c.v.VmWorkJobDispatcher] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121) Done with run of VM >> work job: com.cloud.vm.VmWorkStart for VM 12, job origin: 120 >> 2014-08-27 10:50:01,867 ERROR [c.c.v.VmWorkJobDispatcher] >> (Work-Job-Executor-13:ctx-3a10ee96 job-120/job-121) Unable to complete >> AsyncJobVO {id:121, userId: 2, accountId: 2, instanceType: null, >> instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: >> rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oA >> BGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50 >> UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5n >> L0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYX >> ZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB- >> AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS >> 91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5= - >> ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB= - >> AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAADHQAGVZpcnR1YWxNYWNoaW5l >> TWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNo >> TWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_ >> QAAAAAAADHcIAAAAEAAAAAF0AA5SZXN0YXJ0TmV0d29ya3QAP3JPMEFCWE55 >> QUJGcVlYWmhMbXhoYm1jdVFtOXZiR1ZoYnMwZ2NvRFZuUHJ1QWdBQldnQUZkbUZzZFdWNGNB= RXhw, >> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, >> result: null, initMsid: 240206110326297, completeMsid: null, lastUpdated= : >> null, lastPolled: null, created: Wed Aug 27 10:49:59 CEST 2014}, job >> origin:120 >> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is >> unreachable: Host 1: Unable to start instance due to Unable to get answe= r >> that is of class com.cloud.agent.api.StartAnswer >> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart( >> VirtualMachineManagerImpl.java:1105) >> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart( >> VirtualMachineManagerImpl.java:5190) >> .... >>=20 >> I tried to destroy the router but the new one fails to start in the same >> way. >>=20 >> The other router (4.3.0 version) is still working but I have not tried t= o >> restart it. >>=20 >> Of course the vmon the network with the router ko can not get out of the >> network. >>=20 >> Management run on ubuntu 12.04, Agents run on ubuntu 14.04. In another >> similar installation of cloudstack 4.3 it's all quite ok (I found a prob= lem >> with a guest network, see 'Unable to start a VM due to insufficient >> capacity' precedent mailing list messages). >>=20 >> -- >>=20 >> 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 >>=20 >> Le informazioni contenute in questo messaggio sono riservate e >> confidenziali ed =E8 vietata la diffusione in qualunque modo eseguita. >> Qualora Lei non fosse la persona a cui il presente messaggio =E8 >> 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 >>=20