Bug 1403808

Summary: kickstart.profile.software.setSoftwareDetails does not update kickstart file
Product: [Community] Spacewalk Reporter: Patrik Segedy <psegedy>
Component: APIAssignee: Michael Mráka <mmraka>
Status: CLOSED EOL QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-21 13:26:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Patrik Segedy 2016-12-12 12:12:19 UTC
Description of problem:
When I set software details through API, it won't update Kickstart file

Version-Release number of selected component (if applicable):
spacewalk-java-2.6.48-1.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Create custom channel, kickstart distribution and kickstart profile
2. set noBase=False, ignoreMissing=True with kickstart.profile.software.setSoftwareDetails API call
3. kickstart.profile.software.getSoftwareDetails shows that it was set
{'noBase': False, 'ignoreMissing': True}
4. in WebUI Kikcstart -> Profiles -> Software it is set properly
5. Kikcstart -> Profiles -> Kickstart File is not updated. There is:
%packages 
%end

and there should be:
%packages  --ignoremissing
@ Base
%end

Actual results:
Kickstart file is not updated

Expected results:
Kickstart file should be updated

Additional info:
When I set it in WebUI and click on update, it will update kickstart

Comment 1 Michael Mráka 2019-10-21 13:26:16 UTC
Spacewalk 2.8 (and older) has already reached it's End Of Life.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before end of life. If you would still like
to see this bug fixed and are able to reproduce it against current version
of Spacewalk 2.9, you are encouraged change the 'version' and re-open it.