force expunge disks

2014-01-22 Thread Pierre-Luc Dion
I'm stuck with some disks with "Expunging" state. The the VDI for the hypervisor is gone but the disk in Cloudstack remain in Expunging state. is their a way to force expunging them or updating the database to reflect the proper state of the disk ? I'm tempted to execute following SQL queries but

Re: force expunge disks

2014-01-22 Thread Hollman Enciso R.
You have to wait the interval configured on global settings: expunge.delayDetermines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval expunge.intervalThe interval (in seconds) to wait before running the expun

Re: force expunge disks

2014-01-22 Thread Pierre-Luc Dion
Settings expunge.delay and expunge.interval have been set to 60 long time ago. I'm in the situation of a "kind of broken" system for now where in cloudstack some disks are in "Expunging" state but the VDI (.vhd file) itself as been deleted from the primary storage. Pierre-Luc Dion Architecte de

Re: force expunge disks

2014-01-22 Thread Pierre-Luc Dion
The delete and expunge process work fine. it's just that for some reason we have few disks which failed, I'm suspecting a primary storage that would have been removed without emptied it. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*4

Re: force expunge disks

2014-01-22 Thread Rafael Weingartner
is there any errors on MS logs? Could you post them here? On Wed, Jan 22, 2014 at 4:48 PM, Pierre-Luc Dion wrote: > The delete and expunge process work fine. it's just that for some reason we > have few disks which failed, I'm suspecting a primary storage that would > have been removed without em

Re: force expunge disks

2014-01-22 Thread Rafael Weingartner
Have you restarted the cloudstack MS after you changed the parameters? On Wed, Jan 22, 2014 at 4:46 PM, Pierre-Luc Dion wrote: > Settings expunge.delay and expunge.interval have been set to 60 long time > ago. I'm in the situation of a "kind of broken" system for now where in > cloudstack some di

Re: force expunge disks

2014-01-22 Thread Pierre-Luc Dion
yes, Cloudstack management-server has been restart many times. Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ On Wed, Jan 22, 2014 at 1:48 PM, Rafael Weingartner < rafaelwe

RE: force expunge disks

2014-01-22 Thread Geoff Higginbottom
geoff.higginbot...@shapeblue.com -Original Message- From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] Sent: 22 January 2014 18:51 To: users@cloudstack.apache.org Subject: Re: force expunge disks is there any errors on MS logs? Could you post them here? On Wed, Jan 22, 2014 at 4:48 PM