Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 536825

Summary: [regression] Prepared ks profiles' software package list looks empty (no '@Base' there)
Product: Red Hat Satellite 5 Reporter: Garik Khachikyan <gkhachik>
Component: ProvisioningAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: medium    
Version: 530CC: cperry, mkoci, psklenar, tlestach
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-08 10:03:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 518256    

Description Garik Khachikyan 2009-11-11 14:31:59 UTC
Description of problem:
Usually while the ks profile gets created, there is @Base package group is assigned to the Software -> Package Groups list.
After the released errata: RHBA-2009:1566-05 there is an empty package list shown for a created ks profiles.

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


How reproducible:
Always on Satellites updated with RHBA-2009:1566-05 errata.

Steps to Reproduce:
1. Make a simple ks profile.
2. Refer to Software -> Package Groups.
3.
  
Actual results:
The list is empty

Expected results:
There should be @Base package group there.

Additional info:

Comment 2 Tomas Lestach 2009-11-11 15:15:44 UTC
The problem is in the code/src/com/redhat/rhn/domain/kickstart/builder/KickstartBuilder.java

newly added "@ Base" package (that is automatically added to every kickstart profile) won't be saved into the DB

Comment 3 Garik Khachikyan 2009-11-11 16:00:18 UTC
... and due to this any single change applied in ks profile will just left the %packages section of kickstart file empty (if the creator would not be attentive and add it manually)

Comment 4 Garik Khachikyan 2009-11-11 16:23:20 UTC
Time for good news:

Even with an empty software package list, the provisioning does with minimal package sets required for a system - for my experiment it's now doing installation of 582MB packages (could assume: the minimal @Base set is preparing there...)

@Dev: need your assurance/comment regarding this, thanks.

Comment 5 Tomas Lestach 2009-11-12 13:48:42 UTC
Fix:

spacewalk.git: 5a1429cb1174baf2995a64b6d20cd23f75410bbe

Comment 8 Garik Khachikyan 2009-12-15 11:11:02 UTC
VERIFIED

the packages fixing the issue are:
spacewalk-java-0.5.44-60.el5sat
spacewalk-java-lib-0.5.44-60.el5sat
spacewalk-java-config-0.5.44-60.el5sat
spacewalk-taskomatic-0.5.44-60.el5sat

Verification was done on rhel4, rhel5 servers according to the bug description.
The "@Base" gets visible now.

Comment 10 errata-xmlrpc 2010-01-08 10:03:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0021.html