Cannot delete provisioning templates

Hi,

I am trying to tidy up our Foreman 1.4.1 instance but cannot delete any old
provisioning templates.

I click delete, then OK, the page refreshes but the template is still
listed.

I have unassociated Operating Systems and tried setting safemode_render to
false

I still cannot delete PXE Linux templates, provisioning templates or
snippets.

I am logged in as Administrator.

I get this in /var/log/foreman/production.log

Started DELETE "/config_templates/30-puppet-repo-redhat-6-4-x86" for 10.3.
5.132 at 2014-08-13 11:20:22 +0100
Processing by ConfigTemplatesController#destroy as HTML
Parameters: {"authenticity_token"=>
"EXW0ulkD5USwLos7tMWk6xMMRnObzjJeO+tA6OD1H8Y=", "id"=>
"30-puppet-repo-redhat-6-4-x86"}
Failed to save:
Redirected to https://foreman-test/config_templates
Completed 302 Found in 19ms (ActiveRecord: 3.6ms)

It looks like a permission issue to me, but I'm not sure where to make the
changes?

Any help would be appreciated,

Thanks,

One thought - foreman_bootdisk had a bug at one point which prevented
deletion of templates. Do you have it installed, and is it older than
v2.0.6? (I can't remember which version introduced the bug off the top
of my head.)

··· On 13/08/14 11:33, Oleg Mcnoleg wrote: > Hi, > > I am trying to tidy up our Foreman 1.4.1 instance but cannot delete any > old provisioning templates. > > I click delete, then OK, the page refreshes but the template is still > listed. > > I have unassociated Operating Systems and tried setting safemode_render > to false > > I still cannot delete PXE Linux templates, provisioning templates or > snippets. > > I am logged in as Administrator. > > I get this in /var/log/foreman/production.log > > > > StartedDELETE > "/config_templates/30-puppet-repo-redhat-6-4-x86"for10.3.5.132at > 2014-08-1311:20:22+0100 > ProcessingbyConfigTemplatesController#destroy as HTML > > Parameters:{"authenticity_token"=>"EXW0ulkD5USwLos7tMWk6xMMRnObzjJeO+tA6OD1H8Y=","id"=>"30-puppet-repo-redhat-6-4-x86"} > Failedto save: > Redirectedto https://foreman-test/config_templates > Completed302Foundin19ms(ActiveRecord:3.6ms) > > > > It looks like a permission issue to me, but I'm not sure where to make > the changes? > > Any help would be appreciated,


Dominic Cleal
Red Hat Engineering

Yes, I was running v2.0.2 of the boot_disk plugin. I have updated to v2.0.8
which fixed the issue.Many thanks for that.

··· >