vm_template is not an api. Its a table in cloud database On Wed, Aug 12, 2020 at 11:35 AM Wan Rahim, Wan Mohd Saifudin < wanmohdsaifudin.wanra...@itelligence.com.my> wrote:
> Already tested to delete the template in cloudmonkey but still failed. > > And vm_template api is not available. > > Is there any other method can be used? > > Thanks > Din > > -----Original Message----- > From: Rakesh Venkatesh [mailto:www.rakeshv....@gmail.com] > Sent: Tuesday, 11 August, 2020 6:47 PM > To: users <users@cloudstack.apache.org> > Subject: Re: How to delete OS template via database > > EXTERNAL MAIL: > > You can set "state" to "Inactive" in vm_template table and it wont show up > in UI > > update vm_template set state="Inactive" where id=<> limit 1; > > or you can run delete template id= cloudmonkey api to delete it > > On Tue, Aug 11, 2020 at 9:49 AM harith roli <harith.r...@gmail.com> wrote: > > > please help, I need a way to delete OS template of cloudstack via > > database. Currently the status of template is UploadAbandoned. I try > > delete using gui, Zones --> click button "x" to delete template but I > > got message box indicate status failed to delete template. Thank you > > for your help > > > > > -- > Thanks and regards > Rakesh venkatesh > > > -- Thanks and regards Rakesh venkatesh