Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4B2310D83 for ; Wed, 31 Jul 2013 14:09:51 +0000 (UTC) Received: (qmail 55487 invoked by uid 500); 31 Jul 2013 14:09:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 55279 invoked by uid 500); 31 Jul 2013 14:09:49 -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 55237 invoked by uid 500); 31 Jul 2013 14:09:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 55233 invoked by uid 99); 31 Jul 2013 14:09:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 14:09:48 +0000 Date: Wed, 31 Jul 2013 14:09:48 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-3934) Update Resource Count for an account is setting the primary storage usage to Zero MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada closed CLOUDSTACK-3934. ------------------------------------ Regressed with latest builds. This is fixed now. Hence closing the defect. > Update Resource Count for an account is setting the primary storage usage to Zero > --------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3934 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3934 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > Assignee: Prachi Damle > Priority: Critical > Fix For: 4.2.0 > > Attachments: apilog.log, cloud-backup.dmp, management-server.log > > > Setup: VMWARE ESXI 5.0 U2 servers > Steps: > 1. Create an account and deploy instances using this user account (Root Volume size is 2 GB) > 2. Check the primary storage usage for this account : (2 GB) > 200 > 2 > 198 > 3. Update Resource count of this account > 4. Verify primary storage resource usage : > It is set to Zero . > 200 > 0 > 200 > Log Details: > 2013-07-30 14:02:07,542 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-73:null) Ping from 11 > 2013-07-30 14:02:07,829 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===START=== 10.144.6.19 -- GET command=listAccounts&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&id=9bd0da33-2d3a-415a-bd8d-9c05ca3859f0&_=1375173355796 > 2013-07-30 14:02:07,853 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===END=== 10.144.6.19 -- GET command=listAccounts&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&id=9bd0da33-2d3a-415a-bd8d-9c05ca3859f0&_=1375173355796 > 2013-07-30 14:02:07,874 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) ===START=== 10.144.6.19 -- GET command=listResourceLimits&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173355864 > 2013-07-30 14:02:07,901 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-23:null) Access granted to Acct[2-admin] to Domain:2/cdc/ by DomainChecker_EnhancerByCloudStack_900ba6a1 > 2013-07-30 14:02:07,983 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) ===END=== 10.144.6.19 -- GET command=listResourceLimits&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173355864 > 2013-07-30 14:02:11,009 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) SeqA 2-241: Processing Seq 2-241: { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } > 2013-07-30 14:02:11,016 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) SeqA 2-241: Sending Seq 2-241: { Ans: , MgmtId: 187767034175903, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-07-30 14:02:11,033 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) ===START=== 10.144.6.19 -- GET command=updateResourceCount&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173358954 > 2013-07-30 14:02:11,056 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-18:null) Access granted to Acct[2-admin] to Domain:2/cdc/ by DomainChecker_EnhancerByCloudStack_900ba6a1 > 2013-07-30 14:02:11,145 INFO [cloud.resourcelimit.ResourceLimitManagerImpl] (catalina-exec-18:null) Discrepency in the resource count (original count=2147483648 correct count = 0) for type primary_storage for account ID 7 is fixed during resource count recalculation. > 2013-07-30 14:02:11,238 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) ===END=== 10.144.6.19 -- GET command=updateResourceCount&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173358954 > 2013-07-30 14:02:11,664 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-175:null) Ping from 6 > 2013-07-30 14:02:14,376 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START=== 10.144.6.19 -- GET command=listAccounts&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&id=9bd0da33-2d3a-415a-bd8d-9c05ca3859f0&_=1375173362310 > 2013-07-30 14:02:14,399 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END=== 10.144.6.19 -- GET command=listAccounts&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&id=9bd0da33-2d3a-415a-bd8d-9c05ca3859f0&_=1375173362310 > 2013-07-30 14:02:14,492 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START=== 10.144.6.19 -- GET command=listResourceLimits&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173362439 > 2013-07-30 14:02:14,505 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-16:null) Access granted to Acct[2-admin] to Domain:2/cdc/ by DomainChecker_EnhancerByCloudStack_900ba6a1 > 2013-07-30 14:02:14,577 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END=== 10.144.6.19 -- GET command=listResourceLimits&response=json&sessionkey=VHIuqmSzsTH06hVFE2yGPkjQrSY%3D&domainid=e73e5b2a-806c-45bd-b74e-478d82f1ebdd&account=newuser1&_=1375173362439 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira