Bug 236376
Summary: | Package Profile generated with no packages for sync'ing when selecting Sync Package profile: With system's existing package profile under Advanced Kickstart Configuration | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Clifford Perry <cperry> |
Component: | Provisioning | Assignee: | Jan Pazdziora <jpazdziora> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Steve Salevan <ssalevan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | jpazdziora, rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat500 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-26 03:06:23 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: | 173427 |
Description
Clifford Perry
2007-04-13 14:39:03 UTC
The following patch seems to do the trick -- populating that newly created profile: Index: java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java =================================================================== --- java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java (revision 115103) +++ java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java (working copy) @@ -538,7 +538,7 @@ retval = ProfileManager.createProfile( ProfileFactory.TYPE_SYNC_PROFILE, this.user, this.server.getBaseChannel(), pname, pname); - + ProfileManager.copyFrom(this.server, retval); } // Profile of 'stored profile' else if (profileTypeIn.equals(TARGET_PROFILE_TYPE_PACKAGE)) { Based on Cliff's not in bug 236379 comment 2, I've committed the fix to SVN, trunk, revision 115155. Taking over this bug for possible kickbacks, Mike, shout if you want to keep it. Moving ON_QA with 5.0.0-26 ISO available. verified Looks good on Stage-verified Satellite; moving to RELEASE_PENDING. Closed for Satellite 500 Release. |