Bug 528884
Summary: | Satellite 5.3: Cloning a kickstart profile (with virtualization) loses information | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Xixi <xdmoon> |
Component: | Provisioning | Assignee: | Tomas Lestach <tlestach> |
Status: | CLOSED ERRATA | QA Contact: | Dimitar Yordanov <dyordano> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 530 | CC: | cperry, dyordano, fnadge, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-01 10:32:42 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: | 518253 |
Description
Xixi
2009-10-14 07:47:25 UTC
The problem looks to be KickstartData deep copying neglects the Cobbler profile data. Proposed fix: In com.redhat.rhn.domain.kickstart.deepCopy() or updateCloneDetails(), add deep copying of associated cobbler profile. Such as in com.redhat.rhn.frontend.action.kickstart.KickstartDetailsEditAction: CobblerXMLRPCHelper helper = new CobblerXMLRPCHelper(); Profile prof = Profile.lookupById(helper.getConnection(user), ksdata.getCobblerId()); if (prof == null) { return; } prof.setVirtRam((Integer) form.get(VIRT_MEMORY)); prof.setVirtCpus((Integer) form.get(VIRT_CPU)); prof.setVirtFileSize((Integer) form.get(VIRT_DISK_SIZE)); prof.setVirtBridge(form.getString(VIRT_BRIDGE)); prof.setVirtPath(form.getString(VIRT_PATH)); prof.save(); (above is not proposed patch) Fixed in master: simply added the cloning of those 5 items b93e4b78768fa96f80e36bcfbcf11c8c35132182 small additional fix: b142f39761b55653b07eaedf5c7c4d5598771753 Please be so kind and add a few key words to the Technical Notes of this Bugzilla entry using the following structure: Cause: Consequence: Fix: Result: For details, see: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Consequence: Fix: Result: Verified. RHEL4, RHEL5 - x86_64, s390x 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-2011-0189.html |