Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 902461

Summary: spacewalk-proxy does not replace $server in profiles
Product: [Community] Spacewalk Reporter: Michael Hoffman <michaelchoffman>
Component: Proxy ServerAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.8CC: michaelchoffman, mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-26 07:17:00 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:    
Bug Blocks: 1484117    

Description Michael Hoffman 2013-01-21 18:01:52 UTC
Description of problem:
When using spacewalk-proxy the $server variable is not fully replaced to point to the spacewalk-proxy server instead of the spacewalk server.

Version-Release number of selected component (if applicable):
spacewalk proxy 1.8

How reproducible:
Create a kickstart profile that contains the $server variable in a post script. Then download the kickstart profile from the spacewalk-proxy server.  It should replace all of the $server variables with the spacewalk-proxy hostname or ip
For example:
wget $server/test
gets translated to on the spacewalk-proxy as
wget <spacewalk-proxy ip>.<spacewalk server domain name>/test

  
Actual results:
$server gets replaced with <spacewalk-proxy host>.<spacewalk domain name>

Expected results:
$server gets replaced with spacewalk-proxy host

Comment 1 Michael Mráka 2013-06-24 13:51:37 UTC
Could you please provide exact post script which doesn't work?

Comment 2 Michael Mráka 2016-05-26 07:17:00 UTC
An unanswered needinfo for almost 3 years and missing reproducer, closing.

Comment 3 Eric Herget 2017-09-28 17:56:53 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.