Bug 1500741

Summary: [570] Upgrade to Sat 5.8 caused url change in kickstarts, have to edit and republish by hand to correct url.
Product: Red Hat Satellite 5 Reporter: Jiří Dostál <jdostal>
Component: ProvisioningAssignee: Jiří Dostál <jdostal>
Status: CLOSED ERRATA QA Contact: Patrik Segedy <psegedy>
Severity: medium Docs Contact:
Priority: urgent    
Version: 570CC: afarley, jdobes, mkorbel, psegedy, shughes, sjkrzanowski, tlestach, xdmoon
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-164-sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1477728 Environment:
Last Closed: 2017-10-31 12:25:12 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:
Embargoed:
Bug Depends On: 1477728    
Bug Blocks: 1450111    

Comment 3 Martin Korbel 2017-10-27 09:54:32 UTC
VERIFIED on spacewalk-java-2.3.8-164

I can't reproduce this problem on Sat5.7. All four URL links  were correct and after update to Sat5.8, they are correct as well.

Comment 4 Patrik Segedy 2017-10-27 17:22:23 UTC
Verification with upgrade from Satellite 5.6 to Satellite 5.7

1. On Satellite 5.6 sync RHEL7 channel
2. Prepare files for custom kickstart
# mkdir -p /var/ks/images/pxeboot
# touch /var/ks/images/pxeboot/initrd.img
# touch /var/ks/images/pxeboot/vmlinuz
# chcon -R -t cobbler_var_lib_t /var/ks
and create kickstart distribution
3. Create 4 kickstart profiles with spacewalk-java-2.0.2-115
 - RHN kickstart using the API -> url in KS is OK
 - custom kickstart using the API -> url in KS is OK
 - RHN kickstart through WebUI -> broken url in KS 
 - custom kickstart through WebUI -> broken url in KS
4. Downgrade spacewalk-java* and spacewalk-taskomatic to version 2.0.2-109 and create kickstarts
 - RHN kickstart using the API -> url in KS is OK
 - custom kickstart using the API -> url in KS is OK
 - RHN kickstart through WebUI -> url in KS is OK
 - custom kickstart through WebUI -> url in KS is OK
5. Update spacewalk-java*, spacewalk-taskomatic to latest version
6. Upgrade to Satellite 5.7 with spacewalk-java-2.3.8-165
8. Regenerate kickstarts - "rm -f /var/lib/rhn/kickstarts/wizard/*"
9. All kickstarts have correct url

Comment 6 errata-xmlrpc 2017-10-31 12:25:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3085