Bug 633535 - RHEL6 : Need to rework Repository includes for KS
Summary: RHEL6 : Need to rework Repository includes for KS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 540
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2010-09-13 22:01 UTC by Partha Aji
Modified: 2010-10-28 14:51 UTC (History)
4 users (show)

Fixed In Version: spacewalk-java-1.2.39-3-sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:51:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Partha Aji 2010-09-13 22:01:28 UTC
The RHEL 6 directory structure does not have Cluster/Cluster Storage/Workstation/VT directories. This means all the logic that we have to include these repositories in the kickstart file needs to be fixed to deal with this. More over the RHEL 6 kickstart doesnot seem to be as lenient as RHEL5 on broken repositories.

The repositories are typically specified in <Kickstart Profile  Details> -> Operating System and they get automatically include depending on different virt options. Unfortunately RHEL6 s vastly different directory structure means we'd have to decide on how we are going to handle this.

Comment 1 Justin Sherrill 2010-09-15 15:24:00 UTC
Did a few things:

1.  made VT only get set for RHEL 5 profiles by default
2.  Added RHEL 6 sub repos (will only show up for RHEL 6 channels)
3.  Made it so that repos are hidden from the screen if they do not exist.

Note:  WE still don't check to see if the repos in question are actually synced.  There's no easy way to do this.


spacewalk master: 22954384d46900f7506eeaf16bd5d50b6e8e88a6

Comment 4 Justin Sherrill 2010-10-06 14:53:21 UTC
Hey Gark,

So a few things.  If you can provisiong RHEL 6 at all, then that's a signal right there that it is working properly :}

Without this change the anaconda would fail 1/2 way through saying a repo couldn't be retrieved. 

Secondly,  You'll want to look at kickstart-> profiles -> click on a profile -> operating system.  

For RHEL 5 VT should be checked by default.  But VT shouldn't show up for RHEL 6 since it doesn't exist.  In fact for RHEL 6, you should see an entry for only those repositories that exist on the Installation media.  

For anything that is checked, a corresponding repo entry should show up within the kickstart.

Comment 6 Tomas Lestach 2010-10-21 12:53:46 UTC
* VT repo is checked for RHEL5 kickstarts by default
* VT repo isn't available for RHEL6 kickstarts
* 
 1. I checked all three available repos for RHEL6 kickstarts (HighAvailability, LoadBalancer, ResilientStorage), synced appropriate channels and set needed entitlements for my org
 2. the enabled repos were correctly reflected in the kickstart file
 3. I set tree packages that shall additionally be installed via kickstart - each package from 1 repo (cluster-cim, piranha, ctdb) and triggered the RHEL6 kickstart
 4. the system was kickstarted correctly, those three packages were installed on the machine via kickstart

A very nice-to-have would be to check for the repo packages availability and according to this info offer the available repositories on the kickstart Operating system page.

STAGE VALIDATED on Satellite-5.4.0-RHEL5-re20101015.0

Comment 7 Clifford Perry 2010-10-28 14:46:24 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


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