+++ This bug was initially created as a clone of Bug #601860 +++ --- Additional comment from Issue Tracker on 2010-06-08 15:00:27 EDT --- Event posted on 05-18-2010 07:58am EDT by RFE-tool 2) Nature Of Problem: Inactive kickstarts should not appear in the cobbler PXE menu 3) Business Requirements Satisfied By Request: Spacewalk PXE menu should not offer kickstart profiles that have been deactivated in the WebUI. Old kickstarts are confusing, and the PXE boot menu is polluted with obsolete kickstart profiles. 4) Functional Requirements That Are Not Presently Possible: Deactivating kickstarts in WebUI should remove them from the menu 5) What Will Success Look Like: Cobbler PXE menu containing only active kickstarts. --- Additional comment on 2010-06-21 09:29:24 EDT --- This RFE looks like a dup of bug 556510. Can you review and let us know? --- Additional comment on 2010-06-21 09:29:25 EDT --- the BZ is similar, but refers to kickstart profiles that are actually removed. This RFE is about kickstart profiles that are marked as inactive. Currently, spacewalk keeps inactive kickstarts in the PXE menu by design, as indicated in the WebUI with a short blurb next to the "Active" checkbox: "You cannot kickstart a system registered to RHN Satellite using an inactive kickstart profile. However, the kickstart files for inactive kickstart profiles are still available for manual download and may be used for bare metal kickstarts." We would like to change this behavior. --- Additional comment on 2011-05-31 07:37:01 EDT --- This is already implemented in cobbler: cobbler profile edit --name=<profile> --enable-menu=0 So setting/removing the option "active" could just result in this cobbler command beeing executed. No 'cobbler sync' required.
Test case: ========= 1) Create a KS profile in spacewalk, "TEST101" 2) From cobbler, look at that profile's "Enable PXE Menu?" value: $> cobbler profile report name=TEST101:1::RedHatInternalUseOnly ... Enable PXE Menu? : True ... 3) From the Kickstart Details page for TEST101 in the WebUI, uncheck Active 4) Choose Update 5) From cobbler, look at that profile's "Enable PXE Menu?" value EXPECTED: Enable PXE Menu? : False 6) From the Kickstart Details page for TEST101 in the WebUI, check Active 4) Choose Update 5) From cobbler, look at that profile's "Enable PXE Menu?" value EXPECTED: Enable PXE Menu? : True
spacewalk commit a9989ee159aa2e8707cc113bebc861681055544f
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.