Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16354FB42 for ; Tue, 1 Oct 2013 16:50:08 +0000 (UTC) Received: (qmail 28824 invoked by uid 500); 1 Oct 2013 16:50:06 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 28778 invoked by uid 500); 1 Oct 2013 16:50:06 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 28759 invoked by uid 99); 1 Oct 2013 16:50:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 16:50:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.192.175] (HELO mail-pd0-f175.google.com) (209.85.192.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 16:50:00 +0000 Received: by mail-pd0-f175.google.com with SMTP id q10so7458825pdj.20 for ; Tue, 01 Oct 2013 09:49:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ooJs8uIghz/MkG7th/o2+hoo3jLOnUzdtASrK95tCBI=; b=A4C9iU7+/gSfzabHT8Q6ROAx8igR6IAJm3DIU2bdB0wP2awRRtrBKPY73ZWgAv/d8w DMFi16JQXXlrDAnv2ihcxTBnM5XYPBzcAZhViXMjKA/xDiUGPDfmAV6IMs8r4eifNP0T /2jTPDaW2rDxW6bokM43kzyL4jPB5J3ltWC3dKnDXFBXFwNgNN7ftPzhgdwfJIkf683M q9crE1qjd9/e2Bs2v5ZUOl2yxe/xfJn1y6GonjMWxvTw/Wmif9XMrl2iupYMunAsY9GK okBWxnOJdc21KxSjhQyHDy1ggB93UZJyGsuZ1qzAadfgx7uZQSCtmhhB739PzF5118Xp R9/w== X-Gm-Message-State: ALoCoQk6zwv6oJCMuB/bfBObCC2hZXZrf+fNbAMAJyI1t+WXwGwjWgfrswSyDg4CMMGvOkLfF8Hv MIME-Version: 1.0 X-Received: by 10.67.23.164 with SMTP id ib4mr35319848pad.42.1380646179562; Tue, 01 Oct 2013 09:49:39 -0700 (PDT) Received: by 10.70.80.7 with HTTP; Tue, 1 Oct 2013 09:49:39 -0700 (PDT) Date: Wed, 2 Oct 2013 00:49:39 +0800 Message-ID: Subject: Unable to create instance after upgrading to CloudStack 4.2.0 From: Indra Pramana To: "dev@cloudstack.apache.org" , "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11337a0c17f88104e7b0bd26 X-Virus-Checked: Checked by ClamAV on apache.org --001a11337a0c17f88104e7b0bd26 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all, I am having problems of unable to create new instances after upgrading to 4.2.0. The error message is: Failed to increment resource count of type primary_storage for account id= =3D2 Excerpt from management-server.log: =3D=3D=3D=3D 2013-10-02 00:40:57,770 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) =3D=3D=3DSTART=3D=3D=3D -- GET command=3DqueryAsyncJobResult&jobId=3D183063da-fb08-425b-8057-157e33320674&= response=3Djson&sessionkey=3DVEyky3f1rsQVfLVs9pGg2sXh60o%3D&_=3D13806456467= 39 2013-10-02 00:40:57,785 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-16:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering 2013-10-02 00:40:57,791 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-16:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 2013-10-02 00:40:57,795 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-16:null) ControlledEntity name is:com.cloud.network.Network 2013-10-02 00:40:57,798 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-16:null) InfrastructureEntity name is:com.cloud.offering.DiskOffering 2013-10-02 00:40:57,813 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-16:null) Service SecurityGroup is not supported in the network id=3D238 2013-10-02 00:40:57,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) =3D=3D=3DEND=3D=3D=3D -- GET command=3DqueryAsyncJobResult&jobId=3D183063da-fb08-425b-8057-157e33320674&= response=3Djson&sessionkey=3DVEyky3f1rsQVfLVs9pGg2sXh60o%3D&_=3D13806456467= 39 2013-10-02 00:40:57,867 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-16:null) Allocating in the DB for vm 2013-10-02 00:40:57,887 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-16:null) Allocating entries for VM: VM[User|Test-Upgrade-420= ] 2013-10-02 00:40:57,888 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-16:null) Allocating nics for VM[User|Test-Upgrade-420] 2013-10-02 00:40:57,889 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-16:null) Allocating nic for vm VM[User|Test-Upgrade-420] in network Ntwk[238|Guest|7] with requested profile NicProfile[0-0-null-null-null 2013-10-02 00:40:57,909 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-16:null) Service SecurityGroup is not supported in the network id=3D238 2013-10-02 00:40:57,911 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-16:null) Allocating disks for VM[User|Test-Upgrade-420] 2013-10-02 00:40:57,930 ERROR [cloud.resourcelimit.ResourceLimitManagerImpl] (catalina-exec-16:null) Failed to update resource count for account id=3D2 2013-10-02 00:40:57,931 DEBUG [db.Transaction.Transaction] (catalina-exec-16:null) Rolling back the transaction: Time =3D 74 Name =3D createVirtualMachine; called by -Transaction.rollback:898-Transaction.removeUpTo:841-Transaction.close:665-= TransactionContextBuilder.interceptComplete:56-ComponentInstantiationPostPr= ocessor$InterceptorDispatcher.intercept:131-ResourceLimitManagerImpl.increm= entResourceCount:238-VolumeManagerImpl.allocateTemplatedVolume:1477-Virtual= MachineManagerImpl.allocate:386-ComponentInstantiationPostProcessor$Interce= ptorDispatcher.intercept:125-CloudOrchestrator.createVirtualMachine:214-Use= rVmManagerImpl.createVirtualMachine:2867-ComponentInstantiationPostProcesso= r$InterceptorDispatcher.intercept:125 2013-10-02 00:40:57,978 ERROR [cloud.api.ApiServer] (catalina-exec-16:null) unhandled exception executing api command: deployVirtualMachine com.cloud.utils.exception.CloudRuntimeException: Failed to increment resource count of type primary_storage for account id=3D2 =3D=3D=3D=3D Looking forward to your reply, thank you. Cheers. --001a11337a0c17f88104e7b0bd26--