Bug 953526 - [RFE] Inactive kickstarts should not appear in the cobbler PXE menu
Summary: [RFE] Inactive kickstarts should not appear in the cobbler PXE menu
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On: 601860
Blocks: space20
TreeView+ depends on / blocked
 
Reported: 2013-04-18 11:26 UTC by Grant Gainey
Modified: 2013-08-02 13:04 UTC (History)
7 users (show)

Fixed In Version: spacewalk-java-1.10.61-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 601860
Environment:
Last Closed: 2013-08-02 13:04:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Grant Gainey 2013-04-18 11:26:53 UTC
+++ 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.

Comment 1 Grant Gainey 2013-04-18 12:38:11 UTC
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

Comment 2 Grant Gainey 2013-04-18 12:43:39 UTC
spacewalk commit a9989ee159aa2e8707cc113bebc861681055544f

Comment 3 Tomáš Kašpárek 2013-08-02 13:04:23 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.