Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90CC1DB11 for ; Mon, 17 Dec 2012 00:19:38 +0000 (UTC) Received: (qmail 3610 invoked by uid 500); 17 Dec 2012 00:19:38 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 3553 invoked by uid 500); 17 Dec 2012 00:19:38 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 3545 invoked by uid 99); 17 Dec 2012 00:19:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 00:19:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kirkkosinski@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 00:19:28 +0000 Received: by mail-pb0-f47.google.com with SMTP id un1so3118161pbc.6 for ; Sun, 16 Dec 2012 16:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2dL/RlvhxWbVWj/XkAePPNYsVHaUBS3CgwT5wiakFwU=; b=Svpf06yxD+9YrXQAIm9shNTpiKudKNFaSaUB2Flp8u/WcGu76ZaZs1buqpPLPv+TiP vZBeFlg087EkB9BsZW5WOyNIUZQpQ05T61kp4i/FEAr/49u+zaThplUSDo8C38S9msgh ezhs7FQMg3LBhw2imgiH32ntlB9thFrYFvWhKD5E1oY/PNc9REJiwDIcRIMU5fyzscWl I98vhl2H4SU0AKXm7TBxEDFtcxqW0Hu/4AYd3cPsT7Jyjp3IXp1k/61o3BvC9Z2HE2CK KJLjqw29kY4drpsRGY7JRsbesiovQ1E5buhvOXdVza/CtUj/P5ejAF1BX0IDeDc85Uc+ TQJw== Received: by 10.68.213.202 with SMTP id nu10mr38736548pbc.91.1355703547282; Sun, 16 Dec 2012 16:19:07 -0800 (PST) Received: from [172.20.0.59] (dsl081-233-032.lax1.dsl.speakeasy.net. [64.81.233.32]) by mx.google.com with ESMTPS id ue7sm7086609pbc.53.2012.12.16.16.19.05 (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 16:19:06 -0800 (PST) Message-ID: <50CE64F8.6090405@gmail.com> Date: Sun, 16 Dec 2012 16:19:04 -0800 From: Kirk Kosinski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121203 Thunderbird/10.0.11 MIME-Version: 1.0 To: cloudstack-users@incubator.apache.org Subject: Re: Damn time travel References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Dave. What does the VM and it's volumes look like in the database? select * from vm_instance where id = 620; select * from volumes where instance_id = 620; Best regards, Kirk On 12/16/2012 03:56 PM, David Comerford wrote: > Hey, > > Due to some clocks being a few months forward for a while I'm stuck back in > the present with a number of VMs that just won't expunge. > Logs suggest there's some concurrent operations on said VM which I think > basically means theres some job that lives in the future which is blocking > the current ones. > > My questions: > 1) From the logs below, does my guess sound plausible? > 2) Where in the database is the queue for jobs I need to take a hammer to? > > Cheers guys, > Dave > > 2012-12-16 23:44:01,132 WARN [cloud.vm.UserVmManagerImpl] > (AccountChecker-1:null) Concurrent operations on expunging > VM[User|a1a470ef-368b-45fe-99c7-1b92ea333d78] > com.cloud.exception.ConcurrentOperationException: Failed to transit state > at > com.cloud.storage.StorageManagerImpl.destroyVolume(StorageManagerImpl.java:2060) > at > com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30) > at > com.cloud.storage.StorageManagerImpl.cleanupVolumes(StorageManagerImpl.java:3486) > at > com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30) > at > com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:391) > at > com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1160) > at > com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:518) > at > com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1291) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2012-12-16 23:44:01,132 ERROR [cloud.user.AccountManagerImpl] > (AccountChecker-1:null) Unable to expunge vm: 620 >