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 2EC23D162 for ; Thu, 13 Sep 2012 01:34:37 +0000 (UTC) Received: (qmail 957 invoked by uid 500); 13 Sep 2012 01:34:36 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 927 invoked by uid 500); 13 Sep 2012 01:34:36 -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 919 invoked by uid 99); 13 Sep 2012 01:34:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 01:34:36 +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 (athena.apache.org: domain of magicloud.magiclouds@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 01:34:31 +0000 Received: by iebc11 with SMTP id c11so4233176ieb.6 for ; Wed, 12 Sep 2012 18:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=14Ij0BMlWJdYFe/ei1Hs7O3JBGTse9ua755RNrEIL88=; b=ZiBZUQpsmYZwehZLTtCIHyZ6kRCoycifoI2Z0hISKzqK0jaKRlfaNNIOUI1VvEoZ8y Tfbn4BfPaT8s3N+HFIMu8jGqpvA+GnXsjy/mB+Gd3wH9BCcCvQHStxo5CuPumI+Nxg1M KlRAY1NvQ38p04fxawOBeVzeek/1S7N8QmOfLvbAakKw+QZMrIuANh6D0DvnMIpbRd9k 7I0wBR4eDCZiu5QXGdLykb8X9evvJQsw61FFoZmlEEnTDXdODcTYdodFc2QgYH35waMD VGVZyzwYaj7LEB9rVeES9wzo+0mKgwK5jXE2j4/9UYyrUDt3p+zixFQODL5ooNRBH5+j Ugjg== MIME-Version: 1.0 Received: by 10.50.187.194 with SMTP id fu2mr342336igc.37.1347500051165; Wed, 12 Sep 2012 18:34:11 -0700 (PDT) Received: by 10.50.129.72 with HTTP; Wed, 12 Sep 2012 18:34:10 -0700 (PDT) In-Reply-To: References: <4D76A8A0-AD55-4F82-B5C1-23B353545362@citrix.com> Date: Thu, 13 Sep 2012 09:34:10 +0800 Message-ID: Subject: Re: Error state (failed to create) VM cannot be destroyed. From: Magicloud Magiclouds To: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I see. Thank you. On Wed, Sep 12, 2012 at 10:08 AM, Edison Su wrote: > From the log, the destroyvm command is finished in about 5 seconds. After= the destroyvm command finished, then your vm will be marked as "expunging"= state, as I said in previous mail, which is expected. Your VM will be mark= ed as removed in DB until expunge timeout happened. > >> -----Original Message----- >> From: Magicloud Magiclouds [mailto:magicloud.magiclouds@gmail.com] >> Sent: Tuesday, September 11, 2012 12:00 AM >> To: cloudstack-users@incubator.apache.org >> Subject: Re: Error state (failed to create) VM cannot be destroyed. >> >> +Nitin, it stays at that state and prevent the network related from >> deleting. >> +Edison, so it is OK to stay in this state before timeout? I thought >> things with a long timeout meant something was wrong.... Should it be >> done in a short time after the command was issued? >> >> On Tue, Sep 11, 2012 at 2:50 PM, Edison Su wrote: >> > There is an expunging timeout in global configuration, which controls >> how long the VM will stay in expunging state. If timeout, VM will be >> marked as removed in the database, thus won't show on the UI. By >> default, the timeout is one day. >> > >> > Sent from my iPhone >> > >> > On Sep 10, 2012, at 11:39 PM, "Nitin Mehta" >> wrote: >> > >> >> Expunging is actually the last state. It should have been 'expunged' >> instead. >> >> >> >> -----Original Message----- >> >> From: Magicloud Magiclouds [mailto:magicloud.magiclouds@gmail.com] >> >> Sent: Tuesday, September 11, 2012 11:23 AM >> >> To: cloudstack-users@incubator.apache.org >> >> Subject: Error state (failed to create) VM cannot be destroyed. >> >> >> >> Hi, >> >> CS3. Just creating a vm, and failed due to network misconfiguration. >> >> Then I was trying to delete the vm, it stuck on expunging. From >> management log, I saw: >> >> >> >> 2012-09-11 13:43:10,684 DEBUG [cloud.async.AsyncJobManagerImpl] >> >> (Job-Executor-20:job-34) Executing >> com.cloud.api.commands.DestroyVMCmd >> >> for job-34 >> >> 2012-09-11 13:43:10,721 DEBUG [cloud.vm.VirtualMachineManagerImpl] >> >> (Job-Executor-20:job-34) Destroying vm VM[User|i-2-1074-VM] >> >> 2012-09-11 13:43:10,721 DEBUG [cloud.vm.VirtualMachineManagerImpl] >> >> (Job-Executor-20:job-34) Stopped called on VM[User|i-2-1074-VM] but >> the state is Error >> >> 2012-09-11 13:43:10,743 DEBUG [cloud.capacity.CapacityManagerImpl] >> >> (Job-Executor-20:job-34) VM state transitted from :Error to >> Expunging with event: DestroyRequestedvm's original host id: null new >> host id: >> >> null host id before state transition: null >> >> 2012-09-11 13:43:10,776 DEBUG [cloud.async.AsyncJobManagerImpl] >> >> (Job-Executor-20:job-34) Complete async job-34, jobStatus: 1, >> >> resultCode: 0, result: >> com.cloud.api.response.UserVmResponse@48f53518 >> >> 2012-09-11 13:43:10,926 DEBUG [cloud.async.AsyncJobManagerImpl] >> >> (Job-Executor-20:job-34) Done executing >> >> com.cloud.api.commands.DestroyVMCmd for job-34 >> >> 2012-09-11 13:43:15,708 DEBUG [cloud.async.AsyncJobManagerImpl] >> >> (catalina-exec-9:null) Async job-34 completed >> >> >> >> What should I do? >> >> -- >> >> =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 >> >> =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E >> >> >> >> And for G+, please use magiclouds#gmail.com. >> >> >> >> -- >> =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 >> =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E >> >> And for G+, please use magiclouds#gmail.com. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com.