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 9095C114A1 for ; Tue, 26 Aug 2014 14:28:44 +0000 (UTC) Received: (qmail 30858 invoked by uid 500); 26 Aug 2014 14:28:44 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 30830 invoked by uid 500); 26 Aug 2014 14:28:44 -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 30817 invoked by uid 99); 26 Aug 2014 14:28:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 14:28:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of fgaudreault@cloudops.com) Received: from [209.85.192.51] (HELO mail-qg0-f51.google.com) (209.85.192.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 14:28:38 +0000 Received: by mail-qg0-f51.google.com with SMTP id a108so14530772qge.24 for ; Tue, 26 Aug 2014 07:28:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=jpV08WSK0lCLuAnwzH5Z+O63VtYwjSIyN+rQgwJ3iik=; b=csU+xjafU5NkWNz+C/xoUnb7YBm1yG6VAj2qiZR9GR6M4EZOjxmrwDoSgGA0Yh/KPX 7bEXUV3XzqzGBFykEDPRDh22gqLuDnxPRjqT5C0re1HPRmm+vccossubIIZfnmq+6v/U yP7Dz5+UmHRJuAr4g0rBsASFrtBmawRI2QUVaV1hdVzXGw95Je2ht/QK237am+DiGty1 of03PJJQVwtf/u2QrfNu10/4dw7y+wvoE57BN0NWa7Spb6fUBBT91/Ulfq7fS6zGUZkG Ro+k/iBgIrtQVwSYC/FTy88Ef+jnq50Di+vIxTdbhv9u3ThZmH3kHXmr9NowgTQTNVZn 1vqA== X-Gm-Message-State: ALoCoQld4mMBuOjlJSJicSt0y+RFjvcvY9oShuURp0H9FY0GWZ8dxkiHG7adL+5bvj/8gCClVXzc X-Received: by 10.224.46.138 with SMTP id j10mr46440881qaf.85.1409063298116; Tue, 26 Aug 2014 07:28:18 -0700 (PDT) Received: from Francoiss-MacBook-Pro-3.local ([38.108.74.28]) by mx.google.com with ESMTPSA id l7sm9997398qaf.16.2014.08.26.07.28.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 07:28:17 -0700 (PDT) Message-ID: <53FC99BA.3010909@cloudops.com> Date: Tue, 26 Aug 2014 10:29:14 -0400 From: Francois Gaudreault Reply-To: fgaudreault@cloudops.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "dev@cloudstack.apache.org" Subject: VMs stuck in expunging Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, We have couple VMs stuck in Expunging state in our setup, and I am not sure why. This is a 4.3.1-snapshot. This is what the log says: 2014-08-25 23:30:31,789 DEBUG [c.c.v.VirtualMachineManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Stopped called on VM[User|ketchup-web] but the state is Expunging 2014-08-25 23:30:31,808 WARN [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue. 2014-08-25 23:30:31,810 DEBUG [c.c.c.CapacityManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) VM state transitted from :Expunging to Expunging with event: ExpungeOperationvm's original host id: 1 new host id: null host id before state transition: null 2014-08-25 23:30:31,811 DEBUG [c.c.v.VirtualMachineManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Destroying vm VM[User|ketchup-web] 2014-08-25 23:30:31,811 DEBUG [c.c.v.VirtualMachineManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Cleaning up NICS 2014-08-25 23:30:31,811 DEBUG [o.a.c.e.o.NetworkOrchestrator] (UserVm-Scavenger-1:ctx-bfdf6aa3) Cleaning network for vm: 61 2014-08-25 23:30:31,814 DEBUG [c.c.v.VirtualMachineManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Cleaning up hypervisor data structures (ex. SRs in XenServer) for managed storage 2014-08-25 23:30:31,821 DEBUG [o.a.c.e.o.VolumeOrchestrator] (UserVm-Scavenger-1:ctx-bfdf6aa3) Cleaning storage for vm: 61 2014-08-25 23:30:31,825 DEBUG [c.c.v.VirtualMachineManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Expunged VM[User|ketchup-web] 2014-08-25 23:30:31,825 DEBUG [c.c.v.UserVmManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Starting cleaning up vm VM[User|ketchup-web] resources... 2014-08-25 23:30:31,856 DEBUG [c.c.n.f.FirewallManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) No firewall rules are found for vm id=61 2014-08-25 23:30:31,872 DEBUG [c.c.v.UserVmManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Firewall rules are removed successfully as a part of vm id=61 expunge 2014-08-25 23:30:31,884 DEBUG [c.c.u.d.T.Transaction] (UserVm-Scavenger-1:ctx-bfdf6aa3) Rolling back the transaction: Time = 5 Name = UserVm-Scavenger-1; called by -TransactionLegacy.rollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:41-Transaction.execute:46-FirewallManagerImpl.revokeRule:732-GeneratedMethodAccessor278.invoke:-1-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.invokeJoinpoint:183-ReflectiveMethodInvocation.proceed:150 2014-08-25 23:30:31,887 WARN [c.c.v.UserVmManagerImpl] (UserVm-Scavenger-1:ctx-bfdf6aa3) Unable to expunge VM[User|ketchup-web] Any idea what's going on? Bug? -- Francois Gaudreault Gestionnaire de Produit | Product Manager - Cloud Platform & Services t:514-629-6775 CloudOps Votre partenaire infonuagique | Cloud Solutions Experts 420 rue Guy | Montreal | Quebec | H3J 1S6 w: cloudops.com | tw: @CloudOps_