Bug 584860 - kickstart.profile.system.getPartitioningScheme - does not return %include statements
Summary: kickstart.profile.system.getPartitioningScheme - does not return %include sta...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 540
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: sat54-errata 659469
TreeView+ depends on / blocked
 
Reported: 2010-04-22 15:23 UTC by Aron Parsons
Modified: 2016-01-04 05:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the kickstart.profile.system.getPartitioningScheme() method did not return "%include" statements in the "partitions" section of Kickstart. With this update, the method has been corrected and returns "%include" statements as expected.
Clone Of:
: 659469 (view as bug list)
Environment:
Last Closed: 2010-12-16 15:45:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0991 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix and enhancement update 2010-12-16 15:44:21 UTC

Description Aron Parsons 2010-04-22 15:23:10 UTC
Description of problem:
The kickstart.profile.system.getPartitioningScheme() method filters out %include statements that are in the 'partitions' section of the Kickstart.  Since these lines are valid, they should not be filtered in the output from the API call.

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

How reproducible:
Always

Steps to Reproduce:
1. put an %include statement in the 'partitions' section of a Kickstart
2. use the kickstart.profile.system.getPartitioningScheme() method to get the contents of the 'partitions' section
  
Actual results:
%include lines are filtered out

Expected results:
%include lines should be returned since they are valid

Comment 1 Tomas Lestach 2010-07-20 09:47:12 UTC
getPartitioningScheme returns all partition sections now

spacewalk.git:
 b4a435b051e94a091b7fb77650f28f7909980ec3
 06ec96740de2c57173b40bef416c80eec38962aa

Comment 5 Garik Khachikyan 2010-12-07 15:31:13 UTC
# VERIFIED

The following package(s) fixing the issue:
spacewalk-java-config-1.2.39-33.el5sat.noarch.rpm   
spacewalk-java-oracle-1.2.39-33.el5sat.noarch.rpm   
spacewalk-java-lib-1.2.39-33.el5sat.noarch.rpm   
spacewalk-taskomatic-1.2.39-33.el5sat.noarch.rpm   
spacewalk-java-1.2.39-33.el5sat.noarch.rpm

>>> server.kickstart.profile.system.getPartitioningScheme(token,'test-tbr')
['part /boot --fstype=ext3 --size=200 ', 'part pv.01 --size=1000 --grow ', 'part swap --size=1000   --maxsize=2000 ', 'volgroup myvg pv.01 ', 'logvol / --vgname=myvg --name=rootvol --size=1000 --grow', '%include test line 1']

Comment 7 errata-xmlrpc 2010-12-16 15:45:47 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-0991.html

Comment 8 Jaromir Hradilek 2010-12-16 16:32:20 UTC
    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:
Previously, the kickstart.profile.system.getPartitioningScheme() method did not return "%include" statements in the "partitions" section of Kickstart. With this update, the method has been corrected and returns "%include" statements as expected.

Comment 10 Tomas Lestach 2010-12-17 09:09:38 UTC
Changing to Version 540 to distinguish the BZ from Bug 659469


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