Red Hat Bugzilla – Bug 1279979
tftpboot files are not deleted when OS name is changed
Last modified: 2018-06-28 01:37:26 EDT
Description of problem:
If an OS is changed or renamed to a name a different OS had the boot files in /var/lib/tftpboot/boot are not deleted.
We have two OSs RedHat 6.6 server and RedHat 6.6 Workstation. When creating an OS we are only able to specify Name = RedHat, Major Version = 6, Minor Version = 6 but we cannot do that because the names conflict. Instead we have named our server version RedHat and workstation version RedHat-1. We found out that this caused an error so we switch the names. Now server is RedHat-1 and workstation is RedHat. However when we try to build a workstation or server it was kernel panicing. The solution was to remove the files in /var/lib/tftpboot/boot so they would be re-cached from the installation media the next time a machine is going to be built. The deletion of those files should happen automatically when the OS name is change. There also should be a way to specify the flavor or version or even distid from factor so we can differentiate our OS types.
Version-Release number of selected component (if applicable):
Created redmine issue http://projects.theforeman.org/issues/12474 from this bug
Upstream bug component is TFTP
Upstream bug component is Provisioning Templates