Bug 902461 - spacewalk-proxy does not replace $server in profiles
Summary: spacewalk-proxy does not replace $server in profiles
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Spacewalk
Classification: Community
Component: Proxy Server
Version: 1.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-01-21 18:01 UTC by Michael Hoffman
Modified: 2018-11-20 18:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 07:17:00 UTC
Embargoed:


Attachments (Terms of Use)

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.


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