Amir,

You can check template_store_ref table in cloud DB and if there are still
any entries just delete them  and try deleting the secondary storage.

Thanks,
Anil
axiomio.com

On Wed, Aug 5, 2015 at 5:34 PM, Kiran manohar Chavala <
[email protected]> wrote:

> Hi Amir
>
> You can delete the templates present in secondary storage from the database
>
> mysql > select  * from image_store where name="<replace the name of the
> secondary storage";
>
> note down the id
>
>
> mysql> select * from template_store_ref where store_id=<replace the id
> here>;
>
>
> mysql> delete from template_store_ref where store_id=<replace the id here>;
>
>
> Then try to remove the secondary storage
>
>
> Regards
>
> Kiran Manohar
>
> Citrix systems
> On Aug 5, 2015 5:03 PM, "Amir Abbasi" <[email protected]> wrote:
>
> > Hi All,
> >
> >
> >
> > All accounts, Domains and then hosts, clusters, pods, Primary Storage
> have
> > been removed but secondary storage could not be removed and I face the
> > following error:
> >
> >
> >
> > Cannot delete image store with active templates backup!
> >
> >
> >
> > I can see old templates of deleted accounts. How can I delete them off
> from
> > cloud database and then remove old zone?
> >
> >
> >
> > Thanks in advance
> >
> >
>

Reply via email to