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
getPartitioningScheme returns all partition sections now spacewalk.git: b4a435b051e94a091b7fb77650f28f7909980ec3 06ec96740de2c57173b40bef416c80eec38962aa
# 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']
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
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.
Changing to Version 540 to distinguish the BZ from Bug 659469