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 <arnaud.gaill...@xtendsys.net> > 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 <pranav.sax...@citrix.com > >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:ps...@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 > > >