Hi, if the disks and storage are gone you can hack the database to force
them out of the system.  Just set the volumes for the affected VMs as
state = "Expunged" and removed = now() and hopefully CloudStack will be
able to expunge the VMs fully (i.e. they'll disappear from the UI).  Of
course be careful when doing anything in the db (take a backup first, etc.).

Best regards,
Kirk

On 11/25/2014 08:51 AM, Brent Clark wrote:
> Thanks for all the responses everyone.
> 
> Version of CS = 4.2.1
> Status of Primary storage = unused, all VMs on local storage
> 
> The VMs that wont expunge were on a CS host that doesnt exist anymore. The
> VMs were stored on local storage on that CS host. The VMs files dont exist
> anymore.
> 
> ---------- Forwarded message ----------
> From: Kirk Kosinski <kirkkosin...@gmail.com>
> To: users@cloudstack.apache.org
> Cc:
> Date: Mon, 24 Nov 2014 22:20:20 -0800
> Subject: Re: VMs not Expunging
> Hi, Brent.  What version of CS is this, and what is the status of the
> primary storage for the VMs?  Were they on local storage (i.e. are the
> VM disks all gone along with the dead host)?
> 
> Best regards,
> Kirk
> 

Reply via email to