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 < [email protected]> 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:[email protected]] > Sent: Tuesday, 11 August, 2020 6:47 PM > To: users <[email protected]> > 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 <[email protected]> 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
