Bug 466502 - Unwanted repos added to kickstart
Summary: Unwanted repos added to kickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Partha Aji
QA Contact: Jesus M. Rodriguez
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2008-10-10 16:13 UTC by John Hodrien
Modified: 2009-09-17 07:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:08:28 UTC
Embargoed:


Attachments (Terms of Use)

Description John Hodrien 2008-10-10 16:13:27 UTC
Description of problem:

Additional repos only probably useful for RHEL are added irrespective of the OS the kickstart is for.

Version-Release number of selected component (if applicable):

Spacewalk 0.2

How reproducible:

Incorrect for both CentOS and Fedora

Steps to Reproduce:
1.  Push a kickstart image up for Fedora9 with make-ks-tree.sh
2.  Create a profile using it.
3.  Go to the Kickstart File.

Actual results:

Four repos have appeared that you don't want (Cluster, ClusterStorage, VT, Workstation)

Expected results:

No extra repos should be added (unless you're using RHEL I assume).

Additional info:

spacewalk-java-0.2.8/code/src/com/redhat/rhn/manager/kickstart/KickstartWizardHelper.java seems to contain the guilty lines of code.

Comment 1 Colin Coe 2009-02-12 01:12:02 UTC
Looks like the repo's lines are set when the kickstart profile is created or changed when the kickstartable tree is changed.

John, can you see if a new non-RHEL (i.e. Centos or Fedora) kickstart profile excludes the repo lines and advise?  You might need to test against the latest code in the git repo.

Thanks.

CC

Comment 2 John Hodrien 2009-02-12 12:30:14 UTC
A Fedora 9 install from a SW 0.4 server no longer shows these unwanted repos.

jh

Comment 4 Partha Aji 2009-03-14 16:20:36 UTC
The repo lines should now only show up for rhel5 or greater. Even on RHEL5 systems, the repos other than VT are not automatically added  but they can be optionally selected in the profile in the Operating Systems page.

Comment 5 Partha Aji 2009-03-28 05:11:30 UTC
Moving to ON_QA

Comment 6 Jesus M. Rodriguez 2009-04-14 14:11:39 UTC
Spacewalk 0.5 released.

Comment 7 Miroslav Suchý 2009-09-17 07:08:28 UTC
Spacewalk 0.5 has been released for long time ago.


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