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 282F2E778 for ; Wed, 9 Jan 2013 02:50:24 +0000 (UTC) Received: (qmail 98875 invoked by uid 500); 9 Jan 2013 02:50:23 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 98809 invoked by uid 500); 9 Jan 2013 02:50:23 -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 98801 invoked by uid 99); 9 Jan 2013 02:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 02:50:23 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cloudchen0620@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vb0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 02:50:19 +0000 Received: by mail-vb0-f41.google.com with SMTP id l22so1137538vbn.28 for ; Tue, 08 Jan 2013 18:49:58 -0800 (PST) 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; bh=d3LaH87zxvEs86onYPUxYB+vMVxIKKTcgEi4y+LTKrs=; b=f3xydIZxuNuxH3pSITcqQJ1srvzjw6MH/QSfAu7QbPUxqJDVn9rz4bzGlQDbUe4ueg ghMtlDh+L3O9A3lTtb9UJfOjtjFU/q2+z7efQ1jMQw/PR8aVn5MCQF4HHPE3MgGY7UPb ape0BEEsEFi7R4oSoJnlTa1CsZjETs9WTTMclY0P+LAA5x9autDCeNq0pZHzs56mXUKT PGnV43nEt4QPe9QcWOFih4a6i0v26zlZuYKktME5W5I6m8jOsuCGDGZJi4NYLYXhBBPs IXQnZWeY0K59BJAtfL5LqWMkyD5aToiTDhR9sXU1SbZM9Wb/tP6O2QToXFR9SsuDaJiw n+dg== MIME-Version: 1.0 Received: by 10.52.36.167 with SMTP id r7mr76286001vdj.108.1357699798230; Tue, 08 Jan 2013 18:49:58 -0800 (PST) Received: by 10.220.209.70 with HTTP; Tue, 8 Jan 2013 18:49:57 -0800 (PST) In-Reply-To: References: <2012122617145787343119@travelsky.com> <67EF18FDCA335F489B366120481AB6C5F6B38A434C@BANPMAILBOX01.citrite.net> Date: Wed, 9 Jan 2013 10:49:57 +0800 Message-ID: Subject: Re: cannot delete network From: sx chen To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf30780ca42f65b904d2d21ef7 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30780ca42f65b904d2d21ef7 Content-Type: text/plain; charset=ISO-8859-1 Because I cannot delete the network,so I want to modify the column nics_count of cloud.op_networks.The value is 1 although all instances and vrouteres have been deleted,we want to modify the value from 1 to 0.Or there are some other ways to modify the db?In which condition cloudstack will increase 1 or decrease 1 to nics_count?I want to make sure that there is no problem after we modify this column. 2012/12/26 Arnaud Gaillard > We know this problem, it seems that event when you have deleted all hosts, > allocated IP remain in the db. You have to manually clean up the db, in > order to be able to delete a network. > > From our experience, this problem arise as soon as you create a host on a > network, from that moment it is no more possible to delete it from the GUI > without a modification of the db. > > By the way if you change your log level to DEBUG, you will see the detailed > reason of the the exception. > > > > > On Wed, Dec 26, 2012 at 11:29 AM, Pranav Saxena >wrote: > > > I think , we no longer allow deletion of a guest network in the Basic > > zone when it has non-expunged CPVM/SSVMs which might be the case for you > . > > You need to destroy/expunge them prior to network deletion. I am not > 100% > > sure but you can try this out. > > > > Can somebody confirm this ? > > > > Thanks, > > Pranav > > > > > > -----Original Message----- > > From: psjia [mailto:psjia@travelsky.com] > > Sent: Wednesday, December 26, 2012 2:45 PM > > To: cloudstack-users > > Subject: cannot delete network > > > > I cannot delete a shared network.I have deleted all instances which using > > this network and the vroute of this network.But when i delete the > > network,the log is " > > WARN [cloud.api.ApiDispatcher] (Job-Executor-68:job-199) class > > com.cloud.api.ServerApiException : Failed to delete network WARN > > [cloud.async.AsyncJobManagerImpl] (Job-Executor-68:job-199) Unable to > > unregister active job 199 from JMX monitoring " > > I have deleted other networks by using the same way,other networks can be > > deleted rightly.But this one is wrong. > > my environment is cloudstack3.0.2+xenserver6.0.2. > > > > > > > > > > psjia > > > --20cf30780ca42f65b904d2d21ef7--