Bug #7331
closedUnassigned OS Template Defaults Generate an Exception Upon Deletion Preventing You from Deleting Them
Description
I have a few OSes. Of them, only one has templates assigned to it-- CentOS 6.5.
For that one, it has an iPXE template and a provision template. The user_data and finish are unassigned.
There's a couple templates I can't delete-- one user_data and one finish template. If I try do delete them, I receive an exception saying that CentOS 6.5 is using it (well, it's a little more cryptic than that, but someone in the channel showed me a command to run to identify the associated OS using the console and it's the CentOS 6.5 OS).
One interesting point to mention is that If i create a "test" template and substitute that as the user_data template, I can delete the old unused user_data template which i want to delete. Once I unselect the "test" template for user_data and set it to nothing again, however, I can't delete test. It seems as though specifying no default template for a given type doesn't remove the previous association.
Files
Updated by Shlomi Zadok over 10 years ago
- Status changed from New to Need more information
- Assignee set to Shlomi Zadok
Updated by Dominic Cleal over 10 years ago
- Status changed from Need more information to New
- Translation missing: en.field_release deleted (
10)
Updated by The Foreman Bot over 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.7.2
- Pull request https://github.com/theforeman/foreman/pull/1844 added
- Pull request deleted (
)
Updated by Shlomi Zadok over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release changed from 27 to 21