Backup your db Try SELECT * FROM cloud.image_store; Note the store_id (assume x)
SELECT * FROM cloud.template_store_ref where store_id=x; What do you get? On 7/8/15 2:03 PM, Bernhard Dübi wrote:
Hi, we have a CloudStack installation with lots of XenServer. Now I tried to configure VMware. Unfortunatelly something was not working and I decided to delete everything and start over. Now my problem is that I can't delete the secondary storage and the zone. When I try to delete the secondary storage I get "Cannot delete image store with active templates backup!" I checked the NFS share and it's empty. In the Templates view there are 2 templates (SystemVM Template (XenServer), systemvm-xenserver-4.3) assigned to the zone. When I try to delete the systemvm-xenserver-4.3 template I get "The DomR template cannot be deleted." There is no button to delete "SystemVM Template (XenServer)" When I try to delete the zone I get "The zone is not deletable because there are virtual machines running in this zone" I deleted all pods, all clusters, all hosts, the primary storage, all physical networks and all System VMs. All resources are at 0. The zone is disabled.The expunge time is 6 hours but it's more than 24 hours ago since I deleted everything. I had a look at the DB and all VMs assigned to the zone are in the status destroyed. Any idea how to get rid of the zone? Regards Bernhard
