Yeah...I wasn't sure if the GUI was somehow making you walk through the Maintenance mode before deleting the Primary Storage and you could maybe circumvent that with a parameter to the deleteStoragePool API call.
Sounds like you cannot do so. :) On a related note, can you enlighten me a bit about what "Force" means when deleting Primary Storage? On Tue, Apr 2, 2013 at 10:57 PM, Pranav Saxena <pranav.sax...@citrix.com>wrote: > Had that not been the case , then it would have been a Contradiction in > itself :D After all the UI triggers the API's , so if you trigger them > manually or from the UI , the behavior has to be the same . Just that you > might get some more flexibility with the API's in certain cases but there > can't be a behavioral change in the API . > > -----Original Message----- > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] > Sent: Wednesday, April 03, 2013 1:14 AM > To: cloudstack-...@incubator.apache.org > Subject: Re: deleteStoragePool API Command > > Spoke too soon. :) > > I just ran a quick test and you do have to put the Primary Storage in > maintenance mode prior to deleting it with the API, too. > > > On Tue, Apr 2, 2013 at 1:37 PM, Mike Tutkowski < > mike.tutkow...@solidfire.com > > wrote: > > > Hi, > > > > Is it required that a primary storage be in maintenance mode before > > calling the deleteStoragePool API command? > > > > In the GUI, you have to do this, but I wasn't sure if it was the same > > for the API. > > > > Thanks! > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkow...@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud<http://solidfire.com/solution/overview/?video=play> > > *(tm)* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *(tm)* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *™*