Bug 1403808 - kickstart.profile.software.setSoftwareDetails does not update kickstart file
Summary: kickstart.profile.software.setSoftwareDetails does not update kickstart file
Keywords:
Status: CLOSED EOL
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-12 12:12 UTC by Patrik Segedy
Modified: 2019-10-21 13:26 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-21 13:26:16 UTC


Attachments (Terms of Use)

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.


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