You need to update the template type from SYSTEM to USER. -Wei
On Mon, 19 Feb 2024 at 06:57, Kapil Bhuskute <[email protected]> wrote: > We are unable to delete a system template from the CloudStack 4.19 > management server from UI. The cloudmonkey API command is also failing with > below errors to delete the template: > (localcloud) 🐱 > delete template > zoneid=cdf98dec-7061-442c-8466-cea05aa3f9b3 > id=9c55e8b4-570b-47c7-b634-94cfa1148943 > jobresultcode = 431 > created = 2024-02-19T05:53:07+0000 > domainid = 93097518-c82c-11ee-8d79-246e96679ca0 > userid = e928c912-c835-11ee-8d79-246e96679ca0 > jobresulttype = object > jobinstancetype = Template > completed = 2024-02-19T05:53:07+0000 > accountid = e927c982-c835-11ee-8d79-246e96679ca0 > jobinstanceid = 9c55e8b4-570b-47c7-b634-94cfa1148943 > account = admin > cmd = org.apache.cloudstack.api.command.user.template.DeleteTemplateCmd > jobstatus = 2 > jobprocstatus = 0 > jobresult = { > "errorcode": 431, > "errortext": "The DomR template cannot be deleted." > } > jobid = 56b29187-e556-4750-b351-8017b8cee423 > domainpath = ROOT > 🙈 Error: async API failed for job 56b29187-e556-4750-b351-8017b8cee423 > (localcloud) 🐱 > > > > Kindly suggest. > > Kapil Bhuskute >
